[U-Boot] Special memory test Question

Wolfgang Denk wd at denx.de
Fri Oct 10 14:31:46 CEST 2008


Dear Haavard Skinnemoen,

In message <20081010134329.6ddcce09 at hskinnemo-gx745.norway.atmel.com> you wrote:
>
> Btw, that command won't actually test the SDRAM since do_mem_loop()
> accesses cacheable memory. The first access will load the data into the

This depends on your board configuration. Date cache may be globally
enabled or not, or anabled or not for the specific address range in
question.

> dcache, and subsequent accesses will simply read it from the dcache and
> not cause any memory accesses.

Maybe, maybe not.

> What is this command supposed to test anyway? It's highly unlikely that
> it will find any SDRAM problems by simply reading an address without
> checking the result...

The command is not restricted on reading from SDRAM, but works on any
other address ranges, too. SOmetimes it's pretty helpful to see  read
cycles  from a certain address (range) without anything other traffic
on the bus - it makes it easy to analyze timings and signal  quality,
etc.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Faith: not *wanting* to know what is true."    - Friedrich Nietzsche


More information about the U-Boot mailing list