From: Wolfgang Denk Date: Thu, 21 Oct 2010 12:05:13 +0200 Subject: [U-Boot] ELF_RELOC causes strange I-cache issues In-Reply-To: <1287652681-4085-1-git-send-email-albert.aribaud@free.fr> References: <20101020184930.E89F7136320@gemini.denx.de> <4CBF4D17.6020403@free.fr> <20101020205401.39B4D1359B3@gemini.denx.de> <1287652681-4085-1-git-send-email-albert.aribaud@free.fr> Message-ID: <20101021100513.9AE651359B7@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert Aribaud, In message <1287652681-4085-1-git-send-email-albert.aribaud@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