linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: rvk <rvkisley@yahoo.com>
To: linuxppc-embedded@ozlabs.org
Subject: ppc 405 (xilinx) physical RAM not at 0
Date: Wed, 25 Apr 2007 09:27:35 -0700 (PDT)	[thread overview]
Message-ID: <10184448.post@talk.nabble.com> (raw)


Wise folks, I apologize if this is a dupe, if so please send a link either in
forum or external to educate me.

I have a port coming up to a ppc 405 Xilinx board. The port-from board has
RAM at 0x0000_0000, but the new board will not have that. I have read Dave
Lynch's external article here: (http://www.linuxjournal.com/article/9362),
there is a paragraph where he describes asking forums for help and being
told NO! NO! don't do that..., I don't have a choice. The
include/asm-powerpc/ppc_asm.h header includes the tophys() and tovirt()
macros used in arch/ppc/kernel/head_4xx.S to set up the initial mapping of
KERNELBASE, and they seem hardcoded to a phys address for RAM of 0 (tophys
in the final BOOKE/else case converts by subtracting KERNELBASE from itself
basically, giving a base phys of 0).  I'm worried this is the tip of the
iceberg.

Can anyone point me to patches or advice on how to get the 405 source using
a different phys RAM base? 
-- 
View this message in context: http://www.nabble.com/ppc-405-%28xilinx%29-physical-RAM-not-at-0-tf3646549.html#a10184448
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

                 reply	other threads:[~2007-04-25 19:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=10184448.post@talk.nabble.com \
    --to=rvkisley@yahoo.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).