cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
339 Views
Registered: ‎12-09-2019

Petalinux User-selectable multiboot with SecureBoot

This is for the ZCU111 RFSOC.  I have two different PetaLinux software images (containing kernel, dtb, rootfs), each signed and encrypted with bootgen, stored on an SD card.  I would like to provide a Linux user on the board with the ability to choose whether the first or second image is used for the next boot.  I would also like ensure that the user is not able to run an unsigned, unencrypted image.

Is this possible?  I have looked through https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842403/Zynq+Ultrascale+MPSoC+Multiboot+and+Fallback but it only seems to provide a fallback boot mode in case one image fails.  I do not see a way for a user to select between the first or second image.

0 Kudos
Reply
1 Reply
Xilinx Employee
Xilinx Employee
260 Views
Registered: ‎02-01-2008

It is possible but you would have to make modifications.

Since the 'Linux' user is selecting first or second image, one possible method would write the image number into an unused flash location. When uboot runs, it would check the flash location to determine which images to load and start running.

0 Kudos
Reply