This sections provides details on how to configure flash partition with PetaLinux menuconfig.
- Change into the root directory of your PetaLinux
project.
$ cd <plnx-proj-root>
- Launch the top level system configuration
menu.
$ petalinux-config
- Select .
- Select a flash device as the Primary Flash.
- Set the name and the size of each partition.
The PetaLinux tools uses the start address for parallel flash or start offset for SPI flash and the size of the above partitions to generate the following U-Boot commands:
-
update_boot
if the boot image, which is a U-Boot image for MicroBlaze™ processors and a BOOT.BIN image for Zynq®-7000 devices, is selected to be stored in the primary flash. -
update_kernel
andload_kernel
if the kernel image, which is the FIT image image.ub, is selected to be stored in the flash.