IMX6D Linux3.10.53 chang DDR frequency 528 to 400MHZ

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

IMX6D Linux3.10.53 chang DDR frequency 528 to 400MHZ

911 Views
dqz
Contributor II

i use IMX6D linux3.10.53

now i want to chang the DDR frequency from 528MHZ to 400MHZ,
First i change 528 to 400 in I.MX6DQSDL DDR3 Script Aid V0.10,and then i use this config to calibration config to do the DDR calibration , and i also have put these configs and it's calibration result to the DCD files in uboot.
Except these, need i to modify other code of kernel or uboot for changing  DDR frequency from 528MHZ to 400MHZ?
Thanks.

Labels (1)
0 Kudos
3 Replies

618 Views
igorpadykov
NXP Employee
NXP Employee

Hi z

one can port codes for changing ddr frequency to uboot plugin.S

using examples in linux ddr3_freq_imx6.S:

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

ddr3_freq_imx6.S\mach-imx\arm\arch - linux-imx - i.MX Linux kernel 

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

0 Kudos

618 Views
dqz
Contributor II

you mean if i want to chang the DDR frequency from 528MHZ to 400MHZ, i can change ddr frequency in uboot just once? do not need to change any kernel code?

0 Kudos

618 Views
igorpadykov
NXP Employee
NXP Employee

you shoud change ddr3 frequency running code from OCRAM.

0 Kudos