Generate Boot Image - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
Release Date
2023.2 English

Execute the following command to generate MCS boot file for MicroBlaze processors.

petalinux-package --boot --fpga <FPGA bitstream> --u-boot --kernel

It generates boot.mcs in your working directory and it copies it to the <plnx-proj-root>/images/linux/ directory. With the previous command, the MCS file contains FPGA bitstream, fs-boot, U-Boot, and kernel image image.ub.

Command to generate the MCS file with fs-boot and FPGA bitstream only:

petalinux-package --boot --fpga <FPGA bitstream>

Command to generate the MCS file with FPGA bitstream, fs-boot, and U-Boot:

petalinux-package --boot --fpga <FPGA bitstream> --u-boot
For detailed usage, see the --help option or petalinux-package --boot.
Note: PetaLinux only supports 32-bit MicroBlaze processors.