Intel® Arria® 10 SoC UEFI Boot Loader User Guide

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

1.5.5.5.1. Programming the Bare Metal Image

This task describes how to program the Bare Metal image into QSPI.

  1. Go to your generated Baremetal HelloWorld image directory. For example:
    $ cd /data/<username>/GSRD/Altera-SoCFPGA-HelloWorld-Baremetal-ARMCC
  2. Run the following command to add mkimage header to bootimage.bin to indicate the filesize.
    $ mkimage -A arm -T firmware -C none -a 0x100000 -e 0x100000 -n "UserApp" -d bootimage.bin bootimage.bin.mkimage
  3. Type the following command to flash the boot image into the QSPI.
    $ quartus_hps -c1 -d 2 -o P --addr=0x00120000 bootimage.bin.mkimage
    Figure 61. Commands for Programming the Bare Metal Image