This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CRC Error when uncompressing image from JFFS2


On Wed, Aug 24, 2005 at 11:01:42AM +1000, Benny Chen wrote:
> Dear all,
> I am not sure if anyone has seen this error.  When I tried to run 'exec
> -r 0x220000' on images (ramdisk.gz and zImage) loaded from the jffs2
> partition in RedBoot I get the following error.
> 
> Both the images works fine when loaded via tftp.
> 
> Any help will be much appreciated.
> 
> Regards,
> Benny
> 
> 
> /********* REDBOOT COMMAND OUTPUT **************/
> 
> RedBoot> ls
> directory /
>    1 drwxr-xr-x  1 size      0 .
>    1 drwxr-xr-x  1 size      0 ..
>    3 -rwxr-xr-x  1 size 677528 zImage
>    2 -rw-r--r--  1 size 3496544 ramdisk.gz
> RedBoot> load -v -r -b 0x220000 ramdisk.gz
> Using default protocol (file)
> |
> Raw file loaded 0x00220000-0x00575a5f, assumed entry at 0x00220000
> RedBoot> load -v -r -b 0x80000 zImage
> Using default protocol (file)
> -
> Raw file loaded 0x00080000-0x00125697, assumed entry at 0x00080000
> RedBoot> exec -r 0x220000
> Using base address 0x00080000 and length 0x000a5698
> Uncompressing Linux..............................................
>                                                                                                        
> crc error

Linux itself is printing this error message. This makes me think the
zImage is corrupt. I would double check what you have in the JFFS2
filesystem is OK. 

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]