Intel® Stratix® 10 Hard Processor System Remote System Update User Guide

ID 683021
Date 11/10/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

8.5.1. Using Multiple SSBLs with SD/MMC

This section presents the recommended approach to support multiple SSBLs when they are stored in the HPS SD/MMC.

No changes required in the Programming File Generator, at initial image creation time.

Changes required in FSBL:
  • Query SDM and read flash to determine all the partition information, and the currently running bitstream location in flash.
  • Look up the currently running bitstream location in the list of the SPT partitions to determine the partition containing the currently running bitstream.
  • Instead of using a hardcoded file name for the SSBL, use a name derived from the name of the partition containing the currently running bitstream.
If the SSBL is configured with read-only environment, then no SSBL code changes are needed. If the SSBL is configured with a modifiable environment, then the following changes are recommended:
  • Make sure there is enough space between the MBR and the first SD card partition to store the environment for all the bitstreams.
  • Change the environment location from the hardcoded value to an address which is different for each bitstream.
The recommended application image update procedure also changes:
  1. Use LIBRSU or U-Boot to erase the application image partition. This also disables it, removing it from the CPB.
  2. Replace the corresponding U-Boot image file on the FAT partition with the new version, using a filename derived from the partition name.
  3. In the case of a modifiable environment, erase the sector(s) associated with the application image partition.
  4. Use LIBRSU or U-Boot to write the new application image. This also enables it, putting it as the highest priority in the CPB.