IMX6Q RAM Configuration

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6Q RAM Configuration

276 Views
kcassar
Contributor II

Hi,

We are having stability issues running the IMX6Q. We think it is something to do with our RAM setup.

We are using 2 x1GB of RAM. Calibration passes fine and RAM stress test passes with no issues between 425 and 580MHz.

we are using memtester in Linux on the board if we use the following it seems to work fine and loop with no problems.

memtester 128M.

However the further we go above 128M the more usnstable the system becomes.

for example running at 150M memtester fails immediately.

doing the same thing on the sabreSD board we can run easily at 512M.

Is this to do with 32 bit memory vs 64 bit?

As per the u-boot code for the mx6sabresd we are configuring the RAM by specifying the DCD table and looping over it and setting the values as per ddr_init() in mx6sabresd.c.

However we have seen in older versions of u-boot instead of using the DCD table various structures were filled out and the following functions were called instead. mx6dq_dram_iocfg() and mx6_dram_cfg(). We see from doing it this way you can explicitly set things such as ralat and walat. How do we do the equivelant when using the DCD table as is now the norm.

Thanks in advance for any help,

Kyle.

Labels (1)
0 Kudos
1 Reply

166 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Kyle

ddr settings found from ddr test can be put in uboot *.cfg file, no need to configure

them in other uboot places :

mx6q_4x_mt41j128.cfg\mx6sabresd\freescale\board - uboot-imx - i.MX U-Boot 

As for memtester this utility also well stresses power subsystem opposite to ddr test.

So one can pay attention to power supplies requirements (in particular ripples)

given in i.MX6 System Development User’s Guide

https://www.nxp.com/webapp/Download?colCode=IMX6DQ6SDLHDG 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos