Set up oem-config on custom board

My custom carrier board has display port but it is not working. I have to put the module on the dev kit carrier board to complete the system configuration after flashing. So I am hoping to set up oem-config to do it on debugging terminal. Pin 203 and 205 are used for debug UART, which is UART1.

  • How can I tell which tty device is mapped to which UART?
  • The debugging terminal shows “Ubuntu 18.04.5 LTS jetson-desktop ttyTCU0”. In the nv-oem-config.conf, I tried to change the value from ttyGS0 to ttyTCU0 then ttyTHS0, but I still don’t see the oem-config.
  • Is there a way to by pass this step without GUI?

hello minhquan.tran,

you’ll need to search for kernel init messages, i.e. $ dmesg | grep ttyTHS

[    3.544179] 70006040.serial: ttyTHS1 at MMIO 0x70006040 (irq = 64, base_baud = 0) is a TEGRA_UART
[    3.544619] 70006200.serial: ttyTHS2 at MMIO 0x70006200 (irq = 65, base_baud = 0) is a TEGRA_UART

please refer to the device tree for the mappings of serial ports and ttyTHS ports.
for example,

703 	serial@70006040 { /* UART-B : UART2 40 pin header */
704 		compatible = "nvidia,tegra114-hsuart";
705 		status = "okay";
706 	};
707 
708 	serial@70006200 { /* UART-C : UART3 : M.2 Key E */
709 		compatible = "nvidia,tegra114-hsuart";
710 		dma-names = "tx";
711 		nvidia,adjust-baud-rates = <921600 921600 100>;
712 		status = "okay";

please also check this, for Skipping oem-config.
thanks

1 Like