summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2 daysset-hostname: update sethostname script to handle read-only root filesystemkirkstone-6.x.yHiago De Franco
The sethostname script has issues when the root filesystem is mounted as read-only, making not possible to create or modify the /etc/hostname file. Therefore, this change updates the sethostname script and adds the @@HOSTNAMECTL_OPT@@ that can further be replaced with the "--transient" flag for hostnamectl if the system uses a read-only root FS. This flag will change the hostname without creating the /etc/hostname file. With this change, update recipe version from 1.0 to 1.1. Related-to: ELB-5713 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
8 daysrecipes-core: udev: add support for mwifiex_sdio in wifi configurationHiago De Franco
Previously, the network configuration file only supported mwifiex_pcie driver, but WiFi/BT interface of the Verdin modules uses the SDIO interface, which caused 10-toradex-wifi-ifnames.link was not being applied to this hardware family. Therefore, fix this issue by extending support to the SDIO driver. Related-to: ELB-5696 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
13 daysalsa: Add alsa-ucm-conf-tdx recipeHiago De Franco
Add alsa-ucm-conf-tdx (ALSA Use Case Manager with Toradex hardware configurations) recipe and dahlia/dev configuration files for Alsa UCM. The ALSA UCM is used to set different audio input/output configurations based on the audio card name used by the board. With UCM, a configuration file for codec WM8904 (Dahlia board) or codec NAU8822 (Development board) will be automatically selected during boot. This recipe is dependent on the OE upstream recipe alsa-ucm-conf. Related-to: ELB-4916 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-04-04toradex-kernel-localversion: follow oe changesMax Krummenacher
The setting of localversion has been changed in openembedded-core to accomodate changes in the kernel sources around v6.3. This changed that the kernel and external kernel modules with our way of setting localversion didn't use the same module magic. One used what we want for LOCALVERSION twice while the other uses it only once. Compare with OE-Commits: commit b378eec156 ("kernel: make LOCALVERSION consistent between recipes") commit 765b13b730 ("kernel: fix localversion in v6.3+") Related-to: ELB-5330 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 0ffa2b2b3aec8b4456acebec33a09b9dd88f7f49) Backport to kirkstone after the above OE-Commits were backported to kirkstone. Change the class to keep using CONFIG_LOCALVERSION in the kernel configuration as the Torizon TCB tool relies on the information from this config variable. If a kernel based on version 6.3+ would be built the git version will no longer be included in the reported kernel version. Related-to: ELB-5704 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-04-04linux-toradex-mainline: remove mmc extcsd patchesFrancesco Dolcini
Patches were applied 6.1 stable kernel, remove it from the patches list since it's not required anymore and to fix a build failure. Recipe version is also updated to v6.1.84 that includes this patch. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-04-01Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu 28 Mar 2024 11:19:09 PM UTC Matrix Build: image-tezi-kirkstone-6.x.y-nightly-matrix 285 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-kirkstone-6.x.y-nightly-matrix/285 Signed-off-by: ci.toradex <cicd@toradex.com>
2024-03-28u-boot-toradex: Add patches to fix RNG not available / failed to init idle ↵Emanuele Ghidoli
CPU ops On colibri-imx7 (nand) linux kernel fails to initialize the CAAM Job Rings, with this error: `caam_jr 30901000.jr: failed to flush job ring` On colibri-imx7-emmc linux kernel fails to initialize CPUidle with this error: `CPUidle arm: CPU 0 failed to init idle CPU ops` CAAM Job Rings linux driver needs that U-Boot allow access to JR registers when running in HYP mode (aka U-Boot non secure-mode) CPUIdle needs PSCI it is active only when HYP mode. Moreover, mainline kernel should be run in HYP mode. So, enable non secure mode on colibri-imx7-emmc and give access at CAAM Job Rings to Non Trusted Zone when running in HYP mode. Related-to: ELB-4940 ELB-5611 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2024-03-25linux-toradex-mainline: Add MMC extcsd fixes patchFrancesco Dolcini
Add patches to fix MMC extcsd ioctl regression. Related-to: ELB-5679 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2024-03-21verdin-imx8mp: udev: Add Verdin I2C_3_HDMI symlink rule to upstream kernelVitor Soares
Add Verdin I2C_3_HDMI symlink rule to match upstream kernel naming. Related-to: ELB-5638 Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
2024-03-21u-boot-toradex: remove stale patchEmanuele Ghidoli
The removed patch is relevant to the downstream colibri-imx7 kernel which is no longer supported. Related-to: ELB-5611 Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
2024-03-12image_type_tezi: allow copying raw rootfs imagesSergio Prado
Add support for rootfs image files in the raw format. This might be useful when the rootfs image has formats like squashfs or verity. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
2024-03-04Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Sat 02 Mar 2024 12:49:27 AM UTC Matrix Build: image-tezi-kirkstone-6.x.y-nightly-matrix 264 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tezi-kirkstone-6.x.y-nightly-matrix/264 Signed-off-by: ci.toradex <cicd@toradex.com>
2024-02-26udev-toradex-rules: Add systemd link files to include altnames for CANHiago De Franco
Introduce systemd link files to incorporate alternative names for CAN interfaces, adding compatibility with names provided in datasheets and device tree comments. With this modification, the alternative name for can0 will be 'verdin-can1', and for can1, 'verdin-can2' on i.MX processors. For the AM62, can1 will become 'verdin-can1', and can0 will become 'verdin-can2'. The alternative names will be displayed as follows: ``` 4: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10 link/can altname verdin-can1 5: can1: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10 link/can altname verdin-can2 ``` Related-to: ELB-5600 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-02-23linux-toradex-mainline: remove apalis-imx6 ixora can patchJoao Paulo Goncalves
Patch was applied to 6.1 stable kernel, remove it from the patches list since it's not required anymore and to fix a build failure. Recipe version is also updated to v6.1.79 that includes this patch. Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2024-02-23linux-toradex-mainline: defconfig: enable EXFAT_FSParth Pancholi
Add support for ExFAT filesystem. Related-to: ELB-5583 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2024-02-01Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue 30 Jan 2024 09:52:32 PM UTC Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 510 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/510 Signed-off-by: ci.toradex <cicd@toradex.com>
2024-01-26linux-toradex-mainline: remove wifi mwifiex bssid patchJoao Paulo Goncalves
Patch was applied to 6.1 stable kernel, remove it from the patches list since it's not required anymore and to fix a build failure. Recipe version is also updated to v6.1.75 that includes this patch. Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2024-01-25linux-toradex-mainline: Add patch for Apalis Evaluation Board v1.2Hiago De Franco
Backport patches to add device tree support for the new Apalis Evaluation Board v1.2. Related-to: ELB-5532 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-01-24u-boot-toradex: Add the new pid4 for colibri and apalisJoao Paulo Goncalves
Add patch to add the new nonwince pid4 of colibri imx6/imx7 and apalis imx6 on bsp6 u-boot. Related-to: ELB-5558 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2024-01-23linux-firmware: fix imx-firmware license rename/updateMarcel Ziswiler
This fixes NXP having renamed and updated the license (again). Fixes: a7100f0ca20b ("linux-firmware: update imx-firmware to lf-6.1.55-2.2.0") Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2024-01-22linux-firmware: update imx-firmware to lf-6.1.55-2.2.0Marcel Ziswiler
Update imx-firmware to commit 7be5a936ce8677962dd7b41c6c9f41dd14350bec on branch lf-6.1.55_2.2.0. This updates the IW416 Bluetooth and Wi-Fi Firmware to 16.92.21.p84.128. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2024-01-18linux-firmware: drop recipe in favour of the one in oe-coreMax Krummenacher
openembedded-core bumped to the 20231030 release which includes the updated firmware files we need. Drop the recipe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-01-15linux-toradex-mainline: Add support for Apalis Eval Board v1.2 new ICsHiago De Franco
Apalis Evaluation Board v1.2 added some new on-board chips (compared to v1.1) that are not yet enabled in the mainline Linux kernel defconfig file: - Audio codec NAU88C22YG - Current/Voltage measurement INA219 - Temperature Sensor TMP75CIDGKR So add the necessary drivers as modules to support these new devices. Related-to: ELB-5532 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-01-08image_type_tezi: Create unversioned symlink to tarballMatthijs Kooijman
This makes it easier to reference a custom produced image in a deploy or customization (e.g. with torizoncore-builder) workflow. Variable names and the link command are modeled after /meta-toradex-torizon/recipes-bsp/u-boot/u-boot-ota.inc Signed-off-by: Rafael Beims <rafael.beims@toradex.com> Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl>
2024-01-08Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Fri 05 Jan 2024 09:02:58 PM UTC Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 488 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/488 Signed-off-by: ci.toradex <cicd@toradex.com>
2023-12-21linux-toradex-mainline: Add patch for f_ncm.cHiago De Franco
This patch addresses an issue related to NCM and the transmission of small packets, as when using VNC, for example. The ongoing discussion about this problem can be checked on the Linux kernel mailing list at [1]. Until the matter is resolved in the mainline, we should keep this patch here as it has demonstrated it solves the issue for now. Future updates can be made once the mainline fix is implemented. [1] https://lore.kernel.org/all/20231204183751.64202-1-hiagofranco@gmail.com/ Related-to: TEI-1078 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-12-19linux-toradex-mainline: patch: Fix inconsistent BSSID when starting APVitor Soares
When restart hostapd the AP is no longer functional. This patch addresses the issue by configuring AP BSSID before starting the AP. Related-to: ELB-5484 Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
2023-12-15image_type_tezi: allow populating "filelist" fieldRogerio Guerra Borin
The "filelist" property allows extra files to be copied into the target filesystem at image installation time. With this implementation we let users fill in that property at build-time; this is done by settting the value of the OE variable TEZI_ROOT_FILELIST. The files referenced by that variable will also become part of the Toradex Easy Installer image. Relate-to: TOR-2915 Signed-off-by: Rogerio Guerra Borin <rogerio.borin@toradex.com>
2023-12-12u-boot-toradex: Add patch to fix eMMC dectection on Colibri iMX7DHiago De Franco
On Colibri iMX7D 1GB v1.1B, a "new" SoC fusing is being used. This caused an issue where the GPIO(6,11), used to detect if a board uses NAND or eMMC, only worked while the module was in recovery mode. Once it booted from the eMMC, the GPIO was set to output, therefore always returning 0. The default behavior should be GPIO return 1 for eMMC device and 0 for a NAND device, which allows U-Boot to behave correctly. This also addresses an issue where Tezi 6 was failing to boot because of wrong variant detection. Related-to: ELB-5496 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-12-05Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Tue 05 Dec 2023 06:28:53 AM UTC Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 450 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/450 Signed-off-by: ci.toradex <cicd@toradex.com>
2023-12-04linux-toradex-mainline: verdin-imx8mm/mp: backport mallow patchesJoao Paulo Goncalves
Backport mallow carrier board device tree files for verdin imx8mm/mp already sent to mainline linux enabling mallow support on toradex mainline version. Related-to: ELB-5215 and ELB-5216 Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
2023-11-29linux-toradex-mainline: remove micron emcc quirk patchFrancesco Dolcini
Patch was applied to 6.1 stable kernel, remove it from the patches list since it's not required anymore and to fix a build failure. Recipe version is also updated to v6.1.64 that includes this patch. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-11-28toradex-devicetree.bbclass: drop deployment of 'common' dtboMax Krummenacher
We dropped having common device tree overlays, i.e. all dtbo are now machine specific and start with the machine name. Drop searching and deploying dtbos which do not start with a machine name. This fixes deploying verdin-am62*dtbo for non verdin-am62 machines. Related-to: ELB-5479 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-11-23u-boot-toradex: Backport patch to fix Colibri iMX7S U-Boot errorHiago De Franco
The following error was spotted during the boot of Colibri iMX7S on Tezi 6: ``` U-Boot 2022.07-6.4.0-devel+git.e092e3250270 (Jul 11 2022 - 13:42:58 +0000) CPU: Freescale i.MX7S rev1.2 800 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 29C Reset cause: POR DRAM: initcall sequence 8786b820 failed at call 87818e09 (err=-3) \### ERROR ### Please RESET the board ### ``` This patch solves this issue by calling fdt_increase_size() on colibri_imx7.c file. Related-to: TEI-1138 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-11-22udev-toradex-rules: add verdin-am62 uart2 symlinkParth Pancholi
add /dev/verdin-uart2 symlink on Verdin AM62 Related-to: ELB-5122 Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2023-11-21u-boot-distro-boot: make use of the machine.conf provided varMax Krummenacher
With the kernel moving 32 bit device trees in subdirectories starting with kernel 6.5 the toradex machine configuration files provide the variable KERNEL_DTB_PREFIX. The fit image configuration name is constructed from KERNEL_DTB_PREFIX plus the dtb file name. Make use of the KERNEL_DTB_PREFIX variable to construct the configuration used for booting. As we now also set KERNEL_DTB_PREFIX for the 64 bit machines the inline python works for all machines, thus drop the DTB_PREFIX overrides. Related-to: ELB-5262 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-11-14linux-toradex-mainline: patch: fix bootup issue with Micron Q2J54A EMMCParth Pancholi
Micron MTFC4GACAJCN eMMC supports cache but requires that flush cache operation be allowed only after a write has occurred. Otherwise, the cache flush command or subsequent commands will time out. This patch has been merged in mainline with commit ed9009ad300c. Related-to: ELB-5386 Signed-off-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Rafael Beims <rafael.beims@toradex.com> Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
2023-11-09u-boot-toradex: Add patches for fastboot supportHiago De Franco
This commit introduces patches to the defconfig of Apalis/Colibri iMX6, Colibri iMX7 and Colibri iMX6ULL to enable fastboot support and adds a logic to the bootcmd to select SDP or Fastboot based on the configs enabled. Related-to: TEI-1136 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-11-03tdx-info: Upgrade to version v0.1.2Hiago De Franco
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-10-31Bump SRCREVci.toradex
Bump SRCREV hashes as used in build of Thu 26 Oct 2023 05:20:06 AM UTC Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 420 Matrix Build Status: SUCCESS Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/420 Signed-off-by: ci.toradex <cicd@toradex.com>
2023-10-26linux-firmware: follow oe-core recipe uprevMax Krummenacher
With oe-core bumping linux-firmware we now get the following error: | ERROR: ParseError at ...meta-toradex-bsp-common/recipes-kernel/linux-firmware/linux-firmware_20230928.bb:1: Could not include required file recipes-kernel/linux-firmware/linux-firmware_20230625.bb Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-10-24linux-toradex-mainline: patch: imx6-apalis: add can power-up delay on ixora ↵Andrejs Cainikovs
board Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms. This patch adds mentioned delay for iMX6 Apalis SoM variants. The series has been submitted upstream [1]. [1] https://lore.kernel.org/all/20231020153022.57858-3-andrejs.cainikovs@gmail.com/ Related-to: ELB-5224 Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-10-20u-boot-toradex: Add patch to fix build errorsHiago De Franco
Add a patch to fix device tree build errors from other boards that are not related to Colibri. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-10-19u-boot-toradex: Remove nand_padding functionHiago De Franco
The last commit [0cdb7f9e] removed the need of the 'nand_padding' function within our recipes, so remove it. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-10-19u-boot-toradex: Backport mainline patches for nand paddingHiago De Franco
This commit backports two patches submitted to the U-Boot mainline, both of which relocate the 'nand_padding' function to the Makefile of 'mach-imx.' The first patch introduces the 'u-boot-nand.imx' target to the Makefile, producing a binary file with 1024 leading zeros. The second patch adds a 'dd' command to the Makefile, appending 10k zeros to the end of the binary. These changes will eliminate the need of the 'nand_padding' function. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-10-18mwifiex: change to mit license et. al.Marcel Ziswiler
Change to the most "open" MIT license. While at it also update the summary, description, drop the bogus inherit systemd and update the SRC_URI to be fully in-line with btnxpuartconf. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-10-18btnxpuart: bluetooth nxp uart module configurationMarcel Ziswiler
As the power-down pin (PD#) is shared and handled by +mmc-pwrseq for mwifiex_sdio, make sure mwifiex gets loaded first. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2023-10-16u-boot-toradex: Fix missing upstream-statusHiago De Franco
Fix missing Upstream-Status tag on recently merged patch. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2023-10-13linux-toradex-mainline: Add patches to support gpio poweroff priorityStefan Eichenberger
This commit adds a patch series which allows to set a higher priority for gpio-poweroff. This allows to execute the gpio-poweroff before a default poweroff handler. The patch series has been submitted upstream [1]. [1] https://lore.kernel.org/all/20231006130428.11259-1-francesco@dolcini.it/ Related-to: ELB-5383 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2023-10-06u-boot-toradex: Add patch for imx7 variant detectionHiago De Franco
Add patch to enable variant detection durint boot time. Depending on the board configuration, the variant will be set to "-emmc" or cleared in case it is a NAND device. This patch improves variant detection during system initialization through USB recovery mode. Related-to: TEI-1112 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>