The functionality of the multiboot should be the same for different FPGAs, but the specific configuration may not be the same. The basic flow is as follows:
The source is xapp1246, which is clearly divided into 5 steps, starting with the 0 address of Flash when the FPGA starts, but because Golden image has some configuration, the FPGA receives the configuration to go to the other address and continues to read the contents of the update image. These configurations require the following command when generating the golden bit:
Set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design] // optional compression set_property bitstream. CONFIG. Configfallback enable [current_design] / enable Readback function [h00800000] [Current_ Design]//update The start address of the image
If you are able to return to the Golden Image area when an error occurs loading the update image, you need to add the following constraint when generating the update image:
Set_property BITSTREAM.GENERAL.COMPRESS TRUE [Current_design]set_property bitstream. CONFIG. Configfallback ENABLE [Current_design]
Meaning like golden image. After generating these two bits, use the following command to generate the MCS file.
Write_cfgmem-Force (UP)0x0 led_icape_golden.bit up 0x00800000 Led_light_update_ Error.bit" -file Icape_golden_light_update_error.mcs
These parameters are related to the size of the specific flash and bit files. For example, bpix16 represents a 16-bit BPI flash, up 0x0 led_icape_golden.bit indicates that the bit's start address is 0x0, and finally the MCS file is generated. The premise is that the current working directory has these two bits. PWD command to view the current working directory, the CD command can switch the current working directory.
In order to verify that the update configuration can be returned to the golden configuration, the bit can be changed in the data, and then generate MCS files, burned into flash, to complete the verification.
Multiboot the creation and commissioning of the MCs file for Golden image and update image