imx8plus secureboot --- Signature verification of the application

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

imx8plus secureboot --- Signature verification of the application

跳至解决方案
1,633 次查看
chen-wust
Contributor II

After signing and verifying the uboot and kernel( HAB), how do we verify the signatures of the applications running in the os? Do we need special configuration of the kernel? Or is there another way?

0 项奖励
回复
1 解答
1,618 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @chen-wust 

As there is no hab api interface in our Linux, would suggest writing the driver in the kernel space to call the hab api pointer.

 

Best regards

Harvey

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,619 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @chen-wust 

As there is no hab api interface in our Linux, would suggest writing the driver in the kernel space to call the hab api pointer.

 

Best regards

Harvey

0 项奖励
回复
1,593 次查看
chen-wust
Contributor II

I had another problem when I signed uboot.

I want to sign uboot with a shell script. So I have to know the Authenticate date star-address、offset and file size.

I can get the address and size of the fdt atf tee by using the following command.

make SOC=iMX8MP print_fit_hab | tee adress.txt

However, I could not get the address information of csf_off, sld_csf_off, spl_hab_block which is output to the terminal through the ./mkimage_imx8 tool.

./mkimage_imx8 -version v2 -fit -loader u-boot-spl-ddr.bin 0x920000 -second_loader u-boot.itb 0x402000000 0x60000 -out flash.bin

I have tried a number of ways to capture the print of the above command, but all have failed.

So I cannot get the address information of csf_off through shell command.

Do you have any solutions? Is there a way to redirect ./mkimage_imx8 print information?

 

 

 

0 项奖励
回复
1,574 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Answered back with this case(00517484)。

 

Best regards

Harvey

0 项奖励
回复