Hello
for reference, I redid the whole process and added log files, config files or screenlogs everywhere.
Clean start, extract BSP and rootfs from downloaded archives. Run apply_binaries. extract.log (8.7 KB)
Modify Pinmux spreadsheet to enable uartg
The only file changed is tegra19x-jetson_agx_devkit-pinmux.dtsi: pinmux.diff (2.0 KB)
Generated cfg file with
PINMUX_DIR="~/Linux_for_Tegra/kernel/pinmux/t19x"
python "$PINMUX_DIR/pinmux-dts2cfg.py" \
--pinmux "$PINMUX_DIR/addr_info.txt" "$PINMUX_DIR/gpio_addr_info.txt" "$PINMUX_DIR/por_val.txt" \
--mandatory_pinmux_file "$PINMUX_DIR/mandatory_pinmux.txt" \
tegra19x-jetson_agx_devkit-pinmux.dtsi \
tegra19x-jetson_agx_devkit-gpio-default.dtsi \
1.0
errors: makecfg.log (2.5 KB)
file: tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg (29.7 KB)
diff: cfg.diff (1.7 KB)
Put file to Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p2888-0000-a04-p2822-0000-b01.cfg
Serial console log for all the rest: boot1-3.log (68.6 KB)
Full flash of AGX Xavier. flash.log (60.0 KB)
Configured via ttyACM, reboot.
Search for uart7 device fails:
-
dmesg | grep -i uartlists only ttyTHS{0, 1, 4} -
ls /dev/ttyTHS*lists only ttyTHS{0, 1, 4} -
dtc -I fs -s -O dts /sys/firmware/devicetree/base >sys.dts (359.8 KB) lists serial@c290000 as disabled -
/sys/kernel/debug/tegra_pinctrl_reg looks alright, uartg selected as pm:
Bank: 1 Reg: 0x0c302028 Val: 0x00000421 → spi2_mosi_pcc2
Bank: 1 Reg: 0x0c302038 Val: 0x00000475 → spi2_cs0_pcc3
Bank: 1 Reg: 0x0c302048 Val: 0x00000421 → spi2_sck_pcc0
Bank: 1 Reg: 0x0c302050 Val: 0x00000479 → spi2_miso_pcc1 -
journalctl -battached: journal (294.9 KB)
To be clear: I want a device ttyTHS6 to appear for UARTG and use it to communicate via serial@c290000.
