The boot image can be put into Flash or SD card. When you power on the board, it can boot from the boot image. A boot image usually contains a first stage boot loader image, FPGA bitstream, PMU firmware, TF-A, and U-Boot.
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 the
BOOT.BIN.petalinux-package boot --u-boot pre-built/linux/images/u-boot.elf --dtb pre-built/linux/images/system.dtb --pmufw pre-built/linux/images/pmufw.elf --fsbl pre-built/linux/images/zynqmp_fsbl.elf --atf pre-built/linux/images/bl31.elf --format MCS
[INFO] File in BOOT BIN: "/wrk/everest_fcv_nobkup/PLNX_SANITY/UG1144/xilinx-zcu102-2025.1/pre-built/linux/images/zynqmp_fsbl.elf"
[INFO] File in BOOT BIN: "/wrk/everest_fcv_nobkup/PLNX_SANITY/UG1144/xilinx-zcu102-2025.1/pre-built/linux/images/pmufw.elf"
[INFO] File in BOOT BIN: "/wrk/everest_fcv_nobkup/PLNX_SANITY/UG1144/xilinx-zcu102-2025.1/pre-built/linux/images/bl31.elf"
[INFO] File in BOOT BIN: "/wrk/everest_fcv_nobkup/PLNX_SANITY/UG1144/xilinx-zcu102-2025.1/pre-built/linux/images/system.dtb"
[INFO] File in BOOT BIN: "/wrk/everest_fcv_nobkup/PLNX_SANITY/UG1144/xilinx-zcu102-2025.1/pre-built/linux/images/u-boot.elf"
[INFO] Generating zynqmp binary package boot.mcs...
[INFO]
****** Bootgen v2025.1
**** Build date : Mar 19 2025-06:26:45
** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
** Copyright 2022-2025 Advanced Micro Devices, Inc. All Rights Reserved.
[INFO] : Bootimage generated successfully
[INFO] Binary is ready.
[INFO] Successfully Generated MCS File
[WARNING] Unable to access the TFTPBOOT folder /tftpboot!!!
[WARNING] Skip file copy to TFTPBOOT folder!!!
For detailed usage, see the --help
option or petalinux-package boot.