All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound
Date: Sat, 12 May 2012 19:06:35 +0200	[thread overview]
Message-ID: <201205121906.35600.marex@denx.de> (raw)
In-Reply-To: <CAOMZO5DgSyMVo0KE3tQAAw=bVL9LV-Kk2WZzb+pW763bnLwekQ@mail.gmail.com>

Dear Fabio Estevam,

> On Sat, May 12, 2012 at 1:19 PM, Marek Vasut <marex@denx.de> wrote:
> > All right, this approach is valid then. Btw. Fabio, can you verify that
> > you don't see any memory aliasing now (just to avoid trouble).
> 
> How can I verify this, please?

Try writing some pattern into DRAM at "offset-sizeof(pattern area)" and try 
reading it from "2*offset + sizeof(pattern area)" ... try doing the same for 
4*offset etc.

You might also be able to read data from memory behind what uboot considers as 
detected DRAM which will have the same contents as the detected DRAM etc. 

> 
> Regards,
> 
> Fabio Estevam

Best regards,
Marek Vasut

  reply	other threads:[~2012-05-12 17:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 16:07 [U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound Fabio Estevam
2012-05-12 16:10 ` Marek Vasut
2012-05-12 16:14   ` Fabio Estevam
2012-05-12 16:19     ` Marek Vasut
2012-05-12 16:40       ` Fabio Estevam
2012-05-12 17:06         ` Marek Vasut [this message]
2012-05-12 16:51       ` Fabio Estevam
2012-05-12 17:07         ` Marek Vasut
2012-05-12 21:22 ` 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=201205121906.35600.marex@denx.de \
    --to=marex@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.