Skip to contentSkip to conversation

Initial MMU too low

MPC8xx LEROY christophe 3 participants 3 messages Oct 30, 2010 – Nov 1, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which has __bss_stop above the C0800000 limit, and then I get a bad page exception during the zeroize of the __bss at startup, because the initial MMU only maps the first 8Mbytes.

What can I do to fix that ?

Regards
C. Leroy

#1 lore raw
Quoted 8 lines · LEROY christophe

Hello,

When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which has __bss_stop above the C0800000 limit, and then I get a bad page exception during the zeroize of the __bss at startup, because the initial MMU only maps the first 8Mbytes.

What can I do to fix that ?

Not much... maybe pin more initial TLBs ?

Ben.

#2 lore raw
In reply to LEROY christophe
Quoted 8 lines · On Sat, 30 Oct 2010 13:52:24 +0200 LEROY christophe <[email protected]>…

Hello,

When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which has __bss_stop above the C0800000 limit, and then I get a bad page exception during the zeroize of the __bss at startup, because the initial MMU only maps the first 8Mbytes.

What can I do to fix that ?

Under "Advanced setup", select "Pinned Kernel TLBs". Ignore the "860 ONLY", it applies to all 8xx.

-Scott