Arria10 - having two FPGA images

Hi,

In order to implement a FPGA image update I want to have two images and before the .rbf is loaded to the FPGA I want to select which .rbf to load, each .rbf is located in a different address.

I’m using QSPI with GSRD v16.0.

I want to add some logic to the UBoot boot sequence that selects an image, but I couldn’t find how to update the image address from inside the UBoot.
Is there a way that I can select the wanted address from the UBoot and update the default image address?
Or maybe disable the FPGA programming and implement it by myself in the boot sequence?

Update: I’ve tried the “fpga load” command from UBoot but it isn’t enabled even though CONFIG_CMD_FPGA is defined,

Thanks,

Daniel.