ecryptfs error while mounting on imx8m mini

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ecryptfs error while mounting on imx8m mini

14,953件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

14,946件の閲覧回数
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 件の賞賛
返信

14,938件の閲覧回数
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 件の賞賛
返信

14,925件の閲覧回数
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 件の賞賛
返信