How to configure DDR3L RAM on FRDM-LS1012A

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

How to configure DDR3L RAM on FRDM-LS1012A

1,124 Views
shyam_baldha
Contributor I

Hello Community,

How to Configure configure DDR3L RAM on fresh FRDM board?? 

As per my knowledge I don't have to do an changes in dts or anywhere in BSP. If anything need to be done in BSP code please guide me.

Please provide pointer on configuration part.

Thanks,

Shyam

Labels (1)
Tags (1)
0 Kudos
3 Replies

742 Views
Pavel
NXP Employee
NXP Employee

Change u-boot configuration file for your SDRAM. Look at attached file. These file are u-boot configuration files for the FRDM-LS1012Aboard .This file is available in u-boot source folder. Use the following path:

QorIQ-SDK-V2.0-20160527-yocto/build_ls1012afrdm/tmp/work/ls1012afrdm-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/include/configs


Have a great day,
Pavel Chubakov

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

0 Kudos

742 Views
Pavel
NXP Employee
NXP Employee

Look at u-boot source code. U-boot provides DDR3L initialization. See attached files. These files are available using the following path in SDK 2.0:

/QorIQ-SDK-V2.0-20160527-yocto/build_ls1012afrdm/tmp/work/ls1012afrdm-fsl-linux/u-boot-qoriq/2016.09+fslgit-r0/git/board/freescale/ls1012afrdm


Have a great day,
Pavel Chubakov

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

0 Kudos

742 Views
shyam_baldha
Contributor I

Hi pavel,

I have checked those file and I can see some initialization parameters as well but I don't see any size related parameters.

So my query is What changes to be done in BSP If I increase RAM size to 2GB which is Presently 512MB on FRDM-LS1012A board.

NOTE : There is one parameter 'CONFIG_SYS_SDRAM_SIZE' but I don't know how to manipulate

Thanks,

Shyam

0 Kudos