GPT4 Peripheral clock stops at m4 when Linux starts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPT4 Peripheral clock stops at m4 when Linux starts

1,396件の閲覧回数
mehmetrizaoz
Contributor I

Hi,

I use imx7 dual host. I use gpt4 with 24mhz clock with m4 core. Gpt4 interrupt works correctly until starting Linux. As soon as login prompt entrance gpt clock corrupts, timer can not generate timer interrupt but m4 is still working.

I don't use gpt4 at a7 core size. I also checked corresponding  pda register. I used hw semaphore 1 and locked gpt4 from m4 side.

What could be the reason for gpt4 clock corruption at linux side? 

Thanks in advance...

0 件の賞賛
返信
4 返答(返信)

1,349件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

This may be caused because Linux gates the Clock when it is not used, please try by using the following command at uboot.
=> setenv mmcargs "${mmcargs} clk_ignore_unused"

Best regards/Saludos,
Aldo.

0 件の賞賛
返信

1,335件の閲覧回数
mehmetrizaoz
Contributor I

Hi Algo,

Thank you for your reply. I tried it and unfortunately the problem still exists.

 

0 件の賞賛
返信

1,325件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Could you share both the kernel and the uboot version that you are using?
Also, when you see the erratic behaviour does it stop completely (stop counting)?

Best regards/Saludos,
Aldo.

0 件の賞賛
返信

1,281件の閲覧回数
mehmetrizaoz
Contributor I
Hello,
Kernel version: 5.4.129-5.4.0
u-boot version: 2020.07-5.4.0
timer clock disables just before login, around 8.sec after booting

Thanks
0 件の賞賛
返信