summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-05packagegroup-tdx-graphical: install gst-examples package for all machinesMing Liu
To get gst-play and gst-launcher tools. Related-to: ELB-2913 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-06-30packagegroup-tdx-cli: dont install libsocMing Liu
We dont need it, it's deprecated. Related-to: ELB-4553 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-06-30packagegroup-tdx-cli: drop gpio-exportMing Liu
It's deprecated and not being used by Toradex. Related-to: ELB-4539 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-06-09bluez-alsa: drop recipeMing Liu
Use bluealsa recipe from meta-openembedded layer. Related-to: ELB-4505 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-04-03run-postinsts: rely on properly working upstreamMarcel Ziswiler
Unfortunately, our bbappend broke execution of the ontarget postinst scripts as the following openembedded-core commit changed the way this works upstream. 1af421fcf054 ("run-postinsts: for dpkg/opkg, do not rely on /etc/*-postinsts") Just get rid of our bbappend and rely on properly working upstream. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit ff479c129366b7f67945e661472762ae6cb541f2)
2022-04-03packagegroup-tdx-cli: verdin-imx8mp: add btuartMarcel Ziswiler
This adds the Bluetooth UART initialisation as required for the Verdin iMX8M Plus 4GB WB IT V1.1A. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 7df50f3ff17aa4ce839dee8a38f14844460ac819)
2022-04-03packagegroup-tdx-cli: add linux-firmware-nxp89xxMarcel Ziswiler
This adds the Wi-Fi/Bluetooth firmware as required for the Verdin iMX8M Plus 4GB WB IT V1.1A. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit c67b830a4f768d6507949bfcdff2f8c7b60a8f5e)
2022-03-29tdx-reference-multimedia-image: use weston image featureMing Liu
There is now a 'weston' image feature introduced in OE, we can use it to install weston related packages and choose SYSTEMD_DEFAULT_TARGET. Also change to use "x11-base" image feature instead of "x11", this ensures x11 init scripts would be installed to image. Related-to: ELB-3477 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-03-29base-files: dont install wayland-env.shMing Liu
It's been handled in weston-init recipe of meta-toradex-nxp layer, drop a duplicated weston env file. Related-to: ELB-3477 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-03-06layer: Update LICENSE variable to use SPDX license identifiersMax Krummenacher
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for obsolete license usage"), LICENSE field not containing SPDX identifiers are treated with WARNING. An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers has been done on the entire layer. 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-18toradex-mirrors: fix syntaxMax Krummenacher
PREMIRRORS is a variable, use the correct syntax. Prevents: | WARNING: Invalid mirror variable value for PREMIRRORS: ['bzr://.*/.*', 'https://downloads.yoctoproject.org/mirror/sources/', ...], should contain paired members. 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-18wpa-supplicant: disable background scanMing Liu
Disable background scan in config to avoid a significant increase in bandwidth. Related-to: ELB-4148 Signed-off-by: Ming Liu <ming.liu@toradex.com>
2022-02-18connman: disable background scanMing Liu
Disable BackgroundScan in main.conf. Related-to: ELB-4148 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 097df183d8e70cfcf4267425c195a6dcfcdbc9ed)
2022-02-18connman: some cleaning upMing Liu
- Drop 0001-connman.service.in-don-t-start-if-nfs-boot.patch, since commit "ef0d26e6: rootnfs: Working rootnfs using connman", connman can handle nfs rootfs on NICs. - Change "+=" to "_append", this could avoid some cases "+=" being overridden by overrides variables. Related-to: ELB-4148 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit fd7a7b83175368f809b237979e3f20304a5571de)
2022-02-18meta: move TEZI_SHOW_EULA_LICENSE to tdx-base.incMing 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 95a04d675063b714504ccc9d38f6ea71244f64e4)
2022-01-17curl: drop now unneeded bbappendMax Krummenacher
Since commit c39452bf65 ("curl: Use openssl backend") openembedded core uses openssl by default. On top of that the package config name changed recently from ssl to openssl resulting in a warning. Just drop the bbappend. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-01-17imxlib2: set branch name explicitelyMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-16packagegroup-dotnet-core: Mark as TUNE_PKGARCH specificMax Krummenacher
openembedded-core, commit 5bf3e447d2 ("package: Add sanity check for allarch packagegroups") added a check which now emits an error. Fix that. | ERROR: packagegroup-dotnet-core-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (libcurl to libcurl4) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-15clpeak: set git branchMax Krummenacher
OE master will soon require setting a branch, i.e. no longer defaulting to master. Prepare for that. | WARNING: clpeak-git-r0 do_fetch: URL: git://github.com/krrishnarraj/clpeak.git;protocol=https does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-15packagegroup-tdx-cli: add fio I/O tester toolFrancesco Dolcini
Add fio, Flexible I/O tester [*], to devel-tdx-cli package group, the tool is useful for benchmark and hardware verification of I/O subsystem and hardware devices. tdx-reference-multimedia-image rootfs size increase is 1124k after the inclusion. [*] https://fio.readthedocs.io/ Related-to: ELB-4213 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit c369af47314e1b1e1776dcfa0cee1befc73fd044)
2021-08-14layer: convert to new override syntaxMax Krummenacher
This is the result of automated script (0.9.3) conversion: +# 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"] ../openembedded-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-08-14colibri-imx6ull-emmc: add machine specific overridesMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit f99619b2135ff939b6370be8116d66a10bc84836)
2021-08-14mtd-utils: drop unneeded bbappendMax Krummenacher
This was needed for the update scripts for the colibri-vf machine. The machine got dropped, so drop this bbappend also. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-07-18tdx-reference-*-image.bb: Enable NXP license for iMX6 upstreamDenys Drozdov
NXP provides proprietary VPU libraries with media codecs for i.MX6 Toradex Easy Installer customer has to accept EULA for i.MX6 builds Related-to: ELB-3945 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit edb69bd5c57c0bc65558eca01553df6c433bd194)
2021-07-18core: set-hostname: skip installing /etc/hostnameOleksandr Suvorov
The systemd service set-hostname starts only if /etc/hostname file does not exist. Don't install this file if the set-hostname recipe enabled and systemd sets as a default init-system. Related-to: ELB-1322 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 2b41160a098d5cc1ad3e5155e57bede7ce34ca48)
2021-07-18images: base-tdx-cli: add set-hostname serviceOleksandr Suvorov
The service "set-hostname" adds a serial number of a module to a machine hostname. It allows a customer to identify a module he is working with simply. Add it to the "packagegroup-base-tdx-cli", so that all Reference Multimedia and Minimal images have hostnames like Torizon in the style of "colibri-imx8x-06748675". Also, customers using the "packagegroup-base-tdx-cli" inherit that and it lands in their production image. Related-to: ELB-1322 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit c00e37b6324b16361ddc08abfdf39acd54d60ce6)
2021-07-18tdx-reference-*-image.bb: Don't show NXP license for NVIDIA and upstreamDenys Drozdov
Tezi will not show EULA License for Apalis TK1 and upstream builds Related-to: ELB-3945 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit 49d49b87cb98e061731e38985b425147e22dcfcb)
2021-07-18packagegroup-tdx-cli: colibri-vf: don't install perfMax Krummenacher
With the 4.4 kernel perf no longer builds. Don't add it to the packagegroup for colibri-vf machine with use-nxp-bsp. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bf5691c4651ece15e6b08e9fc347b657dd9af38b)
2021-07-12packagegroup-tdx-cli: remove stale lvds-tegra124Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> (cherry picked from commit 9c277f8bf4fa3c6a0b2c10c93b66b28f440d9723)
2021-07-09spidev-test: older kernel only compatible to colibri-vfMarcel Ziswiler
All others can/will use the generic recipe now available at meta-openembedded/meta-oe/recipes-kernel/spidev-test/spidev-test.bb Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-09spidev-test: fix catering for updated license fileMarcel Ziswiler
Cater for updated license file. Fixes: openembedded-core commit 5ecf139a31fa ("licenses: Update license file to match current SPDX names") Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-07Revert "spidev-test: drop support for older kernel and change license check"Marcel Ziswiler
This reverts commit 8b6a847c7cd879f2d77452321eae3e0f5d8c6b41.
2021-06-05layer.conf: add honister to compat layerMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-05-24tdx-reference-multimedia-image: add packagegroup-fsl-ispMax Krummenacher
This adds packages related to the i.MX 8M Plus ISP (Image signal processor). For all other machines this packegroup does currently doesn't add anything. Related-to: ELB-3957 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit b7ed660510e95eb50c707153a5c3713c0338135c)
2021-05-24dropbear: allow weak ciphers when debug-tweaks is setMax Krummenacher
Related-to: ELB-3908 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 08f3c7a36539dbe2760e0500c7c460dbcd48be4d)
2021-05-24dropbear: drop no longer referenced patchMax Krummenacher
Note that later versions of dropbear default to not do reverse lookups. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit ee43d6a6132bbd45696586fac1f68f5af32d5687)
2021-05-24toradex-mirrors: use new artifactory link for sourcesPhilippe Schenker
Sources from TorizonCore and BSP are aggregated on new artifactory repository https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/ Use this new link plus $TDX_MAJOR to use the correct sources for the current major version Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 709b72950c5406ef0e511fee7030b51fc8681e14)
2021-03-23base-files: enable wayland environment in /etc/profile.dDenys Drozdov
The user running ssh session should be able to run wayland application. Add proper XDG settings, once user logged in /etc/profile.d/wayland-env.sh Related-to: ELB-3448 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit 82e3d7b2b56fccabcd52708314acc9dfd6bb24d1)
2021-03-23release-notes: delete old text filesMax Krummenacher
In BSP V2.x we used to provide release notes in a text file. These are now outdated. Delete them. For the current BSP the equivalent info can be found here: https://developer.toradex.com/software/linux/linux-software/release-details Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3384ba4a86592d6095b06355544e00ebc2996654)
2021-03-23packagegroup-tdx-cli: deploy usb gadget additionally for i.mx mainlineMax Krummenacher
Related-to: ELB-3478 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bda9e7f561b50cda6881d0300f9c0d4f93fd9549)
2021-03-23fstab: mount the partition with the boot files at /bootMax Krummenacher
Mount the partition /dev/boot-part on /boot. This requires the help of udev/scripts/mount.sh. The script checks the /proc/cmdline for the rootfs partition. If this is the second partition of a block device and a first partition exists it creates the symlink /dev/boot-part. This reverts the previous mounting scheme which unconditionally mounted the first eMMC partition at /boot, independent of the eMMC being the actual device one booted from. commit 38705bd ("fstab: configure the emmc's first partition to mount at /boot") Related-to: ELB-3323 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3bb042fc4cf0254ca9630b43a3f604176c540aaf)
2021-03-23fstab: resync with openembedded-coreMax Krummenacher
Follow the following two oe-core commits with our forked fstab file. c999bc5ddd ("base-files: set ptmxmode to 666") c24f0fa366 ("base-files: Remove /proc/bus/usb from fstab.") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 9c5431a22bb2e7b31280642ba866e9aec6a52b75)
2021-03-23tdx-reference-*-image.bb: Show EULA license for reference targetsDenys Drozdov
Tezi will show EULA License for Toradex reference targets. Related-to: ELB-3485 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com> (cherry picked from commit db7776dd7e6eae80811568b85bbf478e35f27045)
2021-03-23tinycompress: use https to fetch git repoMax Krummenacher
This helps people which can't access the web with the git protocol. Related-to: ELB-3475 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bf1bc67f2de9f0245da66a3a15d5c439ee7462d7)
2021-03-23serial-test: use https to fetch git repoMax Krummenacher
This helps people which can't access the web with the git protocol. Related-to: ELB-3475 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 591e318f80d31694203bec4267e285ad90e5c3af)
2021-03-23hda-verb: delete recipeMax Krummenacher
This was never part of one of our regular images. hda-verb is now built as part of the alsa-tools recipe and packaged into the alsa-tools package. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 5026458289e8bf0d60981bcf647723419a940d1b)
2021-03-23layer.conf: add hardknott, drop dunfell in compat layerMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-02-25spidev-test: complete change license checkMax Krummenacher
Fix dependencies to prevent a possible race which provokes the following build failure: | WARNING: spidev-test-1.0-r0 do_populate_lic: Could not copy license file ...work-shared/colibri-imx8x/kernel-source/tools/spi/spidev_test.c ... [Errno 2] No such file or directory: | ERROR: spidev-test-1.0-r0 do_populate_lic: QA Issue: spidev-test: LIC_FILES_CHKSUM points to an invalid file Commit 8b6a847 ("spidev-test: drop support for older kernel and change license check") checks the license from the shared kernel sources. Make sure that these are available before accessing those files. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>