CRC errors when trying to boot a flash image
Previously I have been using a flash memory device on my board which had 256k sector size, and I could boot it although I had problems with JFFS2 not liking the flash chip (please see my other thread)
I am now using a smaller device but when I try and boot my build of the kernel I get the following display:
Booting image at 00060000 ...
## Copy image from flash 00060000 to ram 00200000 ...
Image Name: Linux-22.214.171.124
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1759236 Bytes = 1.7 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... Bad Data CRC
My script for building the kernel image is:
And the above script is called with:
if [ -f $SRC ]; then
printf "Kernel source in: %s\n" $SRC
printf "Error: No kernel source in : %s\n" $SRC
mkimage -T kernel -C none -a 0x8000 -e 0x8000 -d $SRC scp_uimage
echo "Destination: scp_zimage"
Can someone please tell me what I need to do to make sure that my kernel image is built so that that it will work with the smaller sector size and not fail the CRC.
create_flash_image kernel linux-2.6.24/