Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
Fix missing Upstream-Status tag on recently merged patch.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
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>
|
|
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>
|
|
Add a general-purpose configuration variable handling function within the
toradex-kernel-config classe. This function can be used for various software
configurations, including U-Boot. By doing so, we reduce code duplication
in other layers that dynamically modify configurations, such as
meta-toradex-tezi.
Related-to: ELB-5409
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Set LINUX_VERSION to the tag pointed by SRCREV which was already updated
by gitlab CI.
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Set LINUX_VERSION to the tag pointed by SRCREV which was already updated
by gitlab CI.
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
|
|
Rename mwifiexap to mwifiexconf as it now handles more than just the AP
mode with disabling power saving on Verdin AM62 as well.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Add new 20230928 linux-firmware recipe downloading files from GIT and
requiring current OE core 20230625 recipe.
This will update the MRVL PCIE 8997 Wi-Fi firmware to version
W16.68.10.p159.1 that includes a fix to allow more than 1 client in AP
mode.
Once the upstream recipe is updated to include the newer Wi-Fi firmware
this recipe should be removed.
Related-to: ELB-5109
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
On the Verdin AM62 which uses the IW416 chipset for Wi-Fi add module
load options for the MWiFiEx driver to disable power save for now as
recommended by NXP.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
This reverts commit 75892564f73ddfe8652ad0ba9de850164924ccdc.
Revert this commit since the nand padding that was backported from
mainline doesn't correctly pad the final binary.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
This commit backports a patch that adds the NAND padding function to the U-Boot
Makefile, eliminating the need to maintain this function within the Yocto recipe.
Related-to: TEI-1029
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Stop deploying u-boot-with-spl.imx, this is not required to properly flash
the board nor for debugging. Separated SPL and U-Boot proper binaries available,
used by Tezi and can be easily flashed using update_uboot and update_spl helper
scripts.
This enables some simplification on Tezi.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Add remoteproc, rpmsg and imx mailbox drivers to enable HMP inter
processor communication features.
Add rpmsg client and tty demo samples for testing.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Bump SRCREV hashes as used in build of Wed 30 Aug 2023 09:36:14 PM UTC
Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 375
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/375
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
After building the kernel we want the used config being deployed.
This is already implemented for the linux-toradex-mainline recipe,
however the downstream vendor based kernels do not deploy the config.
Move the functionality to a class and inherit that in the mainline
kernel recipe to allow reusing the class in the downstream kernel
recipes.
Related-to: ELB-5149
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 36705df6b7f3df7d913bc5dcc7299d14d9cd5b9f)
|
|
Fix these unwanted behaviors:
- With kernel >= v6.3 /dev/colibri-watchdog-som and /dev/colibri-watchdog
are missing. Driver init sequence changes, the KERNEL label changes
from watchdog to watchdog1 and relevant rule that create the symlinks
stops matching.
- With kernel < v6.3 /dev/colibri-watchdog-som and /dev/colibri-watchdog-soc
are pointing to the same device, respectively /dev/watchdog0 (miscdev)
and /dev/watchdog (cdev) using the same watchdog device
(the SoM rn5t618 watchdog). Instead, it is expected that
/dev/colibri-watchdog-soc links to the SoC imx2-wdt watchdog device.
These are the current two configurations:
< v6.3:
/dev/colibri-watchdog -> watchdog0 (rn5t618)
/dev/colibri-watchdog-soc -> watchdog1 (imx2-wdt)
/dev/colibri-watchdog-som -> watchdog0 (rn5t618)
>= v6.3:
/dev/colibri-watchdog -> watchdog1 (rn5t618)
/dev/colibri-watchdog-soc -> watchdog0 (imx2-wdt)
/dev/colibri-watchdog-som -> watchdog1 (rn5t618)
Related-to: ELB-5315
Fixes: 9f9fa5d6c8ed ("udev-toradex-rules: Add additional watchdog symlink")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
A regression was introduced by commit:
```
commit 82b92298bead3a93fa905d1724ff17e0affbebc8
Author: Ming Liu <ming.liu@toradex.com>
Date: Fri May 12 11:01:15 2023 +0200
libusbgx: fix systemd service
- Drop '/sbin/modprobe libcomposite' and
'/bin/mount -t configfs configfs /sys/kernel/config' from
ExecStartPre, they are redundant since libcomposite would be
automatically loaded during system starting up due to the following
setting in linux-toradex recipe:
KERNEL_MODULE_AUTOLOAD += "libcomposite", insteadly, now let
usbg.service require and run after sys-kernel-config.mount.
- Since we have "WantedBy=usb-gadget.target" in systemd service, that
ensures when udev trigger UDC rules, usbgx.service would run as well
so the "Before=systemd-networkd.service" condition could be dropped
from usbg.service.
- Use "Type=simple" rather than "Type=oneshot", this ensures
usbg.service would not hang on failures, failures could happen in
many conditions, like if the end user has manually configured
something in configfs, or start usbg.service twice, or someting
wrong in /etc/usbg/g1.schema.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
```
In the case when 'Type=simple' is set, 'ExecStartPost=' will execute
right after the process in 'ExecStart=' is started, but we need it
execute after the last 'ExecStart=' process exited successfully, so
change back to "Type=oneshot".
Related-to: ELB-5338
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
For legal compliance there's a need to ship EULA along with
any firmware files from imx-firmware.
Related-to: ELB-5247
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Rather than unpacking in ${WORKDIR}/imx-firmware, unpack it in
${S}/imx-firmware and adjust the install commands accordingly.
This in preparation of properly adding the imx-firmware licence info.
When using the openembedded-core create-spdx-2.2.bbclass the specified
files are to be specified relative to ${S} which is easier to achieve
if in a subdirectory of ${S}.
Related-to: ELB-5247
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The variables TPL_BINARY and OFFSET_TPL_PAYLOAD are not choosen wisely
as they are not used to specify a TPL (Tertiary Program Loader).
They were introduced and used for the Verdin AM62 machine.
The tiboot3 binary is not a TPL (Tertiary Program Loader) but
actually contains the binaries first booted by the boot ROM.
Rename TPL_BINARY and OFFSET_TPL_PAYLOAD to FIRMWARE_BINARY and
OFFSET_FW_PAYLOAD respectively.
Related-to: ELB-5244
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Bump SRCREV hashes as used in build of Thu 27 Jul 2023 09:24:38 PM UTC
Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 346
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/346
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
linux-firmware create_spdx task fails because NO_GENERIC_LICENSE
is being set with a full path while it is expected to be under ${S}/.
Fix is not trivial and Torizon monthly release is ongoing, which
trigger create_spdx with building SBoM.
This revert 559619a7ac3c ("linux-firmware: add imx-firmware license")
while searching for proper solution.
Related-to: TOR-3159 ELB-5247
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Move common files into separate package and add it to sd89xx and iw416
dependencies.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
For legal compliance there's a need to ship EULA along with
any firmware files from imx-firmware.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
Recent change switched the branch of imx-firmware to the
latest release (lf-6.1.22_2.0.0), but did not update srcrev,
effectively making no change to the target image at all.
This bumps imx-firmware srcrev to the latest commit on the
mentioned branch.
Fixes: 8154788a0cfc ("linux-firmware: bump imx-firmware to latest version")
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
This bumps imx-firmware to latest lf-6.1.22_2.0.0.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
This adds the sdiouartiw416_combo_v0.bin firmware for IW416 based
Wi-Fi/Bluetooth modules which are present on Verdin AM62 modules.
This particular firmware variant is supposed to be used for
configuration of Wi-Fi via SDIO and Bluetooth via UART.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
With the addition of Verdin AM62 with IW416 based WiFi module we
need to get rid of meta-toradex-nxp dependency for TI based SoM.
This change moves linux-firmware recipe from meta-toradex-nxp.
Related-to: ELB-5247
Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
|
|
Bump SRCREV hashes as used in build of Sun 02 Jul 2023 06:22:02 AM UTC
Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 318
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/318
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
Move TPL_BINARY from a variable to a variable flag using the PID4 as a flag and
generate the image json file according to that.
This requires changes on the machine conf where TPL_BINARY is used.
This is required to support different SoC type (GP/HS-FS) that requires a
different tiboot3.bin on the Verdin AM62.
Related-to: ELB-5227
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Add a patch to fix a DDR RAM issue that can cause bit flips at
temperatures above 60°C.
Related-to: ELB-5211
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
|
|
Enable driver for Toshiba TC358743 HDMI-to-CSI-2 bridge.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Revert 1f391df446077d62514ee29f75970dff3d55a432
This reverted commit breaks the async subdevice probing that is needed
by TC358743 HDMI to MIPI-CSI2 bridge on Apalis iMX6. See [1] for details.
The V4L2 async framework for the imx6 seem to be fixed by [2]
patch series, that it is not yet merged.
While waiting for this patch series to be merged we revert this single
commit.
[1] https://lore.kernel.org/all/8360125.31r3eYUQgx@steina-w/
[2] https://lore.kernel.org/all/20230525091615.2324824-1-sakari.ailus@linux.intel.com/
Related-to: ELB-5141
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
|
|
- Drop '/sbin/modprobe libcomposite' and
'/bin/mount -t configfs configfs /sys/kernel/config' from
ExecStartPre, they are redundant since libcomposite would be
automatically loaded during system starting up due to the following
setting in linux-toradex recipe:
KERNEL_MODULE_AUTOLOAD += "libcomposite", insteadly, now let
usbg.service require and run after sys-kernel-config.mount.
- Since we have "WantedBy=usb-gadget.target" in systemd service, that
ensures when udev trigger UDC rules, usbgx.service would run as well
so the "Before=systemd-networkd.service" condition could be dropped
from usbg.service.
- Use "Type=simple" rather than "Type=oneshot", this ensures
usbg.service would not hang on failures, failures could happen in
many conditions, like if the end user has manually configured
something in configfs, or start usbg.service twice, or someting
wrong in /etc/usbg/g1.schema.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Uprev libusbgx to 721e3a1 to get following fixes:
```
721e3a1 correct attribute import / export
bbdaad2 Document the license of the library and examples
```
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Bump SRCREV hashes as used in build of Tue 30 May 2023 10:03:27 PM UTC
Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 297
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/297
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
This reverts commit b86c6cf6c19015e1d9aed22a57b088a4961e7b58.
The two removed patches are already available in upstream kernel.
Related-to: ELB-5180
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
The two reverted commits made the usb gadget freeze the boot
attaching the gadget by writing to /sys/kernel/config/usb_gadget/g1/UDC.
Related-to: ELB-5180
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add TI-TFL ("TEXAS INSTRUMENTS TEXT FILE LICENSE") to TI tezi image artifact,
while removing the NXP one.
Current license file come from [1].
Disable the download of an updated license from a specific url, formerly used
for NXP EULA, due to missing proper link.
[1] https://git.ti.com/cgit/graphics/ti-img-rogue-umlibs/tree/?h=linuxws/dunfell/k5.10/1.15.6133109
Related-to: ELB-5161
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Download of NXP EULA was always failing because the network access
was disabled during execution of do_image_teziimg task.
The download is not mandatory and it falls back using the EULA provided by
recipes-bsp/tezi-metadata/tezi-metadata_0.3.bb.
Fix by setting the network flag on do_image_teziimg task.
This flag must be set for every task that access network from bitbake 2.0
which is used starting from Kirkstone [1].
[1] http://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543
Related-to: ELB-5161
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
|
|
Bump SRCREV hashes as used in build of Mon 01 May 2023 06:16:00 AM UTC
Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 258
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/258
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
Add som family symlinks for the first SoC watchdog device
exposed as /dev/watchdog.
root@verdin-am62-14917625:~# ls -l /dev/verdin-watchdog*
lrwxrwxrwx 1 root root 8 Apr 5 12:49 /dev/verdin-watchdog -> watchdog
lrwxrwxrwx 1 root root 8 Apr 5 12:49 /dev/verdin-watchdog-soc -> watchdog
Related-to: ELB-5087
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Bump SRCREV hashes as used in build of Thu 30 Mar 2023 09:05:13 PM UTC
Matrix Build: image-tdxref-kirkstone-6.x.y-nightly-matrix 250
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-tdxref-kirkstone-6.x.y-nightly-matrix/250
Signed-off-by: ci.toradex <cicd@toradex.com>
|
|
Switch to the repo at linux-stable-rt.git as the 6.1-rt kernel
moved to stable/maintenance mode.
Related-to: ELB-5113
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
With camera drivers as modules the ov5640 camera doesnot work on
Apalis iMX6. /dev/media0 was not created.
Related-to: ELB-4616
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
|
|
Since commit 4f16c57dda5f49cef1648ba829d9bf10cb4010dc:
[ u-boot: distro-boot-script: support booti automatic decompression ]
For the boards that support "booti automatic decompression", the
kernel_addr_load had been set to ${loadaddr} rather than
${ramdisk_addr_r} for fitImage, this is breaking fitImage boot due to
overlapping DTB/DTBO addresses.
Change it back to boot from ${ramdisk_addr_r} for fitImage.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Not like ARM machines, which the devicetrees locate at
arch/arm/boot/dts in kernel source and the devicetree names directly
built into fitImage by bitbake.
For i.MX8 machines instead, the devicetrees locate at a vendor specific
subdirectory, take NXP as a example, they are under
arch/arm64/boot/dts/freescale, so bitbake builds them into fitImage
also with a "freescale_" prefix to the real devicetree name.
We should distinguish these two situations in boot.scr, let's introduce
a variable KERNEL_DTB_PREFIX to achieve that, and set it to
"freescale_" for i.MX8 machines.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|