public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Freescale P4080 DDR problems
@ 2013-10-16 14:53 Виталий Андрющенко
  2013-10-18 16:13 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Виталий Андрющенко @ 2013-10-16 14:53 UTC (permalink / raw)
  To: u-boot

Hi, i have a problem while porting u-boot to my own-developed hardware 
with P4080 and fixed DDR3 memory (not DIMM's).

Does anybody tested code for Freescale with fixed memory on real hardware?

It seems that the code does not initialize a lot of registers (for 
example DDR_WRLVL_CNTL_2 and others) in function fixed_sdram(). But it 
does this in function fsl_ddr_sdram() which i scalled if we have DIMMs.
Currently my u-boot hangs while testing upper regions of memory.

PS. I have tested the memory with Freescale's proprietary tests (called 
DDR Validation) that use USBTAP and the test shows OK.

Can anybody give me a suggestion?
Thank you.
---
Vitaly

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

* [U-Boot] Freescale P4080 DDR problems
  2013-10-16 14:53 [U-Boot] Freescale P4080 DDR problems Виталий Андрющенко
@ 2013-10-18 16:13 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2013-10-18 16:13 UTC (permalink / raw)
  To: u-boot

Vitaly,


On 10/16/2013 07:53 AM, ??????? ?????????? wrote:
> Hi, i have a problem while porting u-boot to my own-developed hardware
> with P4080 and fixed DDR3 memory (not DIMM's).
> 
> Does anybody tested code for Freescale with fixed memory on real hardware?
> 
> It seems that the code does not initialize a lot of registers (for
> example DDR_WRLVL_CNTL_2 and others) in function fixed_sdram(). But it
> does this in function fsl_ddr_sdram() which i scalled if we have DIMMs.
> Currently my u-boot hangs while testing upper regions of memory.
> 
> PS. I have tested the memory with Freescale's proprietary tests (called
> DDR Validation) that use USBTAP and the test shows OK.
> 
> Can anybody give me a suggestion?
> Thank you.

The fixed parameters are very board specific. If you have successfully
validate DDR using Freescale tools, you can take those register values
and hard-code them into ddr.c. If you have some non-zero registers which
were not set, you want to add them, too.

York

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

end of thread, other threads:[~2013-10-18 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-16 14:53 [U-Boot] Freescale P4080 DDR problems Виталий Андрющенко
2013-10-18 16:13 ` York Sun

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