Age | Commit message (Collapse) | Author |
|
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)
|
|
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>
(cherry picked from commit 97ac673d8e85079e6803246aace7165752ffacd2)
|
|
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>
(cherry picked from commit 678579d8783e2d24666ca1b6af58544f67579aa0)
|
|
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>
(cherry picked from commit a4ba6f572792adf2ac1703963ecc1f0edc53abfc)
|
|
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>
(cherry picked from commit db93e09dcc520be7efbe38c8c6717f77c289825e)
|
|
Fix missing Upstream-Status tag on recently merged patch.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
(cherry picked from commit af82ccce6b01f2f282cc2149f1bbbaf43e14de7a)
|
|
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>
(cherry picked from commit 16e5f73b2b294855fe579e8252b149154bdb7322)
|
|
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>
(cherry picked from commit 6e86c264494d0309ac76c1bc3fc1246a7ac96180)
|
|
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>
(cherry picked from commit cd2bef82186ae5862d1d9b6948697b4a7e755cf0)
|
|
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>
(cherry picked from commit 239f170b4daa160dd4bd2ae3333d6b05fc98d09a)
|
|
Configure serial 8250 driver's number of supported UART ports to 6.
By default serial 8250 driver supports 4 UART ports.
On AM62 Verdin carrier boards with Verdin UART2 enable, BT UART
unable to probe as 8250 reaches maximun limit of 4 serial ports.
Related-to: ELB-5122
Signed-off-by: Parth Pancholi <parth.pancholi@toradex.com>
|
|
Follow meta-ti downstream dependency change on ti-sci-fw and
change to do the atf, dm, optee dependency through packageconfig.
See also commits:
22b8a0a3 ("recipes-bsp:ti-sci-fw: Add k3r5 as COMPATIBLE_MACHINE")
69056610 ("recipes-bsp: u-boot-ti.inc: Remove ti-sci-fw from DEPENDS for k3 machine")
ti-sci-fw is only needed for the k3r5 build, removing it from k3 fixes:
| ERROR: Nothing PROVIDES 'ti-sci-fw' (but .../meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-toradex_mainline.bb DEPENDS on or otherwise requires it)
| ti-sci-fw was skipped: incompatible with machine verdin-am62 (not in COMPATIBLE_MACHINE)
ti-dm-fw is only needed for the k3 build, removing it fixes errors
during recipe parse, e.g.:
| ERROR: Nothing RPROVIDES 'ldconfig' (but mc:k3r5:.../openembedded-core/meta/recipes-devtools/dpkg/dpkg_1.22.0.bb RDEPENDS on or otherwise requires it)
Related-to: ELB-5428
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
latest mainline
For OE master we want to build only latest mainline.
For a next BSP we will add a recipe which will build the to be used
stable tree.
Related-to: ELB-5359
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
This makes the non-rt and rt recipe more independent and prepares
for further refactoring.
Related-to: ELB-5359
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
Various Linux kernel configuration additions such as more NVMe options,
cameras, CMA size configuration, Verdin display adapters, PCI endpoint,
more i.MX 8M series and i.MX 8/8X series drivers and optional HiFi4 DSP.
Disabling i.MX 93 ADC driver.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Re-add NVMe, overlay FS, PCI (incl. some Ethernet and Wi-Fi drivers) and
SATA. Dropp i.MX 93 ADC instead.
Fixes: 881fef18ce8a ("linux-toradex-mainline-git: extend defconfig for verdin am62")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|
|
Using v6.6-rc3 re-do base-line:
This moved:
CONFIG_KEXEC=y
CONFIG_CRASH_DUMP=y
CONFIG_FB_EFI=y
And newly added:
CONFIG_KEXEC_FILE=y
CONFIG_AHCI_DWC=m
CONFIG_DP83869_PHY=m
CONFIG_CAN_M_CAN=m
CONFIG_CAN_M_CAN_PLATFORM=m
CONFIG_INPUT_BBNSM_PWRKEY=m
CONFIG_INPUT_RK805_PWRKEY=m
CONFIG_PINCTRL_RK805=m
CONFIG_GPIO_SYSCON=y
CONFIG_CHARGER_RK817=m
CONFIG_IMX7ULP_WDT=m
CONFIG_REGULATOR_RAA215300=y
CONFIG_DRM_ITE_IT66121=m
CONFIG_BACKLIGHT_CLASS_DEVICE=m
CONFIG_SND_SOC_J721E_EVM=m
CONFIG_SND_SOC_RK817=m
CONFIG_SCSI_UFS_BSG=y
CONFIG_SCSI_UFS_CDNS_PLATFORM=m
CONFIG_SCSI_UFS_TI_J721E=m
CONFIG_RTC_DRV_ISL1208=m
CONFIG_RTC_DRV_BBNSM=m
CONFIG_TI_K3_DSP_REMOTEPROC=m
CONFIG_TI_K3_R5_REMOTEPROC=m
CONFIG_TI_PRUSS=m
CONFIG_PWM_TIECAP=m
CONFIG_NVMEM_LAYOUT_SL28_VPD=m
CONFIG_NVMEM_IMX_OCOTP_ELE=m
CONFIG_MUX_GPIO=m
CONFIG_CRYPTO_DEFLATE=m
And dropped:
CONFIG_KEXEC=y
CONFIG_GPIOLIB=y
CONFIG_SND_SOC_DAVINCI_MCASP=m
CONFIG_VIDEO_IMX_MEDIA=m
And changed CONFIG_MDIO_BCM_UNIMAC from =y to =m
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
|