S A McConnell writes:
> However, when I decompress from FLASH I get a length error.
>
> Using default image at address 10000
> Uncompressing Linux.....................................
> I assume the above message is telling me that the compressed kernel has
> a different length than what it states it's length should be in the
> encoding???
Correct. Sounds like the gzip got corrupted when it was programmed into
flash.
Is there any way you could confirm that what is actually in flash is
the same as what was on disk? eg, write a small program to go and
do a 32-bit sum of all bytes in the flash image, and compare that with
the 32-bit sum of all bytes in the disk image?
That will at least confirm whether or not the image got corrupted in
flash.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.