linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PPCBoot and IMMR remapping for linux 2.4 on sbc8260
@ 2001-09-20 21:29 Craig MacDonald
  2001-09-20 22:41 ` Dan Malek
  2001-09-23 18:00 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Craig MacDonald @ 2001-09-20 21:29 UTC (permalink / raw)
  To: linuxppc-embedded


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/

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

end of thread, other threads:[~2001-09-23 18:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-20 21:29 PPCBoot and IMMR remapping for linux 2.4 on sbc8260 Craig MacDonald
2001-09-20 22:41 ` Dan Malek
2001-09-23 18:00 ` Wolfgang Denk

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).