IMX6UL how to read or write from secure non-volatile storage (SNVS)

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

IMX6UL how to read or write from secure non-volatile storage (SNVS)

1,450 次查看
wayneshih
Contributor I

Hi,

 

I am currently using YOCTO sumo linux kernel L4.14.98-2.3.1 with imx6ul.

In my application, we need to store our secure data (e.g key) inside secure non-volatile storage (SNVS) region. I don't know how to read/write the SNVS from either linux kernel space or user space.

Is there any example of how to read/write SNVS region?

 

0 项奖励
回复
5 回复数

891 次查看
haichao
Contributor III

Hi @wayneshih 

Have you solved your problem? I have the same needs, I also need to store my secure data  inside secure non-volatile storage (SNVS) region,Can you share your experience

 

Thanks

0 项奖励
回复

202 次查看
charlessteaderm
Contributor I

Hello @haichao and @wayneshih,

Were you able to make any progress with this? None of the answers that I see seem to apply to storing some arbitrary data (security keys) in a secure area.

Thanks,
Charlie

0 项奖励
回复

1,446 次查看
igorpadykov
NXP Employee
NXP Employee

Hi wayneshih

 

for secure ram / secure storage examples one can refer to

AN12554 Demo Application to Generate Red/Black Blobs Using CAAM and Encrypt/Decrypt Data

https://www.nxp.com/docs/en/application-note/AN12554.pdf

https://source.codeaurora.org/external/imxsupport/imx_sec_apps/tree/demo-caam-blobs/README.txt

 

Best regards
igor

0 项奖励
回复

1,440 次查看
wayneshih
Contributor I

 

Thank for your quick reply igor.

The solutions you provide doesn't mention the secure non-volatile storage in imx6ul.

Is it because there is no easy way to access this region or this region is not design for storage security data?

 

0 项奖励
回复

1,435 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复