Hi,
I am trying to activate UART7 on a TX2 using Jetpack 4.2. I edited tegra186-soc-uart.dtsi
and changed the status attribute from “disabled” to “okay”.
In addition, I edited tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
and set the port number to 255, in order to divert the BPMP console, as recommended in other forum threads.
In tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
the following entries are present:
pinmux.0x0c302040 = 0x00000400; # uart7_tx_pw6: uartg, tristate-disable, input-disable, lpdr-disable
pinmux.0x0c302038 = 0x00000458; # uart7_rx_pw7: uartg, pull-up, tristate-enable, input-enable, lpdr-disable
The device node /dev/ttyTHS6
shows up, and dmesg shows that the kernel detects the device correctly
[ 3.909750] 3110000.serial: ttyTHS1 at MMIO 0x3110000 (irq = 37, base_baud = 0) is a TEGRA_UART
[ 3.915214] c280000.serial: ttyTHS2 at MMIO 0xc280000 (irq = 38, base_baud = 0) is a TEGRA_UART
[ 3.923011] serial-tegra 3130000.serial: RX in PIO mode
[ 3.924174] 3130000.serial: ttyTHS3 at MMIO 0x3130000 (irq = 39, base_baud = 0) is a TEGRA_UART
[ 3.932947] c290000.serial: ttyTHS6 at MMIO 0xc290000 (irq = 40, base_baud = 0) is a TEGRA_UART
but a simple loopback test does not work. Is there anything else I’m missing?
Thanks.