From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] post memory test
Date: Wed, 14 Nov 2007 12:02:10 +0100 [thread overview]
Message-ID: <m2mythum31.fsf@ohwell.denx.de> (raw)
In-Reply-To: <OFC8983DD4.971E1580-ON88257391.0080BBA9-88257391.008354E8@us.alphanetworks.com> (Dongying Xu's message of "Mon\, 12 Nov 2007 15\:50\:39 -0800")
Hi Dongy,
> I have a question about post memory test. According to the following code, even
> if memory size is greater than 256M, only 256M memory will be tested. Is it
> true or I missed something. Thanks a lot.
No, this is true. As I did not write that code, my interpretation
uses some speculation, but what is very likely the case here is that
U-Boot potentially does not map all physical available memory and thus
we cannot even access it. As we do not have explicit variables
representing those facts, I guess the 256MB are kind of a least
common denominator.
As an example look at initdram() in board/Marvell/db64460/sdram_init.c
where the platform uses Block Address Translations (BATs) to map RAM
but exhausts these pretty scarce ressources and limits itself to
mapping only the first 256MB (a usual limit for a BAT).
> In U-BOOT-1.2.0
> u-boot\post\drivers\memory.c,
A word to version 1.2.0, if you have a platform with 256MB+ memory,
please be sure to check the fix from Aug 25 by Yuri Tikhonov "POST:
limit memory test area to not touch global data anymore" (9c02defc) in
the current code as the code in 1.2.0 caused problems on such systems.
Cheers
Detlev
--
When you loosen yourself from all the obvious delusions - religion,
ideology, Communism - you're still left with the myth of your own
goodness. Which is the final delusion.
-- Philip Roth
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2007-11-14 11:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-12 23:50 [U-Boot-Users] post memory test Dongying_Xu at us.alphanetworks.com
2007-11-14 11:02 ` Detlev Zundel [this message]
2007-11-16 13:29 ` Jens Gehrlein
2007-11-16 19:21 ` Wolfgang Denk
2007-11-19 7:55 ` Jens Gehrlein
2007-11-19 13:13 ` Wolfgang Denk
2007-11-19 15:34 ` Detlev Zundel
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=m2mythum31.fsf@ohwell.denx.de \
--to=dzu@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.