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

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

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

989 Views
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 Kudos
4 Replies

959 Views
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 Kudos

940 Views
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 Kudos

936 Views
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 Kudos