From 9668cae0bdf9a9454c2bd6be1e70d7931edd930e Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Mon, 27 Apr 2020 11:17:45 +0200 Subject: recipes-core: udev: move emmc rules from torizon to bsp This adds udev rules for symlinking eMMC devices consitently. Related-to: ELB-2380, ELB-2696 Signed-off-by: Philippe Schenker (cherry picked from commit ac32e59f1f961070189e1a038644f87ce9e7c152) --- recipes-core/udev/files/colibri-imx6/99-toradex.rules | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-core/udev/files/colibri-imx6') diff --git a/recipes-core/udev/files/colibri-imx6/99-toradex.rules b/recipes-core/udev/files/colibri-imx6/99-toradex.rules index 9283577..9ba2fdf 100644 --- a/recipes-core/udev/files/colibri-imx6/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx6/99-toradex.rules @@ -6,3 +6,6 @@ ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-ttyb" ACTION=="add", ATTRS{iomem_base}=="0x21EC000", SYMLINK+="colibri-ttyc" ACTION=="add", KERNELS=="20bc000.wdog", SYMLINK+="colibri-watchdog" ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.ecspi", SYMLINK+="colibri-spi-cs%n" +KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc" +KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc-boot%n" +KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2198000.usdhc", SYMLINK+="emmc-part%n" -- cgit v1.2.3