From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 12 May 2012 19:06:35 +0200 Subject: [U-Boot] [PATCH] mx28evk: Scan only first 512 MB of DRAM to avoid memory wraparound In-Reply-To: References: <1336838852-14235-1-git-send-email-festevam@gmail.com> <201205121819.29806.marex@denx.de> Message-ID: <201205121906.35600.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Fabio Estevam, > On Sat, May 12, 2012 at 1:19 PM, Marek Vasut 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