Hi Ti,
我们正在采用AM5718开发产品,通过cat /sys/kernel/debug/clk/clk_summary | grep mpu 发现CPU的频率只有1GHZ,请问如何让CPU跑到1.5GHZ,BOOT和内核是否都需要修改?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Ti,
我们正在采用AM5718开发产品,通过cat /sys/kernel/debug/clk/clk_summary | grep mpu 发现CPU的频率只有1GHZ,请问如何让CPU跑到1.5GHZ,BOOT和内核是否都需要修改?
Hi Shine,
按您链接文档修改如下,发现速度反而变慢了,恳请帮忙分析一下,谢谢!
1:修改hw_data.c文件以下内容:
struct dplls dra72x_dplls = {
.mpu = mpu_dpll_params_1_5ghz, //原始为mpu_dpll_params_1ghz
.core = core_dpll_params_2128mhz_dra7xx,
.per = per_dpll_params_768mhz_dra7xx,
.abe = abe_dpll_params_sysclk2_361267khz,
.iva = iva_dpll_params_2330mhz_dra7xx,
.usb = usb_dpll_params_1920mhz,
.ddr = ddr_dpll_params_2664mhz,
.gmac = gmac_dpll_params_2000mhz,
};
2:新增:
/* OPP HIGH FREQUENCY for ES2.0 */
static const struct dpll_params mpu_dpll_params_1_5ghz[NUM_SYS_CLKS] = {
{125, 0, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 12 MHz */
{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 13 MHz */
{625, 6, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 16.8 MHz */
{625, 7, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 19.2 MHz */
{750, 12, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 26 MHz */
{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 27 MHz */
{625, 15, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1} /* 38.4 MHz */
};
变慢后的结果为: