[U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound

Marek Vasut
2012-05-12T17:06:35Z

> 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