Mailbox Client Intel® FPGA IP User Guide

ID 683290
Date 9/26/2022
Public

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

Document Table of Contents

1.10.2. LibRSU HAL API

The LibRSU HAL API is available for this controller in the following software files:
  • librsu.h
  • librsu.c
  • rsu_client.h
  • rsu_client.c
The HAL driver implements the remote system update feature in SDM-based devices which update the Intel FPGA image and perform device reconfiguration remotely. The Nios® II and Nios® V processors act as the remote system update host controller throughout the whole process.
Note: You may need to modify the string MAILBOX_NAME based on your system.h to the following source codes:
altera_s10_mailbox_client_flash_rsu.c
altera_s10_mailbox_client_rsu.c
Note: You need the ZLIB binaries to use the LibRSU HAL API. One of the LibRSU software component, librsu_ll_qspi.c includes the ZLIB libraries under <Nios V processor project directory>/zlib. The following code generates the ZLIB libraries. You can modify the source code to the correct path.
wget http://zlib.net/zlib-1.2.12.tar.gz 
tar xf zlib-1.2.12.tar.gz 
mv zlib-1.2.12/ zlib