[U-Boot] at91SAM7S9263B-EK + u-boot using sd card: linux uncompress ... crc error

Wolfgang Denk wd at denx.de
Tue Nov 3 20:14:50 CET 2009


Dear Thomas.Schulte at saf-kassel.de,

In message <OF003996F1.6CA453FB-ONC1257663.0056E6C1-C1257663.00575C2E at saf-kassel.de> you wrote:
>
> we urgently need some help.

Read http://www.catb.org/~esr/faqs/smart-questions.html and/or hire an
expert.

> WE NEED TO RUN THE WHOLE THING FROM SD!

No need to shout.

> u-boot loads the uImage (linux-2.6.27)from SD to 0x22000000
> u-boot does Bootm 0x22000000 (0x22200000 shows same result)
>
> Linux starts , but fails! see screen copy:
> Uncompressing 
> Linux....................................................................................................
> crc error
>
> What went wrong? Can you help?

Obviously there is some memory corruption.

> An Alternative is an uncompressed Kernel in order to come around the crc 
> issue. Then Linux kernel starts, but crashes after 100lines of messages 
> anyway.

Could be some memory corruption.

> We found comments in some forum that flushing/invalidating the 
> icashe/dcashe is required when SD is used before u-boot is going on to run
> the kernel. 

Indeed it is a good idea to make sure caches are properly flushed.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The trouble with our times is that the future is not what it used  to
be.                                                     - Paul Valery


More information about the U-Boot mailing list