AN 709: HPS SoC Boot Guide - Cyclone V SoC Development Kit

ID 683265
Date 1/27/2016
Public

1.2.2. Boot Sources

The HPS can boot from one of the following sources, as selected by the BSEL pins:

  • SD/MMC
  • QSPI
  • NAND
  • FPGA

The following table presents the possible BSEL options, together with the actual jumper settings on the Cyclone V Development kit, rev D:

BSEL Description Cyclone V Dev Kit Switches
J28:BSEL0 J28:BSEL0 J28:BSEL0
0 Reserved Right Right Right
1 FPGA Left Right Right
2 1.8 V NAND - - -
3 3.3 V NAND - - -
4 1.8 V SD/MMC - - -
5 3.3 V SD/MMC Left Right Left
6 1.8 V SPI or quad SPI - - -
7 3.3 V SPI or quad SPI Left Left Left

There are four boot options:

  • Indirect execution - When booting from flash (SD/MMC/QSPI/NAND):
    1. The code is loaded by the Boot ROM from the flash to the OCRAM.
    2. Run the code from this location
  • Direct execution - When booting from FPGA, the Boot ROM simply jumps to an address in the FPGA address space.
  • FPGA fallback boot - If the selected boot mode fails, the Boot ROM tries to jump to a fallback image in the FPGA, if it exists.
  • RAM boot - If an Warm Boot, the System Manager can be configured so that the Boot ROM directly jumps to a location in OCRAM.