Orin NX Uart Problem

Hi ugurortac,

Yes, you need update the kernel cmdline and update the device trees to redirect the debug UART from UART2(uartc) to UART1(uarta).

1. Kernel cmdline: Linux_for_Tegra/p3767.conf.common

- CMDLINE_ADD="mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0"
+ CMDLINE_ADD="mminit_loglevel=4 console=ttyS0,115200 console=ttyTCU0,115200 console=ttyAMA0,115200 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0"

2. Device tree for both kernel and bootloader: tegra234-p3767-0001-p3768-0000-a0.dtb

	serial@3100000 {
-		compatible = "nvidia,tegra194-hsuart";
+		compatible = "nvidia,tegra20-uart";
		reg = <0x0 0x3100000 0x0 0x10000>;
		reg-shift = <0x2>;
		interrupts = <0x0 0x70 0x4>;
		clock-frequency = <0x18519600>;
		iommus = <0x5 0x4>;
		dma-coherent;
		nvidia,memory-clients = <0xe>;
		dmas = <0x3e 0x8 0x3e 0x8>;
		dma-names = "rx", "tx";
		clocks = <0x2 0x9b 0x2 0x66>;
		clock-names = "serial", "parent";
		resets = <0x2 0x64>;
		reset-names = "serial";
		status = "okay";
		phandle = <0x2d6>;
	};

3. Device tree for bpmp: tegra234-bpmp-3767-0001-3509-a02.dtb

		init {
			nafll_bpmp = <0xc5 0x0 0xc350000 0x0>;
			nafll_seu1 = <0x14f 0x0 0x1c3a9000 0x0>;
			bpmp_cpu_nic = <0x133 0xc5 0x0 0x0>;
			fr_seu1 = <0x14b 0x14f 0x0 0x0>;
			i2c_slow = <0x8a 0x121 0xffffffff 0x0>;
			aon_i2c_slow = <0x75 0x121 0xffffffff 0x0>;
			tach0 = <0x98 0xe 0x30d400 0x0>;
			tach1 = <0x16d 0xe 0x30d400 0x0>;
			i2c1 = <0x30 0x0 0x0 0x2>;
			qspi0_2x_pm = <0xc0 0x0 0x0 0x2>;
			sdmmc4 = <0x7b 0x0 0x0 0x2>;
			seu1 = <0x150 0x0 0x0 0x8>;
			uartc = <0x9d 0x0 0x0 0x8>;
+			uarta = <0x9b 0x66 0x1c1b40 0x8>;
		};