Hi,
I forgot that although we have a custom carrier, these device tree modifications have been run on a dev-kit carrier. I just performed an full flash of a TX2 NX module with the adjusted .dtb files and the result are the same. The status of serial@ c280000 remains disabled
When decompiling the entire device tree as you mentioned a few entries can be found:
uartc = "/serial@c280000";
serial2 = "/serial@c280000";
serial@c280000 {
compatible = "nvidia,tegra186-hsuart";
clocks = <0x10 0xd7 0x10 0x10d>;
resets = <0x10 0x31>;
nvidia,adjust-baud-rates = <0x1c200 0x1c200 0x64>;
clock-names = "serial", "parent";
nvidia,tolerance-low-range = <0x0>;
nvidia,tolerance-high-range = <0x4>;
status = "disabled";
interrupts = <0x0 0x72 0x4>;
dma-names = "rx", "tx";
phandle = <0x101>;
nvidia,memory-clients = <0xe>;
reg = <0x0 0xc280000 0x0 0x40>;
iommus = <0x11 0x20>;
dmas = <0x22 0x3 0x22 0x3>;
reg-shift = <0x2>;
reset-names = "serial";
linux,phandle = <0x101>;
};
I do realize that the status is disabled
which would explain why that serial interface is not working/disabled when running cat status. It just doesn’t make sense to me since I adjusted (and checked) the files on the host machine: tegra186-p3636-0001-p3509-0000-a01.dtb, tegra186-bpmp-p3636-0001-a00-00.dtb and even kernel_tegra186-p3636-0001-p3509-0000-a01.dtb
You may find the entire decompiled .dts in the attachment: extracted.dts (241.3 KB)
Since it might also help, this is the output of the dmesg: dmesg | grep tty [ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2 video=tegrafb earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x1772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 no_console_suspend boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x175840000 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2 [ 0.000944] console [tty0] enabled [ 0.942389] console [ttyS0] disabled [ 0.942425] 3100000.serial: ttyS0 at MMIO 0x3100000 (irq = 33, base_baud = 25500000) is a Tegra [ 0.942465] console [ttyS0] enabled [ 0.944572] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 34, base_baud = 0) is a TEGRA_UART [ 0.945363] 3130000.serial: ttyTHS3 at MMIO 0x3130000 (irq = 35, base_baud = 0) is a TEGRA_UART [ 7.672330] Please complete system configuration setup on the serial port provided by Jetson's USB device mode connection. e.g. /dev/ttyACMx where x can 0, 1, 2 etc.