u-boot内核移植出现问题
## Booting kernel from Legacy Image at 30000000 ...
Image Name: Linux-3.4.2
Created: 2014-10-15 3:14:05 UTC
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
## Booting kernel from Legacy Image at 30000000 ...
Image Name: Linux-3.4.2
Created: 2014-10-15 3:14:05 UTC
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