summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-11-12 15:15:29 -0800
committerMark Hatle <mark.hatle@xilinx.com>2021-11-15 13:52:07 -0800
commita408df7174689ad2c867b99c5000462ae66dd1ae (patch)
tree92002a9ffc19c52988ad63b6451684f8c9a59a3c
parent2f44ba5a42966ac2cee77485209ec239123d7aa5 (diff)
downloadmeta-xilinx-a408df7174689ad2c867b99c5000462ae66dd1ae.tar.gz
local.conf.sample: Update to honister example, based on poky
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-bsp/conf/local.conf.sample124
1 files changed, 86 insertions, 38 deletions
diff --git a/meta-xilinx-bsp/conf/local.conf.sample b/meta-xilinx-bsp/conf/local.conf.sample
index 4b129e42..c0cb56ea 100644
--- a/meta-xilinx-bsp/conf/local.conf.sample
+++ b/meta-xilinx-bsp/conf/local.conf.sample
@@ -11,16 +11,24 @@
11# the option is a question of removing the # character and making any change to the 11# the option is a question of removing the # character and making any change to the
12# variable as required. 12# variable as required.
13 13
14# BASE = "${COREBASE}/../.."
15
16# 14#
17# Machine Selection 15# Machine Selection
18# 16#
19# You need to select a specific machine to target the build with. There are a selection 17# You need to select a specific machine to target the build with. There are a selection
20# of emulated machines available which can boot and run in the QEMU emulator: 18# of emulated machines available which can boot and run in the QEMU emulator:
21# 19#
22# This sets the default machine if no other machine is selected: 20#MACHINE ?= "microblazeel-v11.0-bs-cmp-mh-div-generic.conf"
23MACHINE ??= "qemuzynq" 21#MACHINE ?= "zynq-generic"
22#MACHINE ?= "zynqmp-generic"
23#MACHINE ?= "versal-generic"
24#
25# There are also the following hardware board target machines included for
26# demonstration purposes:
27#
28#MACHINE ?= "ultra96-zynqmp"
29#
30# This sets the default machine to be qemux86-64 if no other machine is selected:
31MACHINE ??= "zynqmp-generic"
24 32
25# 33#
26# Where to place downloads 34# Where to place downloads
@@ -33,7 +41,7 @@ MACHINE ??= "qemuzynq"
33# 41#
34# The default is a downloads directory under TOPDIR which is the build directory. 42# The default is a downloads directory under TOPDIR which is the build directory.
35# 43#
36# DL_DIR ?= "${BASE}/downloads" 44#DL_DIR ?= "${TOPDIR}/downloads"
37 45
38# 46#
39# Where to place shared-state files 47# Where to place shared-state files
@@ -49,7 +57,7 @@ MACHINE ??= "qemuzynq"
49# 57#
50# The default is a sstate-cache directory under TOPDIR. 58# The default is a sstate-cache directory under TOPDIR.
51# 59#
52# SSTATE_DIR ?= "${BASE}/sstate-cache" 60#SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
53 61
54# 62#
55# Where to place the build output 63# Where to place the build output
@@ -62,15 +70,13 @@ MACHINE ??= "qemuzynq"
62# The default is a tmp directory under TOPDIR. 70# The default is a tmp directory under TOPDIR.
63# 71#
64#TMPDIR = "${TOPDIR}/tmp" 72#TMPDIR = "${TOPDIR}/tmp"
65#
66#TMPDIR:versal = "${TOPDIR}/tmp-versal"
67 73
68# 74#
69# Default policy config 75# Default policy config
70# 76#
71# The distribution setting controls which policy settings are used as defaults. 77# The distribution setting controls which policy settings are used as defaults.
72# The default value is fine for general Yocto project use, at least initially. 78# The default value is fine for general Yocto project use, at least initially.
73# Ultimately when creating custom policy, people will likely end up subclassing 79# Ultimately when creating custom policy, people will likely end up subclassing
74# these defaults. 80# these defaults.
75# 81#
76DISTRO ?= "petalinux" 82DISTRO ?= "petalinux"
@@ -90,12 +96,12 @@ DISTRO ?= "petalinux"
90PACKAGE_CLASSES ?= "package_rpm" 96PACKAGE_CLASSES ?= "package_rpm"
91 97
92# 98#
93# SDK/ADT target architecture 99# SDK target architecture
94# 100#
95# This variable specifies the architecture to build SDK/ADT items for and means 101# This variable specifies the architecture to build SDK items for and means
96# you can build the SDK packages for architectures other than the machine you are 102# you can build the SDK packages for architectures other than the machine you are
97# running the build on (i.e. building i686 packages on an x86_64 host). 103# running the build on (i.e. building i686 packages on an x86_64 host).
98# Supported values are i686 and x86_64 104# Supported values are i686, x86_64, aarch64
99#SDKMACHINE ?= "i686" 105#SDKMACHINE ?= "i686"
100 106
101# 107#
@@ -106,6 +112,8 @@ PACKAGE_CLASSES ?= "package_rpm"
106# variable can contain the following options: 112# variable can contain the following options:
107# "dbg-pkgs" - add -dbg packages for all installed packages 113# "dbg-pkgs" - add -dbg packages for all installed packages
108# (adds symbol information for debugging/profiling) 114# (adds symbol information for debugging/profiling)
115# "src-pkgs" - add -src packages for all installed packages
116# (adds source code for debugging)
109# "dev-pkgs" - add -dev packages for all installed packages 117# "dev-pkgs" - add -dev packages for all installed packages
110# (useful if you want to develop against libs in the image) 118# (useful if you want to develop against libs in the image)
111# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages 119# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
@@ -113,14 +121,14 @@ PACKAGE_CLASSES ?= "package_rpm"
113# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) 121# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
114# "tools-debug" - add debugging tools (gdb, strace) 122# "tools-debug" - add debugging tools (gdb, strace)
115# "eclipse-debug" - add Eclipse remote debugging support 123# "eclipse-debug" - add Eclipse remote debugging support
116# "tools-profile" - add profiling tools (oprofile, exmap, lttng, valgrind) 124# "tools-profile" - add profiling tools (oprofile, lttng, valgrind)
117# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) 125# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
118# "debug-tweaks" - make an image suitable for development 126# "debug-tweaks" - make an image suitable for development
119# e.g. ssh root access has a blank password 127# e.g. ssh root access has a blank password
120# There are other application targets that can be used here too, see 128# There are other application targets that can be used here too, see
121# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. 129# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
122# We default to enabling the debugging tweaks. 130# We default to enabling the debugging tweaks.
123EXTRA_IMAGE_FEATURES = "debug-tweaks" 131EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
124 132
125# 133#
126# Additional image features 134# Additional image features
@@ -135,10 +143,12 @@ USER_CLASSES ?= "buildstats"
135# Runtime testing of images 143# Runtime testing of images
136# 144#
137# The build system can test booting virtual machine images under qemu (an emulator) 145# The build system can test booting virtual machine images under qemu (an emulator)
138# after any root filesystems are created and run tests against those images. To 146# after any root filesystems are created and run tests against those images. It can also
139# enable this uncomment this line. See classes/testimage(-auto).bbclass for 147# run tests against any SDK that are built. To enable this uncomment these lines.
140# further details. 148# See classes/test{image,sdk}.bbclass for further details.
141#TEST_IMAGE = "1" 149#IMAGE_CLASSES += "testimage testsdk"
150#TESTIMAGE_AUTO:qemuall = "1"
151
142# 152#
143# Interactive shell configuration 153# Interactive shell configuration
144# 154#
@@ -163,12 +173,12 @@ PATCHRESOLVE = "noop"
163# 173#
164# Monitor the disk space during the build. If there is less that 1GB of space or less 174# Monitor the disk space during the build. If there is less that 1GB of space or less
165# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully 175# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
166# shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort 176# shutdown the build. If there is less than 100MB or 1K inodes, perform a hard abort
167# of the build. The reason for this is that running completely out of space can corrupt 177# of the build. The reason for this is that running completely out of space can corrupt
168# files and damages the build in ways which may not be easily recoverable. 178# files and damages the build in ways which may not be easily recoverable.
169# It's necesary to monitor /tmp, if there is no space left the build will fail 179# It's necessary to monitor /tmp, if there is no space left the build will fail
170# with very exotic errors. 180# with very exotic errors.
171BB_DISKMON_DIRS = "\ 181BB_DISKMON_DIRS ??= "\
172 STOPTASKS,${TMPDIR},1G,100K \ 182 STOPTASKS,${TMPDIR},1G,100K \
173 STOPTASKS,${DL_DIR},1G,100K \ 183 STOPTASKS,${DL_DIR},1G,100K \
174 STOPTASKS,${SSTATE_DIR},1G,100K \ 184 STOPTASKS,${SSTATE_DIR},1G,100K \
@@ -181,7 +191,7 @@ BB_DISKMON_DIRS = "\
181# 191#
182# Shared-state files from other locations 192# Shared-state files from other locations
183# 193#
184# As mentioned above, shared state files are prebuilt cache data objects which can 194# As mentioned above, shared state files are prebuilt cache data objects which can be
185# used to accelerate build time. This variable can be used to configure the system 195# used to accelerate build time. This variable can be used to configure the system
186# to search other mirror locations for these objects before it builds the data itself. 196# to search other mirror locations for these objects before it builds the data itself.
187# 197#
@@ -196,35 +206,73 @@ BB_DISKMON_DIRS = "\
196#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \ 206#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
197#file://.* file:///some/local/dir/sstate/PATH" 207#file://.* file:///some/local/dir/sstate/PATH"
198 208
199XILINX_VER_MAIN = "2022.1" 209XILINX_VER_MAIN = "2021.2"
200 210
201# Uncomment below lines to provide path for custom xsct trim 211# Uncomment below lines to provide path for custom xsct trim
202# This is required for building Versal based devices, please fetch the
203# xsct-trim from Xilinx lounge area
204# 212#
205#EXTERNAL_XSCT_TARBALL = "/proj/yocto/xsct-trim/2021.2_xsct_daily_latest" 213#EXTERNAL_XSCT_TARBALL = "/proj/yocto/xsct-trim/2021.2_xsct_daily_latest"
206#VALIDATE_XSCT_CHECKSUM = '0' 214#VALIDATE_XSCT_CHECKSUM = '0'
207 215
208# XILINX_VIVADO_DESIGN_SUIT should point to the Vivado installation directly if you are using xilinx-mcs recipe in meta-xilinx-tools 216#
209#XILINX_VIVADO_DESIGN_SUIT = "/proj/xbuilds/2018.3_daily_latest/installs/lin64/Vivado/2018.3" 217# Yocto Project SState Mirror
218#
219# The Yocto Project has prebuilt artefacts available for its releases, you can enable
220# use of these by uncommenting the following lines. This will mean the build uses
221# the network to check for artefacts at the start of builds, which does slow it down
222# equally, it will also speed up the builds by not having to build things if they are
223# present in the cache. It assumes you can download something faster than you can build it
224# which will depend on your network.
225# Note: For this to work you also need hash-equivalence passthrough to the matching server
226#
227#BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
228#SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
210 229
211# INHERIT += "externalsrc" 230#
212# PREFERRED_PROVIDER_virtual/kernel = "linux-xlnx-dev" 231# Qemu configuration
213# EXTERNALSRC:pn-linux-xlnx-dev = "${BASE}/sources/linux" 232#
214# RM_WORK_EXCLUDE += "linux-xlnx-dev" 233# By default native qemu will build with a builtin VNC server where graphical output can be
234# seen. The line below enables the SDL UI frontend too.
235PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
236# By default libsdl2-native will be built, if you want to use your host's libSDL instead of
237# the minimal libsdl built by libsdl2-native then uncomment the ASSUME_PROVIDED line below.
238#ASSUME_PROVIDED += "libsdl2-native"
215 239
216# PREFERRED_PROVIDER_virtual/bootloader = "u-boot-xlnx-dev" 240# You can also enable the Gtk UI frontend, which takes somewhat longer to build, but adds
217# EXTERNALSRC:pn-u-boot-xlnx-dev = "${BASE}/sources/u-boot" 241# a handy set of menus for controlling the emulator.
218# RM_WORK_EXCLUDE += "u-boot-xlnx-dev" 242#PACKAGECONFIG:append:pn-qemu-system-native = " gtk+"
219 243
220#Add below lines to use runqemu for ZU+ machines 244#Add below lines to use runqemu for ZU+ machines
221PMU_FIRMWARE_DEPLOY_DIR ??= "${DEPLOY_DIR_IMAGE}" 245PMU_FIRMWARE_DEPLOY_DIR ??= "${DEPLOY_DIR_IMAGE}"
222PMU_FIRMWARE_IMAGE_NAME ??= "pmu-firmware-${MACHINE}" 246PMU_FIRMWARE_IMAGE_NAME ??= "pmu-firmware-${MACHINE}"
223 247
248#Enable the below line to use pmu-rom.elf from a specific path
249#PMU_ROM = "/proj/yocto/pmu-rom/pmu-rom.elf"
250
251#
252# Hash Equivalence
253#
254# Enable support for automatically running a local hash equivalence server and
255# instruct bitbake to use a hash equivalence aware signature generator. Hash
256# equivalence improves reuse of sstate by detecting when a given sstate
257# artifact can be reused as equivalent, even if the current task hash doesn't
258# match the one that generated the artifact.
259#
260# A shared hash equivalent server can be set with "<HOSTNAME>:<PORT>" format
261#
262#BB_HASHSERVE = "auto"
263#BB_SIGNATURE_HANDLER = "OEEquivHash"
264
265#
266# Memory Resident Bitbake
267#
268# Bitbake's server component can stay in memory after the UI for the current command
269# has completed. This means subsequent commands can run faster since there is no need
270# for bitbake to reload cache files and so on. Number is in seconds, after which the
271# server will shut down.
272#
273#BB_SERVER_TIMEOUT = "60"
274
224# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to 275# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
225# track the version of this file when it was generated. This can safely be ignored if 276# track the version of this file when it was generated. This can safely be ignored if
226# this doesn't mean anything to you. 277# this doesn't mean anything to you.
227CONF_VERSION = "1" 278CONF_VERSION = "2"
228
229#Enable the below line to use pmu-rom.elf from a specific path
230#PMU_ROM = "/proj/yocto/pmu-rom/pmu-rom.elf"