diff options
| -rw-r--r-- | meta-xilinx-demos/recipes-firmware/vek280-pl-aie-vdu-fw/vek280-pl-aie-vdu-fw_1.0-2024.2.bb | 29 | ||||
| -rwxr-xr-x | meta-xilinx-demos/scripts/generate-machines-sdt.sh | 1 |
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 @@ | |||
| 1 | SUMMARY = "VEK280 Segemented Configuration(DFx Full) firmware using dfx_user_dts bbclass" | ||
| 2 | DESCRIPTION = "VEK280 Segemented Configuration(DFx Full) PL AIE and VDU firmware application" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 5 | |||
| 6 | inherit dfx_user_dts | ||
| 7 | |||
| 8 | |||
| 9 | SRC_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 | |||
| 11 | SRC_URI[sha256sum] = "4e85aa16c067b3b4eb8ad174c8789426b260d80dd155290f04ef4f89f50b2d04" | ||
| 12 | |||
| 13 | COMPATIBLE_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. | ||
| 17 | FW_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}. | ||
| 23 | do_configure[prefuncs] =+ "copy_fw_files" | ||
| 24 | python 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 | ||
| 8 | this=$(realpath $0) | 9 | this=$(realpath $0) |
