I have a custom carrier board that does not have UART3 pins broken out. I need to change the debug console from UART3 to UART1. So far I am able to boot up the module and through tag wires on UART3 verify that the module has booted successfully and talk to it via the serial console.
I have reviewed all available posts regarding this topic, some of which most closely matching my scenario includes:
Please note I have attempted all of the suggested solutions in all of these posts, none of which works.
Would an employee please provide step by step instructions as to how to accomplish this?
You mention here the UART mapping is different between JP5 and JP6, but I cannot find the mapping for JP6 on any nvidia documentation, JP release notes, or forum posts. Why is this information obscured? What needs to be changed for JP6 that’s different than the previous posts that worked for JP5?
In the final dtb on the orin agx module I have the alias for UART1:
What are the options for the “compatible” parameter under this serial node? What is tegra194-hsuart and why do some of the posts for JP5 require it changed to tegra20-uart?
The result from the wiki is for Jetpack 5 (r35.x) and it seems you are using Jetpack 6.1
Please share the result of the following commands on your board.
If you’ve referred to those threads, you would know that the mapping could be configured through aliases in device tree.
They are just different serial drivers and you can select either of them for your use case.
It seems you want to re-direct the serial console to uarta(serial@3100000).
Please refer to the steps in Custom carrier board debugging/not booting - #14 by KevinFFF but modify for the one you are using(serial@3100000) since that one is verified on JP5.x before.
Which look to correspond with UART3(?) and UART1(?) on the SoM respectively. Where are the aliases for the other 3 UARTs? Where can I find documentation for the SoM UARTs’ unit addresses if it’s different than JP 5.x wiki?
I’ve previously tried this suggested solution and followed the first step:
But the following steps look to be editing a decompiled device trees:
I’d like to edit the source files instead and select the compiled .dtbs with a custom conf when flashing. Which .dtsi source files should I edit? I don’t see those two source files in /Linux_for_Tegra/source/hardware/nvidia/t23x/nv-public.
I’ve also tried those same steps but for UART1 (uarta, 3100000):
Where uarta was already present and I copied the same register values and it did not work. Boot console was still on UART3. Do those register values need to be changed for JP 6.1?