Not able to access CAAM registers from kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Not able to access CAAM registers from kernel

1,038 Views
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!!

Labels (3)
Tags (2)
0 Kudos
Reply
3 Replies

901 Views
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 Kudos
Reply

901 Views
rohininarasipur
Contributor II

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

0 Kudos
Reply

901 Views
Yuri
NXP Employee
NXP Employee

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

Regards,

Yuri.

0 Kudos
Reply