2.6.x on 405CR

Matt Porter mporter at kernel.crashing.org
Wed Sep 29 02:43:27 EST 2004


On Tue, Sep 28, 2004 at 05:47:57PM +0200, Piotr Perak wrote:
> On Tue, 28 Sep 2004, Matt Porter wrote:
> > Hrm, I see. Did your firmware change between your working 2.4 kernel
> > and your non-working 2.6 kernel?  If you're failing in there that would
> > be my first thought. I suppose that's probably not that case though.
> 
> 2.4.23 still runs on board I try to port 2.6.8.1 to. So I guess firmware
> is not the problem?

In that case, it shouldn't be.
 
> > then you're an interesting spot.  Can you trace it down to the exact
> > failure in __alloc_bootmem_core?
> I already did it. Can you please read
> http://ozlabs.org/pipermail/linuxppc-dev/2004-September/000104.html? I
> described there what weird things are happening in __alloc_bootmem_core.

I see. Can you move the reset instruction to isolate the offending
instruction? 
 
BTW, it's not clear how you are guaranteeing that the processor has
bit 2 or 3 asserted before the dbcr0 load. If you preloaded r12 out of
the scope of the code fragments shown, it's clear that r12 is getting
clobbered in the subf instruction of the 2.6.8.1 fragment.

Is this a hobby project or a "for profit" project? If it's for profit,
then consider investing in a JTAG emulator (like BDI2000)...it'll pay
for itself many times over.

-Matt



More information about the Linuxppc-embedded mailing list