imx6q custom board ram configuraion

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

imx6q custom board ram configuraion

1,883 Views
aydogmus
Contributor II

Hi,

We were using imx6qpsabre (1 gb ram ) board before, now we designed a new custom board using imx6q soc and 2 gb micron ddr ram, remainig system is almost same.

I am trying to configure u-boot-fscl and linux-fslc with new ddr ram configuration (it is already booting). I tried to configure u-boot for 2 gb ram using mx6q_4x_mt41j128.cfg file with configuration data of imx stress test tool results. And I changed memory from the device tree. But I cannot see correct ram info on both linux and u-boot.

I want to ask these questions:

- how can I set u-boot for 2 gb ram,

- and can I see 2 gb ram info over linux without configuring u-boot

- what is the point of u-boot ram configuration ( all ram initilization is in here? )?

Labels (3)
0 Kudos
Reply
3 Replies

1,250 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdulaziz

ddr can be configured in uboot/include/configs/board_name.h file

and uboot/board/freescale/board_name/*.cfg file also please check

attached Porting Guide 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
Reply

1,250 Views
aydogmus
Contributor II

Hi igorpadykov,

in my u-boot version (2016 - 07) we do not have a uboot/include/configs/board_name.h instead of that file we have uboot/configs/boardname_defconfig file. I have tryed to backtrack ram information but I could not find a solution so far. In file uboot/board/freescale/board_name/*.cfg I have some changes but these changes does not upgrade ram information to 2 gb from 1 gb. 

0 Kudos
Reply

1,250 Views
igorpadykov
NXP Employee
NXP Employee

Hi Abdulaziz

please try nxp uboot 2016.03
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/?h=imx_v2016.03_4.1.15_2.0.0_ga

for u-boot version (2016 - 07)  suggest to post on uboot mail list

Best regards
igor

0 Kudos
Reply