Replies: 10 comments
-
I believe it would be hard to debug on TX2 without any kind of external debugger. This was exactly my experience. I'd suggest changing the configuration to remove the freertos guest, while assigning the available uart to the Linux guest (also change the Linux guest device-tree to add the uart). Then with access to Linux through the serial console, try to investigate further why the ssh connection is not established. Also, are you using our branch of TF-A? This is needed to setup the correct stream ids so the the SMMU correctly translates DMA requests from the ethernet controller. |
Beta Was this translation helpful? Give feedback.
-
I check that the TX2 has two UART, right? So, do you know how to config anohter UART to Linux? |
Beta Was this translation helpful? Give feedback.
-
When I was working with the TX2 I was not aware of a second UART available in the pin header. But if its there, after figuring out its MMIO region and associated interrupt there are two steps:
Also you probably need to add the Linux command line parameter |
Beta Was this translation helpful? Give feedback.
-
Hi, josecm. I have added the TX2 UART1 to Linux, it works now. Linux log as below: [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x4e0f0030] So, what's the prolem, can you give some ideas? |
Beta Was this translation helpful? Give feedback.
-
It seems there is some issue with the tx2 bpmp driver. Are you using the same linux guest configuration as provided in the demos? |
Beta Was this translation helpful? Give feedback.
-
Yes, I use the configuration in the demos except add the UART1 config. Below is the configuration: / {
}; |
Beta Was this translation helpful? Give feedback.
-
Any developments on this? If not, I will try to find some time to reproduce your issue. |
Beta Was this translation helpful? Give feedback.
-
Not yet. |
Beta Was this translation helpful? Give feedback.
-
Were you able to solve this? If so, what was wrong and how? If not, are you still trying to solve this? In this case I'll try to reproduce in the next couple of weeks, otherwise I'll close the issue. |
Beta Was this translation helpful? Give feedback.
-
Sorry,these days I have some other work to do, no time to debug this problem any more. If you can have a look at it, appreciate it. |
Beta Was this translation helpful? Give feedback.
-
I use TX2 board.
I use TFTP in uboot to download bao.bin. The uboot IP is set as below:
setenv serverip 192.168.42.16
setenv ipaddr 192.168.42.15
The UART log is:
tftp 0xa0000000 bao.bin;go 0xa0000000
Starting application at 0xA0000000 ...
Bao Hypervisor
BAO WARNING: smmuv2 does not support coherent page table walks
Bao FreeRTOS guest
Task1: 0
Task2: 0
Task1: 1
Task2: 1
Task1: 2
Task2: 2
Task1: 3
So,it looks like that the FreeRTOS run OK. But I dont know if the Linux run OK too. In README.md, it said that Linux has the static IP(192.168.42.15), but I cant ping it sucessfully and cant ssh it too.
So ,what's wrong with Linux? How to debug?
Beta Was this translation helpful? Give feedback.
All reactions