How to change RAM size in imx6slevk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change RAM size in imx6slevk

755 Views
sujay1
Contributor V

We use 1Gb RAM SOM with our imx6slevk 

I'm trying to change it to 512 MB

I ran ddr tester and got 

============================================
DDR Stress Test (3.0.0)
Build: Dec 14 2018, 14:12:40
NXP Semiconductors.
============================================

============================================
Chip ID
CHIP ID = i.MX6 SoloLite (0x60)
Internal Revision = TO1.2
============================================

============================================
Boot Configuration
SRC_SBMR1(0x020d8004) = 0x00002860
SRC_SBMR2(0x020d801c) = 0x01000001
============================================

ARM Clock set to 1GHz

============================================
DDR configuration
DDR type is DDR3
Data width: 32, bank num: 8
Row size: 14, col size: 10
Both chip select CSD0 and CSD1 are used
Density per chip select: 512MB
============================================

Where should I modify the source with these values?

Tags (2)
0 Kudos
3 Replies

635 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can see the DDR Script Aidhttps://community.nxp.com/docs/DOC-94917 . It will do help for you.

0 Kudos

635 Views
sujay1
Contributor V

Hi Rita

Thanks for the reply

However that only gives me an include file,

The stress tool already had an include file, should I replace this with that?

and after running a stress test I get the values shown in the original post where can I update these values in u-boot source?

0 Kudos

635 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

I found this, you can refer to

For our maintained u-boot version v2009.08 DDR3 settings are set in

<u-boot directory>/board/freescale/mx6q_sabresd/flash_header.S

 

For the supported version by FSL v2013.04 DDR3 script settings are part of the board configuration

 

The file

<u-boot directory>boards.cfg

 

Has a board configuration such us:

mx6qsabresd mx6qsabresd:IMX_CONFIG=board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg,MX6Q,DEFAULT_FDT_FILE="imx6q-sabresd.dtb"

 

YoctoProject community maintained uses a different uboot version v2013.10 and has a similar settings as with Freescale latest maintained version.

0 Kudos