Creating and signing a Kernel FIT image for booting from a secured u-boot on i.MX93 EVKCM

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

Creating and signing a Kernel FIT image for booting from a secured u-boot on i.MX93 EVKCM

Jump to solution
2,324 Views
abt
Contributor III

Hi,

I have successfully deployed a CST signed u-boot image to i.MX93 EVKCM. The u-boot loads and starts correctly from an SD and the 'ahab_status' command output looks good. 

Now I am trying to figure out how to create a Kernel FIT image and sign it with CST so I can load it from a signed u-boot.

Image and imx93-11x11-evk.dtb artifacts were built successfully based on linux-6.1.33.tar.xz source code. 

Can anyone point me to specific resources with step by step instructions for creating and signing a FIT Kernel image ? 

Thanks!

 

0 Kudos
Reply
1 Solution
2,292 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may refer to the following:
https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/doc/imx/ahab/guides/sign_os_cntr.txt

Aside from this, unfortunately we do not have any other guides for it.

Best regards,
Aldo.

View solution in original post

0 Kudos
Reply
2 Replies
2,293 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may refer to the following:
https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/doc/imx/ahab/guides/sign_os_cntr.txt

Aside from this, unfortunately we do not have any other guides for it.

Best regards,
Aldo.

0 Kudos
Reply
1,735 Views
omar_aberkan
Contributor III

In my opinion this is not solved. Why can't we just use a standard signed FIt Image? This works perfect on an IMX6 and IMX8.

The OS containier is basicly a signed kernel, but what if we also want to use an initramfs, how can we protect that?

We also need to protect our cryptsetup keys. There is no DCP or CAAM on the IMX93. Is there no simple solution to safely store the cryptsetup keys on the the device?

Many others have these problems. But there are still no solutions. Please fix them as soon as possible.

0 Kudos
Reply