Writing to TTBCR on ARM9 causes fault

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Jan 14 23:30:19 CET 2014


On Tue Jan 14, 2014 at 18:18:19 +0100, Martin Schröder wrote:
> I am trying to get L4 running on the freescale i.MX28 EVK.
> 
> During startup it stops with a fault at
> fiasco/src/kern/arm/bootstrap.cpp:236
> 
>   asm volatile("mcr p15, 0, %[ttbcr], c2, c0, 2" // TTBCR
>                : : [ttbcr] "r" (Page::Ttbcr_bits));
> 
> Unlike ARM11, the ARM9 does not know about TTBCR. [http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0198e/I1014942.html]
> 
> So maybe this might be omitted on ARM9?

Yes, just omit the line.
I'll fix it properly.


Thanks,
Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list