Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Public
Document Table of Contents

1.5.5.5. Updating Individual Elements into the QSPI

This task describes how to update the following elements individually into the QSPI memory:

  • ghrd_10as066n2.rbf
  • PEI.ROM (UEFI boot loader binary image)
  • bootimage.bin (Bare Metal Image)
  • kernel-uImage.bin (Integrity Image)
  • vxWorks.bin (VxWorks Image)
  1. Connect the JTAG Intel® FPGA Download Cable II from your host to the Intel® Arria® 10 SoC FPGA development board.
  2. Install the QSPI daughter card into J23.
  3. Power up the board.
  4. To program the compiled UEFI image into the QSPI, type the following commands:
    $ cd <your_uefi_directory>/uefi-socfpga
    
    $ program_qspi
    Or you can alternatively type:
    $ quartus_hps -c1 -oP Build/PEI.ROM --addr=0x00000000
  5. Program the single RBF into the QSPI.
    • If you have a GHRD design, you can use the make command:
      $ cd <your_qspi_working_directory>/a10_soc_devkit_ghrd_qspi 
      
      $ make program_qspi-rbf
    • If you want to program the single RBF manually without the GHRD Makefile, type:
      $ mkimage -A arm -T firmware -C none -O u-boot -a 0 -e 0 -n "RBF" -d ghrd_10as066n2.rbf ghrd_10as066n2.rbf.mkimage
      
      $ quartus_hps -c1 -oP --addr=0x00720000 ghrd_10as066n2.rbf.mkimage
  6. If you are booting the DXE phase, program the DXE.ROM file into the QSPI.
    $ quartus_hps -c1 -oP Build/DXE.ROM --addr=0x00620000