计划从实验下串口获得SPL,UBOOT的启动过程,可以说这个实验不复杂,但是其中也遇到了些问题,最终由于没有合适的u-boot-spl.bin而失败,但这个我把这个过程分享在这里,留个记录也给其它童鞋一些参考。
下面是摘自https://processors.wiki.ti.com/index.php/AM335x_U-B...u-boot-spl.bin的步骤
*The release package does not contain the binary for UART boot. Please follow the steps mentioned here for
compiling u-boot and use the spl/u-boot-spl.bin file that is produced.
Switch ON EVM with switch settings for UART boot. When “CCCC” characters appear on TeraTerm window, from the
File Menu select Transfer --> XMODEM --> Send (1K mode)
Select “u-boot-spl.bin” for the transfer
After image is successfully downloaded, the ROM code will boot it.
When “CCCC” characters appear on TeraTerm window, from the File Menu select Transfer --> YMODEM --> Send (1K
mode)
Select “u-boot.img” for the transfer
After image is successfully downloaded, U-Boot will boot it.
Hit enter and get to u-boot prompt “U-Boot# ”
说起来也是很简单的,
1)断电拔掉SD卡,并连接串口TX,RX,GND,
2)然后按住boot按键,上电
3) 松开boot键
当然首先是下载并编译u-boot-am33x ,有两个资源可供选择1)GIT开源发布的软件包2)TI的官网的EZSDK,本人比较懒就在github上找到如下链接https://github.com/embest-tech/u-boot-am33x
下面则是编译过程,很顺利,在am335x/spl目录下得到了期望的u-boot-spl.bin, U-Boot-spl.map等文件,下面也有一篇可参考的文章,关于这些文件的介绍 https://blog.csdn.net/q123456789098/article/details...