[U-Boot] ELF_RELOC causes strange I-cache issues

Wolfgang Denk wd at denx.de
Thu Oct 21 12:05:13 CEST 2010


Dear Albert Aribaud,

In message <1287652681-4085-1-git-send-email-albert.aribaud at free.fr> you wrote:
> Wolfgang (and others who can/want),
> 
> Please test this patch; it should add a complete barrier to make
> sure that all fixups are written to RAM before jumping there, and
> that no remnants subsist of the old unfixed code in the instruction
> paths. However, I cannot even do basic testing on it as I have
> no 1136 board, so I cannot rule out even basic mistakes.
> 
> When this works I'll do a proper [PATCH].

I tested this, too.

It has a clearly reproducable impact, but unfortunately to the worse.
Now even "usb read 80800000 0 100" will hang (i. e. reading 256
blocks); so far, this worked fine, and I needed a count of 4096 to
produce the hangs.


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 pathology is to want control, not that you ever get it,  because
of course you never do."                            - Gregory Bateson


More information about the U-Boot mailing list