Imx8mq: How to encrypt rootfs

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

Imx8mq: How to encrypt rootfs

1,889 Views
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 Kudos
8 Replies

1,870 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos

1,844 Views
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.

 

 

Tags (1)
0 Kudos

1,819 Views
b36401
NXP Employee
NXP Employee

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

0 Kudos

1,782 Views
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 Kudos

1,218 Views
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 Kudos

1,245 Views
gnulux
Contributor II

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

0 Kudos

1,671 Views
b36401
NXP Employee
NXP Employee

I sent you the article over email.

0 Kudos

1,598 Views
Aimo
Contributor I

@b36401 Can I get the same article, please.

Tags (1)
0 Kudos