diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2024-05-16 17:59:04 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-05-18 13:08:08 -0600 |
| commit | e232ecb5670ea455292057c2505f3e0506ee1a74 (patch) | |
| tree | b0fc90d884d20f3fb2fff31c1b38d9f0c05b65fc | |
| parent | f367f6c0b371301738a7e5f93607be4dd5bc9744 (diff) | |
| download | meta-xilinx-e232ecb5670ea455292057c2505f3e0506ee1a74.tar.gz | |
u-boot-xlnx: Clean up recipe versions
Instead of recipe version and PV being different, move to recipe version
matching the expected PV value.
Note, prior pv had a 'v' in it, this has been removed to match upstream
Yocto Project numbering.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
14 files changed, 13 insertions, 17 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf index ada4e688..c5594d75 100644 --- a/meta-xilinx-core/conf/layer.conf +++ b/meta-xilinx-core/conf/layer.conf | |||
| @@ -56,10 +56,10 @@ XILINX_ATF_VERSION[v2023.1] = "2.8-xilinx-v2023.1%" | |||
| 56 | XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%" | 56 | XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%" |
| 57 | PREFERRED_VERSION_arm-trusted-firmware ?= "${@d.getVarFlag('XILINX_ATF_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 57 | PREFERRED_VERSION_arm-trusted-firmware ?= "${@d.getVarFlag('XILINX_ATF_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
| 58 | 58 | ||
| 59 | XILINX_UBOOT_VERSION[v2022.1] = "1:v2021.01-xilinx-v2022.1%" | 59 | XILINX_UBOOT_VERSION[v2022.1] = "1:2021.01-xilinx-v2022.1%" |
| 60 | XILINX_UBOOT_VERSION[v2022.2] = "1:v2022.01-xilinx-v2022.2%" | 60 | XILINX_UBOOT_VERSION[v2022.2] = "1:2022.01-xilinx-v2022.2%" |
| 61 | XILINX_UBOOT_VERSION[v2023.1] = "1:v2023.01-xilinx-v2023.1%" | 61 | XILINX_UBOOT_VERSION[v2023.1] = "1:2023.01-xilinx-v2023.1%" |
| 62 | XILINX_UBOOT_VERSION[v2023.2] = "1:v2023.01-xilinx-v2023.2%" | 62 | XILINX_UBOOT_VERSION[v2023.2] = "1:2023.01-xilinx-v2023.2%" |
| 63 | 63 | ||
| 64 | PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 64 | PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
| 65 | PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" | 65 | PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb index 94369955..94369955 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb index 6b033f0f..6b033f0f 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.1.bb index fe5ecf79..fe5ecf79 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.2.bb index 43fec635..43fec635 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc index a0c0b50d..69c7a639 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | UBOOT_VERSION = "v2021.01" | ||
| 2 | |||
| 3 | UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" | 1 | UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" |
| 4 | 2 | ||
| 5 | SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e" | 3 | SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e" |
| @@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
| 15 | " | 13 | " |
| 16 | 14 | ||
| 17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
| 16 | |||
| 17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2021.01:" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc index f9b8f52b..d111ae99 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | UBOOT_VERSION = "v2022.01" | ||
| 2 | |||
| 3 | UBRANCH ?= "xlnx_rebase_v2022.01" | 1 | UBRANCH ?= "xlnx_rebase_v2022.01" |
| 4 | 2 | ||
| 5 | SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530" | 3 | SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530" |
| @@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
| 15 | " | 13 | " |
| 16 | 14 | ||
| 17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
| 16 | |||
| 17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2022.01:" | ||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc index 72f43f71..1fd191f0 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | UBOOT_VERSION = "v2023.01" | ||
| 2 | |||
| 3 | UBRANCH = "xlnx_rebase_v2023.01_update" | 1 | UBRANCH = "xlnx_rebase_v2023.01_update" |
| 4 | 2 | ||
| 5 | SRCREV = "1689570b68dd3827e527a520805aa0bb7f58ee09" | 3 | SRCREV = "1689570b68dd3827e527a520805aa0bb7f58ee09" |
| @@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \ | |||
| 15 | " | 13 | " |
| 16 | 14 | ||
| 17 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 15 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
| 16 | |||
| 17 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:" | ||
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 2e761ebe..86ba82bb 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 | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | UBOOT_VERSION = "v2023.01" | ||
| 2 | |||
| 3 | UBRANCH = "xlnx_rebase_v2023.01" | 1 | UBRANCH = "xlnx_rebase_v2023.01" |
| 4 | 2 | ||
| 5 | SRCREV = "2b54ad6f1d278c419b927d10db2edf323d844578" | 3 | SRCREV = "2b54ad6f1d278c419b927d10db2edf323d844578" |
| @@ -18,6 +16,8 @@ DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | |||
| 18 | 16 | ||
| 19 | SRC_URI:append:microblaze = " file://microblaze-generic-top.h" | 17 | SRC_URI:append:microblaze = " file://microblaze-generic-top.h" |
| 20 | 18 | ||
| 19 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:" | ||
| 20 | |||
| 21 | do_configure:prepend:microblaze () { | 21 | do_configure:prepend:microblaze () { |
| 22 | install ${WORKDIR}/microblaze-generic-top.h ${S}/include/configs/ | 22 | install ${WORKDIR}/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 02844d21..765af276 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 | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | # Use the name of the .bb for the extension | 1 | PV .= "+git" |
| 2 | UBOOT_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}" | ||
| 3 | PV = "${UBOOT_VERSION}${UBOOT_VERSION_EXTENSION}+git" | ||
| 4 | 2 | ||
| 5 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" | 3 | UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" |
| 6 | UBRANCH ?= "" | 4 | UBRANCH ?= "" |
| @@ -11,8 +9,6 @@ SRC_URI = "${UBOOTURI};${UBRANCHARG}" | |||
| 11 | S = "${WORKDIR}/git" | 9 | S = "${WORKDIR}/git" |
| 12 | B = "${WORKDIR}/build" | 10 | B = "${WORKDIR}/build" |
| 13 | 11 | ||
| 14 | FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-${UBOOT_VERSION}:" | ||
| 15 | |||
| 16 | UBOOT_MB_INC = "" | 12 | UBOOT_MB_INC = "" |
| 17 | UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc" | 13 | UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc" |
| 18 | require ${UBOOT_MB_INC} | 14 | require ${UBOOT_MB_INC} |
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb index c1c45e56..c1c45e56 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb index b10f321b..b10f321b 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.1.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.1.bb index fd76bc51..fd76bc51 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.1.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.1.bb | |||
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.2.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.2.bb index 22075424..22075424 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.2.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.2.bb | |||
