1.uboot我配置了CONFIG_SATA_BOOT
2.硬盘配置如下
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xbe86716d
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 145407 143360 70M b W95 FAT32
/dev/sda2 165888 1953525167 1953359280 931.4G 83 Linux
3./dev/sda1 存放(按照技术手册,将MLO命名为HLO)
HLO u-boot.img
4.将boot引脚设置为sata boot启动方式
上电发现报错如下
U-Boot SPL 2019.01-g029e4c009a (Oct 19 2019 - 21:37:25 +0000)
DRA752-GP ES2.0
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
Shine:
请参考下面的帖子里的SATA的启动步骤。
e2e.ti.com/…/852487