From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 18 Oct 2013 09:13:15 -0700 Subject: [U-Boot] Freescale P4080 DDR problems In-Reply-To: <525EA871.9030009@int.spb.ru> References: <525EA871.9030009@int.spb.ru> Message-ID: <52615E1B.3060302@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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