petalinux-package --boot Examples - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2020-11-24
Version
2020.2 English

The following examples demonstrate proper usage of the petalinux-package --boot command.

  • Create a BOOT.BIN file for a Zynq® device (including Zynq-7000 and 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>
  • Create a x8 SMAP PROM MCS file for a MicroBlaze™ CPU design.
    $ petalinux-package --boot --format MCS --fsbl <PATH-TO-FSBL> --u-boot --fpga <PATH-TO-BITSTREAM> --flash-size <SIZE> --flash-intf SMAPx8 -o
    <PATH-TO-OUTPUT-WITH-FILE-NAME>
  • Create a BOOT.BIN file for a Zynq UltraScale+ MPSoC that includes PMU firmware.
    $ petalinux-package --boot --u-boot --kernel --pmufw <PATH_TO_PMUFW>
  • Create bitstream file download.bit for a MicroBlaze CPU design.
    $ petalinux-package --boot --format DOWNLOAD.BIT --fpga <BITSTREAM> --fsbl
    <FSBOOT_ELF>