public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Need input: Use Virtual address in commands; add translation/physical
Date: Thu, 27 Nov 2008 07:31:07 +0100	[thread overview]
Message-ID: <200811270731.07776.sr@denx.de> (raw)
In-Reply-To: <CDB66AA7-C842-4FFE-A3A9-796DBE163D4A@freescale.com>

Hi Becky,

On Wednesday 26 November 2008, Becky Bruce wrote:
> We're going to be seeing more platforms with larger physical addresses
> (PA) than virtual addresses (VA) supported in u-boot, and this kind of
> ruins the current assumption inherent in much of u-boot that VA ==
> PA.  On ppc, we've begin implementing the ability to actually
> translate VAs to PAs and vice-versa.  But this brings up the question
> of, when I type an address on the command line, what exactly am I
> specifying?  Is that a virtual address, or a physical address?

Just a comment: We are using 36bit addresses on 440 since a few years now. And 
it's only VA for the user right now and works quite well so far. The SoC 
peripherals for example usually are located at > 4GB on those chips. If 
possible we just truncate the upper 4 bits on the PA to get the VA. But this 
doesn't work in all cases of course. So again, the user only types VA'es.

It would be great though to add this ".p" feature to access PA'es as well.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      parent reply	other threads:[~2008-11-27  6:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 22:11 [U-Boot] Need input: Use Virtual address in commands; add translation/physical Becky Bruce
2008-11-26 22:52 ` Jerry Van Baren
2008-11-26 23:18   ` Wolfgang Denk
2008-11-27  1:39     ` Jerry Van Baren
2008-11-26 23:12 ` Andrew Dyer
2008-11-26 23:22   ` Wolfgang Denk
2008-11-27 17:06     ` Andrew Dyer
2008-11-27 22:15       ` Wolfgang Denk
2008-11-27  6:31 ` Stefan Roese [this message]

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=200811270731.07776.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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