Age | Commit message (Collapse) | Author |
|
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>
(cherry picked from commit 73e42815204f68ac520037afe7046f6022d7bb55)
|
|
${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)
|
|
Depending on the kernel driver probe time in some circumstances the udev
event is not add, but change, add both to the rules. Without this change
the uart symlinks are not created if the imx-sdma driver is loaded after
udev is started.
Related-to: ELB-4655
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
|
|
```
commit a6d094403cd6 ("ARM: dts: imx: Change usdhc node name on i.MX6/i.MX7 SoCs")
commit bffe02ccca5b ("ARM: dts: imx: make wdog node name generic")
```
in kernel source has changed the `usdhc`, `watchdog` node names, adapt
the udev rules to match both the old and new naming scheme.
Related-to: ELB-4373
Signed-off-by: Ming Liu <ming.liu@toradex.com>
|
|
ENV{DEVTYPE} has been found to not be present on apalis-imx6 sometimes.
Since we see also some troubles on our lava setup this property is being
removed from this rule as anyway disk and partition is already catched with the
"p" in the KERNEL rule
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit d9b673df1b21c14dfb9db76a037698a0065a8ee7)
|
|
TEZI uses the same machine colibri-imx7 for both eMMC and NAND
variants of the module. For correct work with Colibri iMX7 eMMC TEZI
requires symlinks emmc* generated by toradex udev rules - it allows
TEZI to unblock boot-partitions for writing operations on start.
The udev "emmc*" rules are triggered by the block instances of the
device usdhc@30b60000. The usdhc@30b60000 device disabled by default
in the device tree for Colibri-iMX7 NAND SoM, so that the "emmc*"
doesn't affect the NAND module.
Adding "emmc*" rules to the 99-toradex.rules for colibri-imx7 machine
fixes several TEZI issues for Colibri iMX7 eMMC, i.e. this one:
Processing blockdev: "mmcblk0boot0"
Running Command: "/usr/sbin/blkdiscard" ("/dev/mmcblk0boot0")
Progress: "Toradex Embedded Linux Reference Minimal Image (UPSTREAM): Erasing partition"
Output: "blkdiscard: /dev/mmcblk0boot0: BLKDISCARD ioctl failed: Operation not permitted\n"
Finished with exit code: 1
Related-to: TEI-851
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit c60d660b6dcd398136df80e6b26f31fc3a4cc8e3)
|
|
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit f5af6cd7e39e0eee75cca7f89ac81b5601267794)
recipes-core: udev: change sd-card symlinks to style of emmc rules
This commit does three things:
- Use "-part<number>" instead of "-p" as it is with /dev/emmc symlinks
- Use ENV{DEVTYPE} as it is used with /dev/emmc symlinks to for sure
be able to distinguish partitions vs. disks
- Use %n in stead of $attr{partition} as it is already used for emmc
symlink rules
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit f8d013071a68cb90bbff8e00bdb328e472354ab8)
|
|
Create symlinks for each supported by Colibri iMX7/iMX7-eMMC
ADC channels, standardizing names as colibri-ainX, according
to the Colibri signal names table.
Related-to: ELB-2839
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit f627f20a298d441b5d94ba4ab80a1121065f1f75)
|
|
According to the internal document "Hardware interfaces
standardization", the UART interfaces should be accessed
via device nodes named with the module family and matching
the signal name used in the module datasheet.
Modify udev rules for UART devices accordingly.
Related-to: ELB-2787
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit 2e2be094e62bb61c9e58a115b5d89d5b960eed50)
|
|
There are 2 different names for spi use by downstream and upstream
kernel. Fix the udev rules to match both variants.
Related-to: ELB-2784
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
(cherry picked from commit bbdee96d17e5a69e832197dedc587e45737892be)
|
|
This commit adds rules to udev so apalis/colibri or verdin spi
devices are symlinked consistently.
Related-to: ELB-2380, ELB-2598
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit bd072a5fc62dd7f29a94d682de2346257344ea35)
|
|
These rules make sure that a symlink is created for all i2c and tty
devices. This symlinks are named like on the Toradex carrier boards.
This makes it easy to identify which device in software is matching
the hardware pins.
Additional non-standard devices that are not named clearly on the
carrier board are left out to prevent confusion.
Related-to: ELB-2380
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
(cherry picked from commit 47ef64803548f73a0eda753c5d3d3f7f315af606)
|