diff options
Diffstat (limited to 'meta-xilinx-core/recipes-bsp')
29 files changed, 41 insertions, 37 deletions
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb index e726ac5b..0b3effe2 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.3.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2022.inc | |||
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| 7 | 7 | ||
| 8 | AIEDIR ?= "${S}/driver" | 8 | AIEDIR ?= "${S}/driver" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | I = "${AIEDIR}/include" | 10 | I = "${AIEDIR}/include" |
| 11 | 11 | ||
| 12 | inherit features_check | 12 | inherit features_check |
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb index 92f44a34..88d4995f 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.4.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2023.inc | |||
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| 7 | 7 | ||
| 8 | AIEDIR ?= "${S}/driver" | 8 | AIEDIR ?= "${S}/driver" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | I = "${AIEDIR}/include" | 10 | I = "${AIEDIR}/include" |
| 11 | 11 | ||
| 12 | inherit features_check | 12 | inherit features_check |
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb index 6befcffa..0710a2bb 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.5.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2024.inc | |||
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| 7 | 7 | ||
| 8 | AIEDIR ?= "${S}/driver" | 8 | AIEDIR ?= "${S}/driver" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | I = "${AIEDIR}/include" | 10 | I = "${AIEDIR}/include" |
| 11 | 11 | ||
| 12 | inherit features_check | 12 | inherit features_check |
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.6.bb b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.6.bb index a99f296a..5e825c0a 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.6.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/ai-engine-driver_3.6.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2024.2.inc | |||
| 6 | SECTION = "libs" | 6 | SECTION = "libs" |
| 7 | 7 | ||
| 8 | AIEDIR ?= "${S}/driver" | 8 | AIEDIR ?= "${S}/driver" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | I = "${AIEDIR}/include" | 10 | I = "${AIEDIR}/include" |
| 11 | 11 | ||
| 12 | IOBACKENDS ?= "Linux" | 12 | IOBACKENDS ?= "Linux" |
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb index 5b741f9a..73cbfdd6 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.4.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2022.inc | |||
| 6 | SECTION = "devel" | 6 | SECTION = "devel" |
| 7 | 7 | ||
| 8 | XAIEFAL_DIR ?= "fal" | 8 | XAIEFAL_DIR ?= "fal" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | 10 | ||
| 11 | inherit features_check | 11 | inherit features_check |
| 12 | 12 | ||
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb index 8b5c4334..ab65f319 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.5.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2023.inc | |||
| 6 | SECTION = "devel" | 6 | SECTION = "devel" |
| 7 | 7 | ||
| 8 | XAIEFAL_DIR ?= "fal" | 8 | XAIEFAL_DIR ?= "fal" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | 10 | ||
| 11 | inherit features_check | 11 | inherit features_check |
| 12 | 12 | ||
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb index f8c9482b..11c88d34 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.6.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2024.inc | |||
| 6 | SECTION = "devel" | 6 | SECTION = "devel" |
| 7 | 7 | ||
| 8 | XAIEFAL_DIR ?= "fal" | 8 | XAIEFAL_DIR ?= "fal" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | 10 | ||
| 11 | inherit features_check | 11 | inherit features_check |
| 12 | 12 | ||
diff --git a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.7.bb b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.7.bb index 2e60941b..ef9ff673 100644 --- a/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.7.bb +++ b/meta-xilinx-core/recipes-bsp/ai-engine/aiefal_1.7.bb | |||
| @@ -6,7 +6,7 @@ require aie-rt-2024.2.inc | |||
| 6 | SECTION = "devel" | 6 | SECTION = "devel" |
| 7 | 7 | ||
| 8 | XAIEFAL_DIR ?= "fal" | 8 | XAIEFAL_DIR ?= "fal" |
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | 10 | ||
| 11 | IOBACKENDS ?= "Linux" | 11 | IOBACKENDS ?= "Linux" |
| 12 | 12 | ||
diff --git a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc index 485d3b17..09f83809 100644 --- a/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc +++ b/meta-xilinx-core/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware.inc | |||
| @@ -9,7 +9,7 @@ inherit deploy | |||
| 9 | 9 | ||
| 10 | DEPENDS += "u-boot-mkimage-native" | 10 | DEPENDS += "u-boot-mkimage-native" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git" | 12 | S = "${UNPACKDIR}/git" |
| 13 | B = "${WORKDIR}/build" | 13 | B = "${WORKDIR}/build" |
| 14 | 14 | ||
| 15 | SYSROOT_DIRS += "/boot" | 15 | SYSROOT_DIRS += "/boot" |
diff --git a/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb b/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb index 9fd9c34a..28958c36 100644 --- a/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/base-pdi/base-pdi_1.0.bb | |||
| @@ -18,6 +18,8 @@ do_compile[noexec] = "1" | |||
| 18 | PDI_PATH ?= "" | 18 | PDI_PATH ?= "" |
| 19 | SRC_URI += "${@['file://'+d.getVar('PDI_PATH'),''][d.getVar('PDI_PATH') == '']}" | 19 | SRC_URI += "${@['file://'+d.getVar('PDI_PATH'),''][d.getVar('PDI_PATH') == '']}" |
| 20 | 20 | ||
| 21 | S = "${UNPACKDIR}" | ||
| 22 | |||
| 21 | python() { | 23 | python() { |
| 22 | if d.getVar('PDI_SKIP_CHECK') != "1" and not d.getVar('PDI_PATH'): | 24 | if d.getVar('PDI_SKIP_CHECK') != "1" and not d.getVar('PDI_PATH'): |
| 23 | raise bb.parse.SkipRecipe("PDI_PATH is not configured with the base design pdi") | 25 | raise bb.parse.SkipRecipe("PDI_PATH is not configured with the base design pdi") |
| @@ -27,9 +29,9 @@ python() { | |||
| 27 | #will need to bbappend to this in meta-xilinx-tools to use xsct to extract pdi from xsa and install | 29 | #will need to bbappend to this in meta-xilinx-tools to use xsct to extract pdi from xsa and install |
| 28 | do_install() { | 30 | do_install() { |
| 29 | 31 | ||
| 30 | if [ -f ${WORKDIR}/${PDI_PATH} ];then | 32 | if [ -f ${S}/${PDI_PATH} ];then |
| 31 | install -d ${D}/boot | 33 | install -d ${D}/boot |
| 32 | install -m 0644 ${WORKDIR}/${PDI_PATH} ${D}/boot/base-design.pdi | 34 | install -m 0644 ${S}/${PDI_PATH} ${D}/boot/base-design.pdi |
| 33 | else | 35 | else |
| 34 | bbfatal "No base pdi supplied" | 36 | bbfatal "No base pdi supplied" |
| 35 | fi | 37 | fi |
diff --git a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb index b9236f55..86225181 100644 --- a/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb | |||
| @@ -178,10 +178,10 @@ do_configure[vardeps] += "BIF_PARTITION_ATTR BIF_PARTITION_IMAGE BIF_COMMON_ATTR | |||
| 178 | do_configure[vardeps] += "BIF_FSBL_ATTR BIF_BITSTREAM_ATTR BIF_ATF_ATTR BIF_DEVICETREE_ATTR BIF_SSBL_ATTR" | 178 | do_configure[vardeps] += "BIF_FSBL_ATTR BIF_BITSTREAM_ATTR BIF_ATF_ATTR BIF_DEVICETREE_ATTR BIF_SSBL_ATTR" |
| 179 | 179 | ||
| 180 | do_compile() { | 180 | do_compile() { |
| 181 | cd ${WORKDIR} | 181 | cd ${UNPACKDIR} |
| 182 | rm -f ${B}/BOOT.bin | 182 | rm -f ${B}/BOOT.bin |
| 183 | if [ "${BIF_FILE_PATH}" != "${B}/bootgen.bif" ];then | 183 | if [ "${BIF_FILE_PATH}" != "${B}/bootgen.bif" ];then |
| 184 | BIF_FILE_PATH="${WORKDIR}${BIF_FILE_PATH}" | 184 | BIF_FILE_PATH="${UNPACKDIR}${BIF_FILE_PATH}" |
| 185 | fi | 185 | fi |
| 186 | bootgen -image ${BIF_FILE_PATH} -arch ${BOOTGEN_ARCH} ${BOOTGEN_EXTRA_ARGS} -w -o ${B}/BOOT.bin | 186 | bootgen -image ${BIF_FILE_PATH} -arch ${BOOTGEN_ARCH} ${BOOTGEN_EXTRA_ARGS} -w -o ${B}/BOOT.bin |
| 187 | if [ ! -e ${B}/BOOT.bin ]; then | 187 | if [ ! -e ${B}/BOOT.bin ]; then |
diff --git a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb index fbe85f96..0fc20298 100644 --- a/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb +++ b/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb | |||
| @@ -74,8 +74,8 @@ do_configure:prepend () { | |||
| 74 | fi | 74 | fi |
| 75 | 75 | ||
| 76 | for f in ${EXTRA_DT_FILES} ${EXTRA_DT_INCLUDE_FILES}; do | 76 | for f in ${EXTRA_DT_FILES} ${EXTRA_DT_INCLUDE_FILES}; do |
| 77 | if [ "$(realpath ${WORKDIR}/${f})" != "$(realpath ${DT_FILES_PATH}/`basename ${f}`)" ]; then | 77 | if [ "$(realpath ${UNPACKDIR}/${f})" != "$(realpath ${DT_FILES_PATH}/`basename ${f}`)" ]; then |
| 78 | cp ${WORKDIR}/${f} ${DT_FILES_PATH}/ | 78 | cp ${UNPACKDIR}/${f} ${DT_FILES_PATH}/ |
| 79 | fi | 79 | fi |
| 80 | done | 80 | done |
| 81 | } | 81 | } |
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb index 386e1b79..9e0f07ac 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_1.0.bb | |||
| @@ -19,7 +19,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 19 | COMPATIBLE_MACHINE:versal = "versal" | 19 | COMPATIBLE_MACHINE:versal = "versal" |
| 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${UNPACKDIR}/git" |
| 23 | 23 | ||
| 24 | inherit cmake update-rc.d systemd | 24 | inherit cmake update-rc.d systemd |
| 25 | 25 | ||
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb index f25201bd..2699a55d 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.1.bb | |||
| @@ -19,7 +19,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 19 | COMPATIBLE_MACHINE:versal = "versal" | 19 | COMPATIBLE_MACHINE:versal = "versal" |
| 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${UNPACKDIR}/git" |
| 23 | 23 | ||
| 24 | inherit cmake update-rc.d systemd | 24 | inherit cmake update-rc.d systemd |
| 25 | 25 | ||
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb index b55ce8c0..da2f3e26 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2023.2.bb | |||
| @@ -19,7 +19,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 19 | COMPATIBLE_MACHINE:versal = "versal" | 19 | COMPATIBLE_MACHINE:versal = "versal" |
| 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${UNPACKDIR}/git" |
| 23 | 23 | ||
| 24 | inherit cmake update-rc.d systemd | 24 | inherit cmake update-rc.d systemd |
| 25 | 25 | ||
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb index c646228d..261156f9 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.1.bb | |||
| @@ -19,7 +19,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 19 | COMPATIBLE_MACHINE:versal = "versal" | 19 | COMPATIBLE_MACHINE:versal = "versal" |
| 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 20 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${UNPACKDIR}/git" |
| 23 | 23 | ||
| 24 | inherit cmake update-rc.d systemd | 24 | inherit cmake update-rc.d systemd |
| 25 | 25 | ||
diff --git a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.2.bb b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.2.bb index 88dec7b8..8f634398 100644 --- a/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.2.bb +++ b/meta-xilinx-core/recipes-bsp/dfx-mgr/dfx-mgr_2024.2.bb | |||
| @@ -20,7 +20,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 20 | COMPATIBLE_MACHINE:versal = ".*" | 20 | COMPATIBLE_MACHINE:versal = ".*" |
| 21 | COMPATIBLE_MACHINE:versal-net = ".*" | 21 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 22 | 22 | ||
| 23 | S = "${WORKDIR}/git" | 23 | S = "${UNPACKDIR}/git" |
| 24 | 24 | ||
| 25 | inherit cmake update-rc.d systemd | 25 | inherit cmake update-rc.d systemd |
| 26 | 26 | ||
diff --git a/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb b/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb index b9a36d77..f7eaa111 100644 --- a/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/fpga-manager-script/fpga-manager-script_1.0.bb | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | SUMMARY = "Install user script to support fpga-manager" | 1 | SUMMARY = "Install user script to support fpga-manager" |
| 2 | DESCRIPTION = "Install user script that loads and unloads overlays using kernel fpga-manager" | 2 | DESCRIPTION = "Install user script that loads and unloads overlays using kernel fpga-manager" |
| 3 | LICENSE = "Proprietary" | 3 | LICENSE = "Proprietary" |
| 4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/fpgautil.c;beginline=1;endline=24;md5=0dbf04c2c1026b3d120136e728b7a09f" | 4 | LIC_FILES_CHKSUM = "file://fpgautil.c;beginline=1;endline=24;md5=0dbf04c2c1026b3d120136e728b7a09f" |
| 5 | 5 | ||
| 6 | SRC_URI = "\ | 6 | SRC_URI = "\ |
| 7 | file://fpgautil.c \ | 7 | file://fpgautil.c \ |
| 8 | " | 8 | " |
| 9 | S = "${WORKDIR}" | 9 | S = "${UNPACKDIR}" |
| 10 | 10 | ||
| 11 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 11 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
| 12 | 12 | ||
diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb index 1bd468d7..7727b93d 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_1.0.bb | |||
| @@ -15,7 +15,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 15 | COMPATIBLE_MACHINE:versal = "versal" | 15 | COMPATIBLE_MACHINE:versal = "versal" |
| 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | inherit cmake | 20 | inherit cmake |
| 21 | 21 | ||
diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb index 15c04add..e64687f5 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.1.bb | |||
| @@ -15,7 +15,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 15 | COMPATIBLE_MACHINE:versal = "versal" | 15 | COMPATIBLE_MACHINE:versal = "versal" |
| 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | inherit cmake | 20 | inherit cmake |
| 21 | 21 | ||
diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb index 70d85f88..06d991df 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2023.2.bb | |||
| @@ -15,7 +15,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 15 | COMPATIBLE_MACHINE:versal = "versal" | 15 | COMPATIBLE_MACHINE:versal = "versal" |
| 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | inherit cmake | 20 | inherit cmake |
| 21 | 21 | ||
diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb index c82984f4..9eea4fbe 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.1.bb | |||
| @@ -15,7 +15,7 @@ COMPATIBLE_MACHINE:zynqmp = "zynqmp" | |||
| 15 | COMPATIBLE_MACHINE:versal = "versal" | 15 | COMPATIBLE_MACHINE:versal = "versal" |
| 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" | 16 | COMPATIBLE_MACHINE:versal-net = "versal-net" |
| 17 | 17 | ||
| 18 | S = "${WORKDIR}/git" | 18 | S = "${UNPACKDIR}/git" |
| 19 | 19 | ||
| 20 | inherit cmake | 20 | inherit cmake |
| 21 | 21 | ||
diff --git a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.2.bb b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.2.bb index 3a097b24..fcea2da7 100644 --- a/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.2.bb +++ b/meta-xilinx-core/recipes-bsp/libdfx/libdfx_2024.2.bb | |||
| @@ -16,7 +16,7 @@ COMPATIBLE_MACHINE:zynqmp = ".*" | |||
| 16 | COMPATIBLE_MACHINE:versal = ".*" | 16 | COMPATIBLE_MACHINE:versal = ".*" |
| 17 | COMPATIBLE_MACHINE:versal-net = ".*" | 17 | COMPATIBLE_MACHINE:versal-net = ".*" |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | 19 | S = "${UNPACKDIR}/git" |
| 20 | 20 | ||
| 21 | inherit cmake | 21 | inherit cmake |
| 22 | 22 | ||
diff --git a/meta-xilinx-core/recipes-bsp/platform-init/platform-init.bb b/meta-xilinx-core/recipes-bsp/platform-init/platform-init.bb index 75c83ee8..a9c10d47 100644 --- a/meta-xilinx-core/recipes-bsp/platform-init/platform-init.bb +++ b/meta-xilinx-core/recipes-bsp/platform-init/platform-init.bb | |||
| @@ -18,7 +18,7 @@ PROVIDES += "virtual/xilinx-platform-init" | |||
| 18 | 18 | ||
| 19 | SRC_URI = "${@" ".join(["file://%s" % f for f in (d.getVar('PLATFORM_INIT_FILES') or "").split()])}" | 19 | SRC_URI = "${@" ".join(["file://%s" % f for f in (d.getVar('PLATFORM_INIT_FILES') or "").split()])}" |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}" | 21 | S = "${UNPACKDIR}" |
| 22 | 22 | ||
| 23 | SYSROOT_DIRS += "${PLATFORM_INIT_DIR}" | 23 | SYSROOT_DIRS += "${PLATFORM_INIT_DIR}" |
| 24 | 24 | ||
diff --git a/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native.bb b/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native.bb index 44ad9368..2d36b4a8 100644 --- a/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native.bb +++ b/meta-xilinx-core/recipes-bsp/pmu-firmware/pmu-rom-native.bb | |||
| @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abaf | |||
| 10 | SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz" | 10 | SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz" |
| 11 | SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf" | 11 | SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf" |
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/PMU_ROM" | 13 | S = "${UNPACKDIR}/PMU_ROM" |
| 14 | 14 | ||
| 15 | inherit deploy native | 15 | inherit deploy native |
| 16 | 16 | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc index 86ba82bb..3c8d1ed6 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc | |||
| @@ -19,5 +19,5 @@ SRC_URI:append:microblaze = " file://microblaze-generic-top.h" | |||
| 19 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:" | 19 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:" |
| 20 | 20 | ||
| 21 | do_configure:prepend:microblaze () { | 21 | do_configure:prepend:microblaze () { |
| 22 | install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/ | 22 | install ${UNPACKDIR}/microblaze-generic-top.h ${S}/include/configs/ |
| 23 | } | 23 | } |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc index 765af276..387367c6 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc | |||
| @@ -6,7 +6,7 @@ UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) ! | |||
| 6 | 6 | ||
| 7 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" | 7 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" |
| 8 | 8 | ||
| 9 | S = "${WORKDIR}/git" | 9 | S = "${UNPACKDIR}/git" |
| 10 | B = "${WORKDIR}/build" | 10 | B = "${WORKDIR}/build" |
| 11 | 11 | ||
| 12 | UBOOT_MB_INC = "" | 12 | UBOOT_MB_INC = "" |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb index e13413a1..a8dfa57e 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb | |||
| @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
| 4 | 4 | ||
| 5 | DEPENDS = "u-boot-mkimage-native" | 5 | DEPENDS = "u-boot-mkimage-native" |
| 6 | 6 | ||
| 7 | S = "${UNPACKDIR}" | ||
| 8 | |||
| 7 | inherit deploy image-wic-utils | 9 | inherit deploy image-wic-utils |
| 8 | 10 | ||
| 9 | INHIBIT_DEFAULT_DEPS = "1" | 11 | INHIBIT_DEFAULT_DEPS = "1" |
| @@ -268,14 +270,14 @@ do_compile() { | |||
| 268 | -e 's:@@KERNEL_ROOT_RAMDISK@@:${KERNEL_ROOT_RAMDISK}:' \ | 270 | -e 's:@@KERNEL_ROOT_RAMDISK@@:${KERNEL_ROOT_RAMDISK}:' \ |
| 269 | -e 's:@@KERNEL_COMMAND_APPEND@@:${KERNEL_COMMAND_APPEND}:' \ | 271 | -e 's:@@KERNEL_COMMAND_APPEND@@:${KERNEL_COMMAND_APPEND}:' \ |
| 270 | ${SCRIPT_SED_ADDENDUM} \ | 272 | ${SCRIPT_SED_ADDENDUM} \ |
| 271 | "${WORKDIR}/boot.cmd.${BOOTMODE}${BOOTFILE_EXT}" > "${WORKDIR}/boot.cmd" | 273 | "${S}/boot.cmd.${BOOTMODE}${BOOTFILE_EXT}" > boot.cmd |
| 272 | 274 | ||
| 273 | mkimage -A arm -T script -C none -n "Boot script" -d "${WORKDIR}/boot.cmd" boot.scr | 275 | mkimage -A arm -T script -C none -n "Boot script" -d boot.cmd boot.scr |
| 274 | 276 | ||
| 275 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ | 277 | sed -e 's/@@KERNEL_IMAGETYPE@@/${KERNEL_IMAGETYPE}/' \ |
| 276 | -e 's/@@DEVICE_TREE_NAME@@/${DEVICE_TREE_NAME}/' \ | 278 | -e 's/@@DEVICE_TREE_NAME@@/${DEVICE_TREE_NAME}/' \ |
| 277 | -e 's/@@RAMDISK_IMAGE@@/${PXERAMDISK_IMAGE}/' \ | 279 | -e 's/@@RAMDISK_IMAGE@@/${PXERAMDISK_IMAGE}/' \ |
| 278 | "${WORKDIR}/pxeboot.pxe" > "pxeboot.pxe" | 280 | "${S}/pxeboot.pxe" > "pxeboot.pxe" |
| 279 | } | 281 | } |
| 280 | 282 | ||
| 281 | do_install() { | 283 | do_install() { |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb index dafaab25..53355f28 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-uenv.bb | |||
| @@ -94,7 +94,7 @@ DEVICETREE_OVERLAY_LOAD_ADDRESS:zynqmp = "${@hex(int(d.getVar("DEVICETREE_LOAD_A | |||
| 94 | 94 | ||
| 95 | python do_compile() { | 95 | python do_compile() { |
| 96 | env = uenv_populate(d) | 96 | env = uenv_populate(d) |
| 97 | with open(d.expand("${WORKDIR}/uEnv.txt"), "w") as f: | 97 | with open(d.expand("uEnv.txt"), "w") as f: |
| 98 | for k, v in env.items(): | 98 | for k, v in env.items(): |
| 99 | f.write("{0}={1}\n".format(k, v)) | 99 | f.write("{0}={1}\n".format(k, v)) |
| 100 | } | 100 | } |
| @@ -102,11 +102,11 @@ python do_compile() { | |||
| 102 | FILES:${PN} += "/boot/uEnv.txt" | 102 | FILES:${PN} += "/boot/uEnv.txt" |
| 103 | 103 | ||
| 104 | do_install() { | 104 | do_install() { |
| 105 | install -Dm 0644 ${WORKDIR}/uEnv.txt ${D}/boot/uEnv.txt | 105 | install -Dm 0644 uEnv.txt ${D}/boot/uEnv.txt |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | do_deploy() { | 108 | do_deploy() { |
| 109 | install -Dm 0644 ${WORKDIR}/uEnv.txt ${DEPLOYDIR}/uEnv.txt | 109 | install -Dm 0644 uEnv.txt ${DEPLOYDIR}/uEnv.txt |
| 110 | } | 110 | } |
| 111 | addtask do_deploy after do_compile before do_build | 111 | addtask do_deploy after do_compile before do_build |
| 112 | 112 | ||
