Xavier4.3, How can I debug with ttyTSH0 instead of ttyTCU0?

hello tianyi2,

please try below steps to disable TCU.

  1. modify mb1-bct, tegra194-mb1-bct-misc-l4t.cfg to disable combined-uart. it’s 0x2 for UART-C
  enable_combined_uart = 0;
  spe_uart_instance = 0x2;
  1. modify kernel device tree, to load uart8250 driver and update the bootargs.
  serial@c280000 {
       compatible = "nvidia,tegra20-uart"; // To load uart8250 driver
       status = "okay";
    };
  chosen {
       bootargs = "console=ttyS2,115200 earlycon=uart8250,mmio32,0x0c280000";
  };
  1. you may disassembler the bpmp-dtb, changes the content as following,
 / {
        serial {
-               port = <3>;
+               port = <2>;
                has_input;
-               combined-uart {
-                       enabled;
-               };
        };

 };
  1. update flash configure file, p2972-0000.conf.common. change console=ttyS2 for UART-C.
  CMDLINE_ADD="console=ttyS2,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 rootfstype=ext4";