Linux kernel 3.13 blocks PIT interrupt on M4 on PCM052

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

Linux kernel 3.13 blocks PIT interrupt on M4 on PCM052

ソリューションへジャンプ
1,330件の閲覧回数
mpfgregory
Contributor III

I have a PIT running every millisecond on my Cortex-M4. This works fine while a Linux with kernel 3.0 is running on the A5. However, after switching to kernel 3.13 the PIT interrupt on the M4 is not triggered anymore.

When I enable the PIT in Linux(

System Type-> Freescale i.MX family-> Freescale i.MX support->Vybrid Family VF610 support->Clocksource for scheduler clock (Use PIT timer)

) the interrupt is also triggered on the M4, but Linux crashes regularly. The shell simply doesn't react anymore. I guess it doesn't like that the scheduler clock is used by someone else.

How can I prevent Linux from disabling interrupts that it doesn't use? Linux should only touch the registers of the interrupts it uses and leave all other vectors to the M4.

ラベル(3)
0 件の賞賛
返信
1 解決策
1,173件の閲覧回数
mpfgregory
Contributor III

I have exchanged the hwtimer driver in the MQX 4.0.1 BSP with the one from the MQX 4.1 BSP. Now it works with the 3.13 kernel.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,174件の閲覧回数
mpfgregory
Contributor III

I have exchanged the hwtimer driver in the MQX 4.0.1 BSP with the one from the MQX 4.1 BSP. Now it works with the 3.13 kernel.

0 件の賞賛
返信
1,173件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport​ can you help with this case?

0 件の賞賛
返信