summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@amd.com>2022-09-12 17:14:45 -0700
committerMark Hatle <mark.hatle@amd.com>2022-09-12 17:14:45 -0700
commitfb44a4e29a40c2653735358da4668c6ae2736fab (patch)
tree3c4357f5430f1d75e6f0de47dcbd506685abbf4a
parente859586f3432f9ef5f4c2930cd2821a0075868e8 (diff)
downloadmeta-xilinx-fb44a4e29a40c2653735358da4668c6ae2736fab.tar.gz
User can now set XILINX_RELEASE_VERSION to either 'v2022.1' or 'v2022.2'
This will in-turn select the preferred version for various components to match a given release. It is advise that the user use the latest version whenever possible, but if they are stuck on an older version of Vivado they may need to select the older release. Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r--meta-xilinx-bsp/conf/layer.conf2
-rw-r--r--meta-xilinx-contrib/conf/layer.conf2
-rw-r--r--meta-xilinx-core/conf/layer.conf13
-rw-r--r--meta-xilinx-core/conf/local.conf.sample2
-rw-r--r--meta-xilinx-standalone/conf/layer.conf7
5 files changed, 21 insertions, 5 deletions
diff --git a/meta-xilinx-bsp/conf/layer.conf b/meta-xilinx-bsp/conf/layer.conf
index b5bb3b19..ef9e1a1d 100644
--- a/meta-xilinx-bsp/conf/layer.conf
+++ b/meta-xilinx-bsp/conf/layer.conf
@@ -17,3 +17,5 @@ BBFILE_PRIORITY_xilinx-bsp = "5"
17LAYERDEPENDS_xilinx-bsp = "xilinx" 17LAYERDEPENDS_xilinx-bsp = "xilinx"
18 18
19LAYERSERIES_COMPAT_xilinx-bsp = "honister" 19LAYERSERIES_COMPAT_xilinx-bsp = "honister"
20
21PREFERRED_VERSION_kc705-bitstream ?= "${XILINX_RELEASE_VERSION}"
diff --git a/meta-xilinx-contrib/conf/layer.conf b/meta-xilinx-contrib/conf/layer.conf
index 253d64d1..4b813365 100644
--- a/meta-xilinx-contrib/conf/layer.conf
+++ b/meta-xilinx-contrib/conf/layer.conf
@@ -13,5 +13,3 @@ LAYERDEPENDS_xilinx-contrib = "core"
13LAYERDEPENDS_xilinx-contrib = "xilinx" 13LAYERDEPENDS_xilinx-contrib = "xilinx"
14 14
15LAYERSERIES_COMPAT_xilinx-contrib = "honister" 15LAYERSERIES_COMPAT_xilinx-contrib = "honister"
16
17XILINX_RELEASE_VERSION = "v2022.2"
diff --git a/meta-xilinx-core/conf/layer.conf b/meta-xilinx-core/conf/layer.conf
index bdf14ee9..9090abe6 100644
--- a/meta-xilinx-core/conf/layer.conf
+++ b/meta-xilinx-core/conf/layer.conf
@@ -44,4 +44,15 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
44 *->xserver-xorg \ 44 *->xserver-xorg \
45" 45"
46 46
47XILINX_RELEASE_VERSION = "v2022.2" 47XILINX_RELEASE_VERSION ??= "v2022.2"
48
49BUILDCFG_VARS:append = " XILINX_RELEASE_VERSION"
50
51PREFERRED_VERSION_qemu-xilinx ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%"
52PREFERRED_VERSION_qemu-xilinx-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%"
53PREFERRED_VERSION_qemu-xilinx-system-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%"
54PREFERRED_VERSION_qemu-devicetrees ?= "xilinx-${XILINX_RELEASE_VERSION}%"
55PREFERRED_VERSION_arm-trusted-firmware ?= "2.6-xilinx-${XILINX_RELEASE_VERSION}%"
56PREFERRED_VERSION_u-boot-xlnx ?= "v2021.01-xilinx-${XILINX_RELEASE_VERSION}%"
57PREFERRED_VERSION_pmu-rom-native ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}"
58PREFERRED_VERSION_linux-xlnx ?= "${@'5.15.19' if d.getVar("XILINX_RELEASE_VERSION") == 'v2022.1' else '5.15.36'}%"
diff --git a/meta-xilinx-core/conf/local.conf.sample b/meta-xilinx-core/conf/local.conf.sample
index b907b072..10134d53 100644
--- a/meta-xilinx-core/conf/local.conf.sample
+++ b/meta-xilinx-core/conf/local.conf.sample
@@ -206,7 +206,7 @@ BB_DISKMON_DIRS ??= "\
206#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 206#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
207#file://.* file:///some/local/dir/sstate/PATH" 207#file://.* file:///some/local/dir/sstate/PATH"
208 208
209XILINX_VER_MAIN = "2022.2" 209XILINX_RELEASE_VERSION = "v2022.2"
210 210
211# Uncomment below lines to provide path for custom xsct trim 211# Uncomment below lines to provide path for custom xsct trim
212# 212#
diff --git a/meta-xilinx-standalone/conf/layer.conf b/meta-xilinx-standalone/conf/layer.conf
index 79997d24..492dda6f 100644
--- a/meta-xilinx-standalone/conf/layer.conf
+++ b/meta-xilinx-standalone/conf/layer.conf
@@ -16,4 +16,9 @@ LAYERDEPENDS_xilinx-standalone = "core xilinx"
16LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze" 16LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze"
17 17
18LAYERSERIES_COMPAT_xilinx-standalone = "honister" 18LAYERSERIES_COMPAT_xilinx-standalone = "honister"
19XILINX_RELEASE_VERSION = "v2022.2" 19
20PREFERRED_VERSION_plm-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%"
21PREFERRED_VERSION_psm-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%"
22PREFERRED_VERSION_pmu-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%"
23PREFERRED_VERSION_fsbl-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%"
24