我通过串口下载了u-boot-spl.bin和u-boot.img后,通过NFS把内核启动起来。系统运行后我分区并格式化eMMC,并把MLO和u-boot.img拷贝到第一区中,把文件系统拷贝到第二个区中,之后reboot重启。重启后am3358不能自动加载MLO,还是不停的吐CCCC,但是在eMMC中的文件系统和内核是可以正常起来的。
请问是什么问题呢?请求支持
root@am335x-evm:/# fdisk -l
Disk /dev/mmcblk0: 3.6 GiB, 3867148288 bytes, 7553024 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4c767088
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 145407 143360 70M c W95 FAT32 (LBA)
/dev/mmcblk0p2 145408 7553023 7407616 3.5G 83 Linux
Disk /dev/mmcblk0boot1: 2 MiB, 2097152 bytes, 4096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0boot0: 2 MiB, 2097152 bytes, 4096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@am335x-evm:/run/media/mmcblk0p1# ls -lh
-rwxrwx— 1 root disk 73.3K Mar 29 21:09 MLO
-rwxrwx— 1 root disk 72.8K Mar 29 21:09 u-boot-spl.bin
-rwxrwx— 1 root disk 626.0K Mar 29 21:09 u-boot.img
root@am335x-evm:/# ls
bin dev home lib media opt run srv tmp var
boot etc include lost+found mnt proc sbin sys usr www
Jian Zhou:
BBB烧写eMMC,请参考这个文档:
http://www.deyisupport.com/question_answer/dsp_arm/sitara_arm/f/25/t/73278.aspx