我有一个Beagle board OMAP3530-GP,我已经将内核和根文件系统复制到SDcard的两个分区中,并希望启动它。
SDcard的分区1: FAT32引导分区,包含以下文件,顺序相同: MLO u-boot.bin uImage uInitrd
在分区2中: rootfs
现在我已经启动了它,因此我得到了:
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Error: reading boot sector
Loading u-boot.bin from nand
U-Boot 2011.03 (Apr 20 2011 - 07:19:53)
OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0
In: serial
Out: serial
Err: serial
Beagle Rev C1/C2/C3
timed out in wait_for_pin: I2C_STAT=0
No EEPROM on expansion board
Die ID #5738000300000000040323091100e002
Hit any key to stop autoboot: 0
MMC: block number 0x1 exceeds max(0x0)
** Can't read from device 0 **
** Unable to use mmc 0:1 for fatload **
MMC: block number 0x1 exceeds max(0x0)
** Can't read from device 0 **
** Unable to use mmc 0:1 for fatload **
Wrong Image Format for bootm command
ERROR: can't get kernel image! 我认为它在NAND中有一个早期的u-boot.bin,它正在读取,并想要擦除它,所以在一个奇怪的时刻做了:
OMAP3 beagleboard.org # nandecc sw
SW ECC selected
OMAP3 beagleboard.org # nand erase 0 80000
NAND erase: device 0 offset 0x0, size 0x80000
Erasing at 0x60000 -- 100% complete.
OK
OMAP3 beagleboard.org # nand erase 80000 160000
NAND erase: device 0 offset 0x80000, size 0x160000
Erasing at 0x1c0000 -- 100% complete.
OK并再次启动,只注意到几个不可读的串行字符,引导加载程序不再出现。
然后我突然想到,我可能在NAND中删除了X-loader 1.4.2!我将它复制到我的引导分区中,以便可以从SDcard而不是NAND启动X-loader。但是,我在开机时看到相同的不可读字符:( :(
我做什么好??如何让bootloader正常工作?
提前感谢
发布于 2012-08-19 02:29:02
您可以使用x-loader(MLO)和u-boot.bin准备SD卡,并从其启动,如下所示:
关闭beagleboard
这迫使beagle从sdcard启动。如果MLO和u-boot.bin都被正确地复制到SD卡上,那么现在应该会在串行控制台上看到u-boot提示。您现在可以在u-提示符下将二进制文件从SD卡和闪存加载到nand。
发布于 2013-06-25 22:11:46
在准备beagleboard NAND之前使用nandecc hw;它仅在hw模式下从NAND启动
https://stackoverflow.com/questions/9823699
复制相似问题