Creating BOOT.BIN

I have got the petalinux build to run. It wasn’t fun but I have finally created output.
I have a quick question on what goes into the BOOT.BIN file.
Which of these build examples is equivalent to the BOOT.BIN file you created? (I am pretty sure this needs to be --boot but this is copied out of UG1144)

Create a BOOT.BIN file for an AMD Zynq™ device (including Zynq 7000 and AMD Zynq™ UltraScale+™ MPSoC).
petalinux-package boot --format BIN --fsbl <PATH-TO-FSBL> --u-boot -o <PATH-TO-OUTPUT-WITH-FILE-NAME>

Create a BOOT.BIN file for a Zynq device that includes a PL bitstream and FITimage.
petalinux-package boot --format BIN --fsbl <PATH-TO-FSBL> --u-boot --fpga <PATH-TO-BITSTREAM> --kernel -o <PATH-TO-OUTPUT>

The BOOT.BIN contains FSBL, TF-A, U-boot, bitstream and system.dtb.

To produce a petalinux image that can be flashed in the SD card, I would use the following:

  1. petalinux-package boot --u-boot --fpga --force

  2. petalinux-package wic

    OR

    (for v2024.2)petalinux-package wic --wks project-spec/meta-octavo-osdzu3/wic/rootfs.wks (pointing to the wks file that defines the partitionsof the SD card)

Best,
Neeraj