Continuing the discussion from Orin NX Uart Problem:
Hello, I successfully redirected the debugging serial port to uarta in orin nx by following the above link. At that time, my system version was linux_35.6 and Jetpack version was 5.1.4.
Now I am doing the same in linux_36.4, but the redirection is not successful, and the jetpack version is 6.1.
What is the correct modification process in version 36.4? Could you please help me check it, thank you.
I tried to change ttyS0 to ttyS1, and the debugging serial port was successfully reused, but I wanted to know why it changed from ttyS0 to ttyS1. I compared the device tree files of 36.4 and 35.6 versions. In 36.4 serial@3110000 compatible = “nvidia,tegra234-uart\0nvidia,tegra20-uart”, I wonder if it is for this reason? Or is it something else? ttyS0 device node is occupied by who?
Correct.
You can customize them by yourself.
The number is determined by the aliases and the name is determined by the driver in use.
e.g.
ttyTHS1 means serial1 in aliases and Tegra High Speed serial driver in use(nvidia,tegra194-hsuart)
ttyS2 mean serial2 in aliases and legacy serial driver in use(nvidia,tegra20-uart)