i.MX6 CCM and PLL setting by DCD.

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

i.MX6 CCM and PLL setting by DCD.

跳至解决方案
2,074 次查看
satoshishimoda
Senior Contributor I

Hi community,

Our partner tried setting CCM and PLL by DCD with i.MX6DL L3.0.35_4.1.0 BSP.

However, i.MX6DL did not boot when CCD and PLL are set by DCD even though DCD can set CCM and PLL as Table 8-33 in IMX6SDLRM Rev.1.

So we want to know whether there is some restrict to set CCM by DCD.

Could you let me kwnow it?

Or could you send a sample DCD to set CCM and PLL?

Best Regards,

Satoshi Shimoda

标签 (5)
标记 (1)
1 解答
1,134 次查看
Yuri
NXP Employee
NXP Employee

  The CCM address area is allowed for the DCD, according to Table 8-33 (Valid DCD Address Ranges)
of the i.MX6 SDL RM. Another way, that we should take into account recommendations of section 18.5.1.6
(Disabling / Enabling PLLs).

   Also, please take a look at

Re: How to modify Bootloader and kernel to support LPDDR2?


Have a great day,
Yuri

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

在原帖中查看解决方案

0 项奖励
3 回复数
1,134 次查看
fabio_estevam
NXP Employee
NXP Employee

In DCD table only register writes are allowed. However for enabling the PLL you would also need to poll the "PLL lock" bit.

So I would recommend you to activate the PLL in C code instead of doing it inside the DCD table.

As a reference you could check the "_clk_pll_enable" function from the kernel:

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-mx6/clock.c?h=imx_3.0...

, and implement the same in your bootloader.

1,134 次查看
Yuri
NXP Employee
NXP Employee

Some polling options are available for i.MX6, using "Check Data Command". Please refer to section

8.6.2.2 (Check Data Command) of i.MX6 SDL RM.

1,135 次查看
Yuri
NXP Employee
NXP Employee

  The CCM address area is allowed for the DCD, according to Table 8-33 (Valid DCD Address Ranges)
of the i.MX6 SDL RM. Another way, that we should take into account recommendations of section 18.5.1.6
(Disabling / Enabling PLLs).

   Also, please take a look at

Re: How to modify Bootloader and kernel to support LPDDR2?


Have a great day,
Yuri

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

0 项奖励