From f5af6cd7e39e0eee75cca7f89ac81b5601267794 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Sat, 15 May 2021 12:31:17 +0200 Subject: recipes-core: udev: add hardware stable symlinks for sd-card Signed-off-by: Philippe Schenker --- recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-core/udev/files/colibri-imx7-emmc') diff --git a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules index 707920e..2d1d675 100644 --- a/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx7-emmc/99-toradex.rules @@ -9,3 +9,5 @@ KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+ KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.usdhc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b60000.usdhc", SYMLINK+="emmc-part%n" SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="30b40000.usdhc", SYMLINK+="colibri-sd" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="30b40000.usdhc", SYMLINK+="colibri-sd-p$attr{partition}" -- cgit v1.2.3