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

Wolfgang Denk wd at denx.de
Thu Oct 21 14:00:22 CEST 2010


Dear Albert ARIBAUD,

In message <4CC01C6B.9090904 at free.fr> you wrote:
>
> Wolfgang/other testers, can you do the following three tests?

My test looks like this:

usb_test=usb start;run usb_test20 usb_test30 usb_test40
usb_test2=usb read 80800000 0 100;date
usb_test20=run usb_test2 usb_test2 usb_test2 usb_test2 usb_test2
usb_test3=usb read 80800000 0 1000;date
usb_test30=run usb_test3 usb_test3 usb_test3 usb_test3 usb_test3
usb_test4=usb read 80800000 0 10000;date
usb_test40=run usb_test4 usb_test4 usb_test4 usb_test4 usb_test4

I.e. I will repeat 5 reads with 256, 4096 resp. 65536 blocks, starting
with the small counts, going up.

> 1. Replace the three mcr instructions I added in my patch with this single

Hangs at 2nd read of 4096 blocks.

> 2. Replace the three mcr instructions I added in my patch with this single

Hangs at 2nd read of 4096 blocks.

> 3. Replace the three mcr instructions I added in my patch with these two

Hangs at 1st read of 4096 blocks.

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
Mr. Cole's Axiom:
        The sum of the intelligence on the planet is a constant;
        the population is growing.


More information about the U-Boot mailing list