In the 2020.2 release versions of Yocto or PetaLinux, The AIE Matrix Multiplication demo application does not work on a VCK190 ES1 board.
This is a known issue with the 2020.2 VCK190 ES1 when using the PetaLinux BSP or a Yocto Project, as the Versal ID code is hardcoded to the production silicon version.
To work around this issue, follow the steps below:
PetaLinux:
1) Copy the recompiled AIE Matrix Multiplication demo application project files such as Work, aie-matrix-multiplication.xclbin, aie-matrix-multiplication files to the aie-matrix-multiplication directory as shown below.
If these directory and recipes do not exist then manually create <plnx-proj-root>/project-spec/meta-user/recipes-apps/aie-matrix-multiplication/files/
$ mkdir -p <plnx-proj-root>/project-spec/meta-user/recipes-apps/aie-matrix-multiplication/files
$ cp -rf Work aie-matrix-multiplication.xclbin aie-matrix-multiplication <plnx-proj-root>/project-spec/meta-user/recipes-apps/aie-matrix-multiplication/files
2) Modify the aie-matrix-multiplication_%.bbappend file with the below content using a text editor:
$ vim <plnx-proj-root>/project-spec/meta-user/recipes-apps/aie-matrix-multiplication/aie-matrix-multiplication_%.bbappend
# aie-matrix-multiplication_%.bbappend content
SRC_URI_append = " \
file://aie-matrix-multiplication.xclbin \
file://aie-matrix-multiplication \
file://Work \
"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:
3) Clean the aie-matrix-multiplication and rebuild the aie-matrix-multiplication recipes:
$ petalinux-build -c aie-matrix-multiplication -x cleanall $ petalinux-build -c aie-matrix-multiplication
Yocto:
1) Copy the recompiled AIE Matrix Multiplication demo application project files such as Work, aie-matrix-multiplication.xclbin, aie-matrix-multiplication files to the aie-matrix-multiplication directory as shown below.
If these directory and recipes do not exist then manually create <yocto-proj-root>/sources/meta-petalinux/recipes-apps/aie-matrix-multiplication/files/
$ mkdir -p <yocto-proj-root>/sources/meta-petalinux/recipes-apps/aie-matrix-multiplication/files
$ cp -rf Work aie-matrix-multiplication.xclbin aie-matrix-multiplication <yocto-proj-root>/sources/meta-petalinux/recipes-apps/aie-matrix-multiplication/files
2) Modify the aie-matrix-multiplication_%.bbappend file with the below content using a text editor:
$ vim <yocto-proj-root>/sources/meta-petalinux/recipes-apps/aie-matrix-multiplication/aie-matrix-multiplication_%.bbappend
# aie-matrix-multiplication_%.bbappend content
SRC_URI_append = " \
file://aie-matrix-multiplication.xclbin \
file://aie-matrix-multiplication \
file://Work \
"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
3) Clean the aie-matrix-multiplication and rebuild the aie-matrix-multiplication recipes:
$ bitbake aie-matrix-multiplication -c cleanall
$ bitbake aie-matrix-multiplication
AR# 75881 | |
---|---|
日期 | 11/24/2020 |
状态 | Active |
Type | 已知问题 |
器件 | |
Tools | |
Boards & Kits |