Not able to access CAAM registers from kernel

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

Not able to access CAAM registers from kernel

1,038件の閲覧回数
rohininarasipur
Contributor II

Hello,

I am trying to write CAAM driver for vxworks. I want to initialize Job Ring registers in order to send commands to caam but I am not able to access any of them after boot. Only at the boot time I am able to write to them or read from them. The security manual says I can access them only when using MID specified in JRxMIDR register. I did set MID in JRxMIDR at the boot time. Where else do we have to set MID? I don't understand what else I have to do in order to be able to access Job Ring registers after boot. Please tell me where I am going wrong. Any type of lead or help is appreciated. Thanks!!

ラベル(3)
タグ(2)
0 件の賞賛
返信
3 返答(返信)

901件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

The problem may take place because the clock for the CAAM isn't enabled by default.


Have a great day,
Yuri

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

0 件の賞賛
返信

901件の閲覧回数
rohininarasipur
Contributor II

I tried enabling clock. It isn't working. I haven't enabled secure boot. Is that the reason?

0 件の賞賛
返信

901件の閲覧回数
Yuri
NXP Employee
NXP Employee

You may refer to an example from the i.MX6 Platform SDK

Regards,

Yuri.

0 件の賞賛
返信