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

Marek Vasut marex at denx.de
Sat May 12 19:06:35 CEST 2012


Dear Fabio Estevam,

> On Sat, May 12, 2012 at 1:19 PM, Marek Vasut <marex at 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


More information about the U-Boot mailing list