signed uboot script (boot.scr) authentication

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

signed uboot script (boot.scr) authentication

跳至解决方案
1,347 次查看
shufi
Contributor I

Hi All,

I wanted to switch kernel and rootfs partition with uboot script instead of environment variable for security concerns.

So it is possible to authenticate(signature verification) of boot script first before execution, like we are authenticating kernel FIT image.


I have created a signed boot script similar to FIT image, so now I have a kernel FIT image and signed boot script.
Uboot can authenticate the kernel FIT image but how to authenticate signed boot.scr before FIT image.?

Thanks.

0 项奖励
1 解答
1,323 次查看
shufi
Contributor I

Thanks @Yuri 
Yes, I already did this by modifying source command.

在原帖中查看解决方案

0 项奖励
2 回复数
1,324 次查看
shufi
Contributor I

Thanks @Yuri 
Yes, I already did this by modifying source command.

0 项奖励
1,327 次查看
Yuri
NXP Employee
NXP Employee

@shufi 
Hello,

   generally it is possible to authenticate boot script  before execution, like kernel image,
but the script should be loaded to memory first. Perhaps U-boot command "source"
can be used here.

Regards,
Yuri.

0 项奖励