Re: [MPC8xx] Initial MMU too low

2010-11-01 Thread Scott Wood
On Sat, 30 Oct 2010 13:52:24 +0200 LEROY christophe wrote: > Hello, > > When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which > has __bss_stop above the C080 limit, and then I get a bad page > exception during the zeroize of the __bss at startup, because the > initial MMU

Re: [MPC8xx] Initial MMU too low

2010-10-30 Thread Benjamin Herrenschmidt
On Sat, 2010-10-30 at 13:52 +0200, LEROY christophe wrote: > Hello, > > When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which > has __bss_stop above the C080 limit, and then I get a bad page > exception during the zeroize of the __bss at startup, because the > initial MMU on

[MPC8xx] Initial MMU too low

2010-10-30 Thread LEROY christophe
Hello, When I build a kernel with DEBUG_LOCK_ALLOC set, I get a kernel which has __bss_stop above the C080 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. L