summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-06-02 12:07:07 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-06-02 12:30:51 +0300
commitc60d660b6dcd398136df80e6b26f31fc3a4cc8e3 (patch)
treec7e9cf662cefbb9735a526ebd318ba931f195dcf /recipes-kernel
parent2c539036e3421150b29336fc926b2678df589206 (diff)
udev: colibri-imx7: sync emmc and nand udev rules
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>
Diffstat (limited to 'recipes-kernel')
0 files changed, 0 insertions, 0 deletions