AR# 76382

|

2020.2/3 Versal ACAP: Poll for GTY HOUSECLEAN DONE bit before de-asserting INITCTRL

Description

In Versal device GTY, init sequences may fail and this will result in PDI programming failures while loading the PL_CFI partition.

Solution

This is a known issues with the 2020.2/3 PLM release.

To fix this issue, you will need to apply the attached patch.

Root Cause:

In Versal devices, on PL POR release, GTY has an internal house cleaning logic that is operational and the user should wait until its complete.

This is indicated by the HOUSECLEAN_DONE bit in the GTY PCSR status register so the user should poll for this bit before doing any other PCSR operation for GTY.

PetaLinux:

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

Note: For information on how to apply a patch to recipes in PetaLinux, please refer to (UG1144) or https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842475/PetaLinux+Yocto+Tips

1) Copy the attached patch from the Attachments section to the plm directory as shown below.

If these directory and recipes do not exist then manually create <plnx-proj-root>/project-spec/meta-user/recipes-bsp/plm/files/

$ mkdir -p <plnx-proj-root>/project-spec/meta-user/recipes-bsp/plm/files
$ cp 0001-xilpm-versal-server-Poll-for-GTY-HOUSECLEAN-DONE-bit.patch <plnx-proj-root>/project-spec/meta-user/recipes-bsp/plm/files

2) Modify the plm_%.bbappend file with the below content using a text editor:

$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/plm/plm_%.bbappend
# plm_%.bbappend content
SRC_URI_append = " \
    file://0001-xilpm-versal-server-Poll-for-GTY-HOUSECLEAN-DONE-bit.patch \
"
 
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

3) Clean the plm sstate cache and rebuild the plm recipes:

$ petalinux-build -c plm -x cleansstate
$ petalinux-build -c plm

Yocto:

The patch should be applied to <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/plm/plm_%.bbappend recipes 

1) Copy the attached patch from the Attachments section to the plm directory as shown below. 

If these directory and recipes do not exist then manually create <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/plm/files

$ mkdir -p <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/plm/files

$ cp 0001-xilpm-versal-server-Poll-for-GTY-HOUSECLEAN-DONE-bit.patch <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/plm/files

2) Modify the plm_%.bbappend file with the below content using a text editor:

$ vim <yocto-proj-root>/sources/meta-xilinx-tools/recipes-bsp/plm/plm_%.bbappend
# plm_%.bbappend content
SRC_URI_append = " \
    file://0001-xilpm-versal-server-Poll-for-GTY-HOUSECLEAN-DONE-bit.patch \
"
 
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

3) Clean the plm sstate cache and rebuild the plm recipes:

$ bitbake plm -c cleansstate
$ bitbake plm

Attachments

Associated Attachments

AR# 76382
Date 04/19/2021
Status Active
Type Known Issues
Devices
Tools
Boards & Kits
People Also Viewed