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.
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.