Forum Discussion
Hi Jaden0,
Regarding the size of the image, I think you maybe right when looking at the comparison between agilex7 and Stratix10 which tells why you have erase with 0x80000. However I think both RSU or non-RSU from having the same flash layout whereby the BOOT_INFO contains the same 4 decision firmwares where it is stored/located starting from address 0x00000000 of the QSPI flash.
For RSU, it considers a factory(bitstream1) and an additional application image( bitstream 2 can be ignored/removed).
Factory image is actually the same as application image((u-boot-spl-dtb.hex + ghrd_agfb014r24b2e2v.sof).). The difference is the specific location of address which used for factory recovery purpose.
Just consider the factory image alone is the same as the one used for non-RSU as I understand which includes 4 of the decision firmwares, refer to how the quartus programming file generator add the factory bitstream :
The SDM firmware is fixed with the quartus tools version being used and is unable to be modified by user.
By right the SDM firmware will keep looking for a working decision firmwares from BOOT_INFO.
I am thinking if you try to generate the jic with quartus programming file generator will have any difference in the outcome.
Or can check if you just perform erase 4kb as below will have any issue to boot normally insted of erase with 0x80000:
sf erase 0 0x1000
Thanks.
Regards,
Aik Eu