我有一个 Beagle 板 OMAP3530-GP,我已将我的内核和 rootfs 复制到 SD 卡的两个分区中并想要启动它。
SD卡的分区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!我将它复制到我的引导分区中,以便可以从 SD 卡而不是 NAND 启动 X-loader。但是我在开机时看到相同的不可读字符:( :(
我该怎么办??如何让引导加载程序工作?
提前致谢