Hi,
I have read some related topics: how-can-we-disable-debug-console-on-jetson-xavier nx-change-console-to-other-uart
…
and all the topics looks uncleared to me.
We are using JetPack 4.4.1 for NX,could you please show me the detailed steps to disable the ttyTCU0(Net name UART2) and ttyTHS0(Net name UART1) debug output,and configure them as normal serial?
I don’t understand below in Disable Console over UART,
“For NVIDIA® Jetson AGX Xavier™ series: Edit the platform configuration file p2972-0000.conf.com to remove the specification console=ttyTCU0.”
I think NX belongs to Jetson AGX Xavier™ series, but the file p2972-0000.conf.com is not found under Linux_for_Tegra, is p2972-0000.conf.com==p2972-0000.conf.common? And there is “ROOTFSSIZE=28GiB;” in p2972-0000.conf.common,NX only has a 16GiB emmc.
By the way,NVIDIA Jetson Linux Developer Guide 32.5 Release is worked for JP4.4.1?
I still can not make the ttyTCU0 as a normal uart,my steps as follows
1.delete console=ttyTCU0,115200n8 from file p3668.conf.common
2.delete CMDLINE_ADD=“console=ttyTCU0,115200n8” from file flash.sh
3.reflash.
4.delete bootargs =“console=ttyTCU0,115200”, or change to bootargs =“console=ttys2,115200” from file tegra194-p3668-common.dtsi, compile dts and reflash dtb.
Just want to know what is the exact meaning of “make the ttyTCU0 as a normal uart”? If console does not use this interface, will it become a normal uart?
ttyTCU0 is always output boot/kernel log,and provid login function on it. I don’t need them. what I want is use ttyTCU0 and ttyTHS0 serial communication with the computer,like ttyTHS1.
may I know what’s the actual use-case here,
it’s default configuration as serial port for kernel messages; you may also setup connection for issue commands.
would you like something as ssh, that only sending commands?
I want to use NX all tree uarts to do serial communication with pc or other serial devices,send and recv data.
/dev/ttyTHS1 is working good in my case.
/dev/ttyTHS0 is binded to the Ubuntu serial login.
/dev/ttyTCU0 is kernel messages debug port.
so, I want /dev/ttyTHS0 and /dev/ttyTCU0 worked as /dev/ttyTHS1.
1.For /dev/ttyTHS0, if I comment out below setting in /etc/systemd/nvgetty.sh Ubuntu login will not be provided on ttyTHS0:
#setsid /sbin/getty -L 115200 ttyTHS0
and it can be read/write data with serial devices,but if a serial devices connect to ttyTHS0 before NX power on, NX will enter SHELL MODE when power on.
2.For /dev/ttyTCU0, I haven’t disable the debug print yet.