From: "mike zheng" <mail4mz@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: System crash on boot_e500.S
Date: Tue, 14 Aug 2007 16:14:09 -0400 [thread overview]
Message-ID: <5c9cd53b0708141314o57440c62waffb4cca3f2be0b9@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 855 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: 5428 bytes --]
next reply other threads:[~2007-08-14 20:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 20:14 mike zheng [this message]
2007-08-14 20:40 ` System crash on boot_e500.S Jon Loeliger
2007-08-15 13:57 ` mike zheng
2007-08-15 16:02 ` Scott Wood
2007-08-15 16:28 ` Kumar Gala
2007-08-15 16:30 ` Scott Wood
2007-08-15 16:41 ` Becky Bruce
2007-08-15 20:53 ` mike zheng
2007-08-15 20:57 ` Scott Wood
2007-08-15 21:23 ` mike zheng
2007-08-16 7:15 ` Geert Uytterhoeven
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=5c9cd53b0708141314o57440c62waffb4cca3f2be0b9@mail.gmail.com \
--to=mail4mz@gmail.com \
--cc=linuxppc-dev@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).