TI中文支持网
TI专业的中文技术问题搜集分享网站

AM5718: AM5718 Uart Boot,下载u-boot-spl.bin成功,串口没有输出“CCC”字符

Part Number:AM5718

在linux环境下,使用perl工具,perl ./serial-boot.pl -p /dev/ttyUSB0 -s u-boot-spl.bin -d1 -t40,执行完后可以看到PASS

sudo perl ./spl/serial-boot.pl -p /dev/ttyUSB0 -s MLO -d1 -t40
BYTES=120854 file_bytes=16d80100 prefix_bytes=020003f0 string bytes=020003f016d80100
—-Please reset the Board NOW (timeout=40 sec)—-
00 00 f8 04 01 05 05 53 ad da b0 c0 62 81 01 00 24 55 16 0c 20 40 00 00 00 01 04 08 20 40 00 00 00 01 04 08 20 40 00 00 00 01 44 28 a2 60 00 00 00 01 04 08 20 40 00 00 00 01 04 08 20 40 00 00 00 00 01 04 08Board Detected
.
waiting for draining 40
waiting for draining 39
–>22 22 1 0
MLO file download completed

u-boot-spl.bin里确定编译Ymode协议;

此时串口不会打出“CCC”字符,且使用Ymode协议发送u-boot.img会超时,如下;

sudo sx -kb –ymodem ./u-boot.img < /dev/ttyUSB0 > /dev/ttyUSB0
Retry 0: Timeout on pathname

Transfer incomplete

这是因为u-boot-spl.bin固件的问题吗?是需要配置什么吗?

Shine:

请看一下是否用的是UART3口来加载的?sysboot管脚是否配置成了uart boot mode。ROM bootloader支持的uart boot mode如下:UART3: 115.2 Kbps, 8 bits, even parity, 1 stop-bit, no flow controlhttps://www.ti.com/lit/ug/spruhz7j/spruhz7j.pdf请参考下面帖子。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/754064/linux-am5728-uart-boot-failure

赞(0)
未经允许不得转载:TI中文支持网 » AM5718: AM5718 Uart Boot,下载u-boot-spl.bin成功,串口没有输出“CCC”字符
分享到: 更多 (0)