public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* RFI instruction not working as expected...
@ 2007-03-15  5:52 Siva Prasad
  2007-03-15 11:50 ` Jerry Van Baren
  0 siblings, 1 reply; 3+ messages in thread
From: Siva Prasad @ 2007-03-15  5:52 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

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@h

        ori     r4,r4,2f@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

 


[-- Attachment #2: Type: text/html, Size: 6524 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* RFI instruction not working as expected...
@ 2007-03-15  5:53 Siva Prasad
  0 siblings, 0 replies; 3+ messages in thread
From: Siva Prasad @ 2007-03-15  5:53 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

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@h

        ori     r4,r4,2f@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: "?

 

Appreciate any help.

 

Thanks

Siva

 


[-- Attachment #2: Type: text/html, Size: 6667 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-15 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15  5:52 RFI instruction not working as expected Siva Prasad
2007-03-15 11:50 ` Jerry Van Baren
  -- strict thread matches above, loose matches on Subject: below --
2007-03-15  5:53 Siva Prasad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox