Intel® Arria® 10 SoC UEFI Boot Loader User Guide

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

1.6. Enabling the UEFI DXE Phase and the UEFI Shell

Task time: 60 minutes

  1. For a Windows* build, ensure that the SoC FPGA EDS and Arm* DS-5* Intel® SoC FPGA Edition debugger tools are installed on your machine.
  2. Complete the steps in Obtaining the UEFI Source Code.
  3. To boot in the DXE phase, edit the ~:\uefisocfpga\AlteraPlatformPkg\Arria10SoCPkg\Arria10SoCPkg.dsc file to change the PcdBoot_LOAD_UEFI_DXE_PHASE token value from 0 to 1 before you run the make command. To edit the file type:
    $ notepad AlteraPlatformPkg\Arria10SoCPkg\Arria10SoCPkg.dsc
    Figure 120. Modifying the PcdBoot_LOAD_UEFI_DXE_PHASE Parameter
  4. Verify that the SOCEDS_DEST_ROOT and DS5_ROOT is set under the Windows* environment.
    • Set SOCEDS_DEST_ROOT=c:\altera\15.1\embedded
    • Set DS5_ROOT=”C:\Progra~1\DS-5”
    Note: If you install Arm* DS-5* Intel® SoC FPGA Edition in the Program Files, the path C:\Progra~1\DS-5 is to prevent a build error from occurring due to a space between the word “Program Files” in the path. For other locations, please set the path correctly.
  5. Open a new Windows* command prompt and execute the following commands:
    ~:\uefi-socfpga > setup
    
    ~:\uefi-socfpga> make
  6. After the build is successful, you can copy the generated DXE.ROM file into the SD Card FAT32 partition.