Not able to access CAAM registers from kernel

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

Not able to access CAAM registers from kernel

825 次查看
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 回复数

688 次查看
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 项奖励

688 次查看
rohininarasipur
Contributor II

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

0 项奖励

688 次查看
Yuri
NXP Employee
NXP Employee

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

Regards,

Yuri.

0 项奖励