This sections provides details on how to configure flash partition with PetaLinux menuconfig.
- Change into the root directory of your PetaLinux
$ cd <plnx-proj-root>
- Launch the top level system configuration
- 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_bootif 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.
load_kernelif the kernel image, which is the FIT image image.ub, is selected to be stored in the flash.