RFI instruction not working as expected...

Siva Prasad sprasad at bivio.net
Thu Mar 15 16:52:44 EST 2007


Hi,

 

I am trying to boot my 8641D based PowerPC board. I am having trouble
booting it.

 

Following code snippet is from head_32.S.....

 

        lis     r4,2f at h

        ori     r4,r4,2f at l

        tophys(r4,r4)

        li      r3,MSR_KERNEL & ~(MSR_IR|MSR_DR)

        FIX_SRR1(r3,r5)

        mtspr   SPRN_SRR0,r4

        mtspr   SPRN_SRR1,r3

        SYNC

        RFI

/* Load up the kernel context */

2:    bl      load_up_mmu

 

 

My code successfully reaches up to the RFI instruction, but never to "2:
bl load_up_mmu". I am not using any debugger (used an LED write to
address to figure it out) in this situation.

 

Any suggestions on why my execution sequence never reaches the "2: "?

 

I exhausted all types of debug information and appreciate any help.

 

Thanks

Siva

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070314/b2c2fc86/attachment.htm>


More information about the Linuxppc-dev mailing list