参考OMAP-L137 EVM自制的板卡,加入NAND FLASH并从NAND启动。
1、uboot启动后通过tftp命令能正常的加载启动内核,命令及串口显示如下:
U-Boot > tftp 0xc0700000 uImage
U-Boot > bootm
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.33-rc4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1989976 Bytes = 1.9 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...
。。。。。
2、uboot启动后通过tftp命令加载内核到SDRAM,再通过nand write.e命令把uImage写到NAND FLASH中,
然后再把NAND FLASH中uImage读回SDRAM并bootm,提示Verifying Checksum ... Bad Data CRC。
命令及串口显示如下:
U-Boot > tftp 0xc0700000 uImage
U-Boot > nand erase 0x200000 0x200000
U-Boot > nand write.e 0xc0700000 0x200000 0x200000
U-Boot > nboot.e 0xc0700000 0 0x200000
U-Boot > bootm
## Booting kernel from Legacy Image at c0700000 ...
Image Name: Linux-2.6.33-rc4
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1989976 Bytes = 1.9 MB
Load Address: c0008000
Entry Point: c0008000
Verifying Checksum ... Bad Data CRC
请教CRC错误这种问题如何解决 谢谢。。。