Intel® Arria® 10 SoC UEFI Boot Loader User Guide

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

1.5.9.4.1. Booting Linux from the DXE Phase Using SD/MMC

This task describes how to enable booting of Linux* from the DXE phase.

  1. Use your preferred editor to open the <your_uefi_socfpga>/uefi-socfpga/AlteraPlatformPkg/Arria10SoCPkg/Arria10SoCPkg.dsc file.
  2. To boot the Linux* zImage stored on an SD card or in QSPI flash right after the DXE phase, configure the gAlteraSocFpgaTokenSpaceGuid.PcdBoot_LOAD_ZIMAGE_AT_PEI_PHASE value to 0.
  3. Configure the gAlteraSocFpgaTokenSpaceGuid.PcdBoot_LOAD_UEFI_DXE_PHASE value to 1.
  4. Recompile the source code and update the SD card image with the modified DXE.ROM for the changes to take effect.
  5. Once the compilation is successful, copy the following two files into the SD card FAT32 partition:
    • <your_uefi_socfpga_directory>/uefi-socfpga/Build/DXE.ROM
    • <your_uefi_socfpga_directory>/uefi-socfpga/AlteraPlatformPkg/Applications/LinuxLoader/bootz.nsh