imx6 ddr freq

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

imx6 ddr freq

跳至解决方案
1,658 次查看
jeffery
Contributor III

hi,friend

how to get/printf ddr freq value in uboot or kernel when booting up on android 8.0?

thanks!

标签 (1)
0 项奖励
回复
1 解答
1,531 次查看
jeffery
Contributor III

on Linux version 4.9.17 DDR_MED_CLK is not be defined! 

I cant find the relative clk macro.

thanks!

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,531 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Hello,

In Uboot you need to add a line in the  board-mx6q_sabresd.c   

printf("DDR Clock : %d Hz\n", clk_get(DDR_MED_CLK);

or in the root/arch/arm/mach-mx6/bus_freq.c

0 项奖励
回复
1,532 次查看
jeffery
Contributor III

on Linux version 4.9.17 DDR_MED_CLK is not be defined! 

I cant find the relative clk macro.

thanks!

0 项奖励
回复