Intel® Arria® 10 SoC UEFI Boot Loader User Guide

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

1.5.9.4.3. Booting Linux* from the DXE Phase Using SD/MMC Automatically

To configure Linux* to boot automatically in the DXE phase, you must edit the UEFI shell start-up script. The startup.nsh is the start-up script file that the UEFI shell automatically runs at boot.

  1. Use your preferred editor to open the <your_uefi_socfpga>/uefi-socfpga/AlteraPlatformPkg/ShellScript/startup.nsh file.
  2. Append the following line to the last line of the file:
    bootz
    Figure 83.  startup.nsh Edit
  3. Save the file and recompile the UEFI boot loader code.
  4. Update the SD card image with the new PEI.ROM file for the changes to take effect.
  5. Power cycle the board and observe the following output messages on your serial terminal program:
    Figure 84. Terminal Output Message