From: macdonldc@netscape.net (Craig MacDonald)
To: linuxppc-embedded@lists.linuxppc.org
Subject: PPCBoot and IMMR remapping for linux 2.4 on sbc8260
Date: Thu, 20 Sep 2001 17:29:19 -0400 [thread overview]
Message-ID: <4E48AD2F.671BD424.031B03A1@netscape.net> (raw)
The immr_base value in PPCBoot on my sbc8260 is
0x0f000000. I have been reading here that the
best value for linux is 0xf0000000.
I don't have easy access to flash my PPCBoot
to a new immr_base value, but I want to run
linux. I have been trying to change the immr_base
in assembly, but it does not seem to work.
Can I setup linux correctly using this method.
.set IMMR_H, 0x0f01
.set IMMR_L, 0x01a8
lis r4,IMMR_H
ori r4,r4,0x0000
lwz r4,IMMR_L(r4) // get the current value of the IMMR
lis r5,0xfff8
ori r5,r5,0xffff // Zero out the ISB field
and. r4,r4,r5
lis r5,0x0004 // Change the IMMR reg to be at 0xf0000000
or. r5,r4,r5
lis r4,IMMR_H
ori r4,r4,0x0000
stw r5,IMMR_L(r4) // modify the immr register
Best,
Craig MacDonald
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-09-20 21:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-20 21:29 Craig MacDonald [this message]
2001-09-20 22:41 ` PPCBoot and IMMR remapping for linux 2.4 on sbc8260 Dan Malek
2001-09-23 18:00 ` Wolfgang Denk
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=4E48AD2F.671BD424.031B03A1@netscape.net \
--to=macdonldc@netscape.net \
--cc=linuxppc-embedded@lists.linuxppc.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).