Enabling kernel verification on IMX8MP

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

Enabling kernel verification on IMX8MP

273 Views
kartheek
Contributor III

Hi,

I am working kernel authentication and booting through u-boot.  The below is u-boot cmd used to authenticate kernel. I have tried with signed kernel with correct and different keys. But i am getting only "Kernel authentication passed!". 

Is there any other way to get the verify the kernel image.

u-boot=>setenv auth_kernel 'if fatload mmc 1:1 ${loadaddr} Image &&                                                                                                 hab_auth_img   ${loadaddr} ${filesize} 0x1a90000; then \
                                                         echo "Kernel authentication passed!"; \
                                                     else \
                                                         echo "Kernel authentication failed!"; \
                                                     fi'
Thanks,
Kartheek

0 Kudos
Reply
1 Reply

196 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi,

There will be error log printed if there are events. There is offline tool provided in CST - hab_image_verifier.

 

Regards

Harvey

 

0 Kudos
Reply