AR# 71722

2018.2/3 Ultra96: PetaLinux BSP image does not shut down the board completely when using Matchbox desktop GUI power button or single press power button on board


On Ultra96 boards using 2018.2/3 PetaLinux BSP build images, when I click on the shutdown icon from the matchbox desktop GUI, the X window server shuts down and the screen goes blank but the board keeps running.


This is a known issue in the 2018.2/3 PetaLinux BSP for an Ultra96 board.

To work around this issue, apply the attached patch to the PMUFW and enable the below debugs in order to shut down properly. 

The patch should be applied to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/pmu-firmware/pmu-firmware_%.bbappend.

Note: To apply a patch to recipes, please refer to (UG1144) or

  1. Copy the attached patch to the pmu-firmware directory. If this directory does not exist, create one in the meta-user layer:

    $ cp 0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button.patch <plnx-proj-root>/project-spec/meta-user/recipes-bsp/pmu-firmware/files

  1. Enable PMUFW compiler flags in <plnx-proj-root>/project-spec/meta-user/recipes-bsp/pmu-firmware/pmu-firmware_%.bbappend:

SRC_URI_append = " \
        file://0001-zynqmp_pmufw-Add-support-for-Ultra96-power-button.patch \
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"


  1. Clean the project after making the changes.

    $ petalinux-build -x mrproper

    $ petalinux-build


文件名 文件大小 File Type 3 KB ZIP
AR# 71722
日期 12/03/2018
状态 Active
Type 综合文章