signed uboot script (boot.scr) authentication

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

signed uboot script (boot.scr) authentication

Jump to solution
1,288 Views
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 Kudos
1 Solution
1,264 Views
shufi
Contributor I

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

View solution in original post

0 Kudos
2 Replies
1,265 Views
shufi
Contributor I

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

0 Kudos
1,268 Views
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 Kudos