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.

[参考译文] AM5728:UART 引导

Guru**** 2473270 points
Other Parts Discussed in Thread: AM5728

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1465122/am5728-uart-booting

器件型号:AM5728

工具与软件:

您好!

     我们有一个带有 AM5728 SoC 的定制板、其中有两种引导方法(UART 和 EMMC)。 要从 UART 引导、我们要注意以下几点:

1.将 BOOT 引脚配置设置为 UART 后、可以看到"! Va"会在 UART 控制台中打印。

2.我已经使用了 picocom 与 ttyUSB0并添加了"sx -kb"发送 cmd 来发送 u-boot-spl.bin、但它给出了一些重试和 NAK 错误、而且没有发送文件(与 minicom 相同)。

3.如果我使用从 Windows with strawberry perl 的 serial_boot.pl perl 脚本,我可以发送 u-boot-spl.bin 和引导板完全没有问题(相同的脚本给出 ioctl 错误在 Ubuntu 主机).

4.根据处理器 SDK 文档、提到使用 XMODEM 发送 SPL 文件、但根据 TRM、告知电路板发送69字节的 ASIC 代码(适用于 UART)、然后我们必须先发送启动消息和文件大小字节、然后再发送二进制的 u-boot-spl.bin 文件。

    我是否需要在 uboot 源代码中进行任何配置、以使 u-boot-spl.bin 通过 xmodem 发送的 UART 引导? 或者、如果我尝试根据 TRM 编写一个小型 TTY 主机应用程序来发送文件、是否可以发送?

    请告诉我使用 UART 的正确引导过程(我还可以从任何地方找到适用于 Ubuntu 的 serial_boot.pl perl 脚本)。

谢谢!

Karthik G.