Writing to TTBCR on ARM9 causes fault
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/I101494...] So maybe this might be omitted on ARM9? Martin
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/I101494...]
So maybe this might be omitted on ARM9?
Yes, just omit the line. I'll fix it properly. Thanks, Adam -- Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
participants (2)
-
Adam Lackorzynski -
Martin Schröder