Imx8mq: How to encrypt rootfs

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

Imx8mq: How to encrypt rootfs

2,064 次查看
kinjalGediya
Contributor III

Hi,

I am using iMX8MQ based custom board and I want to encrypt rootfs.
I have gone through the community link

link: https://community.nxp.com/t5/i-MX-Processors/How-to-create-an-encrypted-rootfs-for-iMX8MQ-using-yoct...

I am facing the same as describe in above link. I am not able to create "/dev/caam-keygen" node.
I am working on kernel version 5.4.3 but I tried with kernel version 5.4.80 but still facing the same issue.
I am attaching kernel configuration for your reference.

Another thing I wanted to know that which device driver file is responsible to create "/dev/caam-keygen" node?

0 项奖励
8 回复数

2,045 次查看
b36401
NXP Employee
NXP Employee

Please make sure that keygen sources are included (I mean drivers/crypto/caam/caamrng.c)

0 项奖励

2,019 次查看
kinjalGediya
Contributor III

Hi,
Thanks for reply.

I have follow the steps successfully and now I wanted to know that How to add support in yocto to create encrypted rootfs so that I can directly flash encrypted rootfs?

 

Hope for your quick response.

 

 

标记 (1)
0 项奖励

1,994 次查看
b36401
NXP Employee
NXP Employee

I can offer this document regarding to rootfs encryption:
https://community.nxp.com/docs/DOC-342300

0 项奖励

1,957 次查看
kinjalGediya
Contributor III

Hi,
I am not able to open link which you have provided.

https://community.nxp.com/docs/DOC-342300

Can you give any alternative link for the same.

0 项奖励

1,393 次查看
Pugo
Contributor I

I am also trying to investigate encrypted rootfs, but can not read this document.

If it is an NDA matter I am currently trying to figure out how the process of that is handled within my organization.

0 项奖励

1,420 次查看
gnulux
Contributor II

Is it possible to have the documentation too ? I can't download it

0 项奖励

1,846 次查看
b36401
NXP Employee
NXP Employee

I sent you the article over email.

0 项奖励

1,773 次查看
Aimo
Contributor I

@b36401 Can I get the same article, please.

标记 (1)
0 项奖励