From: Wolfgang Denk Date: Wed, 10 May 2006 00:07:36 +0200 Subject: [U-Boot-Users] Usually dram test executed not on whole sdram In-Reply-To: Your message of "Tue, 09 May 2006 22:41:38 +0200." <200605092241.38323.antonio.dibacco@aruba.it> Message-ID: <20060509220736.F3FF0353DB1@atlas.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 In message <200605092241.38323.antonio.dibacco@aruba.it> you wrote: > Anyone knows why in the u-boot normally the dram test is not executed on the > whole DRAM? For example a lot boards that have 16MB specify start_address = > 1MB and end_addr = 15MB. If the u-boot is executing in flash the DRAM can be > written completely I think! The "mtest" can only be run after relocation to RAM, so you have to leave out the memory needed ofr exception vectors, U-Boot code, malloc arena, stack, etc. For the POST tests no such restriction exists. But you are on the wrong track. A memory test will NOT detect your problem, as it is exercising pleain read / write accesses only, while your problem is most probably with burst mode accesses. Please read the FAQ! Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Success in marriage is not so much finding the right person as it is being the right person.