i.MX8: How to do encryption fot rootfs partition

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX8: How to do encryption fot rootfs partition

165 Views
kinjalGediya
Contributor II

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

133 Views
b36401
NXP TechSupport
NXP TechSupport

I answered you via email.

0 Kudos

119 Views
kinjalGediya
Contributor II

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

107 Views
b36401
NXP TechSupport
NXP TechSupport

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