Age | Commit message (Collapse) | Author |
|
If 'TEZI_DATA_ENABLED' is set to '1', then a data partition is created.
Adittional variables can be used to configure the data partition:
- TEZI_DATA_PART_SIZE: minimal size of the data partition
- TEZI_DATA_PART_TYPE: type of the data partition
- TEZI_DATA_LABEL: laber of the data partition
- TEZI_DATA_FSTYPE: filesystem type to format the data partition
- TEZI_DATA_FSOPTS: additional parameters to pass to the mkfs utility
when formatting the data partition.
Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
(cherry picked from commit bbb39c255936a130c18d4eb9410b9558fe5a137b)
|
|
OE-core enabled the picky QA check on Upstream-Status.
commit b7fb91c797ab ("insane: add patch-status to default ERROR_QA")
Change our layers patches according to the used python regex.
strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The recipe is now outdated and we no longer reference it in any of
our reference-images.
Should you need snapd add meta-snapd [1].
[1] https://github.com/snapcore/meta-snapd
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does
it in path defined by the new variable UNPACKDIR.
Additionally '${S} = ${WORKDIR}' is no longer allowed and results in
a parse time error.
Cope with the change so that the layer builds against scarthgap and
styhead.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does
it in path defined by the new variable UNPACKDIR.
A directory created under UNPACKDIR which matches the setting of ${S}
is then moved to ${S}.
If ${S} already exist the move will create an additional subdirectory
rather than creating ${S} with the expected content.
Change the recipe so that ${S} does not already exist from the git
checkout of imx-firmware and thus have the files from linux-firmware*tar
where they are expected.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does
it in path defined by the new variable UNPACKDIR.
Additionally '${S} = ${WORKDIR}' is no longer allowed and results in
a parse time error.
Cope with the change so that the layer builds against scarthgap and
styhead.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The console variable is supposed to be a valid and complete Linux kernel
console parameter, however for legacy reason on some platform (i.MX and
Toradex one) the baudrate is not present.
Currently the boot script always adds the baudrate variable, but this
will break if we fix the console variable to include it.
Fix it adding the baudrate only when there is no "," into the console
variable, this way the bootscript will be able to handle both the
situations.
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Add rules to make module family specific symlinks to devices according
to the V1.0 schematic.
I2C devices
/dev/aquila-i2c1"
/dev/aquila-i2c2"
/dev/aquila-i2c3"
/dev/aquila-i2c4"
/dev/aquila-i2c5"
/dev/aquila-i2c6"
/dev/aquila-i2c-on-module"
Serial devices
/dev/aquila-uart1"
/dev/aquila-uart2"
/dev/aquila-uart3"
/dev/aquila-uart4"
Watchdog device
/dev/aquila-watchdog"
/dev/aquila-watchdog-soc"
SPI devices
/dev/aquila-spi1-cs0
/dev/aquila-spi2-cs0
MMC/SD devices
/dev/emmc
/dev/emmc-boot0
/dev/emmc-boot1
/dev/emmc-part1"
/dev/emmc-part2"
/dev/aquila-sd"
/dev/aquila-sd-part1"
CAN interfaces
NICs have alternative names
aquila-can1
aquila-can2
aquila-can3
aquila-can4
Related-to: ELB-5482
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 0cb7188573584dd9db39e5689e843edbe9440588)
|
|
Related-to: ELB-5482
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit fd090a4502a3adb971a40f559e242ed5464503c1)
|
|
Update imx-firmware to commit 2afa15e77f0b58eade42b4f59c9215339efcca66
on branch lf-6.6.3_1.0.0. This updates the IW416 Bluetooth and Wi-Fi
Firmware to 16.92.21.p119.2.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 01eb57d0e8ce8b6f73e1299d8b98329ecb28a25c)
|
|
Enable user-space I/O driver support for HID subsystem (CONFIG_UHID=m)
as e.g. required for Bluetooth keyboards.
Related-to: ELB-5738
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
(cherry picked from commit 3f181aed0a8f9f5b4c8db8e98f542f0a68adcd2c)
|
|
By default, OpenEmbedded sets the MOUNT_BASE variable to "/run/media" to
avoid mounting device errors when the system is set to "read-only-rootfs".
By using "/media" as MOUNT_BASE, the image cannot mount any external
devices or the "/boot" with bootloader files.
Therefore, use the MOUNT_BASE provided by base-files_*.bb on
OpenEmbedded recipe.
Related-to: ELB-5714
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
|
|
Backport the sleep moci patches from upstream to the 6.6 kernel. This
gives us suspend/resume support for the Dahlia Carrier Board.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
|
|
KEXEC implicit setting through CRASH_DUMP was dropped
POWER_RESET_SYSCON_POWEROFF is new in upstream defconfig
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
toradex_imx_v6_v7.config:
Remove drivers added by:
commit 27cc508d61d8 ("ARM: imx_v6_v7_defconfig: Enable Tarragon peripheral drivers")
commit 91fa45bd8f8b ("ARM: imx_v6_v7_defconfig: Select CONFIG_DRM_I2C_NXP_TDA998X")
commit 188224534f85 ("ARM: imx_v6_v7_defconfig: Enable the cyttsp5 touchscreen")
commit 468e90a87272 ("ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a")
commit 9159025bea6e ("ARM: imx_v6_v7_defconfig: Enable rohm,bd71815")
Refresh the defconfig per the instructions in the
toradex_imx_v6_v7.config.
This fixes PCIE which got broken by
commit 75c2f26da03f ("PCI: imx6: Add i.MX PCIe EP mode support")
DRM_DEBUG_MODESET_LOCK was enabled from PROVE_LOCKING in imx_v6_v7_defconfig
FB_MX3 driver got deleted, not used on Toradex modules
FRAMEBUFFER_CONSOLE is enabled by default
KALLSYMS_ALL was enabled from PROVE_LOCKING in imx_v6_v7_defconfig
SMC911X driver got deleted in favour of SMSC911X
CONFIG_LEDS_TRIGGER_GPIO now considered broken
R8188EU is replaced by enabled RTL8XXXU
PRINT_QUOTA_WARNING is not selected by default
AUTOFS4_FS replaced by AUTOFS_FS
EXFAT_FS is now intentially enabled
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
The immediate evaluation of ${PV} fails here and leads to a not
existing extra search path entry.
Thus linux-toradex-upstream-6.6 is searched after
linux-toradex-upstream and thus files which can be found under both
directories are taken from linux-toradex-upstream.
Fix that by not relying on ${PN} or ${PV} and giving the verbatim
directory name.
That also allows to remove setting FILESEXTRAPATHS in the linux rt
recipe.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
(cherry picked from commit 9d2e8422f17a52e4dd7d2170c685cad2acba5550)
|
|
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>
(cherry picked from commit 0da03cf4aa7d96d12dfb6d26f839168fd2f3c3d3)
|
|
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>
(cherry picked from commit 5183100ea2bb3fe29702f96657e05f4e905433b5)
|
|
Do not depend on U-Boot environment for setting the Linux kernel command
line from the boot script.
Use standard APPEND variable to specify the kernel command line, stop
using ${defargs}, ${setup} and ${vidargs} from U-Boot environment.
APPEND is the standard OE variable to set the kernel command line, it is
for example used in OE-core rootfs-postcommands.bbclass to add "ro" to
the command line and part of the official documentation.
U-Boot ${tdxargs} is still supported and its content is added to the
command line.
Remove consoleblank=0 since this is already the kernel default.
Link: https://docs.yoctoproject.org/dev/kernel-dev/faq.html#how-do-i-change-the-linux-kernel-command-line
Related-to: ELB-5619
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
weston.service and weston.socket are now only deployed if systemd is in
distro features. (OE commit 00e3eb3893 ("weston-init: guard against
systemd configs")
Make their modification also conditionally on the feature.
Fixes Toradex Easy Installer build which doesn't use systemd as
the init manager.
Related-to: TEI-1063
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
(cherry picked from commit 6bbb87e84c22559e56f8c2289f71352a2a5659d8)
|
|
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>
(cherry picked from commit 8f7abc1ea1a1dff9192894acb3b874013802f4eb)
Conflicts:
recipes-bsp/u-boot/u-boot-toradex_2022.07.bb
|
|
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>
(cherry picked from commit 0513615cb0383d7ac0695e865884897493339d62)
|
|
Kernel 6.8 is released. Mainline now works on 6.9, thus bump
the vesion setting to 6.9-rc.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
CONFIG_OF_UPSTREAM=y uses device sources directly out of the linux
source tree.
The location of the dtb artefacts change depending on OF_UPSTREAM
used or not.
Check for OF_UPSTREAM and pick the dtb file from the used location.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
From kernel version 6.4.y on-wards [1], the range of memory page
orders which the user can ask from buddy allocator is changed to
0..MAX_ORDER. Previously, for older kernel versions (< 6.4.y),
this range was 0..MAX_ORDER-1.
This change resolves OOM killer issue on Colibri iMX6 (256MB RAM)
modules with the latest mainline kernel >= 6.4.y.
[1] - commit 23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely")
Related-to: ELB-5316
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
|
|
The problematic change was reverted in mainline, commit 3c3a73424e6d
("Revert "cmd: Set modern hush as default shell""), remove the
workaround so we know in case it break again.
Related-to: ELB-5543
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
Enable PowerVR GPU as found on AM62.
Related-to: ELB-5607
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Change the the stable RT kernel branch and include the settings
from the 6.6 stable kernel recipe do not dublicate the used
patches.
Related-to: ELB-5616
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Add recipe for kernel v6.6 for BSP7.
Related-to: ELB-5616
Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
|
|
At least imx-boot requires u-boot. Bitbake would thus not consider
our upstream U-Boot recipe as a valid provider and the build will
fail for machines not using binman within U-Boot to build the
boot container.
So the change is required once we start building the upstream
U-Boot for Apalis iMX8 and Colibri iMX8X.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
(cherry picked from commit 96d9e5ecf6efb96e2029d71eb6592da1f1737e08)
|
|
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>
(cherry picked from commit f35b8eba99f79f9c74725e9860f644d40dc9f9bc)
Conflicts:
recipes-kernel/linux/device-tree-overlays-mainline_git.bb
recipes-kernel/linux/linux-toradex-mainline-rt_git.bb
recipes-kernel/linux/linux-toradex-mainline_git.bb
|
|
From kernel version 6.4.y on-wards [1], the range of memory page
orders which the user can ask from buddy allocator is changed to
0..MAX_ORDER. Previously, for older kernel versions (< 6.4.y),
this range was 0..MAX_ORDER-1.
This change resolves OOM killer issue on Colibri iMX6 (256MB RAM)
modules with the latest mainline kernel >= 6.4.y.
[1] - commit 23baf831a32c ("mm, treewide: redefine MAX_ORDER sanely")
Related-to: ELB-5316
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
|
|
Add support for ExFAT filesystem.
Related-to: ELB-5583
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
|
|
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
To build tiboot3 binman uses additional python modules. Add them
to the dependencies.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
(cherry picked from commit 239237c27511902a9d7b430e44386791b8fa8fbc)
|
|
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>
(cherry picked from commit a7100f0ca20b6f6b2b61bbe112028cd3c703598b)
|
|
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>
(cherry picked from commit fed473492c8ce8becc5d01cf0fc4d8cc432f64d1)
|
|
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>
(cherry picked from commit 92816700a8c6e2650198420f98bd834fe9213c13)
|
|
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>
(cherry picked from commit 856736e6c4c8844d5a89a02a9a8fb3794a13587e)
Conflicts:
recipes-kernel/linux/linux-toradex-mainline_git.bb
recipes-kernel/linux/linux-toradex-upstream/0001-usb-gadget-f_ncm-Apply-workaround-for-packet-cloggin.patch
|
|
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>
(cherry picked from commit c4c08c8a099fb40b455701cc7364e0d905443e4f)
|
|
U-Boot mainline after v2024.01 has a new hush parser added with by
default is used, however we have the option to still use the old one.
Our boot script fails with the new parser, thus change the u-boot config
to keep our master builds working.
Related-to: ELB-5543
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
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>
(cherry picked from commit 620f5bbe0ca0743e682a69697cb8fb1d39550471)
|
|
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>
(cherry picked from commit 30484414981f3652caf43a0a71b3922e269a643b)
|
|
add /dev/verdin-uart2 symlink on Verdin AM62
Related-to: ELB-5122
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
(cherry picked from commit 397e4f5e6df4ecb91693dd3c4d80d6e2b1427f04)
|
|
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>
(cherry picked from commit 266bdf4d7b1ce31bcbc35dd92f52ca45c60eadba)
|
|
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>
(cherry picked from commit b49784d54dbdc8532fc87c163f951ebff3073701)
|