How to create an encrypted rootfs for iMX8MQ using yocto

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

How to create an encrypted rootfs for iMX8MQ using yocto

2,664件の閲覧回数
ranjitsinh_rathod
Contributor I

Hi there,

I am using iMX8MQ based custom board and I want to encrypt rootfs. Is there any guide//document for this to implement in yocto to create sdcard image with encrypted rootfs?

I am using 5.4-zeus version.

Many thanks in advance.

Regards,

Ranjitsinh Rathod

タグ(1)
0 件の賞賛
返信
3 返答(返信)

2,659件の閲覧回数
Yuri
NXP Employee
NXP Employee

@ranjitsinh_rathod 
Hello,

 Only the following documents are available now.

“i.MX Encrypted Storage Using CAAM Secure Keys” 

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

 Section 10.5 (Disk encryption acceleration) in “i.MX_Linux_Users_Guide.pdf”

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

 

Regards,
Yuri.

0 件の賞賛
返信

2,646件の閲覧回数
ranjitsinh_rathod
Contributor I

Thanks, Yuri for sharing the details.

I have tried to follow the steps and facing an issue during the step where keys are not able to generate using the caam-keygen utility.

When I'm trying to send the command below which is giving an error.

root@mymachine:~# ./caam-keygen create fromTextkey ecb -t 0123456789abcdef
Unable to open device /dev/caam-keygen

My kernel version is 5.4.3-lts-lf-5.4.y+gf8118585ee3c.

Can you please suggest what could be the issue?

Many Thanks,

Ranjitsinh

0 件の賞賛
返信

2,634件の閲覧回数
Yuri
NXP Employee
NXP Employee
0 件の賞賛
返信