Visible to Intel only — GUID: kis1512229205973
Ixiasoft
1.1. Acronyms and Definitions
1.2. Recommended System Requirements
1.3. Installation Folders
1.4. Boot Flow Overview
1.5. Getting Started
1.6. Enabling the UEFI DXE Phase and the UEFI Shell
1.7. Using the Network Feature Under the UEFI Shell
1.8. Creating your First UEFI Application
1.9. Using Arm* DS-5* Intel® SoC FPGA Edition (For Windows* Only)
1.10. Pit Stop Utility Guide
1.11. Porting HWLIBs to UEFI Guidelines
1.12. Tera Term Installation
1.13. Minicom Installation
1.14. Win32DiskImager Tool Installation
1.15. TFTPd64 By Ph.Jounin Installation
1.16. Revision History of Intel® Arria® 10 SoC UEFI Boot Loader User Guide
1.5.1. Compiling the Hardware Design
1.5.2. Generating the Boot Loader and Device Tree for UEFI Boot Loader
1.5.3. Building the UEFI Boot Loader
1.5.4. Creating an SD Card Image
1.5.5. Creating a QSPI Image
1.5.6. Booting the Board with SD/MMC
1.5.7. Booting the Board with QSPI
1.5.8. Early I/O Release
1.5.9. Booting Linux* Using the UEFI Boot Loader
1.5.10. Debugging an Example Project
1.5.11. UEFI Boot Loader Customization
1.5.12. Enabling Checksum for the FPGA Image
1.5.13. NAND Bad Block Management
Visible to Intel only — GUID: kis1512229205973
Ixiasoft
1.5.5.1. Updating the Golden Hardware Reference Design to Boot from QSPI
The SoC FPGA EDS GHRD enables booting from SDMMC by default. There are two options available for you to change the booting from SDMMC to QSPI:
- Manually change the configuration to QSPI by:
- Opening the HPS in Platform Designer to modify the pin muxing and enable peripherals
- Changing pin assignments in Intel® Quartus® Prime Pro Edition
- Changing the top level Verilog file to include the QSPI signals instead of the SD/MMC signals.
- Another, more efficient option is by taking advantage of the Makefile feature. The example shown in this sections uses this method to perform the boot conversion from SDMMC to QSPI.
- Start an embedded command shell. Make a copy of the ghrd folder into your QSPI working directory.
$ ~/altera/15.0/embedded/embedded_command_shell.sh $ mkdir <your_qspi_working_directory>/a10_soc_devkit_ghrd_qspi $ cd <your_qspi_working_directory>/a10_soc_devkit_ghrd_qspi $ tar xvzf ~/altera/15.0/embedded/examples/hardware/a10_soc_devkit_ghrd/tgz/*.tar.gz
- When complete, run the following commands to enable booting from QSPI and generate the Platform Designer file:
$ sed -i ‘s/HPS_BOOT_DEVICE := SDMMC/HPS_BOOT_DEVICE := QSPI/g’ Makefile $ sed -i ‘s/QUARTUS_CPF_ENABLE_SPLIT_RBF := 1/QUARTUS_CPF_ENABLE_SPLIT_RBF := 0/g’ Makefile $ make scrub_clean $ make quartus_generate_top quartus_generate_qsf_qpf qsys_generate_qsys
After a series of messages ending in Info: save_system ghrd_10as066n2.qsys, a prompt appears.