Age | Commit message (Collapse) | Author |
|
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>
(cherry picked from commit 4b9dee855fe97fe7d17209202ffd5503fa1878d7)
|
|
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>
(cherry picked from commit a44240a3d58d353d86be7fed4d79c086dc2f2312)
|
|
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>
(cherry picked from commit 24404926b8689435af675c5a9127b48d91e418d0)
|
|
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>
(cherry picked from commit a31e6fc22579cdbfa1ff4ed4ec124cae7802fe03)
|
|
Let's use the libusbgx recipe from meta-openembedded, move Toradex
related g1.schema to libusbgx-config recipe.
The following fixes have been made to libusbgx-config:
- Add 'idProduct' and 'serialnumber' to /etc/usbgx/g1.schema by
pkg_postinst_ontarget function, it would runs only once at the first
boot, no need to write them to /sys/kernel/config/usb_gadget/g1
everytime in ExecStartPost.
With these meta-openembedded MRs:
https://patchwork.yoctoproject.org/project/oe/patch/20230516133052.2071705-1-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230516133257.2072092-1-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230509113620.786170-4-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230509113620.786170-3-liu.ming50@gmail.com/
https://patchwork.yoctoproject.org/project/oe/patch/20230509113620.786170-2-liu.ming50@gmail.com/
the following changes have been made:
- 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
usbgx.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 usbgx.service of meta-oe, since that is a ETH gadget specific
condition.
- Use "Type=simple" rather than "Type=oneshot", this ensures
usbgx.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 usbgx.service twice, or someting
wrong in /etc/default/usbgx or /etc/usbgx/*.schema.
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
Commit fdf6c2309f42 ("staging: r8188eu: delete driver") deleted the
driver. So do not ask to build it.
The enabled rtl8xxxu driver replaces it.
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>
(cherry picked from commit 6c82237275618542457b3ebc13fe2b276196628d)
|
|
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>
(cherry picked from commit 4d6e71f6b40415841d402afdbd54c9c89adf10f5)
|
|
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>
(cherry picked from commit f22922827754e40a0cbdbd929826b13e68e0a6c7)
|
|
Related-to: ELB-5083 ELB-5068
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit e91fe9e903215369ded5383ea9aaf51ff5623740)
|
|
This makes the ov5640 camera work on Apalis iMX6.
Related-to: ELB-4616
Signed-off-by: Aishwarya Kothari <aishwarya.kothari@toradex.com>
(cherry picked from commit 6b5fb95b3d0fabc30fe236e82ac48488433b7ce0)
|
|
Add /dev/verdin-spi-cs0 symlink on Verdin AM62.
Related-to: ELB-5085
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit f0071d8fb0b9e933d29ecb52389d373546e3dca2)
|
|
Bump the git hashes and on rt the branch to 6.3-rc.
Drop the 6.2 specific patch version for the RT kernel.
.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Verdin AM62 uses regular weston also with the downstream kernel,
thus set no idle timeout also without the upstream override.
Related-to: ELB-5064
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 3dc7e8a2fdfabc9a1c9c3a718acf6ceebb7a1a24)
|
|
Some rules are commented until we have the real hardware.
Related-to: ELB-5012
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 46d3c7bec420d35500e5efcc42ac7ed8aa6c3d46)
|
|
The Verdin AM62 needs a third binary blob in the eMMC boot area.
Add the possibility to specify a third one.
To use it define TPL_BINARY with the name of the file containing the
first boot blob to be stored at OFFSET_BOOTROM_PAYLOAD and define
OFFSET_TPL_PAYLOAD with the offset where the first boot blob expects
the next one.
Not defining TPL_BINARY keeps the image.json creation the same as
before.
Related-to: ELB-5012
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 501e8b7893e336e535412435706189f68217f497)
|
|
When setupargs is not already set we set it using a fallback.
Remove escaping of the value set as we do want variables evaluated
here.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 66b323f88297c78eadf3e014d26aca2edf484204)
|
|
Add patch to use the in band bad block table on Colibri iMX7.
Related-to: ELB-4989
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit 86e64d70123b2ff55924ec6581c6154e628f661b)
|
|
This might be useful for users that want to format the rootfs partition
with custom options.
Signed-off-by: Sergio Prado <sergio.prado@toradex.com>
(cherry picked from commit aceff4308a188ab9e4d3d756ddbbd4bf2cabd286)
|
|
Fix udev rule to create the /dev/$som-watchdog-som symlink, imx8
watchdog is on the SCU.
Related-to: ELB-5039
Fixes: 9f9fa5d6c8ed ("udev-toradex-rules: Add additional watchdog symlink")
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit f25adb4833f65606f39f181a162aaa8ce14d9681)
|
|
Used kernel v6.3-rc1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Used kernel v6.3-rc1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
${family}-watchdog-som -> SoM watchdog, e.g. pmic
${family}-watchdog-soc -> SoC watchdog
Related-to: ELB-5039
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit 9f9fa5d6c8ed679f75566476099ac76baac54602)
|
|
Tezi should be forced to understand config format 4 for machines
based on i.MX 8 series. Use the correct override (mx8-generic-bsp) to
set the required config format.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 934c9720fa11ed577b1d56c689f797d45e8d6774)
|
|
The locking debug configs where causing a regression in boot-time so do
disable them.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 05e7288c4781b33599e00a46d279a02351f1e6c2)
|
|
Disable all TV stuff and put every other media related driver to module.
CONFIG_MEDIA_SUPPORT=m does exactly this.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit dee03d24716a63b72b2dcecf38e9207acd19305e)
|
|
The -m flag causes the script to not call make in the end. That means if
we put e.g. CONFIG_MEDIA_SUPPORT to module, this does not disable all the
configs below the one until make is being issued.
fix the header that suggests to use this flag in order to enable us to
simplify the diff config by disabling/putting to module whole categories
of configs.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit ebc968f1d7522b21ec8ffe19dbb87fd3f5d4ed6c)
|
|
Follow the change that has been done on toradex_imx_v6_v7.config and
disable unnecessary TV and SDR stuff.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 68e4859cadb5853bb4e1687d67ab819930c8886d)
|
|
The -m flag causes the script to not call make in the end. That means if
we put e.g. CONFIG_MEDIA_SUPPORT to module, this does not disable all
the
configs below the one until make is being issued.
fix the header that suggests to use this flag in order to enable us to
simplify the diff config by disabling/putting to module whole categories
of configs.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 60884f6adf3d645a40cd177279c5f1383dfb7215)
|
|
Refresh patch against v6.3-rc1.
Compare with commit 30233a229fdb ("thermal/drivers/imx: Use generic
thermal_zone_get_trip() function")
Rework linux-toradex-mainline-rt to have additionally its own
directory for local files. Move the rt only files there and keep
the old thermal patch version there.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Apply toradex_imx_v8.config on the vanilla 6.2-rc5 aarch64 defconfig.
Apply toradex_imx_v6_v7.config on the vanilla 6.2-rc5 arm imx_v6_v7_defconfig.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Set the fixed hash to v6.2-rc3-rt1.
As we use `LINUX_VERSION ?=` set the variable before including
linux-toradex-mainline_git.bb.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Set the fixed hash to 6.1-rc7-rt5.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Set the fixed hash to 6.2-rc1 and remove the patches now in upstream.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
USB RNDIS support is getting deprecated, move USB Ethernet-over-USB
functionality to USB NCM, update libusbgx configuration accordingly.
Related-to: ELB-4923
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit dbc9d3d74c81387cafa292bf06bf7ae91f5c3640)
|
|
Add interface name support for NCM Feature Descriptors to libusbgx,
patch has been sent to libusbgx upstream:
https://github.com/linux-usb-gadgets/libusbgx/pull/73
This is needed to let NCM work on Windows systems, update git revision
to the latest master branch to be able to apply the patch.
Related-to: ELB-4923
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit 3987d6249e2549bc036545b038b5c71c41a60336)
|
|
Remove usage of the `use-head-next` override for anything, apart the
SRCREV variable.
Currently this variable is only used on local builds, while uprev on
Jenkins CI/CD is implemented using `scripts/uprev-srcrev` that update
only the SRCREV variable. This way we ensure a consistent experience
despite how the image is build and we avoid potential confusion.
Related-to: ELB-4885
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit c11ecc861461dfbcc1cdadbf2807d992ce9b1499)
Conflicts:
recipes-kernel/linux/linux-toradex-mainline_git.bb
|
|
The u-boot-with-spl.imx binary, now is deployed for each u-boot configuration
type and the condition that suppressed the error in case u-boot-with-spl.imx
was not generated has been removed.
Signed-off-by: Stefano Viola <stefano.viola@toradex.com>
(cherry picked from commit 15ec9fe118984cc977016269c069571c4530ef8f)
|
|
Add CONFIG_USB_HIDDEV
This gets rid of the error-message
hid-generic 0003:046D:C52B.0003: device has no listeners, quitting
This is seen with a Logitech Universal Receiver.
Related-to: ELB-4812
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 8be201d9c8b79dc90b9a22cb73094f11ac854305)
|
|
Add CONFIG_USB_CONN_GPIO=y to the defconfig.
Fixes: dacfc2adbe0c ("linux-toradex-mainline: Rework imx6ull usb dual-role patch")
Related-to: ELB-4886
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit ba86dd56a6d9ffc8a381db6b070aa4e015d136ed)
|
|
Lower CMA size percentage from 50% to 35% on i.MX 6/6ULL/7 based SOM,
with that the following CMA Memory will be reserved depending on
SKU memory.
| SOM Memory | CMA Memory |
|--- |--- |
| >= 1GiB | 256MiB |
| 512MiB | 192MiB |
| 256MiB | 96MiB |
With this change is possible to have a GPU application and video
playback on low memory SKU, without having allocation failures and
the related OOM killer issues.
No changes on SKU with >= 1GiB memory.
Related-to: ELB-4740
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit 3f2d00f899ca9483bbb20b9b5fb9ae2262c19196)
|
|
The PREEMPT_RT config depends indirectly on !KVM, so make sure
that KVM is not set.
Related-to: ELB-4887
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit cc3fcee6080e1943e4fb3fef95e4eff7b3cd768c)
|
|
Split out the real time kernel build from the existing
linux-toradex-mainline recipe. This simplifies updateing the srcrev
automated and makes it clearer what is being built.
Releated-to: ELB-4868
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit b6a453bdcd4841f44dc6c86f2abd06fe97936580)
Conflicts:
recipes-kernel/linux/linux-toradex-mainline_git.bb
|
|
This commit adds two patches to our upstream kernel that solves the
reset loop and the OTG device-host dual-role switching
Related-to: ELB-4790, ELB-4610
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit a9d1419f9cca3f3d86590cfca49db5be990b3b81)
Drop 0001-ARM-dts-colibri-imx6ull-Enable-dual-role-switching.patch as
that one will come in through mainlining.
Thus only ELB-4610 is addressed.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
openembedded-core commit d3eb4531aa ("sanity: Drop data finalize call")
dropped a python function. Replace it with its aquivalent.
Fixes:
| ERROR: Execution of event handler 'defaulttoradex_check_sanity_eventhandler' failed
| Traceback (most recent call last):
| File ".../meta-toradex-bsp-common/classes/toradex-sanity.bbclass", line 57, in defaulttoradex_check_sanity_eventhandler(e=<bb.event.SanityCheck object at 0x7f50de8bb3c8>):
| if bb.event.getName(e) == "SanityCheck":
| > sanity_data = copy_data(e)
| if e.generateevents:
| NameError: name 'copy_data' is not defined
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Bump the version to 6.1-rc taken from the master branch.
This is a partial revert of commit fca2bcd00e61
("linux-toradex-mainline: bump to 6.0 kernel").
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Bump SRCREV hashes as used in build of Sun Oct 30 08:47:22 UTC 2022
Matrix Build: image-torizoncore-kirkstone-6.x.y-nightly-matrix 80
Matrix Build Status: SUCCESS
Triggered by: https://jenkins.int.toradex.com/job/image-torizoncore-kirkstone-6.x.y-nightly-matrix/80
Signed-off-by: ci.toradex <cicd@toradex.com>
(cherry picked from commit be8cf57e1bf2ccb049923a62787a6a90efd58a4c)
|
|
Compile the 80211 drivers as loadable kernel modules. By having them as
loadable modules we have the filesystem already ready when loading so
that the modules can access the regulatory.db under
/lib/firmware/regulatory.db.
This will allow us to change the regulatory domain with iw reg set if
required.
Related-to: ELB-4815
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
(cherry picked from commit ca5ce278e2baa20b50ab5ce7b6a0f5a2d8898e4d)
|
|
Add standard systemd requirements [0] to imx8 defconfig.
[0] https://github.com/systemd/systemd/blob/main/README
Related-to: ELB-4855
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
(cherry picked from commit fe6128314274d707b67f80ce512b146892a06ec0)
|