linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "mike zheng" <mail4mz@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: System crash on boot_e500.S on 2.4Kernel
Date: Tue, 14 Aug 2007 16:21:58 -0400	[thread overview]
Message-ID: <5c9cd53b0708141321h62f0ddd1k3a57a37f52e93894@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2007-08-14 20:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-14 20:21 mike zheng [this message]
2007-08-14 20:38 ` System crash on boot_e500.S on 2.4Kernel 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5c9cd53b0708141321h62f0ddd1k3a57a37f52e93894@mail.gmail.com \
    --to=mail4mz@gmail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).