uboot Initialization of IMX6DQ with LPDDR2-MT42L256M32LG

cancel
Showing results for 
Search instead for 
Did you mean: 

uboot Initialization of IMX6DQ with LPDDR2-MT42L256M32LG

1,056 Views
Contributor II

Hi,

I am trying to port uboot and kernel 3.10 to imx6dq based custom board. My custom board is based on sabresd board except lpddr2 ram. So, what are the files need to be change in uboot? How to initialize the lpddr2 ddr in uboot?

Labels (2)
4 Replies

78 Views
Contributor II

Hi igor,

Thanks for your reply. I followed and configured everything as per the above links. But I can,t set the clock frequency to 400MHZ (DATA 4, 0x020c4018, 0x00060324). If i comment this line,  its working fine. May i know what is the reason?? How to set 400MHZ clock?

0 Kudos

78 Views
NXP TechSupport
NXP TechSupport

Hi Bala

memory is initialized in uboot../mx6sabresd/mx6q_4x_mt41j128.cfg file

also refer to attached file Chapter 1 Porting U-Boot

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

78 Views
Contributor II

Hi igor,

Thanks for your reply. Already I followed this document and made changes in uboot. But  SabreSd board contains DDR3 RAM and my custom board contains LPDDR2-MT42L256M32D2 RAM.  So, how to initialize the mx6q_4x_mt41j128.cfg file for LPDDR2-MT42L256M32D2?

0 Kudos

78 Views
NXP TechSupport
NXP TechSupport

Hi Bala

for new memory one needs to run DDR tests and find new parameters

https://community.freescale.com/docs/DOC-96412

below example with lpddr2

https://community.freescale.com/message/338104#338104

~igor