Generate Boot Image - 2022.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-10-19
Version
2022.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 above 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 will only support 32-bit MicroBlaze processors.