CRC errors when trying to boot a flash image
Hi,
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-2.6.24.4
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:
Code:
SRC=$2/arch/arm/boot/uImage
if [ -f $SRC ]; then
printf "Kernel source in: %s\n" $SRC
else
printf "Error: No kernel source in : %s\n" $SRC
exit 0
fi
mkimage -T kernel -C none -a 0x8000 -e 0x8000 -d $SRC scp_uimage
echo "Destination: scp_zimage"
And the above script is called with:
Code:
create_flash_image kernel linux-2.6.24/
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.
Kind regards
Andrew