summaryrefslogtreecommitdiff
path: root/conf
AgeCommit message (Collapse)Author
2024-03-14distro: include: tdx-base.inc: Set ROOT_HOME to '/root'HEADmasterHiago De Franco
Current master and scarthgap-7.x.y updated systemd recipe to version 255.1. The recipe now prints ``` WARNING: systemd-1_255.1-r0 do_install: Using /home/root as root user's home directory is not fully supported by systemd ``` Therefore, use /root instead of /home/root as $ROOT_HOME to fix this warning. Related-to: ELB-5646 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-02-15layer.conf: Update for the scarthgap release seriesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-12-15distro: keep vendor dirs in fitimage nodesMax Krummenacher
openembedded-core commit 941ba1a132 ("kernel-fitImage: Strip path component from dtb") changed to remove the vendor path components from fitimage nodes by default. This would require to change our bootscripts. Set the variable 'KERNEL_DTBVENDORED' to get the old behaviour back. Related-to: TEI-1143 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-12layer.conf: Update to nanbieldMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-02distro: systemd: use systemd's serial-getty-generatorMax Krummenacher
On Verdin AM62 SERIAL_CONSOLES is set to multiple ttys. In the old setup this spawned a getty on each of them. Using systemd's serial-getty-generator this behaviour is changed to only spawn a getty on the ttys which are also present in /proc/consoles. Other entries in SERIAL_CONSOLES are left alone and are free for generic use. Related-to: ELB-5346 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 491e249099a36c2eb7f8c0192f100265c1eae0b1)
2023-08-13distro: add feature usrmergeMax Krummenacher
The systemd recipe now requires this. From https://docs.yoctoproject.org/ref-manual/features.html?highlight=usrmerge usrmerge: Merges the /bin, /sbin, /lib, and /lib64 directories into their respective counterparts in the /usr directory to provide better package and application compatibility. Related-to: ELB-5339 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-13distro: drop todoMax Krummenacher
This has been there forever without anyone speaking up. Seems the used features weren't that bad. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-03-03tdx-base.inc: drop some invalid PREFERRED_VERSION_gstreamer1.0 settingsMing Liu
(cherry picked from commit 6961869d7d4fbeada96d68a978076246941363ba)
2023-01-04layer.conf: Update to mickledoreMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-10-14arm-defaults: fix setting of used instruction setMax Krummenacher
Since openembedded-core commit c88304a78e ("arch-armv7a.inc: default to Thumb2 instruction set for armv7a and above") a build of an armv7a based machine defaults to the Thumb2 instruction set. So repeating this default setting in the distro is not needed and can be completely removed. The way Thumb2 is set in the distro is wrong in the first place and would need fixing anyway. By setting `ARM_INSTRUCTION_SET:override ??= "..."` this will take precedence over any assignment to ARM_INSTRUCTION_SET without a override. So any recipe which wants to force the 'ARM' instruction set will end up being compiled with Thumb2. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit a0c78e246961778a5ea420af82a257cbf962bbed)
2022-10-14distro:tdx-base.inc: drop bluez5 from DISTRO_FEATURESMing Liu
Since commit dcf889e93401f7c4de0055d53271eacc3882eccc in OE: [ meta: Remove remnants of bluez4 support bluez4 was removed from meta-oe 2 years ago. Simplfy the setup of the two level bluetooth and bluez4/bluez5 distro features by removing the bluez4/bluez5 distro features. This also removes the no longer required bluetooth class. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> ] bluez5 is no longer a distro feature, and there is no reference to it neither in Toradex/Freescale/OE meta layers, let's drop it. Related-to: ELB-4824 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit bdb31caa6c2a6a96112f536c76d4e1eca8da3ea4)
2022-10-02layer.conf: add langdale to layerseries_compatMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-10-02arm-defaults: don't use armv8a cpu specific package feeds and optimizationMax Krummenacher
All i.MX8 series family members support the tune armv8a-crypto. Use that unified instead of building each family with its own specific tune. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-09-24tdx-base.inc: upgrade gstreamer1.0 1.18.5.imx -> 1.20.0.imxMax Krummenacher
As used in the downstream NXP BSP LLF5.15.32_2.0.0. Related-to: ELB-4665 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 095032507d6560ff6bb916982732a2190019b97f)
2022-08-03meta: drop Tegra machine/layer referencesMing Liu
We've decided not to support Tegra machines since BSP6, let's drop their references. Related-to: ELB-4471 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-07-21tdx-base.inc: drop PREFERRED_PROVIDER_u-boot-default-envMing Liu
It's an invalid variable, there is not a bitbake instance for u-boot-default-env. Related-to: ELB-4536 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-04-25distro: tdx-base.inc: follow version changeMax Krummenacher
NXP's gstreamer fork is updated to 1.18.5.imx. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-28local.conf: sync with meta-poky sampleMax Krummenacher
This follows variable renames and thus changes the layer's compatibility to only kirkstone. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-28layer: rework recipes to use soc familiy overridesMax Krummenacher
Follow meta-freescale commit 30f5ce1d ("Generalize overrides subsystem for NXP and Mainline support"). Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-18layer.conf: Update to kirkstone namespaceMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-02-18meta: move in TEZI_SHOW_EULA_LICENSE from meta-toradex-demosMing Liu
TEZI_SHOW_EULA_LICENSE shall be a machine global variable but not image specific, move it to tdx-base.inc in meta-toradex-distro layer. Torizoncore/Tezi/BSP now use the same setting of TEZI_SHOW_EULA_LICENSE. Related-to: TOR-2102 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit a991a45459b7f3c0870ef94da6e48c279eaa97f0)
2022-02-14distro: tdx-base.inc: drop preferring versionsMax Krummenacher
These versions were pinned when backporting a newer NXP BSP to dunfell. In master these versions were bumped in meta-freescale and the new versions are set to preferred there. The override here interferes and instead of the i.MX specific recipe the upstream recipe from OE-Core is built. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-03distro: tdx-base.inc: follow version changeMax Krummenacher
NXP's gstreamer fork is updated to 1.18.0.imx. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-09-06distro: tdx-base.inc: prefer gstreamer with a weak assignmentMax Krummenacher
Currently the preferred version for the gstreamer components is assigned with '='. Relax that to '?=' to allow for a easier override in other configuration files. Proposed-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: ../openembedded-core/scripts/contrib/convert-overrides.py . +# meta-toradex-distro +vars = vars + ["preempt-rt","tdx","upstream"] +# meta-toradex-* machines +vars = vars + ["apalis-","colibri-","verdin-","tegra124"] +# meta-freescale +vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"] converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-05layer.conf: add honister to compat layerMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-23tdx-base.inc: remove version-going-backwards from ERROR_QAMing Liu
Some Toradex recipes like linux-toradex, u-boot-toradex, device-tree-overlays are appending SCM hashes to PV, version numbers going backwards are not a problem as we don't provide binary feeds. This avoids some annoying errors as follows: | QA Issue: Package version went backwards which would break package feeds Related-to: ELB-3583 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 3c1f97ef5bbea7f6afaaea5b58ce1b8baa4ce82f)
2021-03-23layer.conf: add hardknott, drop dunfell in compat layerMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-22distro: tdx-base.inc: preferred_versions: follow gstreamer changesMax Krummenacher
meta-freescale added the revision part of the gstreamer imx forks to the version, i.e. 1.16.imx -> 1.16.2.imx. Rework the preferred versions. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-22distro: tdx-base.inc: preferred_versions: follow updatesMax Krummenacher
NXP release imx_5.4.70_2.3.0. Related-to: ELB-3327 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2561e4a6cc6d5a8f6badb32ed3ead6eb4b536519)
2020-12-08tdx distros: add x11 to image filename and descriptionsMax Krummenacher
So far the graphical backend (X11 / Wayland) did not show in the created image names or the Toradex Easy Installer meta data at all. As we now build by default only Wayland, leave those alone. If one builds for X11 then add this to the file name and the descriptive meta data. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-31tdx-base.inc: drop ptest from DISTRO_FEATURESMing Liu
We dont really need 'ptest' and that would invovle in a lot of recipes to be built which could be very time consuming. Related-to: ELB-3195 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 27000bd0282b681ab083430b5e49d81e42ce1f71)
2020-10-17conf: Make layer compatible only with dunfell and gatesgarthMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-24tdx-base: drop unstable elements from sdk versionMax Krummenacher
SDK_VERSION is used as a path element for the nativesdk packages. Thus, if variables are used to form it which are excluded to force a rebuild, when using sstate or previous build artefacts paths stay not the same resulting in various build failures. So drop all elements which are marked with "vardepsexclude". E.e.: Dependencies not found in compile/configure as the search paths don't match. Build output not found: | rm: cannot remove '.../image/opt/tdx-xwayland/5.0.0-devel-20200821220610+build.0/sysroots/x86_64-tdxsdk-linux/usr/lib/aarch64-tdx-linux/gcc/aarch64-tdx-linux/9.3.0/install-tools': No such file or directory Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-17tdx-xwayland-upstream-rt: correct basenameMax Krummenacher
'upstream' has already been appended in tdx-xwayland-upstream.conf. Don't add a second one. I.e. don't create an image file name like this: Apalis-iMX6_Reference-Minimal-Image-upstream-rt-upstream-Tezi_5.0.0-devel-20200817071112+build.0 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-14tdx-base: pin versions for nxp bsp 5.4.24_2.1.0Max Krummenacher
Related-to: ELB-2758 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-08-05tdx-base: set PREFERRED_PROVIDER_u-boot-fw-utils to libubootenvMing Liu
Related-to: ELB-2552 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-06-18tdx-base: pin versions for nxp bsp 4.14.98_2.3.0Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18distros: define imx default bspMax Krummenacher
meta-freescale handles use-mainline-bsp in the common imx-base.inc file. Follow that change. While at it, simplify the upstream-rt distros by including the corresponding upstream distro. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-06-18tdx-base: use separate variable for version componentsStefan Agner
Use separate variables for version components. This is useful to form the new OSTree branch names which use the major version only. Related-to: TOR-1107 Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 3f69c5d786d0677ff1f1d959e5e8e482a4e4148b)
2020-06-18tdx-base: define PREFERRED_PROVIDER_virtual/dtbIgor Opaniuk
Define PREFERRED_PROVIDER_virtual/dtb to device-tree-overlays. Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com> (cherry picked from commit c4b1a3d10e0245ff7ac9e4c11ad135f8488f8409)
2020-06-01distro: set wayland/weston version for nxp 2.3.1 BSPMax Krummenacher
NXP's 2.3.1. BSP is based on the following version. wayland-protocols: "1.17.imx" weston: "5.0.0.imx" Related-to: ELB-2303 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit be3bebbc165727418f261d29bd75dd413527fd97) (cherry picked from commit f0fd9dc7da066aa5d49903b518f01e6bce4cafaa)
2020-06-01arm-defaults.inc: drop useless True parametersMing Liu
Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit b41d325b2650724e0645acbeddcbc72e6af52747)
2020-06-01meta: avoid overridding DISTROOVERRIDESMing Liu
'DISTRO' is in DISTROOVERRIDES by default, we should not use "=" to override that when adding 'tdx' to DISTROOVERRIDES, use ".=" to append to it. With the above change, we do not need to append 'tdx-x11' and 'tdx-xwayland' to DISTROOVERRIDES, drop them. Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 9a93acdeda3fed168b74c33788f385ac42702ed4)
2020-03-21layer.conf: add dunfell, drop warrior in compat layerMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-21tdx distros: add non-rt and rt distros which use an upstream kernelMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 32d4cdf84966fd20d7dcd58c25d574f3e1ff947f)
2020-02-13distro: add -rt to the image base nameMax Krummenacher
Currently the generated image file names do not change with a change of the distro flavour. Related-to: ELB-1424 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ab0bca582337022fbc6763ce43013ce3baa96208)
2020-02-13tdx distros: provide a distro override with the distro nameMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 74a602aa995bf0331e6aa0619874487dd14ba49c)
2020-01-23arm-defaults.inc: drop torizon overridesMing Liu
tdx overrides should be used by both tdx and torizon distros, torizon overrides should not be in this layer. Signed-off-by: Ming Liu <ming.liu@toradex.com>
2020-01-08tdx-base.inc: update preferred versionMax Krummenacher
The imx gstreamer update is updated to 1.16.imx.