Intel® Arria® 10 SoC UEFI Boot Loader User Guide

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

1.5.3.3. Obtaining the UEFI Source Code

The UEFI source code is located in GitHub. The following steps show you how to get the UEFI source code.

  1. Open a terminal.
  2. Create a new directory path to check out the UEFI source code from the GitHub.
    $ mkdir /data/<username>/<Path_to_UEFI_Source_Code>
  3. Change your directory to this UEFI working directory and clone the UEFI source from the git trees.
    $ cd /data/<username>/<Path_to_UEFI_Source_Code>
    
    $ git clone https://github.com/altera-opensource/uefi-socfpga
  4. When completed, change to the uefi-socfpga folder and perform a git check out.
    $ cd uefi-socfpga 
    $ git checkout -b socvp_socfpga_udk2015 – track origin/socvp_socfpga_udk2015
  5. Type the following command to generate a hard reset and make git point to the respective git tag for your board:
    • RevC1 board:
      $ git reset --hard tags/rel_socfpga_arria10_soceds_16.0
    • Rev B board:
      $ git reset --hard tags/rel_socfpga_arria10_soceds_15.1.1
    • Rev A.1 or RevA.2 board:
      $ git reset --hard tags/rel_socfpga_arria10_soceds_15.0.1