summaryrefslogtreecommitdiff
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-03-12uprev-srcrev: follow recipe name changes and recipe splitsMax Krummenacher
The upstream kernels were renamed. Follow the rename. U-Boot was split into a pinned denx + our patches and a latest denx version. Thus no uprev is needed for U-Boot. Related-to: ELB-5617 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-02-15layer.conf: Update for the scarthgap release seriesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-29bblayers.conf: add meta-tpm layerJoao Paulo Goncalves
Add meta-tpm layer to bblayers for the TPM software stack. Related-to: ELB-5500 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com> (cherry picked from commit 946425761f7aa044dd3721c0ef604490814be1aa)
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-12-11buildconf: use downstream distro also for verdin-am62-k3r5Max Krummenacher
Assert that for both machines, verdin-am62 and verdin-am62-k3r5, the downstream distro is set. With adding the mainlinish U-Boot to the machine configuration that now matters if use-head-next is set. Without the change a bitbake build failure is seen when building the SPL for verdin-am62-k3r5: | Can't find default configuration "arch/../configs/verdin-am62_r5_defconfig"! Reported-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 8363ba48d2c3207a97974aec662b373692310b08)
2023-12-11uprev-srcrev: bump imx-sc-firmware-toradex versionMax Krummenacher
Follow the changed imx-sc-firmware-toradex version to imx-sc-firmware-toradex_1.14.0.bb. Related-to: ELB-5054 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9480d591b81316ce0e828f37bed74329de2a5d81)
2023-12-11local.conf skeleton: improve handling of deploy directory locationMax Krummenacher
Commit 97905d6 ("local.conf skeleton: fix build with common deploy directory") fixed build failures due to multiconfig builds and changes in what fails may be deployed from multiple recipes. Integrating that in to CI/CD proofed difficult as there we have to override DEPLOY_DIR to preserve artifacts into different location. Improve the fix to have it easier to integrate it into CI/CD. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-11-29local.conf skeleton: fix build with common deploy directoryMax Krummenacher
openembedded-core tightend the rules on what files are allowed to be deployed into the deploy directory from two (or more) recipes. As a result builds now fail for Verdin AM62, as both the default and the k3r5 config deploy license files into the same directory with the same name. This has been seen on with ‘native’ recipes. | ERROR: mc:k3r5:python3-rfc3987-native-1.3.8-r0 do_populate_lic_setscene: Recipe python3-rfc3987-native is trying to install files into a shared area when those files already exist. The files and the manifests listing them are: | .../tmp-glibc/deploy/licenses/x86_64/python3-rfc3987-native/PKG-INFO | (not matched to any task) Related-to: ELB-5485 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-30deploy dir: ti: keep it at topdir/deployMax Krummenacher
The meta-ti commit: ("4dcc70a8 conf: switch k3r5 multiconfig to baremetal") places the deploy directory outside of the tmp directory, something we already do. Keep our "${TOPDIR}/deploy" rather than moving to "${TOPDIR}/deploy-ti". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 67d25b69c15c8b14ef54c6be0ea27039b69a06b7)
2023-09-12layer.conf: Update to nanbieldMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-09uprev-srcrev: bump linux-toradex downstream versionEmanuele Ghidoli
Follow the changed linux-toradex version to linux-toradex_5.15-2.2.x.bb. Related-to: ELB-5185 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit 1447911e2b5212f3eaf13c657629d19fd5977221)
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-08-06uprev-srcrev: follow changed recipe name for ti u-bootMax Krummenacher
Remove the '-staging'. Related-to: ELB-5238 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 555fbd08693c0687176c80fca0d2411dc1df6ded)
2023-08-06uprev-srcrev: point to the updated ti u-boot/linuxMax Krummenacher
U-Boot and Linux in meta-toradex-ti have been updated, reflected in the recipe name. Modified the uprev-srcrev script to the new file paths. Related-to: ELB-5238 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit aa050275ab9bca764854f6fcf80b9baa1b23be39)
2023-06-28buildconf: use downstream for verdin am62Emanuele Ghidoli
local.conf: Add verdin-am62 MACHINE and set its default DISTRO to tdx-wayland (downstream). Related-to: ELB-5064 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit 50942e30e5d81e3894fd4db3d8b79e2cb53d2a9b)
2023-06-28toradex-mirrors.bbclass: add file from meta-toradex-demosEmanuele Ghidoli
Related-to: ELB-5127 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> (cherry picked from commit fda3e56a06f7d3cef7f73b174bb68c4f1074c26e)
2023-04-05uprev-srcrev: add device-tree-overlays-tiMax Krummenacher
Related-to: ELB-5018 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit fc76e870b03b4920790560eeafd268af36f4d1e9)
2023-03-03uprev-srcrev: add meta-toradex-ti recipesMax Krummenacher
Add U-Boot and Linux kernel for the TI SoC based modules to the uprev script. ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit f6525a402462a51ec65fd854f886e7fbaeb9f72c)
2023-03-03bblayers.conf: enable the layers needed for ti based socMax Krummenacher
Related-to: ELB-5012 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3d14036d65d944186dfc05c284bf9835ac881a23)
2023-03-03buildconf: prepare for verdin am62 additionMax Krummenacher
bblayers.conf: Split the NXP specific layers into a variable and add the layers used to build for TI SoCs into its own variable. Note the the layers required to build for TI SoCs are not yet added to the list of active layers. local.conf: Rework the setting of DISTRO, so that the downstream distro is only applied for NXP i.MX8 based SoC. Related-to: ELB-4978 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit b72f11c9adf0b35e4016e7b9e58fc8c86d37f0e8)
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-12-07uprev-srcrev: u-boot: update to latestMax Krummenacher
In the OE master builds we want to fetch latest upstream U-Boot with possible additional patches from our OE meta data. So enable the uprev of the upstream U-Boot recipe. (For release OE meta data we want a fixed upstream version, independent on the use of 'use-head-next' overrides) Related-to: ELB-4640 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-12-07uprev-srcrev: bump imx-sc-firmware-toradex versionMax Krummenacher
Follow the changed imx-sc-firmware-toradex version to imx-sc-firmware-toradex_1.14.0.bb. Related-to: ELB-4593 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2712e46aadd2ec74711d69503b61dba3548e0aa4)
2022-12-07uprev-srcrev: bump linux-toradex downstream versionMax Krummenacher
Follow the changed linux-toradex version to linux-toradex_5.15-2.1.x.bb. Related-to: ELB-4873 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit cd3e7aed7069637d462170a8a98313cc76a01ae0)
2022-12-07local.conf: Select a sane default as DISTROMax Krummenacher
Toradex Modules based on i.MX 6/6ULL/7 are only supported with the tdx-xwayland-upstream DISTRO, select it as default in local.conf. Related-to: ELB-4716 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 382211f6e51a72996831949002c8c418f0f55636) plus squashed (cherry picked from commit 373359bb690ec623b1a167f30c10a9d398c9704a)
2022-12-07uprev-srcrev: add linux-toradex-mainline-rt recipeMax Krummenacher
Releated-to: ELB-4868 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bc8579961cd541b16721c67cf0b48009a73e10da)
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-14local.conf: comment on upstream vs. downstream distroMax Krummenacher
Add comments to point out which DISTRO is compatible/recommended for which Toradex module. Related-to: ELB-4544 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 4274075ff69800e1cede8f593ea89a081c1c263c)
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-09-09local.conf: refer to kernel-fitimage rather than toradex-fitimageMing Liu
toradex-fitimage.bbclass has been dropped from meta-toradex-bsp-common layer, let's drop its reference here, use kernel-fitimage instead. Related-to: ELB-4700 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 08dc5aa49fedffb76f4cdcb80d97cdc2b483418f)
2022-08-03bblayers.conf: drop meta-initramfsMing Liu
We dont need any recipes from meta-initramfs, drop it from bblayers.conf. Signed-off-by: Ming Liu <ming.liu@toradex.com>
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-28uprev-srcrev: use new kernel 5.15-2.0.xPhilippe Schenker
Related-to: ELB-4597 Signed-off-by: Philippe Schenker <philippe.schenker@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-07-15Update iMX8 U-Boot to v2022.04Andrejs Cainikovs
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com> Related-to: ELB-4581
2022-07-09uprev-srcrev: workaround upstream changesMax Krummenacher
The uprev-srcrev tool currently crashes with some python backtraces. This is caused by changes in the bitbake fetcher code. See bitbake, commit 4b5eed16 ("fetch2/cooker: Fix source revision handling with floating upstreams") Workaround it by calling bb.fetch2.get_srcrev() if AUTOINC is not in PV. For makes all recipes we currently uprev succeed. Related-to: ELB-4590 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-07-07uprev-srcrev: adapt to changed recipe locationsMax Krummenacher
U-Boot changed to the mainline u-boot recipe, but our bbappend can't be handled by this script, add a note. The mainline kernel recipe name changed. TK1 no longer supported. Backports of kernel drivers no longer used. Related-to: ELB-4476 Signed-off-by: Max Krummenacher <max.krummenacher@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>