summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-10-22 13:22:06 -0700
committerMark Hatle <mark.hatle@xilinx.com>2021-10-22 13:22:06 -0700
commitf2be6ce9ffce60e201b666a9412d0aa37fd7e0a3 (patch)
tree92fda42b4cfb938a18f7676e6af6f08ee81005e3
parent0a261dc46294a94ebeaa33dfdaffeca9f2294150 (diff)
parentb9e0d5a296bd3dc407c36cec079c98488233ff0e (diff)
downloadmeta-xilinx-f2be6ce9ffce60e201b666a9412d0aa37fd7e0a3.tar.gz
Merge remote-tracking branch 'xilinx/rel-v2021.2' into 2022
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb2
-rw-r--r--meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb2
-rwxr-xr-xmeta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb2
-rw-r--r--meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb4
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb2
-rw-r--r--meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb2
-rw-r--r--meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc5
-rw-r--r--meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup60
-rwxr-xr-xmeta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh38
-rw-r--r--meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb3
-rw-r--r--meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass7
11 files changed, 74 insertions, 53 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb
index fffe8056..f69ed50c 100644
--- a/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb
+++ b/meta-xilinx-bsp/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2022.1.bb
@@ -1,5 +1,5 @@
1ATF_VERSION = "2.4" 1ATF_VERSION = "2.4"
2SRCREV = "799131a3b063f6f24f87baa74e46906c076aebcd" 2SRCREV = "9188496b9b23a665782bb3d2c2b9e3b29b7fb4e2"
3BRANCH = "xlnx_rebase_v2.4" 3BRANCH = "xlnx_rebase_v2.4"
4LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" 4LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031"
5 5
diff --git a/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb b/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
index 4c4c8ade..be8f114b 100644
--- a/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
+++ b/meta-xilinx-bsp/recipes-bsp/bootgen/bootgen_1.0.bb
@@ -11,7 +11,7 @@ RDEPENDS_${PN} += "openssl"
11 11
12REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" 12REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https"
13BRANCH ?= "xlnx_rel_v2021.2" 13BRANCH ?= "xlnx_rel_v2021.2"
14SRCREV = "f196bddc500dfb244aeabba264e66358c35d51dd" 14SRCREV = "5b6fe16a2bfd7ced4d90b70b0ba6fbf325e81e97"
15 15
16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
17SRC_URI = "${REPO};${BRANCHARG}" 17SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb
index 75242299..37408751 100755
--- a/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb
+++ b/meta-xilinx-bsp/recipes-kernel/dp/kernel-module-dp_git.bb
@@ -11,7 +11,7 @@ S = "${WORKDIR}/git"
11 11
12BRANCH ?= "master" 12BRANCH ?= "master"
13REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" 13REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https"
14SRCREV ?= "249a69434cef40308deda8460274d4d73a7e29f2" 14SRCREV ?= "46d4790c3d37ad4b878c5a1704df26edb56314f5"
15 15
16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
17SRC_URI = "${REPO};${BRANCHARG}" 17SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb
index 6270a0f3..06949486 100644
--- a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb
+++ b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb
@@ -17,11 +17,11 @@ RDEPENDS_${PN} += " \
17 python3-humanfriendly \ 17 python3-humanfriendly \
18" 18"
19 19
20SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master" 20SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=v0.2021.x"
21 21
22LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619" 22LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619"
23 23
24SRCREV = "d2fedbb72c7e54bfb1f823cb17b28b69970b2808" 24SRCREV = "b17818f1e5f979fa1fee4452085139b15d65074d"
25 25
26S = "${WORKDIR}/git" 26S = "${WORKDIR}/git"
27 27
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb
index 8ddd24bc..63f790c0 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/libvcu-xlnx.bb
@@ -8,7 +8,7 @@ PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
8 8
9BRANCH ?= "master" 9BRANCH ?= "master"
10REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" 10REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https"
11SRCREV = "3ae40aa1167f98be5e0cb3c23065d29860929b79" 11SRCREV = "372f702dc2983f42d219ce37000eae4b0515ec85"
12 12
13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
14SRC_URI = "${REPO};${BRANCHARG}" 14SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb b/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb
index e9d4fdaa..c48c3101 100644
--- a/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb
+++ b/meta-xilinx-bsp/recipes-multimedia/vcu/vcu-firmware.bb
@@ -10,7 +10,7 @@ S = "${WORKDIR}/git"
10 10
11BRANCH ?= "master" 11BRANCH ?= "master"
12REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" 12REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https"
13SRCREV = "46f26a8fc8c660e247ab029aafcd951c400dd090" 13SRCREV = "17ef70e3a52b972f2c1f821f7b20d2f7af003711"
14 14
15BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 15BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
16SRC_URI = "${REPO};${BRANCHARG}" 16SRC_URI = "${REPO};${BRANCHARG}"
diff --git a/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc b/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc
index d17f747c..ee7492ea 100644
--- a/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc
+++ b/meta-xilinx-standalone-experimental/conf/dtb-embeddedsw.inc
@@ -6,7 +6,8 @@ ESW_VER = "experimental"
6 6
7REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https" 7REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https"
8 8
9ESW_BRANCH[experimental] = "master" 9ESW_BRANCH[experimental] = "xilinx-v2021.1-sdt-experimental"
10ESW_REV[experimental] = "3ada5314f2d3b5e2d32f21bf56997a09abbb640c" 10ESW_REV[experimental] = "329bf8fa54110034c8436d0b3b4aa40e8a56b02d"
11LIC_FILES_CHKSUM[master] = '7c92de7a21a6613265035c28f4a92f48' 11LIC_FILES_CHKSUM[master] = '7c92de7a21a6613265035c28f4a92f48'
12LIC_FILES_CHKSUM[xilinx-v2021.1-sdt-experimental] = '7c92de7a21a6613265035c28f4a92f48'
12 13
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup b/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup
index a316ecc1..894f08c8 100644
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/README-setup
@@ -1,4 +1,4 @@
1Document Version: 20210920 1Document Version: 20210930
2 2
3The Yocto Project setup for the new workflow is as follows. Be sure to read 3The Yocto Project setup for the new workflow is as follows. Be sure to read
4everything below, as the steps will be updated in the future if the 4everything below, as the steps will be updated in the future if the
@@ -39,21 +39,28 @@ however you may use any path you wish.
39<build>/prestep/dt-processor.sh <path_to_conf> <dtb> 39<build>/prestep/dt-processor.sh <path_to_conf> <dtb>
40 40
41# For example, zynqmp: 41# For example, zynqmp:
42# <build>/prestep/dt-processor.sh <build>/conf <device-tree>/zu-sep13-sdt/system-top.dts 42# <build>/prestep/dt-processor.sh <build>/conf <device-tree>/zu-sdt/system-top.dts
43# 43#
44# Follow the instructions returned by the script! 44# Follow the instructions returned by the script!
45# Such as: 45# Such as:
46#To enable this, add the following to your local.conf: 46
47# 47To enable this, add the following to your local.conf:
48#require conf/cortexa53-zynqmp-linux.conf 48
49#SYSTEM_DTFILE = "/proj/yocto/zu-sep13-sdt/system-top.dts" 49# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere
50#BBMULTICONFIG += " cortexa53-zynqmp-fsbl-baremetal cortexa53-zynqmp-baremetal cortexr5-zynqmp-baremetal microblaze-pmu" 50BASE_TMPDIR = "${TOPDIR}"
51#FSBL_DEPENDS = "" 51require conf/cortexa53-zynqmp-linux.conf
52#FSBL_MCDEPENDS = "mc::cortexa53-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy" 52SYSTEM_DTFILE = "/proj/yocto/zu_sdt/system-top.dts"
53#FSBL_DEPLOY_DIR = "${TOPDIR}/tmp-cortexa53-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}" 53BBMULTICONFIG += " cortexa53-zynqmp-fsbl-baremetal cortexa53-zynqmp-baremetal cortexa53-zynqmp-freertos cortexr5-zynqmp-fsbl-baremetal cortexr5-zynqmp-baremetal cortexr5-zynqmp-freertos microblaze-pmu"
54#PMU_DEPENDS = "" 54FSBL_DEPENDS = ""
55#PMU_MCDEPENDS = "mc::microblaze-pmu:pmu-firmware:do_deploy" 55FSBL_MCDEPENDS = "mc::cortexa53-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy"
56#PMU_FIRMWARE_DEPLOY_DIR = "${TOPDIR}/tmp-microblaze-pmu/deploy/images/${MACHINE}" 56FSBL_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-cortexa53-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}"
57R5FSBL_DEPENDS = ""
58R5FSBL_MCDEPENDS = "mc::cortexr5-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy"
59R5FSBL_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-cortexr5-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}"
60PMU_DEPENDS = ""
61PMU_MCDEPENDS = "mc::microblaze-pmu:pmu-firmware:do_deploy"
62PMU_FIRMWARE_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-pmu/deploy/images/${MACHINE}"
63
57# 64#
58# OR 65# OR
59# 66#
@@ -62,18 +69,21 @@ however you may use any path you wish.
62# 69#
63# Follow the instructions returned by the script! 70# Follow the instructions returned by the script!
64# Such as: 71# Such as:
65#To enable this, add the following to your local.conf: 72
66# 73To enable this, add the following to your local.conf:
67#require conf/cortexa72-versal-linux.conf 74
68#SYSTEM_DTFILE = "/proj/yocto/vck190-sdt/system-top.dts" 75# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere
69#BBMULTICONFIG += " cortexa72-versal-baremetal microblaze-pmc microblaze-psm cortexr5-versal-baremetal" 76BASE_TMPDIR = "${TOPDIR}"
70#PLM_DEPENDS = "" 77require conf/cortexa72-versal-linux.conf
71#PLM_MCDEPENDS = "mc::microblaze-pmc:plm-firmware:do_deploy" 78SYSTEM_DTFILE = "/proj/yocto/mhatle/DTB-FLOW/testing/vck190-sdt/system-top.dts"
72#PLM_DEPLOY_DIR = "${TOPDIR}/tmp-microblaze-pmc/deploy/images/${MACHINE}" 79BBMULTICONFIG += " cortexa72-versal-baremetal cortexa72-versal-freertos microblaze-pmc microblaze-psm cortexr5-versal-baremetal cortexr5-versal-freertos"
73#PSM_DEPENDS = "" 80PLM_DEPENDS = ""
74#PSM_MCDEPENDS = "mc::microblaze-psm:psm-firmware:do_deploy" 81PLM_MCDEPENDS = "mc::microblaze-pmc:plm-firmware:do_deploy"
75#PSM_FIRMWARE_DEPLOY_DIR = "${TOPDIR}/tmp-microblaze-psm/deploy/images/${MACHINE}" 82PLM_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-pmc/deploy/images/${MACHINE}"
76#PDI_PATH = "__PATH TO PDI FILE HERE__" 83PSM_DEPENDS = ""
84PSM_MCDEPENDS = "mc::microblaze-psm:psm-firmware:do_deploy"
85PSM_FIRMWARE_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-psm/deploy/images/${MACHINE}"
86PDI_PATH = "__PATH TO PDI FILE HERE__"
77 87
78# NOTE: On versal, you MUST specify the PDI file as directed by the instructions. 88# NOTE: On versal, you MUST specify the PDI file as directed by the instructions.
79# such as: PDI_PATH = "__PATH TO PDI FILE HERE__" 89# such as: PDI_PATH = "__PATH TO PDI FILE HERE__"
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
index fe37c4df..7712f9a8 100755
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/files/dt-processor.sh
@@ -100,13 +100,15 @@ cortex_a53_linux() {
100CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 100CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
101MACHINE = "${machine}-generic" 101MACHINE = "${machine}-generic"
102# Override the SYSTEM_DTFILE for Linux builds 102# Override the SYSTEM_DTFILE for Linux builds
103SYSTEM_DTFILE = "${CONFIG_DTFILE}" 103SYSTEM_DTFILE_linux = "\${CONFIG_DTFILE}"
104# We don't want the kernel to build us a device-tree 104# We don't want the kernel to build us a device-tree
105KERNEL_DEVICETREE_${machine}-generic = "" 105KERNEL_DEVICETREE_${machine}-generic = ""
106# We need u-boot to use the one we passed in 106# We need u-boot to use the one we passed in
107DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 107DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
108# Update bootbin to use proper device tree 108# Update bootbin to use proper device tree
109BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 109BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
110# Remap boot files to ensure the right device tree is listed first
111IMAGE_BOOT_FILES = "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))} \${@get_default_image_boot_files(d)}"
110EOF 112EOF
111} 113}
112 114
@@ -135,7 +137,7 @@ cortex_a53_baremetal() {
135 fi 137 fi
136 if [ $1 = "fsbl" ]; then 138 if [ $1 = "fsbl" ]; then
137 fsbl_mcdepends="mc::${dtb_file%%.dtb}:fsbl-firmware:do_deploy" 139 fsbl_mcdepends="mc::${dtb_file%%.dtb}:fsbl-firmware:do_deploy"
138 fsbl_deploy_dir="\${TOPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 140 fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}"
139 fi 141 fi
140 142
141 # Build device tree 143 # Build device tree
@@ -152,7 +154,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
152ESW_MACHINE = "cortexa53-${machine}" 154ESW_MACHINE = "cortexa53-${machine}"
153DEFAULTTUNE = "cortexa53" 155DEFAULTTUNE = "cortexa53"
154 156
155TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 157TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
156 158
157DISTRO = "$yocto_distro" 159DISTRO = "$yocto_distro"
158 160
@@ -190,7 +192,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
190ESW_MACHINE = "cortexa53-${machine}" 192ESW_MACHINE = "cortexa53-${machine}"
191DEFAULTTUNE = "cortexa53" 193DEFAULTTUNE = "cortexa53"
192 194
193TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 195TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
194 196
195DISTRO = "xilinx-freertos" 197DISTRO = "xilinx-freertos"
196 198
@@ -229,13 +231,15 @@ cortex_a72_linux() {
229CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" 231CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
230MACHINE = "${machine}-generic" 232MACHINE = "${machine}-generic"
231# Override the SYSTEM_DTFILE for Linux builds 233# Override the SYSTEM_DTFILE for Linux builds
232SYSTEM_DTFILE = "${CONFIG_DTFILE}" 234SYSTEM_DTFILE_linux = "\${CONFIG_DTFILE}"
233# We don't want the kernel to build us a device-tree 235# We don't want the kernel to build us a device-tree
234KERNEL_DEVICETREE_${machine}-generic = "" 236KERNEL_DEVICETREE_${machine}-generic = ""
235# We need u-boot to use the one we passed in 237# We need u-boot to use the one we passed in
236DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 238DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
237# Update bootbin to use proper device tree 239# Update bootbin to use proper device tree
238BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" 240BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}"
241# Remap boot files to ensure the right device tree is listed first
242IMAGE_BOOT_FILES = "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))} \${@get_default_image_boot_files(d)}"
239EOF 243EOF
240} 244}
241 245
@@ -268,7 +272,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
268ESW_MACHINE = "cortexa72-${machine}" 272ESW_MACHINE = "cortexa72-${machine}"
269DEFAULTTUNE = "cortexa72" 273DEFAULTTUNE = "cortexa72"
270 274
271TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 275TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
272 276
273DISTRO = "xilinx-standalone-nolto" 277DISTRO = "xilinx-standalone-nolto"
274 278
@@ -306,7 +310,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
306ESW_MACHINE = "cortexa72-${machine}" 310ESW_MACHINE = "cortexa72-${machine}"
307DEFAULTTUNE = "cortexa72" 311DEFAULTTUNE = "cortexa72"
308 312
309TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 313TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
310 314
311DISTRO = "xilinx-freertos" 315DISTRO = "xilinx-freertos"
312 316
@@ -342,7 +346,7 @@ cortex_r5_baremetal() {
342 346
343 if [ $1 = "fsbl" ]; then 347 if [ $1 = "fsbl" ]; then
344 r5fsbl_mcdepends="mc::${dtb_file%%.dtb}:fsbl-firmware:do_deploy" 348 r5fsbl_mcdepends="mc::${dtb_file%%.dtb}:fsbl-firmware:do_deploy"
345 r5fsbl_deploy_dir="\${TOPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 349 r5fsbl_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}"
346 fi 350 fi
347 # Build device tree 351 # Build device tree
348 mkdir -p dtb 352 mkdir -p dtb
@@ -358,7 +362,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
358ESW_MACHINE = "cortexr5-${machine}" 362ESW_MACHINE = "cortexr5-${machine}"
359DEFAULTTUNE = "cortexr5f" 363DEFAULTTUNE = "cortexr5f"
360 364
361TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 365TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
362 366
363DISTRO = "$yocto_distro" 367DISTRO = "$yocto_distro"
364 368
@@ -396,7 +400,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}"
396ESW_MACHINE = "cortexr5-${machine}" 400ESW_MACHINE = "cortexr5-${machine}"
397DEFAULTTUNE = "cortexr5f" 401DEFAULTTUNE = "cortexr5f"
398 402
399TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 403TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
400 404
401DISTRO = "xilinx-freertos" 405DISTRO = "xilinx-freertos"
402 406
@@ -429,7 +433,7 @@ pmu-microblaze() {
429 distro="multiconfig/includes/microblaze-pmu-distro.conf" 433 distro="multiconfig/includes/microblaze-pmu-distro.conf"
430 434
431 pmu_mcdepends="mc::${dtb_file%%.dtb}:pmu-firmware:do_deploy" 435 pmu_mcdepends="mc::${dtb_file%%.dtb}:pmu-firmware:do_deploy"
432 pmu_firmware_deploy_dir="\${TOPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 436 pmu_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}"
433 437
434 # Build device tree 438 # Build device tree
435 mkdir -p dtb 439 mkdir -p dtb
@@ -450,7 +454,7 @@ TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-pmu-microbl
450 454
451TARGET_CFLAGS += "-DPSU_PMU=1U" 455TARGET_CFLAGS += "-DPSU_PMU=1U"
452 456
453TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 457TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
454 458
455DISTRO = "xilinx-standalone" 459DISTRO = "xilinx-standalone"
456 460
@@ -468,7 +472,7 @@ pmc-microblaze() {
468 distro="multiconfig/includes/microblaze-pmc-distro.conf" 472 distro="multiconfig/includes/microblaze-pmc-distro.conf"
469 473
470 plm_mcdepends="mc::${dtb_file%%.dtb}:plm-firmware:do_deploy" 474 plm_mcdepends="mc::${dtb_file%%.dtb}:plm-firmware:do_deploy"
471 plm_deploy_dir="\${TOPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 475 plm_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}"
472 476
473 # Build device tree 477 # Build device tree
474 mkdir -p dtb 478 mkdir -p dtb
@@ -489,7 +493,7 @@ TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-pmc-microbl
489 493
490TARGET_CFLAGS += "-DVERSAL_PLM=1" 494TARGET_CFLAGS += "-DVERSAL_PLM=1"
491 495
492TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 496TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
493 497
494DISTRO = "xilinx-standalone" 498DISTRO = "xilinx-standalone"
495 499
@@ -507,7 +511,7 @@ psm-microblaze() {
507 distro="multiconfig/includes/microblaze-psm-distro.conf" 511 distro="multiconfig/includes/microblaze-psm-distro.conf"
508 512
509 psm_mcdepends="mc::${dtb_file%%.dtb}:psm-firmware:do_deploy" 513 psm_mcdepends="mc::${dtb_file%%.dtb}:psm-firmware:do_deploy"
510 psm_firmware_deploy_dir="\${TOPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}" 514 psm_firmware_deploy_dir="\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}/deploy/images/\${MACHINE}"
511 515
512 # Build device tree 516 # Build device tree
513 mkdir -p dtb 517 mkdir -p dtb
@@ -528,7 +532,7 @@ TUNE_FEATURES_tune-microblaze_forcevariable = "\${TUNE_FEATURES_tune-psm-microbl
528 532
529TARGET_CFLAGS += "-DVERSAL_psm=1" 533TARGET_CFLAGS += "-DVERSAL_psm=1"
530 534
531TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" 535TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}"
532 536
533DISTRO = "xilinx-standalone" 537DISTRO = "xilinx-standalone"
534 538
@@ -703,6 +707,8 @@ rm cpu-list.tmp
703 707
704echo "To enable this, add the following to your local.conf:" 708echo "To enable this, add the following to your local.conf:"
705echo 709echo
710echo '# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere'
711echo 'BASE_TMPDIR = "${TOPDIR}"'
706if [ -n "${system_conf}" ]; then 712if [ -n "${system_conf}" ]; then
707 echo "require ${system_conf}" 713 echo "require ${system_conf}"
708fi 714fi
diff --git a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
index 86d988c6..81b0bf1a 100644
--- a/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
+++ b/meta-xilinx-standalone-experimental/recipes-core/meta/meta-xilinx-setup.bb
@@ -45,6 +45,9 @@ do_populate_sdk[stamp-extra-info] = "${PACKAGE_ARCH}"
45 45
46REAL_MULTIMACH_TARGET_SYS = "none" 46REAL_MULTIMACH_TARGET_SYS = "none"
47 47
48# Needed to ensure README-setup and dt-processor.sh are available
49addtask do_populate_sdk after do_unpack
50
48create_sdk_files_append () { 51create_sdk_files_append () {
49 install -m 0644 ${WORKDIR}/README-setup ${SDK_OUTPUT}/${SDKPATH}/. 52 install -m 0644 ${WORKDIR}/README-setup ${SDK_OUTPUT}/${SDKPATH}/.
50 install -m 0755 ${WORKDIR}/dt-processor.sh ${SDK_OUTPUT}/${SDKPATH}/. 53 install -m 0755 ${WORKDIR}/dt-processor.sh ${SDK_OUTPUT}/${SDKPATH}/.
diff --git a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
index 3c2f2c1f..1fcd797b 100644
--- a/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
+++ b/meta-xilinx-standalone/classes/xlnx-embeddedsw.bbclass
@@ -8,7 +8,7 @@ ESW_BRANCH[2019.2] = "release-2019.2"
8ESW_BRANCH[2020.1] = "release-2020.1" 8ESW_BRANCH[2020.1] = "release-2020.1"
9ESW_BRANCH[2020.2] = "master-rel-2020.2" 9ESW_BRANCH[2020.2] = "master-rel-2020.2"
10ESW_BRANCH[2021.1] = "xlnx_rel_v2021.1" 10ESW_BRANCH[2021.1] = "xlnx_rel_v2021.1"
11ESW_BRANCH[2021.2] = "xlnx_rel_v2021.2-next" 11ESW_BRANCH[2021.2] = "xlnx_rel_v2021.2"
12ESW_BRANCH[2022.1] = "master-next" 12ESW_BRANCH[2022.1] = "master-next"
13ESW_BRANCH[git] = "master-next" 13ESW_BRANCH[git] = "master-next"
14BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}" 14BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}"
@@ -18,7 +18,7 @@ ESW_REV[2019.2] = "e8db5fb118229fdc621e0ec7848641a23bf60998"
18ESW_REV[2020.1] = "338150ab3628a1ea6b06e964b16e712b131882dd" 18ESW_REV[2020.1] = "338150ab3628a1ea6b06e964b16e712b131882dd"
19ESW_REV[2020.2] = "2516d5ed8161e16c2813b0e8e4ceac693f23de5c" 19ESW_REV[2020.2] = "2516d5ed8161e16c2813b0e8e4ceac693f23de5c"
20ESW_REV[2021.1] = "d37a0e8824182597abf31ac3f1087a5321b33ad7" 20ESW_REV[2021.1] = "d37a0e8824182597abf31ac3f1087a5321b33ad7"
21ESW_REV[2021.2] = "e768f2ddb0e45203ff5d00255d026191afdd9af9" 21ESW_REV[2021.2] = "49c6694fc3cab6b87dd564da58a83bb8656a7c03"
22ESW_REV[2022.1] = "c88eb4315cd8ff16aa3a29f537485f5631401dbc" 22ESW_REV[2022.1] = "c88eb4315cd8ff16aa3a29f537485f5631401dbc"
23ESW_REV[git] = "7ec60e1c0e25bfa9c5e8c77d6d063876f6670770" 23ESW_REV[git] = "7ec60e1c0e25bfa9c5e8c77d6d063876f6670770"
24SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or '${AUTOREV}'}" 24SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or '${AUTOREV}'}"
@@ -32,8 +32,9 @@ LIC_FILES_CHKSUM[release-2019.2] = '39ab6ab638f4d1836ba994ec6852de94'
32LIC_FILES_CHKSUM[release-2020.1] = '8b565227e1264d677db8f841c2948cba' 32LIC_FILES_CHKSUM[release-2020.1] = '8b565227e1264d677db8f841c2948cba'
33LIC_FILES_CHKSUM[master-rel-2020.2] = '3a6e22aebf6516f0f74a82e1183f74f8' 33LIC_FILES_CHKSUM[master-rel-2020.2] = '3a6e22aebf6516f0f74a82e1183f74f8'
34LIC_FILES_CHKSUM[xlnx_rel_v2021.1] = "73e8997d53c2137fdeea4331a73f40fa" 34LIC_FILES_CHKSUM[xlnx_rel_v2021.1] = "73e8997d53c2137fdeea4331a73f40fa"
35LIC_FILES_CHKSUM[xlnx_rel_v2021.2-next] = '593ba3fb8be51271097ddaa4b9c65cde' 35LIC_FILES_CHKSUM[xlnx_rel_v2021.2] = 'ba23909a4bcaf754a2e1ba996f1ca1b0'
36LIC_FILES_CHKSUM[master-next] = '37d990653fd94329b115cc07303f332f' 36LIC_FILES_CHKSUM[master-next] = '37d990653fd94329b115cc07303f332f'
37LIC_FILES_CHKSUM[master] = '593ba3fb8be51271097ddaa4b9c65cde'
37LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}" 38LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}"
38 39
39SRC_URI = "${EMBEDDEDSW_SRCURI}" 40SRC_URI = "${EMBEDDEDSW_SRCURI}"