public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] ppc4xx:DDR SDRAM test
@ 2010-10-05 10:12 Tim Rachman
  2010-10-05 12:30 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Rachman @ 2010-10-05 10:12 UTC (permalink / raw)
  To: u-boot

Dear ALL

I ported u-boot-2009-11  to my custom board using ppc440EP processor. I changed 
amcc/bamboo BSP to run u-boot on my board. 

I have some Questions and any suggestion can help me:
	1. Is mtest command is sufficient for DDR SDRAM testing?
	2. what is data cache status in mtest?
	3. for DDR SDRAM full test, I wrote a function to generate random data and 
address test patterns, using random()function in stdlib.h but there is a 
compilation error " stdlib.h: No such file or directory"
 when stdlib.h is included in bamboo.c

Thank for your consideration!



      

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] ppc4xx:DDR SDRAM test
  2010-10-05 10:12 [U-Boot] ppc4xx:DDR SDRAM test Tim Rachman
@ 2010-10-05 12:30 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2010-10-05 12:30 UTC (permalink / raw)
  To: u-boot

Hi Tim,

On Tuesday 05 October 2010 12:12:19 Tim Rachman wrote:
> I ported u-boot-2009-11  to my custom board using ppc440EP processor.

Hmmm. Already nearly one year old. I suggest to update to the latest release.

> I
> changed amcc/bamboo BSP to run u-boot on my board.

Autsch. You should never "change" an existing board port, but instead create 
your own custom board port. Of course an existing one can always be the basis 
for this. This way you can submit your changes to mainline U-Boot and your 
custom board port will be in sync with the U-Boot updates.
 
> I have some Questions and any suggestion can help me:
> 	1. Is mtest command is sufficient for DDR SDRAM testing?

No. SDRAM problems are hard to spot. Most memory testing routines can't spot 
all problems. One very good test-case is to run Linux on the board and compile 
a Linux kernel mounted via NFS. This has proven to show most SDRAM related 
problems.

> 	2. what is data cache status in mtest?

That's architecture specific. Currently most PPC4xx board (and bamboo as well) 
don't enable i-cache and d-cache in SDRAM locations.

> 	3. for DDR SDRAM full test, I wrote a function to generate random data 
and
> address test patterns, using random()function in stdlib.h but there is a
> compilation error " stdlib.h: No such file or directory"
>  when stdlib.h is included in bamboo.c

There is no stdlib.h in U-Boot.

Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-05 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05 10:12 [U-Boot] ppc4xx:DDR SDRAM test Tim Rachman
2010-10-05 12:30 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox