diff options
author | Mark Hatle <mark.hatle@amd.com> | 2022-09-12 17:14:45 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2022-09-12 17:14:45 -0700 |
commit | fb44a4e29a40c2653735358da4668c6ae2736fab (patch) | |
tree | 3c4357f5430f1d75e6f0de47dcbd506685abbf4a | |
parent | e859586f3432f9ef5f4c2930cd2821a0075868e8 (diff) | |
download | meta-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.conf | 2 | ||||
-rw-r--r-- | meta-xilinx-contrib/conf/layer.conf | 2 | ||||
-rw-r--r-- | meta-xilinx-core/conf/layer.conf | 13 | ||||
-rw-r--r-- | meta-xilinx-core/conf/local.conf.sample | 2 | ||||
-rw-r--r-- | meta-xilinx-standalone/conf/layer.conf | 7 |
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" | |||
17 | LAYERDEPENDS_xilinx-bsp = "xilinx" | 17 | LAYERDEPENDS_xilinx-bsp = "xilinx" |
18 | 18 | ||
19 | LAYERSERIES_COMPAT_xilinx-bsp = "honister" | 19 | LAYERSERIES_COMPAT_xilinx-bsp = "honister" |
20 | |||
21 | PREFERRED_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" | |||
13 | LAYERDEPENDS_xilinx-contrib = "xilinx" | 13 | LAYERDEPENDS_xilinx-contrib = "xilinx" |
14 | 14 | ||
15 | LAYERSERIES_COMPAT_xilinx-contrib = "honister" | 15 | LAYERSERIES_COMPAT_xilinx-contrib = "honister" |
16 | |||
17 | XILINX_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 | ||
47 | XILINX_RELEASE_VERSION = "v2022.2" | 47 | XILINX_RELEASE_VERSION ??= "v2022.2" |
48 | |||
49 | BUILDCFG_VARS:append = " XILINX_RELEASE_VERSION" | ||
50 | |||
51 | PREFERRED_VERSION_qemu-xilinx ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%" | ||
52 | PREFERRED_VERSION_qemu-xilinx-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%" | ||
53 | PREFERRED_VERSION_qemu-xilinx-system-native ?= "v6.1.0-xilinx-${XILINX_RELEASE_VERSION}%" | ||
54 | PREFERRED_VERSION_qemu-devicetrees ?= "xilinx-${XILINX_RELEASE_VERSION}%" | ||
55 | PREFERRED_VERSION_arm-trusted-firmware ?= "2.6-xilinx-${XILINX_RELEASE_VERSION}%" | ||
56 | PREFERRED_VERSION_u-boot-xlnx ?= "v2021.01-xilinx-${XILINX_RELEASE_VERSION}%" | ||
57 | PREFERRED_VERSION_pmu-rom-native ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}" | ||
58 | PREFERRED_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 | ||
209 | XILINX_VER_MAIN = "2022.2" | 209 | XILINX_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" | |||
16 | LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze" | 16 | LAYERRECOMMENDS_xilinx-standalone = "xilinx-microblaze" |
17 | 17 | ||
18 | LAYERSERIES_COMPAT_xilinx-standalone = "honister" | 18 | LAYERSERIES_COMPAT_xilinx-standalone = "honister" |
19 | XILINX_RELEASE_VERSION = "v2022.2" | 19 | |
20 | PREFERRED_VERSION_plm-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | ||
21 | PREFERRED_VERSION_psm-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | ||
22 | PREFERRED_VERSION_pmu-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | ||
23 | PREFERRED_VERSION_fsbl-firmware ?= "${@d.getVar("XILINX_RELEASE_VERSION").replace('v','')}%" | ||
24 | |||