iMX6Q: Cores run into deadlock

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

iMX6Q: Cores run into deadlock

ソリューションへジャンプ
754件の閲覧回数
bastian_schick
Contributor IV

Hi,

I am having an issue running bare-metal RTOS on iMX6Q: 5 out of 10 times I boot it up one or more cores stop working but never core 0.

I did implement all errata I found or even relying on barebox does not help.

After a certain point in the application (or some time ?) no more deadlock happens.

Is there an issue (not yet documented in an erratum) with the booting of the other cores?

Do I need to start the other cores one by one with delay?

Can anyone shed some light on this?

And no: I do not use Linux/Android!

ラベル(2)
タグ(3)
0 件の賞賛
1 解決策
607件の閲覧回数
bastian_schick
Contributor IV

Hi Igor,

I know the SDK. It is very old and does not implement any of the i.MX6/Cortex-A9 errata. Anyway, I checked what the multicore example does and I don't.

It shows that is is really mandatory to clean/invalidate the data-caches before. It seems that the CPU can run into a deadlock if it contains stale data.

Now 10 out of 10 boots work.

Anyway, thank you for your answer. Sometimes it is good to be pointed to the obvious.

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
607件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi 42Bastian

please look at "Multicore Startup" example in SDK

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

608件の閲覧回数
bastian_schick
Contributor IV

Hi Igor,

I know the SDK. It is very old and does not implement any of the i.MX6/Cortex-A9 errata. Anyway, I checked what the multicore example does and I don't.

It shows that is is really mandatory to clean/invalidate the data-caches before. It seems that the CPU can run into a deadlock if it contains stale data.

Now 10 out of 10 boots work.

Anyway, thank you for your answer. Sometimes it is good to be pointed to the obvious.

0 件の賞賛