A boot image usually contains a PDI file
(imported from hardware design), PLM, PSM firmware,
ArmĀ®
trusted firmware, U-Boot, and DTB.
Execute the following command to generate the boot image in .bin format:
petalinux-package boot --u-boot
Note: Specifying
--u-boot adds all the required images to boot up to
U-Boot into BOOT.BIN.petalinux-package boot --u-boot
[INFO] Getting Default pdi file
[INFO] File in BOOT BIN: "<proot>/project-spec/hw-description/narrow_updated.pdi"
[INFO] File in BOOT BIN: "<proot>/images/linux/plm.elf"
[INFO] File in BOOT BIN: "<proot>/images/linux/psmfw.elf"
[INFO] File in BOOT BIN: "<proot>/images/linux/system.dtb"
[INFO] File in BOOT BIN: "<proot>/images/linux/bl31.elf"
[INFO] File in BOOT BIN: "<proot>/images/linux/u-boot.elf"
[INFO] Generating versal binary package BOOT.BIN...
[INFO]
****** Bootgen v2026.1
**** Build date : Apr 18 2026-09:30:39
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
** Copyright 2022-2026 Advanced Micro Devices, Inc. All Rights Reserved.
[INFO] : Bootimage generated successfully
[INFO] Generating QEMU boot images...
[INFO] File in qemu_boot.img: <proot>/images/linux/BOOT.BIN
[INFO] File in qemu_boot.img: <proot>/images/linux/boot.scr
[INFO] File in qemu_boot.img: <proot>/images/linux/ramdisk.cpio.gz.u-boot
[INFO] Binary is ready.
[INFO] Successfully Generated BIN File
[WARNING] Unable to access the TFTPBOOT folder /tftpboot!!!
[WARNING] Skip file copy to TFTPBOOT folder!!!
This
generates BOOT.BIN, BOOT_bh.bin, and qemu_boot.img
in the images/linux directory. The default DTB
load address is 0x1000. For more information, see
Bootgen User Guide (UG1283).
To change the DTB load address, use this command:
petalinux-package boot --plm --psmfw --u-boot --dtb --load <load_address>
This generates a BOOT.BIN with
a specified load address for DTB. Ensure that you have also changed the load address
for DTB in petalinux-config and the U-Boot
menuconfig.
Note: The files
versal-qemu-multiarch-pmc.dtb and versal-qemu-multiarch-ps.dtb are QEMU DTBS required
to boot multiarch QEMU.
For detailed usage, see the --help option and petalinux-package boot.