ecryptfs error while mounting on imx8m mini

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

ecryptfs error while mounting on imx8m mini

14,100 Views
john_wick
Contributor II

I am trying to using encrypts for encrypted storage on imx8m mini.

I am using kernel 5.4.24.

john_wick_0-1612245227384.png

 

when I try to mount, I get the below error

john_wick_1-1612245495495.png

below are the shell variables that are used in the above command

john_wick_2-1612245576309.png

 

Please suggest.

Labels (1)
0 Kudos
Reply
3 Replies

14,093 Views
igorpadykov
NXP Employee
NXP Employee

Hi john_wick

 

for encrypted storage usage one can look at AN12714

i.MX Encrypted Storage Using CAAM Secure Keys

 

Best regards
igor

0 Kudos
Reply

14,088 Views
john_wick
Contributor II

Hi igor,

Thanks for your response. I have tried that. But it didn't work for me. 

I was referring to AN12714 Rev0. I get the below error while trying to generate keys.thumbnail_image.png

 

 

 

I have attached list of my kernel modules for reference. I did search for this error, but in the forum, lot of people suggested to upgrade 5.4.47 kernel for this to work. Please confirm.

 

https://community.nxp.com/t5/i-MX-Processors/dm-crypt-Error-on-iMX-6UL-EVK/td-p/1039634

https://community.nxp.com/t5/i-MX-Processors/CAAM-Black-Blob-Implementation-on-i-MX6/m-p/1197342

0 Kudos
Reply

14,075 Views
john_wick
Contributor II

Also, for the actual question I posted regarding ecryptfs error, the problem was the kernel module for ecryptfs was not set.

After setting, CONFIG_ECRYPT_FS=y, it started working as expected.

However, Igor, I would like to know the solution for the below error regarding dm-setup process as mentioned in AN12714.

john_wick_2-1612266889483.png

 

Thanks in Advance

0 Kudos
Reply