diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-10-22 13:22:06 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2021-10-22 13:22:06 -0700 |
| commit | f2be6ce9ffce60e201b666a9412d0aa37fd7e0a3 (patch) | |
| tree | 92fda42b4cfb938a18f7676e6af6f08ee81005e3 | |
| parent | 0a261dc46294a94ebeaa33dfdaffeca9f2294150 (diff) | |
| parent | b9e0d5a296bd3dc407c36cec079c98488233ff0e (diff) | |
| download | meta-xilinx-f2be6ce9ffce60e201b666a9412d0aa37fd7e0a3.tar.gz | |
Merge remote-tracking branch 'xilinx/rel-v2021.2' into 2022
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
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 @@ | |||
| 1 | ATF_VERSION = "2.4" | 1 | ATF_VERSION = "2.4" |
| 2 | SRCREV = "799131a3b063f6f24f87baa74e46906c076aebcd" | 2 | SRCREV = "9188496b9b23a665782bb3d2c2b9e3b29b7fb4e2" |
| 3 | BRANCH = "xlnx_rebase_v2.4" | 3 | BRANCH = "xlnx_rebase_v2.4" |
| 4 | LIC_FILES_CHKSUM = "file://license.rst;md5=1dd070c98a281d18d9eefd938729b031" | 4 | LIC_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 | ||
| 12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" |
| 13 | BRANCH ?= "xlnx_rel_v2021.2" | 13 | BRANCH ?= "xlnx_rel_v2021.2" |
| 14 | SRCREV = "f196bddc500dfb244aeabba264e66358c35d51dd" | 14 | SRCREV = "5b6fe16a2bfd7ced4d90b70b0ba6fbf325e81e97" |
| 15 | 15 | ||
| 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 17 | SRC_URI = "${REPO};${BRANCHARG}" | 17 | SRC_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 | ||
| 12 | BRANCH ?= "master" | 12 | BRANCH ?= "master" |
| 13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" | 13 | REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" |
| 14 | SRCREV ?= "249a69434cef40308deda8460274d4d73a7e29f2" | 14 | SRCREV ?= "46d4790c3d37ad4b878c5a1704df26edb56314f5" |
| 15 | 15 | ||
| 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 17 | SRC_URI = "${REPO};${BRANCHARG}" | 17 | SRC_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 | ||
| 20 | SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master" | 20 | SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=v0.2021.x" |
| 21 | 21 | ||
| 22 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619" | 22 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619" |
| 23 | 23 | ||
| 24 | SRCREV = "d2fedbb72c7e54bfb1f823cb17b28b69970b2808" | 24 | SRCREV = "b17818f1e5f979fa1fee4452085139b15d65074d" |
| 25 | 25 | ||
| 26 | S = "${WORKDIR}/git" | 26 | S = "${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 | ||
| 9 | BRANCH ?= "master" | 9 | BRANCH ?= "master" |
| 10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | 10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" |
| 11 | SRCREV = "3ae40aa1167f98be5e0cb3c23065d29860929b79" | 11 | SRCREV = "372f702dc2983f42d219ce37000eae4b0515ec85" |
| 12 | 12 | ||
| 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 14 | SRC_URI = "${REPO};${BRANCHARG}" | 14 | SRC_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 | ||
| 11 | BRANCH ?= "master" | 11 | BRANCH ?= "master" |
| 12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" | 12 | REPO ?= "git://github.com/Xilinx/vcu-firmware.git;protocol=https" |
| 13 | SRCREV = "46f26a8fc8c660e247ab029aafcd951c400dd090" | 13 | SRCREV = "17ef70e3a52b972f2c1f821f7b20d2f7af003711" |
| 14 | 14 | ||
| 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 16 | SRC_URI = "${REPO};${BRANCHARG}" | 16 | SRC_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 | ||
| 7 | REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https" | 7 | REPO = "git://github.com/Xilinx/embeddedsw-experimental-dt-support.git;protocol=https" |
| 8 | 8 | ||
| 9 | ESW_BRANCH[experimental] = "master" | 9 | ESW_BRANCH[experimental] = "xilinx-v2021.1-sdt-experimental" |
| 10 | ESW_REV[experimental] = "3ada5314f2d3b5e2d32f21bf56997a09abbb640c" | 10 | ESW_REV[experimental] = "329bf8fa54110034c8436d0b3b4aa40e8a56b02d" |
| 11 | LIC_FILES_CHKSUM[master] = '7c92de7a21a6613265035c28f4a92f48' | 11 | LIC_FILES_CHKSUM[master] = '7c92de7a21a6613265035c28f4a92f48' |
| 12 | LIC_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 @@ | |||
| 1 | Document Version: 20210920 | 1 | Document Version: 20210930 |
| 2 | 2 | ||
| 3 | The Yocto Project setup for the new workflow is as follows. Be sure to read | 3 | The Yocto Project setup for the new workflow is as follows. Be sure to read |
| 4 | everything below, as the steps will be updated in the future if the | 4 | everything 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 | # | 47 | To 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" | 50 | BASE_TMPDIR = "${TOPDIR}" |
| 51 | #FSBL_DEPENDS = "" | 51 | require conf/cortexa53-zynqmp-linux.conf |
| 52 | #FSBL_MCDEPENDS = "mc::cortexa53-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy" | 52 | SYSTEM_DTFILE = "/proj/yocto/zu_sdt/system-top.dts" |
| 53 | #FSBL_DEPLOY_DIR = "${TOPDIR}/tmp-cortexa53-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}" | 53 | BBMULTICONFIG += " 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 = "" | 54 | FSBL_DEPENDS = "" |
| 55 | #PMU_MCDEPENDS = "mc::microblaze-pmu:pmu-firmware:do_deploy" | 55 | FSBL_MCDEPENDS = "mc::cortexa53-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy" |
| 56 | #PMU_FIRMWARE_DEPLOY_DIR = "${TOPDIR}/tmp-microblaze-pmu/deploy/images/${MACHINE}" | 56 | FSBL_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-cortexa53-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}" |
| 57 | R5FSBL_DEPENDS = "" | ||
| 58 | R5FSBL_MCDEPENDS = "mc::cortexr5-zynqmp-fsbl-baremetal:fsbl-firmware:do_deploy" | ||
| 59 | R5FSBL_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-cortexr5-zynqmp-fsbl-baremetal/deploy/images/${MACHINE}" | ||
| 60 | PMU_DEPENDS = "" | ||
| 61 | PMU_MCDEPENDS = "mc::microblaze-pmu:pmu-firmware:do_deploy" | ||
| 62 | PMU_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 | # | 73 | To 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" | 76 | BASE_TMPDIR = "${TOPDIR}" |
| 70 | #PLM_DEPENDS = "" | 77 | require conf/cortexa72-versal-linux.conf |
| 71 | #PLM_MCDEPENDS = "mc::microblaze-pmc:plm-firmware:do_deploy" | 78 | SYSTEM_DTFILE = "/proj/yocto/mhatle/DTB-FLOW/testing/vck190-sdt/system-top.dts" |
| 72 | #PLM_DEPLOY_DIR = "${TOPDIR}/tmp-microblaze-pmc/deploy/images/${MACHINE}" | 79 | BBMULTICONFIG += " cortexa72-versal-baremetal cortexa72-versal-freertos microblaze-pmc microblaze-psm cortexr5-versal-baremetal cortexr5-versal-freertos" |
| 73 | #PSM_DEPENDS = "" | 80 | PLM_DEPENDS = "" |
| 74 | #PSM_MCDEPENDS = "mc::microblaze-psm:psm-firmware:do_deploy" | 81 | PLM_MCDEPENDS = "mc::microblaze-pmc:plm-firmware:do_deploy" |
| 75 | #PSM_FIRMWARE_DEPLOY_DIR = "${TOPDIR}/tmp-microblaze-psm/deploy/images/${MACHINE}" | 82 | PLM_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-pmc/deploy/images/${MACHINE}" |
| 76 | #PDI_PATH = "__PATH TO PDI FILE HERE__" | 83 | PSM_DEPENDS = "" |
| 84 | PSM_MCDEPENDS = "mc::microblaze-psm:psm-firmware:do_deploy" | ||
| 85 | PSM_FIRMWARE_DEPLOY_DIR = "${BASE_TMPDIR}/tmp-microblaze-psm/deploy/images/${MACHINE}" | ||
| 86 | PDI_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() { | |||
| 100 | CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" | 100 | CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" |
| 101 | MACHINE = "${machine}-generic" | 101 | MACHINE = "${machine}-generic" |
| 102 | # Override the SYSTEM_DTFILE for Linux builds | 102 | # Override the SYSTEM_DTFILE for Linux builds |
| 103 | SYSTEM_DTFILE = "${CONFIG_DTFILE}" | 103 | SYSTEM_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 |
| 105 | KERNEL_DEVICETREE_${machine}-generic = "" | 105 | KERNEL_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 |
| 107 | DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 107 | DEVICE_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 |
| 109 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 109 | BIF_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 | ||
| 111 | IMAGE_BOOT_FILES = "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))} \${@get_default_image_boot_files(d)}" | ||
| 110 | EOF | 112 | EOF |
| 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}" | |||
| 152 | ESW_MACHINE = "cortexa53-${machine}" | 154 | ESW_MACHINE = "cortexa53-${machine}" |
| 153 | DEFAULTTUNE = "cortexa53" | 155 | DEFAULTTUNE = "cortexa53" |
| 154 | 156 | ||
| 155 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 157 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 156 | 158 | ||
| 157 | DISTRO = "$yocto_distro" | 159 | DISTRO = "$yocto_distro" |
| 158 | 160 | ||
| @@ -190,7 +192,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" | |||
| 190 | ESW_MACHINE = "cortexa53-${machine}" | 192 | ESW_MACHINE = "cortexa53-${machine}" |
| 191 | DEFAULTTUNE = "cortexa53" | 193 | DEFAULTTUNE = "cortexa53" |
| 192 | 194 | ||
| 193 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 195 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 194 | 196 | ||
| 195 | DISTRO = "xilinx-freertos" | 197 | DISTRO = "xilinx-freertos" |
| 196 | 198 | ||
| @@ -229,13 +231,15 @@ cortex_a72_linux() { | |||
| 229 | CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" | 231 | CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" |
| 230 | MACHINE = "${machine}-generic" | 232 | MACHINE = "${machine}-generic" |
| 231 | # Override the SYSTEM_DTFILE for Linux builds | 233 | # Override the SYSTEM_DTFILE for Linux builds |
| 232 | SYSTEM_DTFILE = "${CONFIG_DTFILE}" | 234 | SYSTEM_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 |
| 234 | KERNEL_DEVICETREE_${machine}-generic = "" | 236 | KERNEL_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 |
| 236 | DEVICE_TREE_NAME_pn-u-boot-zynq-scr = "\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 238 | DEVICE_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 |
| 238 | BIF_PARTITION_IMAGE[device-tree] = "\${RECIPE_SYSROOT}/boot/devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))}" | 240 | BIF_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 | ||
| 242 | IMAGE_BOOT_FILES = "devicetree/\${@os.path.basename(d.getVar('CONFIG_DTFILE'))} \${@get_default_image_boot_files(d)}" | ||
| 239 | EOF | 243 | EOF |
| 240 | } | 244 | } |
| 241 | 245 | ||
| @@ -268,7 +272,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" | |||
| 268 | ESW_MACHINE = "cortexa72-${machine}" | 272 | ESW_MACHINE = "cortexa72-${machine}" |
| 269 | DEFAULTTUNE = "cortexa72" | 273 | DEFAULTTUNE = "cortexa72" |
| 270 | 274 | ||
| 271 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 275 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 272 | 276 | ||
| 273 | DISTRO = "xilinx-standalone-nolto" | 277 | DISTRO = "xilinx-standalone-nolto" |
| 274 | 278 | ||
| @@ -306,7 +310,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" | |||
| 306 | ESW_MACHINE = "cortexa72-${machine}" | 310 | ESW_MACHINE = "cortexa72-${machine}" |
| 307 | DEFAULTTUNE = "cortexa72" | 311 | DEFAULTTUNE = "cortexa72" |
| 308 | 312 | ||
| 309 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 313 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 310 | 314 | ||
| 311 | DISTRO = "xilinx-freertos" | 315 | DISTRO = "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}" | |||
| 358 | ESW_MACHINE = "cortexr5-${machine}" | 362 | ESW_MACHINE = "cortexr5-${machine}" |
| 359 | DEFAULTTUNE = "cortexr5f" | 363 | DEFAULTTUNE = "cortexr5f" |
| 360 | 364 | ||
| 361 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 365 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 362 | 366 | ||
| 363 | DISTRO = "$yocto_distro" | 367 | DISTRO = "$yocto_distro" |
| 364 | 368 | ||
| @@ -396,7 +400,7 @@ CONFIG_DTFILE = "\${TOPDIR}/conf/dtb/${dtb_file}" | |||
| 396 | ESW_MACHINE = "cortexr5-${machine}" | 400 | ESW_MACHINE = "cortexr5-${machine}" |
| 397 | DEFAULTTUNE = "cortexr5f" | 401 | DEFAULTTUNE = "cortexr5f" |
| 398 | 402 | ||
| 399 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 403 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 400 | 404 | ||
| 401 | DISTRO = "xilinx-freertos" | 405 | DISTRO = "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 | ||
| 451 | TARGET_CFLAGS += "-DPSU_PMU=1U" | 455 | TARGET_CFLAGS += "-DPSU_PMU=1U" |
| 452 | 456 | ||
| 453 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 457 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 454 | 458 | ||
| 455 | DISTRO = "xilinx-standalone" | 459 | DISTRO = "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 | ||
| 490 | TARGET_CFLAGS += "-DVERSAL_PLM=1" | 494 | TARGET_CFLAGS += "-DVERSAL_PLM=1" |
| 491 | 495 | ||
| 492 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 496 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 493 | 497 | ||
| 494 | DISTRO = "xilinx-standalone" | 498 | DISTRO = "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 | ||
| 529 | TARGET_CFLAGS += "-DVERSAL_psm=1" | 533 | TARGET_CFLAGS += "-DVERSAL_psm=1" |
| 530 | 534 | ||
| 531 | TMPDIR = "\${TOPDIR}/tmp-${dtb_file%%.dtb}" | 535 | TMPDIR = "\${BASE_TMPDIR}/tmp-${dtb_file%%.dtb}" |
| 532 | 536 | ||
| 533 | DISTRO = "xilinx-standalone" | 537 | DISTRO = "xilinx-standalone" |
| 534 | 538 | ||
| @@ -703,6 +707,8 @@ rm cpu-list.tmp | |||
| 703 | 707 | ||
| 704 | echo "To enable this, add the following to your local.conf:" | 708 | echo "To enable this, add the following to your local.conf:" |
| 705 | echo | 709 | echo |
| 710 | echo '# Adjust BASE_TMPDIR if you want to move the tmpdirs elsewhere' | ||
| 711 | echo 'BASE_TMPDIR = "${TOPDIR}"' | ||
| 706 | if [ -n "${system_conf}" ]; then | 712 | if [ -n "${system_conf}" ]; then |
| 707 | echo "require ${system_conf}" | 713 | echo "require ${system_conf}" |
| 708 | fi | 714 | fi |
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 | ||
| 46 | REAL_MULTIMACH_TARGET_SYS = "none" | 46 | REAL_MULTIMACH_TARGET_SYS = "none" |
| 47 | 47 | ||
| 48 | # Needed to ensure README-setup and dt-processor.sh are available | ||
| 49 | addtask do_populate_sdk after do_unpack | ||
| 50 | |||
| 48 | create_sdk_files_append () { | 51 | create_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" | |||
| 8 | ESW_BRANCH[2020.1] = "release-2020.1" | 8 | ESW_BRANCH[2020.1] = "release-2020.1" |
| 9 | ESW_BRANCH[2020.2] = "master-rel-2020.2" | 9 | ESW_BRANCH[2020.2] = "master-rel-2020.2" |
| 10 | ESW_BRANCH[2021.1] = "xlnx_rel_v2021.1" | 10 | ESW_BRANCH[2021.1] = "xlnx_rel_v2021.1" |
| 11 | ESW_BRANCH[2021.2] = "xlnx_rel_v2021.2-next" | 11 | ESW_BRANCH[2021.2] = "xlnx_rel_v2021.2" |
| 12 | ESW_BRANCH[2022.1] = "master-next" | 12 | ESW_BRANCH[2022.1] = "master-next" |
| 13 | ESW_BRANCH[git] = "master-next" | 13 | ESW_BRANCH[git] = "master-next" |
| 14 | BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}" | 14 | BRANCH ??= "${@d.getVarFlag('ESW_BRANCH', d.getVar('ESW_VER')) or '${ESW_VER}'}" |
| @@ -18,7 +18,7 @@ ESW_REV[2019.2] = "e8db5fb118229fdc621e0ec7848641a23bf60998" | |||
| 18 | ESW_REV[2020.1] = "338150ab3628a1ea6b06e964b16e712b131882dd" | 18 | ESW_REV[2020.1] = "338150ab3628a1ea6b06e964b16e712b131882dd" |
| 19 | ESW_REV[2020.2] = "2516d5ed8161e16c2813b0e8e4ceac693f23de5c" | 19 | ESW_REV[2020.2] = "2516d5ed8161e16c2813b0e8e4ceac693f23de5c" |
| 20 | ESW_REV[2021.1] = "d37a0e8824182597abf31ac3f1087a5321b33ad7" | 20 | ESW_REV[2021.1] = "d37a0e8824182597abf31ac3f1087a5321b33ad7" |
| 21 | ESW_REV[2021.2] = "e768f2ddb0e45203ff5d00255d026191afdd9af9" | 21 | ESW_REV[2021.2] = "49c6694fc3cab6b87dd564da58a83bb8656a7c03" |
| 22 | ESW_REV[2022.1] = "c88eb4315cd8ff16aa3a29f537485f5631401dbc" | 22 | ESW_REV[2022.1] = "c88eb4315cd8ff16aa3a29f537485f5631401dbc" |
| 23 | ESW_REV[git] = "7ec60e1c0e25bfa9c5e8c77d6d063876f6670770" | 23 | ESW_REV[git] = "7ec60e1c0e25bfa9c5e8c77d6d063876f6670770" |
| 24 | SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or '${AUTOREV}'}" | 24 | SRCREV ??= "${@d.getVarFlag('ESW_REV', d.getVar('ESW_VER')) or '${AUTOREV}'}" |
| @@ -32,8 +32,9 @@ LIC_FILES_CHKSUM[release-2019.2] = '39ab6ab638f4d1836ba994ec6852de94' | |||
| 32 | LIC_FILES_CHKSUM[release-2020.1] = '8b565227e1264d677db8f841c2948cba' | 32 | LIC_FILES_CHKSUM[release-2020.1] = '8b565227e1264d677db8f841c2948cba' |
| 33 | LIC_FILES_CHKSUM[master-rel-2020.2] = '3a6e22aebf6516f0f74a82e1183f74f8' | 33 | LIC_FILES_CHKSUM[master-rel-2020.2] = '3a6e22aebf6516f0f74a82e1183f74f8' |
| 34 | LIC_FILES_CHKSUM[xlnx_rel_v2021.1] = "73e8997d53c2137fdeea4331a73f40fa" | 34 | LIC_FILES_CHKSUM[xlnx_rel_v2021.1] = "73e8997d53c2137fdeea4331a73f40fa" |
| 35 | LIC_FILES_CHKSUM[xlnx_rel_v2021.2-next] = '593ba3fb8be51271097ddaa4b9c65cde' | 35 | LIC_FILES_CHKSUM[xlnx_rel_v2021.2] = 'ba23909a4bcaf754a2e1ba996f1ca1b0' |
| 36 | LIC_FILES_CHKSUM[master-next] = '37d990653fd94329b115cc07303f332f' | 36 | LIC_FILES_CHKSUM[master-next] = '37d990653fd94329b115cc07303f332f' |
| 37 | LIC_FILES_CHKSUM[master] = '593ba3fb8be51271097ddaa4b9c65cde' | ||
| 37 | LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}" | 38 | LIC_FILES_CHKSUM ??= "file://license.txt;md5=${@d.getVarFlag('LIC_FILES_CHKSUM', d.getVar('BRANCH')) or '0'}" |
| 38 | 39 | ||
| 39 | SRC_URI = "${EMBEDDEDSW_SRCURI}" | 40 | SRC_URI = "${EMBEDDEDSW_SRCURI}" |
