summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaju Kumar Pothuraju <rajukumar.pothuraju@amd.com>2024-12-07 14:29:39 +0530
committerMark Hatle <mark.hatle@amd.com>2024-12-08 11:38:19 -0600
commitf679ad77dfbfe0a04ff27171a14a61c09cfb9da8 (patch)
tree6072788bf97af4ca327411cf1d89d9dd766da357
parent63b731c474c777bd7814f6682cf4d9a5642ba5d9 (diff)
downloadmeta-xilinx-f679ad77dfbfe0a04ff27171a14a61c09cfb9da8.tar.gz
vek280-pl-aie-vdu-fw: Add vek280-pl-aie-vdu-fw recipe
Add vek280-pl-aie-vdu-fw recipe. Signed-off-by: Raju Kumar Pothuraju <rajukumar.pothuraju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-demos/recipes-firmware/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_1.0-2024.2.bb29
-rwxr-xr-xmeta-xilinx-demos/scripts/generate-machines-sdt.sh1
2 files changed, 30 insertions, 0 deletions
diff --git a/meta-xilinx-demos/recipes-firmware/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_1.0-2024.2.bb b/meta-xilinx-demos/recipes-firmware/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_1.0-2024.2.bb
new file mode 100644
index 00000000..c52699ad
--- /dev/null
+++ b/meta-xilinx-demos/recipes-firmware/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_1.0-2024.2.bb
@@ -0,0 +1,29 @@
1SUMMARY = "VEK280 Segemented Configuration(DFx Full) firmware using dfx_user_dts bbclass"
2DESCRIPTION = "VEK280 Segemented Configuration(DFx Full) PL AIE and VDU firmware application"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6inherit dfx_user_dts
7
8
9SRC_URI = "https://petalinux.xilinx.com/sswreleases/rel-v2024.2/sdt/2024.2/2024.2_1111_1_12050425/external/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_2024.2_1111_1.tar.gz"
10
11SRC_URI[sha256sum] = "4e85aa16c067b3b4eb8ad174c8789426b260d80dd155290f04ef4f89f50b2d04"
12
13COMPATIBLE_MACHINE:versal-vek280-sdt-seg = "${MACHINE}"
14
15# When do_upack is exectuted it will extract tar file with original directory
16# name so set the FW_DIR pointing to pdi and dtsi files.
17FW_DIR = "vek280-pl-aie-vdu-fw"
18
19# fw files doesn't install on rootfs using dfx_user_dts bbclass using artifactory
20# method. To workaround this issue we are using copy_fw_files pre-functions.
21# copy_fw_files prefuncs needs to be called before find_firmware_file to update
22# the firmware-name to ${PN}.
23do_configure[prefuncs] =+ "copy_fw_files"
24python copy_fw_files () {
25 import shutil
26 fw_file_src = d.getVar('WORKDIR') + '/' + d.getVar("FW_DIR")
27 fw_file_dest = d.getVar('S')
28 shutil.copytree(fw_file_src, fw_file_dest, dirs_exist_ok=True)
29}
diff --git a/meta-xilinx-demos/scripts/generate-machines-sdt.sh b/meta-xilinx-demos/scripts/generate-machines-sdt.sh
index aaeef385..44c77a88 100755
--- a/meta-xilinx-demos/scripts/generate-machines-sdt.sh
+++ b/meta-xilinx-demos/scripts/generate-machines-sdt.sh
@@ -3,6 +3,7 @@
3### The following table controls the automatic generated of the firmware demos 3### The following table controls the automatic generated of the firmware demos
4### Machine Recipe 4### Machine Recipe
5#M# vek280-pl-bram-gpio-fw recipes-firmware/vek280-pl-bram-uart-gpio-fw/vek280-pl-bram-uart-gpio-fw_1.0-2024.2.bb 5#M# vek280-pl-bram-gpio-fw recipes-firmware/vek280-pl-bram-uart-gpio-fw/vek280-pl-bram-uart-gpio-fw_1.0-2024.2.bb
6#M# vek280-pl-aie-vdu-fw recipes-firmware/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_1.0-2024.2.bb
6#M# zcu104-pl-vcu-fw recipes-firmware/zcu104-pl-vcu-fw/zcu104-pl-vcu-fw_1.0-2024.2.bb 7#M# zcu104-pl-vcu-fw recipes-firmware/zcu104-pl-vcu-fw/zcu104-pl-vcu-fw_1.0-2024.2.bb
7 8
8this=$(realpath $0) 9this=$(realpath $0)