linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* System crash on boot_e500.S on 2.4Kernel
@ 2007-08-14 20:21 mike zheng
  2007-08-14 20:38 ` Andy Fleming
  0 siblings, 1 reply; 9+ messages in thread
From: mike zheng @ 2007-08-14 20:21 UTC (permalink / raw)
  To: linuxppc-embedded

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

  Hi All,

I am trying to bring up MPC8548 CDS board on 2.4 kernel. I have problem in
the head_e500.S. The "mtspr SRR0, r7; mtspr SRR1 r6" does not work for me.
The content of R7 and R6 are not moved to SRR0 and SRR1.  I am using the
tool-chain from Freescale for 2.6 kernel.

Any idea on this issue?

Thanks,

Mike



Code of head_e500.S:


      slwi  r6,r6,5      /* setup new context with other address space */
      bl    1f          /* Find our address */
1:    mflr  r9
      rlwimi      r7,r9,0,20,31
      addi  r7,r7,24
      mtspr SRR0,r7           ........No change in SRR0
      mtspr SRR1,r6           ........No change in SRR1
      rfi                     ........System crash

/* 4. Clear out PIDs & Search info */      l
      li    r6,0
      mtspr SPRN_PID0,r6
      mtspr SPRN_PID1,r6
      mtspr SPRN_PID2,r6
      mtspr SPRN_MAS6,r6

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

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

end of thread, other threads:[~2007-08-16 14:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-14 20:21 System crash on boot_e500.S on 2.4Kernel mike zheng
2007-08-14 20:38 ` Andy Fleming
2007-08-15 13:59   ` mike zheng
2007-08-15 16:17     ` Becky Bruce
2007-08-15 21:12       ` mike zheng
2007-08-15 22:06         ` Andy Fleming
2007-08-15 22:46           ` mike zheng
2007-08-16  1:16             ` Andy Fleming
2007-08-16 14:37               ` mike zheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).