This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA821U: MCU UART0 output problem when starting the kernel by uboot

Part Number: DRA821U

hi,experts

    I had changed the output mode of uboot to UART0 in MCU domain,and it can works,and i want to change the output mode of kernel to uart0 in mcu domain,I modify it as follows,but it not work,why?

   1.Modify the file in the linux-5.4.106_Kernel/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts

   .....................

  /{

         chosen {

                stdout-path = "serial1:115200n8"

               bootargs = "console=ttyS1,115200n8 earlycon=ns16550a,mmio32,0x40a00000"

    };

 .................................

  2.I start the kernel by NFS on uboot command:

     =>setenv bootargs console=ttyS1,115200n8 earlycon=ns16550a,root=/dev/nfs rw nfsroot="192.168.0.120:/home/bms/ti-sdk-linux-j7-evm-07_03_00_05/targetNFS",tcp,v3 ip=192.168.0.55 

     ........................

    =>setenv bootcmd "setenv autoload no;setenv serverip 192.168.0.120;tftp 0x82000000 Image-j7-evm.bin;tftp 0x81200000 k3-j721e-common-proc-board.dtb;bootti 0x82000000-0x81200000"

    =>boot

   When the kernel is started through uboot, UART0 of MCU can normally output the uboot prompt until "starting kernel..." is displayed, and then there is no output. Is it the UART of the kernel? Where is the configuration wrong?