Intel® Agilex™ Hard Processor System Remote System Update User Guide

ID 683184
Date 7/13/2022
Public

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

Document Table of Contents

D.6.1. librsu_init

Prototype int librsu_init(char *filename);
Description Load the configuration file and initialize internal data by reading SPT and CPB data from flash.
  • If SPT0 is corrupted, SPT1 is loaded instead. If one SPT is corrupted and one is good, the corrupted SPT is recovered with information from the good SPT.
  • If CPB0 is corrupted, CPB1 is loaded instead. If one CPB is corrupted and one is good, the corrupted CPB is recovered with information from the good CPB.
Parameters filename: configuration file to load. If Null or empty string, the default is /etc/librsu.rc
Return Value 0 on success, or error code