Visible to Intel only — GUID: utz1707233455509
Ixiasoft
Visible to Intel only — GUID: utz1707233455509
Ixiasoft
2.13.1. HPS Boot Flows
The following table compares the HPS boot flows in Cyclone® V and Agilex™ 5 devices:
HPS Boot Flow Options | Start | Initialization | Boot Stage 1 | Boot Stage 2 | OS | Application |
---|---|---|---|---|---|---|
Cyclone® V | Power-On Reset | Boot ROM | Preloader | U-Boot Loader | Linux | Application |
Power-On Reset | Boot ROM | Preloader | U-Boot Loader | RTOS / Baremetal Application | ||
Power-On Reset | Boot ROM | Preloader | RTOS / Baremetal Application | |||
Power-On Reset | Boot ROM | RTOS / Baremetal Application | ||||
Agilex™ 5 | Power-On Reset | SDM (CMF) | U-Boot SPL | ATF BL31 and U-Boot Proper |
Linux | Application |
Power-On Reset | SDM (CMF) | ATF BL2 | ATF BL31 | Linux | Application | |
Power-On Reset | SDM (CMF) | ATF BL2 | ATF BL31 | Zephyr | Application | |
Power-On Reset | SDM (CMF) | ATF BL2 | ATF BL31 | RTOS / Baremetal Application |
Key Differences in the HPS Boot Flows
- For Cyclone® V, the first software stage is the boot ROM. The boot ROM code locates and executes the second software stage, called the preloader. The preloader locates, and if present, executes the next software stage.
Supported boot schemes:
- The HPS boot and FPGA configuration occur separately.
- The HPS boots first and then configures the FPGA.
- The HPS boots from the FPGA after the FPGA is configured.
- For Agilex™ 5, the Secure Device Manager (SDM) manages the secure boot process. Upon a Power-On Reset (POR), the Configuration Management Firmware (CMF) loads the FSBL (U-Boot SPL or ATF BL2) into the HPS On-Chip RAM and brings the HPS boot core out from reset, which executes the next software stage.
Supported boot schemes:
- The HPS boots first and then configures the FPGA.
- Configuring the FPGA fabric from U-Boot.
- Configuring the FPGA fabric from Linux.
- The HPS boots from the FPGA after the FPGA is configured.
- The HPS boots first and then configures the FPGA.
HPS-based RSU Flow
Cyclone® V devices use the Remote Update Intel® FPGA IP to manage the RSU boot flow, Agilex™ 5 devices use the SDM to manage the RSU boot flow. For more information, refer to the Remote Update Intel® FPGA IP User Guide .
Differences in the HPS Image Generation Flow
In Cyclone® V devices, the cv_bsp_generator.py script processes the hand-off files from the Quartus® Prime software and converts them to source code usable by U-Boot. To use the script, refer to the "Running CV BSP Generator to Process Handoff Files" section in the Cyclone® V SoC GSRD.
For Agilex™ 5, this procedure is not required as the hand-off files are generated and integrated into the bitstream, which is the SOF file in the Quartus® Prime software during project compilation.