APU - Subsystem Restart - APU - Subsystem Restart - 2023.1 English - XD339

Versal Restart TRD (XD339)

Document_ID
XD339
Release_Date
2026-01-12
Version
2023.1 English

This function demonstrates the APU subsystem performing a self restart.

The APU subsystem in this design includes the PS peripherals needed to run Linux and a simple PL design in the Baseline hardware design.

To perform subsystem restart from Linux, write subsystem to shutdown_scope sysfs file. A reboot command anytime after this, will perform the subsystem restart.

echo subsystem > /sys/devices/platform/firmware:versal-firmware/shutdown_scope

Other possible value for the shutdown_scope is system(default), which will do full system restart on next reboot.

The scope can be read back by cat command. The selected scope is indicated by square brackets [ ]. e.g. [subsystem] ps_only system