-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetpack 5.1 and 5.1.1's UEFIManager read and write to the uart in addition to the debug port #54
Comments
Can you please provide the chip/platform description I.e., Jetson AGX Xavier? |
This is the AGX Xavier on 5.1 and 5.1.1, using the serial port on the gpio pins. |
If UART1 is enabled via Device Tree then UEFI will use it for stdin/stdout/stderr, by design. Regarding the info about "going into a loop of reading spurious keypresses": the Jetson AGX Xavier could be reacting to whatever input is being provided by the external device. Another possibility may be a UART config issue; the typical setup is 115200 8N1. |
Yes, we've run it with a test rig with those settings, sending a single character whilst the Boot Manager is waiting for a keypress causes it to get stuck in a loop. Internally, we recompiled the bootloader to avoid reading from any UART to work around this. Input doesn't interfere with the OS when loaded, this only uses the debug UART port (as does the boot process before UEFI). |
Does "gpio pins" refer to AGX Xavier's J30 40-pin dual row header pins? One AGX Xavier debug setup would use an Ubuntu PC running minicom, attached to J30 pins 8,10 with a TTL 3.3v to USB cable with a PL2303. Please confirm that the "single character" sent to UART1 from the external device is identical in protocol/format to such a minicom setup. |
Yes, it listens on any uart |
Just to be sure, does "it listens on any uart" mean that your AGX Xavier based platform is monitoring more than just ttyTHS0? Please note that if your hw platform has any customizations, then it's possible you will need UEFI customizations (beyond our reference UEFI implementation) to support that. Regarding "sending a single character whilst the Boot Manager is waiting for a keypress", the reference UEFI Boot Manager behaviour has been tested with the Minicom terminal client (VT102, 115200 8N1, no flow control) sending input to AGX Xavier /dev/ttyTHS0 without issues. If there is some other serial protocol being sent to the Boot Manager other than that supported Minicom, then that is untested/unsupported by our reference UEFI implementation. |
Hi, I think I have a similar problem also in Xavier NX, L4T 35.3.1. |
When a device is attached to the /dev/ttyTHS0 uart port, if it streams data it interrupts the boot process. This behavior isn't expected, as it is the only portion of the boot process which outputs or reads from this serial port.
The text was updated successfully, but these errors were encountered: