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:通过 uboot 启动内核时 MCU UART0输出问题

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1024075/dra821u-mcu-uart0-output-problem-when-starting-the-kernel-by-uboot

器件型号:DRA821U

各位专家、您好

  我已经 在 MCU 域中将 uboot 的输出模式更改为 UART0、它可以正常工作我想在 MCU 域中将内核的输出模式更改为 uart0、我按如下方式进行修改、但它不起作用、为什么?

  修改 linux-5.4.106_Kernel/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts 中的文件

  三、会议的报告

 /{

     选择{

        stdout-path ="SERIAL1:115200n8"

        bootargs ="console=ttyS1、115200n8 armlycon=ns16550a、mmio32、0x40a00000"

  };

 三、会议的报告

 2.I 在 uboot 命令上通过 NFS 启动内核:

   => setenv bootargs console=ttyS1,115200n8 adlycon=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 server192.168.0.120;tftp 0x82000000 Image-J7-evm.bin;tftp 0x81200000 k3-j721e-common-proc-board.dtb;bootti 0x82000000-0x81200000"

  =>引导

  当内核通过 uboot 启动时、MCU 的 UART0通常可以输出 uboot 提示符、直至"正在启动内核..." 然后没有输出。 它是内核的 UART 吗? 配置错误在哪里?