Intel® Arria® 10 SoC UEFI Boot Loader User Guide

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

1.5.2.3.2. Linux* Environment

  1. Start and embedded command shell and go to the a10_soc_devkit_ghrd folder.
    $ ~/altera/16.1/embedded/embedded_command_shell.sh
    $ cd <your_working_directory>/a10_soc_devkit_ghrd/
  2. Start the BSP Editor.
    $ bsp-editor&
  3. In the BSP Editor window, select File > New HPS BSP... to open a New BSP window.
  4. In the new BSP window:
    1. Click the browse () button next to the Preloader Setting Directory text box and browse to the <your_working_directory>/a10_soc_devkit_ghrd/hps_isw_handoff folder. Click Open to return to the new BSP window.
    2. Select the Operating system to be UEFI Bootloader (Arria 10 HPS) in the pull-down menu.
    3. Leave the Use default locations enabled to create the new BSP in the <your_working_directory>/a10_soc_devkit_ghrd/software/uefi_bsp folder.
    4. Click OK to create the BSP settings file and close the New BSP window.
    Figure 29. New BSP Window Settings
  5. In the BSP Editor window, edit the BSP settings as follows:
    • boot_device: Boot from SD/MMC (default)
    • model: SOCFPGA Arria 10 Dev Kit (default)
    • rbf_filename: ghrd_10as066n2.rbf (default was socfpga.rbf)
    • peripheral_rbf_filename: periph.rbf (default)
    • core_rbf_filename: core.rbf (default)
    • disable_uboot_build: 0x720000 (default)
    Figure 30. BSP Editor Settings
  6. In the BSP Editor window, click Generate in the lower right hand corner to produce the source code and the UEFI device tree.
  7. When the file generation is complete, click Close in the BSP Editor window.
    The following files are generated in the <Working_Directory>//a10_soc_devkit_ghrd/software/uefi_bsp folder:
    • config.mk
    • devicetree.dts
    • Makefile
    • settings.bsp