summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-core/conf
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2023-01-10 09:28:30 -0800
committerMark Hatle <mark.hatle@amd.com>2023-04-10 09:03:22 -0700
commit12fb5052aab5e352299c044f367b7f47af84ff84 (patch)
treedd5c8e9a175726b903703c0dda49edbe3048cc81 /meta-xilinx-core/conf
parent34e7fcb94226e430dea3d00d5e262084b06fa113 (diff)
downloadmeta-xilinx-12fb5052aab5e352299c044f367b7f47af84ff84.tar.gz
u-boot-xlnx: Add u-boot-tools-xlnx
Update the PREFERRED VERSION to select the new u-boot version, add preferred provider for u-boot-tools to be u-boot-tools-xlnx. Split the microblaze configs to support older and newer versions as well. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/conf')
-rw-r--r--meta-xilinx-core/conf/layer.conf1
-rw-r--r--meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc3
2 files changed, 4 insertions, 0 deletions
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf
index 616530d9..2da26edd 100644
--- a/meta-xilinx-core/conf/layer.conf
+++ b/meta-xilinx-core/conf/layer.conf
@@ -63,6 +63,7 @@ XILINX_UBOOT_VERSION[v2022.1] = "v2021.01-xilinx-v2022.1%"
63XILINX_UBOOT_VERSION[v2022.2] = "v2021.01-xilinx-v2022.2%" 63XILINX_UBOOT_VERSION[v2022.2] = "v2021.01-xilinx-v2022.2%"
64 64
65PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}" 65PREFERRED_VERSION_u-boot-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}"
66PREFERRED_VERSION_u-boot-tools-xlnx ?= "${@d.getVarFlag('XILINX_UBOOT_VERSION', d.getVar('XILINX_RELEASE_VERSION')) or 'undefined'}"
66 67
67XILINX_LINUX_VERSION[v2022.1] = "5.15.19-xilinx-v2022.1%" 68XILINX_LINUX_VERSION[v2022.1] = "5.15.19-xilinx-v2022.1%"
68XILINX_LINUX_VERSION[v2022.2] = "5.15.36-xilinx-v2022.2%" 69XILINX_LINUX_VERSION[v2022.2] = "5.15.36-xilinx-v2022.2%"
diff --git a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
index dc6ab05c..0cbd4249 100644
--- a/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-core/conf/machine/include/machine-xilinx-default.inc
@@ -16,6 +16,9 @@ PREFERRED_PROVIDER_virtual/kernel ??= "linux-xlnx"
16# U-Boot Configuration 16# U-Boot Configuration
17PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-xlnx" 17PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-xlnx"
18PREFERRED_PROVIDER_virtual/boot-bin ??= "xilinx-bootbin" 18PREFERRED_PROVIDER_virtual/boot-bin ??= "xilinx-bootbin"
19PREFERRED_PROVIDER_u-boot-tools ??= "u-boot-tools-xlnx"
20PREFERRED_PROVIDER_u-boot-tools-native ??= "u-boot-tools-xlnx-native"
21PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-u-boot-tools-xlnx"
19 22
20do_image_wic[depends] += "${@' '.join('%s:do_deploy' % r for r in (d.getVar('WIC_DEPENDS') or "").split())}" 23do_image_wic[depends] += "${@' '.join('%s:do_deploy' % r for r in (d.getVar('WIC_DEPENDS') or "").split())}"
21 24