Agilex™ 7 Hard Processor System Remote System Update User Guide

ID 683184
Date 5/01/2025
Public
Document Table of Contents

D.8. Changes in LIBRSU to Support Multi-QSPI

The LIBRSU requires to know the partitions in the QSPI that are assigned to be used by RSU through the etc/librsu.rc (etc/qspi.rc in the intel-rsu repository) file. The mtd partitions in each of the QSPI flash chips are defined in the Linux device tree at the corresponding flash node. For example, to indicate that the mtd0 and mtd1 partitions need to be used by the LIBRSU, you can specify them as shown below in the librsu.rc file:
log med stderr

root qspi /dev/mtd0,/dev/mtd1

rsu-dev /sys/devices/platform/stratix10-rsu.0

For an example about how this is being updated during the build of the LIBRSU, refer to the Building LIBRSU and RSU Client section in the Agilex™ 7: SoC HPS Multi-QSPI Remote System Update Example page.