There are two main possible methods.
Based on the characteristics of each method, it is up to the customer to decide which one to choose.
(1) Writing with the HPS flash programmer tool:
● Advantage: No special environment settings are required
● Disadvantage: Writing takes time
Please refer to the following document for HPS flash programmer tool.
Altera SoC FPGA Embedded Development Suite (SoC EDS) User Guide (v20.1)
8. Using the HPS Flash Programmer • Altera SoC FPGA Embedded Development Suite (SoC EDS) User Guide • Altera Documentation and Resources Center
(8. HPS Flash Programmer User Guide section)
(2) Writing with U-Boot:
● Advantage: High-speed writing is possible.
● Disadvantage: Environment construction is required (SD card on target board or Arm DS is required).
Please refer to the following page for how to write using U-Boot.
How to write to QSPI with U-Boot : faster than HPS Flash Programmer (In Japanese)
https://www.macnica.co.jp/en/business/semiconductor/articles/intel/115317/
Arria 10 Flash Programming Alternative
Conveniently flash QSPI, NAND, SDMMC using DS-5, JTAG and optional TFTP
Techniques for using Arm DS - Flash Programming Alternative – Macnica Altera FPGA Insights
--------------------
Category: SoC
Tools: SoC EDS
Devices: -