Nios II Embedded Design Suite Release Notes

ID 683228
Date 6/17/2015
Public
Document Table of Contents

1.5.4. Universal Boot Copier

In v13.1, the Nios II boot copier is upgraded to support more types of flash devices.

The upgraded boot copier is called the universal boot copier.

The Nios II boot copier copies the application binaries from flash devices to volatile memory. The flash memory is laid out with the FPGA image at the lowest memory address, followed by the Nios II application binary images.

In previous product releases, the FPGA image size was fixed for each device family. However, for devices in the Cyclone V, Stratix V, and Arria V families, the image size varies depending on the following variables:

  • Flash type: Quad-output (EPCQ) or single-output (EPCS) Enhanced Programmable Configuration device
  • Flash device capacity: 128 or 256 Mbits
  • Compression
  • Serial peripheral interface (SPI) configuration: ×1 or ×4
  • Device layout: single or cascaded

It is difficult for the boot copier to identify the current combination so that it can use the appropriate image size, and any algorithm might fail to support future configurations.

To solve this problem, a header is added to the FPGA image to specify the image size. By using the image size from the header, the universal boot copier can work with any flash configuration in current or future devices.

The sof2flash utility is updated to support the universal boot copier.

This change does not impact to the ability of the FPGA control block to automatically program the FPGA image at power-on.