You need update the kernel cmdline and update the device tree for debug UART on UART5.
1. Kernel cmdline : Linux_for_Tegra/p3701.conf.common
- CMDLINE_ADD="mminit_loglevel=4 console=ttyTCU0,115200 console=ttyAMA0,115200 console=tty0 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0"
+ CMDLINE_ADD="mminit_loglevel=4 console=ttyS1,115200 console=ttyTCU0,115200 console=ttyAMA0,115200 console=tty0 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0"
2. Device tree for both kernel and bootloader : tegra234-p3701-0000-p3737-0000.dtb
serial@3110000 {
- compatible = "nvidia,tegra194-hsuart";
+ compatible = "nvidia,tegra20-uart";
iommus = <0x2 0x4>;
dma-coherent;
reg = <0x0 0x3110000 0x0 0x10000>;
reg-shift = <0x2>;
interrupts = <0x0 0x71 0x4>;
nvidia,memory-clients = <0xe>;
dmas = <0x3 0x9 0x3 0x9>;
dma-names = "rx", "tx";
clocks = <0x4 0x9c 0x4 0x66>;
clock-names = "serial", "parent";
resets = <0x4 0x65>;
reset-names = "serial";
status = "okay";
phandle = <0x320>;
};
3. Device tree for bpmp: tegra234-bpmp-3701-0000-3737-0000.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>;
+ uartb = <0x9c 0x66 0x1c1b40 0x8>;
pllref_vcoout = <0x120 0x0 0x0 0xa>;
eqos_tx_divider = <0x19f 0x0 0xffffffff 0x0>;
eqos_axi = <0x20 0x0 0x7735940 0x2>;
eqos_tx = <0x23 0x0 0x0 0x2>;
eqos_macsec_tx = <0x19e 0x0 0x0 0x2>;
eqos_ptp_ref = <0x21 0x0 0xffffffff 0x2>;
};