I change the nv-oem-config-uart-port=ttyTCU0, which is right because the jetson boot with the messages over the uart:
[0013.692] I> add_boot_slot_suffix: slot_suffix =
[0013.697] I> Linux Cmdline: console=ttyTCU0,115200
and re-flash, it still doesn’t work.
then I notice:
Skipping oem-config
If you don’t need to run oem-config to set up your system, you can make the first-time boot process skip it. Before you flash the Jetson device, go to \Linux_for_Tegra and enter this command:
$ rm rootfs/etc/systemd/system/default.target
it says: If you skip running oem-config, you must create a default user in the sample rootfs before you flash it.
so How to create a default user in the sample rootfs ?
and it’s better to solve: oem-config does not display a welcome screen over the uart.
Sorry, my fault. It should be ttyACM0 but not USB0. The default node to do the oem-config is the ttyACM0 on your host and the port is the flashing port. Not the uart port.
cat Linux_for_Tegra/rootfs/etc/nv-oem-config.conf
//# For T210, choose one tty device from ttyS0, ttyTHS1, ttyTHS2, ttyGS0
//# For T186, choose one tty device from ttyS0, ttyTHS1, ttyTHS2, ttyTHS3, ttyGS0
//# For T194, choose one tty device from ttyTCU0, ttyTHS0, ttyTHS1, ttyTHS4, ttyGS0
#nv-oem-config-uart-port=ttyGS0
nv-oem-config-uart-port=ttyTCU0
nvidia@tegra-ubuntu:~$ ls /dev/ttyT*
/dev/ttyTCU0 /dev/ttyTHS0 /dev/ttyTHS1 /dev/ttyTHS4
nvidia@tegra-ubuntu:~$ ls /dev/ACM*
ls: cannot access ‘/dev/ACM*’: No such file or directory
jetson uart <-> usb converter <-> host (/dev/ttyUSB0)
jetson micro usb <-> host
I can reflash, and jetson output over uart ok.
until now, works almostly, but " oem-config does not display a welcome screen"
ttyGS0 and ttyTCU0 are the node seen on the jetson.
ttyACM0 and ttyUSB3 are the node seen on host machine.
When you set ttyGS0 in the config file, the oem config will be shown on host side when host side open /dev/ttyACM0.
And the port here is the one you used to flash sdkmanager.
And for ttyTCU0, that is the micro usb port on the devkit. You need to use /dev/ttyUSB3 on host to open it.