HAB sign initramfs image

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

HAB sign initramfs image

559 次查看
richc128
Contributor III

I want to use an initramfs with a signed kernel.

Right now I have INITRAMFS_IMAGE_BUNDLE = "1" so I get a large file image-initramfs.bin in my deploy directory that seems to have the kernel and initramfs together. 

I don't seem to be able to sign this directly. I'm assuming I need to sign the kernel before it is package.

Does anyone have any tips on how to do this?

0 项奖励
回复
1 回复

542 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @richc128 

If you want to sign them together, please try to consider some key points.

In booti.c bootm.c, where the hab_authenticate function is called, add some logs, print out the addresses of these calculations, and pass them to the HAB function with the correct address, make the input of the function name related to hab_authentication in booti.c reasonable, and then the content of the IVT should be correct, especially the location of the CSF.

Best regards

Harvey

 

0 项奖励
回复