Rescue the devkit8000
Loading...
將 MLO, u-boot.bin 及 flash-uboot.bin 放入 sd card 中, 按著 BOOT_KEY 不放, 然後開啟電源 如果只出現: Texas Instruments X-Loader 1.41 Starting OS Bootloader... 則重新 format sd card, 再放入 MLO, u-boot.bin 及 flash-uboot.bin OMAP3 DevKit8000 # mmcinit OMAP3 DevKit8000 # fatload mmc 0:1 80000000 flash-uboot.bin OMAP3 DevKit8000 # nand unlock OMAP3 DevKit8000 # nand ecc sw OMAP3 DevKit8000 # nand erase 80000 160000 OMAP3 DevKit8000 # nand write.i 80000000 80000 160000
錯誤訊息:
Texas Instruments X-Loader 1.41
Starting OS Bootloader...
U-Boot 1.3.3-svn (Feb 4 2010 - 15:16:04)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
Error: Bad compare! failed
nand_read_ecc: Failed ECC read, page 0x000004c0
Using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x280000, size 0x240000
Error: Bad compare! failed
nand_read_ecc: Failed ECC read, page 0x00000500
Error: Bad compare! failed
nand_read_ecc: Failed ECC read, page 0x00000500
reading NAND page at offset 0x280000 failed
2359296 bytes read: ERROR
Wrong Image Format for bootm command
ERROR: can't get kernel image!
OMAP3 DevKit8000 #
解決方法:
OMAP3 DevKit8000 # setenv bootcmd 'nand ecc sw;nand read.i 80300000 280000 240000;bootm 80300000'
OMAP3 DevKit8000 # saveenv
正常開機訊息:
Texas Instruments X-Loader 1.41
Starting OS Bootloader...
U-Boot 1.3.3-svn (Feb 4 2010 - 15:16:04)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM: 256 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x280000, size 0x240000
2359296 bytes read: OK
Loading...
發表迴響