Hard Processor System Remote System Update User Guide: Agilex™ 5 SoCs
5.4.3. LIBRSU Library
The RSU library offers a complete set of RSU APIs which can be called from your applications.The library is built on top of the Altera™ RSU driver, and it uses the Linux* MTD framework to access the QSPI flash. In RSU flow in Linux, the QSPI MTD partition must start at the location of the SPT0 in order for LIBRSU to be able to determine the flash partitioning information. This partition can be hardcoded in the device tree, or also the U-Boot can edit the device tree with the appropriate information before passing it to Linux.
The LIBRSU Library uses the term “slot” to refer to a sub-partition which is intended to contain an application image. It also uses the term “priority” to refer to the fact that the images are loaded by SDM in the order defined by the configuration pointer block.
For information about LIBRSU configuration file, data types, and APIs, refer to the LIBRSU Reference Information section.