How to generate the os_container with yocto project by imx-mkimage tool?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to generate the os_container with yocto project by imx-mkimage tool?

1,069 次查看
yang_wang-wy
Contributor III

Hello Sir,
I am working on the imx8dx products. I use the yocto to build my file system and integrate the kernel dtb and rootfs into one wic image.
I have one question about generating the os_container with the yocto project or by manual with the imx-mkimage tool?

Because I want to verify the secure boot function and use the auth_cntr command to verify my firmware in uboot. 

I checked the two-issue and not helpful with my question. https://community.nxp.com/t5/i-MX-Processors/How-to-generate-a-signed-OS-container-image-for-iMX8X/m...  https://community.nxp.com/t5/i-MX-Processors/i-MX8X-Secure-Boot-with-encrypted-OS-container/m-p/1203...

 

0 项奖励
4 回复数

1,039 次查看
Yuri
NXP Employee
NXP Employee

@yang_wang-wy 
Hello,

  We have not considered and tested use case to pack the  Root-FS into
the container, assuming using crypto-FS.

Regards,
Yuri.

0 项奖励

1,020 次查看
yang_wang-wy
Contributor III

Hello @Yuri 

Maybe I could have below understanding, check my point, please.

1. Our verify process could only support from power on to kernel start, this means that the uboot could verify the kernel but kernel can not do more.

2. if we can not use the imx-mkimage to generate a container that how to use the cst tool to sign it?

0 项奖励

1,016 次查看
Yuri
NXP Employee
NXP Employee

@yang_wang-wy 
Hello,

  the recommended trust chain is as following:

i.MX boot ROM HAB checks U-boot;
U-boot checks kernel;
kernel uses encrypted root FS.

Regards,
Yuri.

0 项奖励