i.MX8: How to do encryption fot rootfs partition

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

i.MX8: How to do encryption fot rootfs partition

839 Views
kinjalGediya
Contributor III

Hi,

I am using imx8mq for development purpose and I am trying to do rootfs encryption. I have followed documents which are suggested by NXP. Below are the documents which i have followed.

https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf

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

I have followed the steps and I have successfully encrypt the folder using commands which are given in document https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf.

I want to do a encrypt particular one rootfs partition but I haven't find any documents or information.

Can you help me for encrypt the particular partition in rootfs?

Thanks in advance

 

 

 

Tags (1)
0 Kudos
3 Replies

807 Views
b36401
NXP Employee
NXP Employee

I answered you via email.

0 Kudos

792 Views
kinjalGediya
Contributor III

Hi Victor,

Thanks for sharing the document.

I have a query on the document while I follow the steps which are given in the document, I am stuck at a step 2 which is given in section 3.5.2(Compile Cryptsetup). It looks like the command is incomplete and because of that I am getting the following error.

Can you please guide me for the same?

0 Kudos

780 Views
b36401
NXP Employee
NXP Employee

It seems your system lacks of popt (that provides libpopt libraries to parse command-line options).
So you need to install this package.

0 Kudos