Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Document Table of Contents 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.
    Manually changing the configuration is time-intensive.
  • 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.
  1. Start an embedded command shell. Make a copy of the ghrd folder into your QSPI working directory.
    $ ~/altera/15.0/embedded/
    $ 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
  2. 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
    $ 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.