Hi Bill,

 

Following documents / User Guide can help to understand how BOOT.BIN is generated.

 

  1. Petalinux Tools Userguide: https://www.xilinx.com/content/dam/xilinx/support/documentation/sw_manuals/xilinx2021_1/ug1144-petalinux-tools-reference-guide.pdf
    1. Page – 31 explains how to generat BOOT.BIN using petalinux (petalinux-package tool)
    2. Internally it should be using bootgen utility
  2. Bootgen userguide : https://www.xilinx.com/content/dam/xilinx/support/documentation/sw_manuals/xilinx2021_1/ug1283-bootgen-user-guide.pdf
    1. This user guide explains whole bif (boot image format) file format (Page – 45)
    2. It also explains how to use bootgen command.

                                                               i.      In general I use something like following to generat BOOT.BIN:

 

bootgen -arch <platform name> -image boot.bif -w -o BOOT.BIN

 

Platform name could be: zynq, zynqmp or versal

 

We mention all the images’ path in bif file, i.e. fsbl, ATF, u-boot  etc.. and bootgen can combine them all in one BOOT.BIN file and we can use that BOOT.BIN to boot to u-boot.

In Yocto this is taken care by Vitis xsct tool. So we don’t have to generate it manually.

 

Thanks,

Tanmay Shah

tanmay.shah@xilinx.com

 

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.