summaryrefslogtreecommitdiff
path: root/conf/distro/include/tdx-base.inc
AgeCommit message (Collapse)Author
2024-03-14distro: include: tdx-base.inc: Set ROOT_HOME to '/root'Hiago 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>
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-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)
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-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-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-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-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-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-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-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-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-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-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-01-08tdx-base.inc: update preferred versionMax Krummenacher
The imx gstreamer update is updated to 1.16.imx.
2019-12-16tdx-base: introduce version number for software artifactStefan Agner
Add TDX_VERSION which can be used by Toradex customized software artifacts like U-Boot or the Linux kernel. This version number does not contain a date timestamp to prevent unnecessary rebuilds. It is assumed that the software artifact adds a build number (e.g. git hash). Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-12-16tdx-base: implement new version numberStefan Agner
Implement new version number scheme. This has been tested recently in meta-toradex-torizon and proven to work reliably. Lets move it to meta-toradex-distro so all Toradex distribution can make use of it. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-10-23distro: use the new master version 0.0.0Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-09tdx-base.inc: increment master-next version to 3.0b99Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-10-09tdx-base.inc: gstreamer: follow version update for use-mainline-bspMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-09-09tdx-base.inc: increment thud version to 3.0b3Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-06-17tdx-base.inc: increment thud version to 3.0b2Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-05-22tdx-base.inc: gstreamer: set preferred version for use-mainline-bspMax Krummenacher
Using python to conditionally set PREFERRED_VERSION_xxx does work, however bitbake evaluates the value of PREFERRED_VERSION_xxx before set in the python function. Reverting the conditional assignment in favour of a hard coded upstream value. fixes: 1e400c68e Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-20tdx-base.inc: gstreamer: only set imx override if use-mainline-bsp is not usedMax Krummenacher
The recipes for gstreamer* with version 1.14.imx set compatible version to mx6, mx7, mx8. So for machines which use use-mainline-bsp we get a lot of OE warnings during build, e.g.: | NOTE: preferred version 1.14.imx of gstreamer1.0 not available (for item gstreamer1.0) | NOTE: versions of gstreamer1.0 available: 1.14.4 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-03tdx-base.inc: fix commentMax Krummenacher
build is actually a file not a directory. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-18distro: use gstreamer1.0 imx version for imx SoCMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-09tdx-base.inc: set hostname by defaultMax Krummenacher
If a derived distro does not want /etc/hostname then that should be added for that distro only. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-03-06populate inital distroMax Krummenacher
Only adds a tdx-x11 distro. Additional flavours to follow. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>