summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2024-05-16 17:59:04 -0600
committerMark Hatle <mark.hatle@amd.com>2024-05-18 13:08:08 -0600
commite232ecb5670ea455292057c2505f3e0506ee1a74 (patch)
treeb0fc90d884d20f3fb2fff31c1b38d9f0c05b65fc
parentf367f6c0b371301738a7e5f93607be4dd5bc9744 (diff)
downloadmeta-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>
-rw-r--r--meta-xilinx-core/conf/layer.conf8
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2021.01-xilinx-v2022.1.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.1.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.01-xilinx-v2022.2.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2022.2.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.1.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.1.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.01-xilinx-v2023.2.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-tools-xlnx_2023.2.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.1.inc4
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2022.2.inc4
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.1.inc4
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-2023.2.inc4
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-common.inc6
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2021.01-xilinx-v2022.1.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.1.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.01-xilinx-v2022.2.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2022.2.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.1.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.1.bb)0
-rw-r--r--meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.01-xilinx-v2023.2.bb (renamed from meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx_2023.2.bb)0
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%"
56XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%" 56XILINX_ATF_VERSION[v2023.2] = "2.8-xilinx-v2023.2%"
57PREFERRED_VERSION_arm-trusted-firmware ?= "${@d.getVarFlag('XILINX_ATF_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" 57PREFERRED_VERSION_arm-trusted-firmware ?= "${@d.getVarFlag('XILINX_ATF_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}"
58 58
59XILINX_UBOOT_VERSION[v2022.1] = "1:v2021.01-xilinx-v2022.1%" 59XILINX_UBOOT_VERSION[v2022.1] = "1:2021.01-xilinx-v2022.1%"
60XILINX_UBOOT_VERSION[v2022.2] = "1:v2022.01-xilinx-v2022.2%" 60XILINX_UBOOT_VERSION[v2022.2] = "1:2022.01-xilinx-v2022.2%"
61XILINX_UBOOT_VERSION[v2023.1] = "1:v2023.01-xilinx-v2023.1%" 61XILINX_UBOOT_VERSION[v2023.1] = "1:2023.01-xilinx-v2023.1%"
62XILINX_UBOOT_VERSION[v2023.2] = "1:v2023.01-xilinx-v2023.2%" 62XILINX_UBOOT_VERSION[v2023.2] = "1:2023.01-xilinx-v2023.2%"
63 63
64PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" 64PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}"
65PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" 65PREFERRED_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 @@
1UBOOT_VERSION = "v2021.01"
2
3UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" 1UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update"
4 2
5SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e" 3SRCREV = "91ad7924e7f59584d597353e1bb86794341e0a7e"
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \
15 " 13 "
16 14
17DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" 15DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
16
17FILESEXTRAPATHS: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 @@
1UBOOT_VERSION = "v2022.01"
2
3UBRANCH ?= "xlnx_rebase_v2022.01" 1UBRANCH ?= "xlnx_rebase_v2022.01"
4 2
5SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530" 3SRCREV = "b31476685debf5512ed0d4e8000fa5167a22f530"
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \
15 " 13 "
16 14
17DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" 15DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
16
17FILESEXTRAPATHS: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 @@
1UBOOT_VERSION = "v2023.01"
2
3UBRANCH = "xlnx_rebase_v2023.01_update" 1UBRANCH = "xlnx_rebase_v2023.01_update"
4 2
5SRCREV = "1689570b68dd3827e527a520805aa0bb7f58ee09" 3SRCREV = "1689570b68dd3827e527a520805aa0bb7f58ee09"
@@ -15,3 +13,5 @@ HAS_PLATFORM_INIT ?= " \
15 " 13 "
16 14
17DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" 15DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
16
17FILESEXTRAPATHS: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 @@
1UBOOT_VERSION = "v2023.01"
2
3UBRANCH = "xlnx_rebase_v2023.01" 1UBRANCH = "xlnx_rebase_v2023.01"
4 2
5SRCREV = "2b54ad6f1d278c419b927d10db2edf323d844578" 3SRCREV = "2b54ad6f1d278c419b927d10db2edf323d844578"
@@ -18,6 +16,8 @@ DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native"
18 16
19SRC_URI:append:microblaze = " file://microblaze-generic-top.h" 17SRC_URI:append:microblaze = " file://microblaze-generic-top.h"
20 18
19FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-v2023.01:"
20
21do_configure:prepend:microblaze () { 21do_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 1PV .= "+git"
2UBOOT_VERSION_EXTENSION ?= "-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}"
3PV = "${UBOOT_VERSION}${UBOOT_VERSION_EXTENSION}+git"
4 2
5UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https" 3UBOOTURI ?= "git://github.com/Xilinx/u-boot-xlnx.git;protocol=https"
6UBRANCH ?= "" 4UBRANCH ?= ""
@@ -11,8 +9,6 @@ SRC_URI = "${UBOOTURI};${UBRANCHARG}"
11S = "${WORKDIR}/git" 9S = "${WORKDIR}/git"
12B = "${WORKDIR}/build" 10B = "${WORKDIR}/build"
13 11
14FILESEXTRAPATHS:prepend := "${THISDIR}/u-boot-${UBOOT_VERSION}:"
15
16UBOOT_MB_INC = "" 12UBOOT_MB_INC = ""
17UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc" 13UBOOT_MB_INC:microblaze = "u-boot-xlnx-microblaze.inc"
18require ${UBOOT_MB_INC} 14require ${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