Hi,
I’m using TX2-NX SOM and NX carrier board (customer designed), UART( PIN203/205) and UART(PIN99/101) can’t work, , if change to NX SOM.
I tried short TX/RX (PIN203/205) and concect to Host PC both not work.
sudo minicom /dev/ttyTHS1
nvidia@tx2-nx:~$ ls /dev/ttyTH*
/dev/ttyTHS1 /dev/ttyTHS3
sudo minicom /dev/ttyTHS1 not work
sudo minicom /dev/ttyTHS3 not work
Hi,
I refer to this topic UART-PIN203/205 works fine.
1. Enable THS2 with /Linux_for_Tegra/bootloader/tegra186-p3636-0001-p3509-0000-a01.dtb
+ serial@c280000 {
+ compatible = "nvidia,tegra186-hsuart";
+ status = "okay";
+ };
2. Disable bpmp-dtb port with /Linux_for_Tegra/bootloader/t186ref/tegra186-bpmp-p3636-0001-a00-00.dtb
- serial {
- port = <3>;
- has_input;
- };
3. commands
$dtc -I dtb -O dts bootloader/t186ref/tegra186-bpmp-p3636-0001-a00-00.dtb > new.dts
$ dtc -I dts -O dtb -o new.tegra186-bpmp-p3636-0001-a00-00.dtb new.dts
$sudo mv new.tegra186-bpmp-p3636-0001-a00-00.dtb bootloader/t186ref/tegra186-bpmp-p3636-0001-a00-00.dtb > new.dts
$sudo ./flash.sh -r -k bpmp-fw-dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
$sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1
we found this file in this path Linux_for_Tegra/bootloader/tegra186-bpmp-p3636-0001-a00-00.dtb
we transformed .dtb file to .dts
Removed this serial part
- serial {
- port = <3>;
- has_input;
- };
Then what should we do now?
Should we
turn it to dtb,
replace the original file (tegra186-bpmp-p3636-0001-a00-00.dtb)
and re-flash it (sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-tx2-nx mmcblk0p1)?
Thanks
Glad to know issue resolved, thanks for the update.