On Tue, Jun 08, 2010 at 10:02:44AM +0200, Luca Ceresoli wrote: > Orjan Friberg wrote:> On 2010-05-27 11:31, Sascha Hauer wrote: > > > Seems this does not work on Cortex Processors. Can you try replacing > > > this with the following please: > > > > > > asm volatile ( > > > "bl __mmu_cache_flush;" > > > "bl __mmu_cache_off;" > > > : > > > : > > > : "r0", "r1", "r2", "r3", "r6", "r10", "r12", "cc", "memory" > > > ); > > > > Thanks, this seems to work fine (in the sense that I can load and run a > > second stage bootloader; I haven't tried verifying what happens with the > > I and D cache). > > Works for me as well. > Is it going to be committed? Ok, done. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox