How to chage DDR 352MHz on Kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to chage DDR 352MHz on Kernel

3,040 次查看
bordonkuo
Contributor II

Dear all

I change the DDR 352MHz based on Android 6.0.1 in imx6dl chip. And I only modify the U-boot. After the system is boot-up, it will change DDR clock on Kernel, right?

But I don't know how to change it ?

Thanks,

Bordon 

标签 (1)
0 项奖励
回复
4 回复数

2,710 次查看
bordonkuo
Contributor II

Currently I modify the register (0x020C4018) for 0x000A8324 on Uboot, it is working and no error message. When the system is going to the Kernel, does it initial the DDR again ?

Could I bypass the initial DDR on Kernel ?

Or ....

0 项奖励
回复

2,710 次查看
bordonkuo
Contributor II

Hi,

Could I do not change the DDR clock on Kernel ? Currently I modify the DDR clock on UBoot and look like fine.

When the system boot-up, it will stop on "Starting Kernel..." .

0 项奖励
回复

2,710 次查看
igorpadykov
NXP Employee
NXP Employee

one can try to change fsl,max_ddr_freq = <528000000>; in imx6q.dtsi :

linux-2.6-imx.git - Freescale i.MX Linux Tree 

in general stop on "Starting Kernel..." may mean ddr errors and one

can check ddr with ddr tester

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

0 项奖励
回复

2,709 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Bordon

frequency is changed by cpufreq driver, please refer to description

in attached Linux Manual Chapter 21 Low-level Power Management (PM) Driver,

Chapter 23 CPU Frequency Scaling (CPUFREQ) Driver, Chapter 24

procedure for changing frequency may be found in

linux/arch/arm/mach-imx/ddr3_freq_imx6.S

linux-2.6-imx.git - Freescale i.MX Linux Tree 

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

0 项奖励
回复