When I run the Linux "reboot" command on a Zynq UltraScale+ MPSoC boards it hangs. I need to power off and on using the hardware switch instead.
The Linux "reboot" command does not work on Zynq UltraScale+ MPSoC boards because SRST (both PS and PL reset) is handled in the PMU Firmware.
To make this feature work you will need to follow the steps below:
Enable Debugfs:
Select Kernel hacking -> compile-time checks and compiler options -> Debug Filesystem.
Enable Power Management (PM) options:
Select Power Management options -> Suspend to RAM and standby.
Enable the PM driver:
Select Device drivers -> SOC specific drivers -> Xilinx Zynq MPSOC driver support.
For 2016.3/4:
# echo reset_assert 1114 2 > /sys/kernel/debug/zynqmp_pm/power
# echo system_shutdown 1 2 > /sys/kernel/debug/zynqmp_pm/power
For 2017.1:
# reboot
文件名 | 文件大小 | File Type |
---|---|---|
0001-zynqmp_pmufw-Bypass-RPLL-in-system-reset-for-Silicon.patch | 1 KB | PATCH |