u-boot内核移植出现问题:
## Booting kernel from Legacy Image at 30000000 ...
Image Name: Linux-3.4.2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2486120 Bytes = 2.4 MiB
Load Address: 30108000
Entry Point: 30108000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
原因:
分区设置不对,实际内核大小为2.4M,但是我的分区设为2M。
mtdparts=mtdparts=rookie_wei-nand:256k(bootloader),128k(params),2m(kernel),-(rootfs)
解决办法;
办法一:(不推荐,每次启动都得设置)
set mtdparts "mtdparts=rookie_wei-nand:256k(bootloader),128k(params),4m(kernel),-(rootfs)"
办法二:
在u-boot源码是设置,使内核分区为4m。
Linux内核4.2已经发布–附安装说明:http://www.linuxdiyf.com/linux/13682.html
在Ubuntu中如何安装或升级Linux内核到4.2:http://www.linuxdiyf.com/linux/13724.html