Skip to contentSkip to conversation

Freescale P4080 DDR problems

U-Boot Виталий Андрющенко 2 participants 2 messages Oct 16, 2013 – Oct 18, 2013

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Vitaly,

Quoted 10 lines · ??????? ??????????

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.

Quoted 5 lines

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