All the software components are built and packaged by Xilinx PetaLinux tool. See PetaLinux wiki page for more information on how to build and package software components.
Build Flag for Restart Solution
Following build time flags are not set by default and can alter the behavior of the restart in Zynq UltraScale+ MPSoC:
Component | Flag Name | Description |
---|---|---|
PMU firmware | ENABLE_EM | Enable error management and provide WDT interrupt handling. This is not directly related to restart solution but needed for recovery. |
ENABLE_RECOVERY | Enable Recovery during WDT expiry | |
ENABLE_ESCALATION | Allow escalation on failure of boot or recovery | |
CHECK_HEALTHY_BOOT | Use Healthy bit to determine escalation | |
IDLE_PERIPHERALS ENABLE_NODE_IDLING | Both the flags must be used together to allow PMU firmware to attempt peripherals node idling (and reset). | |
REMOVE_GPIO_FROM_NODE_RESET_INFO | Skips GPIO from the node idling and resetting
list. This is needed when the system is using GPIO to provide reset (or similar) signals to PL or other peripherals outside current subsystem. If this flag is set, GPIO is not reset. |
|
TF-A | ZYNQMP_WARM_RESTART=1 | Enable WARM RESTART recovery feature in TF-A that allow the CPU idling triggered from PMU firmware. |
FSBL | FSBL_PROT_BYPASS | Skip XMPU/XPPU based configuration for system except for DDR and OCM. |
Linux | CONFIG_SRAM | Needed for Remoteproc to work for load RPU images in the TCM. |