summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-07-23libusbgx: fix do_installHEADmasterErnest Van Hoecke
The file 99-toradex-usb-udc.rules needs to be installed from ${UNPACKDIR} instead of ${WORKDIR} to follow the recent OE changes. Fix this file installation. Resolves the following error: install: cannot stat '${BUILDDIR}/tmp/work/aarch64-tdx-linux/libusbgx/0.2.0+git/99-toradex-usb-udc.rules': No such file or directory Related-to: ELB-6355 Fixes: b25ffb88 ("libusbgx: call gadget-start from udev instead of usbgx.service") Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com>
2025-07-22libusbgx: call gadget-start from udev instead of usbgx.serviceErnest Van Hoecke
The systemd target `usb-gadget.target` is triggered by udev when a UDC first comes up. The usbgx service uses this target and executes gadget-start to initialize the gadget. It can happen that by the time gadget-start runs, the UDC has been removed from the system again. For example, we saw such a situation using the DWC3 USB controller and usb-conn-gpio kernel modules as loadables. By the time of the DWC3 init, udev was active, and during init DWC3 started the USB OTG port in devicemode, generating a udev add event. If a pen drive was plugged in at boot, it would quickly switch to host mode right after initialisation, emitting another udev event for the removal of the UDC. The systemd target is thus reached, but by the time gadget-start ran, the UDC was gone. dwc3 init usb-conn-gpio role switch │ │ ▼ ▼ udev: add UDC─┐ udev: del UDC─────►/sys/class/udc empty │ │ │ x │ │ │ ▼ └────────────►usb-gadget.target─────►gadget-start Call gadget-start from udev every time a UDC comes up instead of only once via the systemd service (usbgx.service). Repeated runs of this script are not problematic. Related-to: ELB-6355 Signed-off-by: Ernest Van Hoecke <ernest.vanhoecke@toradex.com> (cherry picked from commit 4ba1cebc6909ee7a83d569e8cc748f69e6a0a24f)
2025-07-03gpicview: remove recipeHiago De Franco
GPicView recipe was merged into meta-oe master branch [1], so now this can be removed. [1] https://github.com/openembedded/meta-openembedded/commit/6b0cf5b202028d4f431ed2284466c3e6f2346967 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-07-02libusbgx: add bbappend from meta-toradex-bsp-commonHiago De Franco
The libusbgx bbappend should be placed in the toradex-demos layer rather than in the BSP layer. This bbappend is a demo image–specific customization and should not be applied universally to all users of the BSP. Keeping this change in the toradex-demos layer ensures it only affects demo images (reference images). Related-to: ELB-6287 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-06-30layerwide: updates for WORKDIR/UNPACKDIR and git fetch locationMax Krummenacher
The series [1] changed the way sources are fetched/unpacked and S needs to follow that. As walnascar is no longer compatible with master/whinlatter drop it from LAYERSERIES_COMPAT. [1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/ Related-to: ELB-6506 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-06-23README: update SoCsHiago De Franco
Update current SoCs supported by this layer. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-06-22layer.conf: update for the whinlatter release seriesHiago De Franco
Fix current error: ERROR: Layer toradex-demos is not compatible with the core layer which only supports these series: whinlatter (layer is compatible with styhead walnascar) Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-06-13packagegroup-tdx-graphical: add kmsxxParth Pancholi
Add kmsxx tool which could be used to set modes and planes, show test pattern on crtcs/planes, and test page flips etc. Related-to: ELB-6419 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com> Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-06-11recipes-connectivity: hostapd-example: Add WPA2/WPA3 mixed modeVitor Soares
Add SAE key management and MFP example to support WPA3 clients while maintaining compatibility with existing WPA2 devices. Related-to: ELB-6472 Signed-off-by: Vitor Soares <vitor.soares@toradex.com> (cherry picked from commit 73056dac05c537cea54aeeadef56c9ef22d7b4c5)
2025-05-29readline: remove bbappendHiago De Franco
This have been merged upstream, therefore there is no need to keep it here. Remove it. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-26opkg: remove bbappendHiago De Franco
There is no need to call 'opkg configure' automatically during first boot. During the image creation process, bitbake executes package post-installation scripts at build time whenever possible. With that we can make sure all packages are configured before the image is deployed. Therefore, remove this command. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-26mesa-demos: remove bbappendHiago De Franco
This recipe is not being installed, remove its bbappend as it is not needed anymore. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-26openssh: remove bbappendHiago De Franco
This recipe is no longer being deployed into our images, therefore there is no need to keep it here. Remove it. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-26busybox: remove bbappendHiago De Franco
This is not needed anymore, the same config is being enabled by oe-core layer [1]. Remove it. [1] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/busybox/busybox_1.37.0.bb#L34 Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23Revert "connman: Rely on systemd-resolved for DNS configuration"Hiago De Franco
This reverts commit f113745861af0807ffdd5754cfb8d68cc7408eb9. Instead of setting the systemd-resolved here for connman, instead we set the "systemd-resolved" DISTRO_FEATURE inside meta-toradex-distro layer, therefore this commit is not necessary anymore. In addition, this removed patch does not exist on oe-core master branch anymore. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23alsa-utils: alsa-bat: fix buffer time configurationMax Krummenacher
On some hardware some sample rates lead to a configuration error when not forcing 'valid' buffer/period settings. Affected is e.g. toradex-smarc-imx95 when using 44100 samples/s. | root@toradex-smarc-imx95-12593551:~# alsabat -D hw:0,0 -r 44100 -c 2 -f S16_LE | alsa-utils version 1.2.11 | | Entering playback thread (ALSA). | Set parameter to device error: buffer time: 500000 hw:0,0: Invalid argument(-22) | Exit playback thread fail: -22 Backport the relevant fix. Related-to: ELB-6452 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 4295f1cdfeedf9b90439befcecea5a5e4fb128b7)
2025-05-23recipes-support: remove consolekit, libfm and libpcre bbappendsHiago De Franco
These packages are not being installed into our images and, therefore, not being used anymore. They were used on old Toradex images. Remove them. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23recipes-sato: remove matchbox-keyboard and webkit bbappendsHiago De Franco
These packages are not being installed into our images. Remove them as they are not used anymore. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23codecgraph: remove recipeHiago De Franco
This recipe is not being installed into our images. Remove it. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23mediainfo: remove mediainfo related recipesHiago De Franco
Remove mediainfo, mediainfolib and zenlib, these recipes are not being used anymore and are related to old Toradex images. Remove them. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23scrot/giblib: remove recipesHiago De Franco
These recipes are not being used and are related to old Toradex images. Remove them. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23serial-test: remove recipeHiago De Franco
This recipe is is available at meta-openemebedded layer named linux-serial-test_git.bb. Remove it and use the one provided from meta-openemebedded layer. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23packagegroup-tdx-cli: clean-up unnecessary packagesHiago De Franco
The following packages are not used or not necessary anymore: - aspell - gpsd - libgomp - packagegroup-dotnet-deps - sqlite3 Remove them and the BACKPORTS variable which is currently empty. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23clpeak: remove recipeHiago De Franco
Remove recipe from meta-toradex-demos layer in favor of the one from meta-openembedded layer. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23cpuburn: remove recipeHiago De Franco
Remove cpuburn recipe from meta-toradex-demos and use the one coming from meta-openembedded layer, which is called "cpuburn-arm" instead. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23tdx-oak-sensors: remove recipeHiago De Franco
Toradex oak sensors is a legacy product which is not used or sold anymore. Remove the related recipe. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23packagegroup-tdx-cli: clean-up Wi-Fi firmware filesHiago De Franco
Remove Wi-Fi firmware files from packagegroup-tdx-cli since they are already specified in the respective machine configuration files. For example, verdin-imx8mm defines 'MACHINE_FIRMWARE:append = " linux-firmware-sd8997"' in meta-toradex-nxp layer. Keep both linux-firmware-rtl8192cu and linux-firmware-rtl8188 enabled since these are Wi-Fi dongles that are still sold by Toradex webshop. This change also reduces the image size on SoMs that does not use these Wi-Fi firmware files. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23packagegroup-core-x11: remove bbappendHiago De Franco
This packagegroup is relevant for the core-image-minimal-xfce from meta-openembedded, which is not relevant for our demo images and not being used. Remove it. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23xserver-xorg: remove bbappendHiago De Franco
Toradex X11 Images do not exist anymore, this recipe is not being deployed, therefore there is no point in keeping this bbappend file. Remove it. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23xinput-calibrator: remove bbappendHiago De Franco
This recipe is not being deployed anymore and we do not have any X11 images left. Instead, we should use the Weston touch calibrator. Remove it. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-23systemd: update recipe with openembedded-core oneHiago De Franco
"networkd" is already a default PACKAGECONFIG [1], there is no need to add it again. "acl" is using deprecated meson configurations that were already fixed in oe-core, there is no need to keep them here [2]. [1] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/systemd/systemd_257.5.bb#L88 [2] https://github.com/openembedded/openembedded-core/commit/853414760741530356355826b97f14c95a2144e4 Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-21libimxvpuapi: remove bbappendHiago De Franco
This EXTRA_OECONF is already present on meta-freescale layer [1], there is no point in keeping it duplicated here. Remove it. [1] https://github.com/Freescale/meta-freescale/blob/master/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb#L21 Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-21dropbear: remove bbappendHiago De Franco
This PACKAGECONFIG does not exist anymore, it was dropped in oe-core master branhc in commit c01205e7a481 ("dropbear: upgrade 2024.86 -> dropbear_2025.88"). There is no point in keeping this bbappend anymore. Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-21bluealsa: remove recipe in favor of meta-oe oneHiago De Franco
Remove the bluealsa recipe from meta-toradex-demos so we use the one from meta-opembedded instead [1]. Both recipe are pretty much similar and should not affect the usage of bluealsa into our images. [1] https://github.com/openembedded/meta-openembedded/blob/master/meta-multimedia/recipes-multimedia/bluealsa/bluealsa_4.3.0.bb Related-to: ELB-6306 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-05-14packagegroup-tdx-cli: remove smemFrancesco Dolcini
smem was added just as a nice-to-have, without a specific need. It uses quite some space in the rootfs, because of quite a number of python3 dependency. Remove it to save space and make NAND based SoM modules get back some useful free space on the rootfs Related-to: ELB-6454 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit aa3cd6ee217d295ba14edb1292939d689eb20ae4)
2025-05-09systemd: mask systemd-networkd-wait-online.serviceStefan Eichenberger
The systemd-networkd-wait-online.service unit expects at least one network interface managed by systemd-networkd to reach a configured state. In our setup, ConnMan manages the Ethernet interface, while systemd-networkd is responsible for USB and Wi-Fi interfaces. Consequently, systemd-networkd is unaware of the Ethernet connection's status. In the LAVA test environment, USB and Wi-Fi interfaces are not connected at boot. This leads to systemd-networkd-wait-online.service consistently timing out, as none of the interfaces it manages become fully operational. Masking systemd-networkd-wait-online.service prevents it from starting, thus avoiding these timeouts during boot in the LAVA setup. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-05-09Revert "connman: Remove Ethernet interface management"Stefan Eichenberger
This reverts commit 747c97936c770ba7f74f3dee125db7f5e4d97daa. Moving from ConnMan to systemd-networkd introduced new regressions. Therefore, we decided to move back to ConnMan for the time being and fix the initial regression in a different way. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-05-05packagegroup-tdx-cli: replace alsa-ucm-conf-tdx with alsa-umc-confHiago De Franco
Replace alsa-ucm-conf-tdx with the one from openembedded-core layer, alsa-ucm-conf, keeping it aligned with the change in the meta-toradex-bsp-common layer. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-04-15connman: Rely on systemd-resolved for DNS configurationStefan Eichenberger
The commit 747c97936c77 ("connman: Remove Ethernet interface management") transferred control of Ethernet interfaces to systemd-networkd. This caused a regression where DNS resolution stopped working, as ConnMan previously managed DNS settings based on information received via those interfaces. Configure ConnMan to delegate DNS handling to systemd-resolved. This ensures that DNS servers obtained by systemd-networkd are correctly utilized via systemd-resolved, restoring DNS functionality. Related-to: ELB-6332 Fixes: 747c97936c77 ("connman: Remove Ethernet interface management") Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-11systemd: rename rndis.network to usb-gadget.networkStefan Eichenberger
The RNDIS protocol is not used for USB gadget Ethernet connections for some time. It was replaced by CDC-NCM. However, the systemd network configuration file for this interface retained the legacy 'rndis.network' name. Renaming it to 'usb-gadget.network' provides a more generic name and removes potential confusion, without changing any functional behavior. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-11hostapd: Make hostapd-example network optional for online stateStefan Eichenberger
The hostapd-example network is not always present or required for the system's network connectivity to be considered generally "online" by systemd-networkd. However, the current configuration requires it. Therefore, set 'RequiredForOnline=no' in the 'hostapd-example.network' configuration file. This ensures that systemd-networkd-wait-online.service can still succeed and the network-online.target can be reached even if the RNDIS interface is not available or configured. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-11systemd: network: Make RNDIS network optional for online stateStefan Eichenberger
The RNDIS network is not always present or required for the system's network connectivity to be considered generally "online" by systemd-networkd. However, the current configuration requires it. Therefore, set 'RequiredForOnline=no' in the 'rndis.network' configuration file. This ensures that systemd-networkd-wait-online.service can still succeed and the network-online.target can be reached even if the RNDIS interface is not available or configured. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-11connman: Remove Ethernet interface managementStefan Eichenberger
systemd-networkd needs to track the state of Ethernet interfaces directly for reliable use of network-online.target. Therefore, ConnMan's automatic configuration of Ethernet interfaces is disabled. This prevents conflicts and allows systemd-networkd to manage these interfaces, enabling services that depend on network-online.target to function correctly. Related-to: ELB-6332 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2025-04-08packagegroup-tdx-cli: remove not needed FW filesFrancesco Dolcini
Remove Wi-Fi firmware files for devices without driver enabled. - CONFIG_LIBERTAS is not enabled, therefore remove sd8686/sd8688 - CONFIG_ATH9K is not enabled, therefore remove ath9k - CONFIG_WLAN_VENDOR_RALINK is not enabled, therefore remove ralink Related-to: ELB-6383 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit c4f2ac97e6dc6180617031b509cb8395444afd13)
2025-02-20packagegroup-tdx-cli: remove IW416 and 8997 firmware packagesHiago De Franco
These packages are being set by the machine files (e.g. verdin-am62.conf), for the SoMs that have these Wi-Fi chips available. Therefore there is no point on having them here. Related-to: ELB-6240 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit b5f15cefa15f1c9ef6aad6f594cb168dd531f3ec)
2025-02-19weston-init: Remove tdx overrideHiago De Franco
The 'tdx' override is not relevant for meta-toradex-demos. This layer is solely for building demos for the Toradex distribution, and all recipes within it are expected to be applied. If the user intends to build only the distribution, they should use meta-toradex-distro instead. Related-to: ELB-6231 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 5207251ac61b521db2f3d96cc52149e53d4ad354)
2025-02-04qt5: Remove all recipes related to Qt 5 and set weston-simple-egl as default appHiago De Franco
Qt 5 has reached end-of-life and is being removed from Toradex Layers. The Toradex Reference Multimedia Image now features the Weston desktop by default with the weston-simple-egl client, replacing the previous Qt Cinematic Experience demo. Related-to: ELB-6229 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-02-04wayland-app-launch: Remove APPLICATION_ENVIRONMENT variableHiago De Franco
When the APPLICATION_ENVIRONMENT is not set, the second "Environment" inside wayland-app-launch gets empty. As example: Environment=WAYLAND_DISPLAY=/run/wayland-0 Environment= This causes systemd to clear all the enviroment variables, unsetting the WAYLAND_DISPLAY previously set, which causes the some apps to no function anymore (e.g. weston-simple-egl). Therefore remove it and if anyone needs to add more environment variables, this should be done by bbappending the recipe and changing the systemd service file. Related-to: ELB-6229 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-02-04weston-simple-egl-launch: add recipeHiago De Franco
Add the possibility to launch the weston-simple-egl demo, as it is done with the Qt cinematic experience. Related-to: ELB-6229 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-01-22recipes-connectivity: add hostapd-example.service for aquila-am69Parth Pancholi
The Aquila AM69 platform currently uses the ath11k Linux driver, which does not support separate wireless interfaces for station mode and access point mode. This change adds the Toradex hostapd-example service for Aquila AM69 which creates a virtual uap0 interface and ensures the wlan0 interface is brought down before setting up the wireless access point. This change ensures a proper cleanup by removing uap0 and bringig up wlan0 interface post stopping the service. This resolves the issue where "systemctl start hostapd-example" command fails to initialize the wireless access point on Aquila AM69. Related-to: ELB-6137 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com> (cherry picked from commit de062b56b74134216934747e60760226e48997c9)