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/verdin-imx8mp/99-toradex.rules | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-core/udev/files/verdin-imx8mp') diff --git a/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules b/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules index 15b5e6a..8eedaf2 100644 --- a/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules +++ b/recipes-core/udev/files/verdin-imx8mp/99-toradex.rules @@ -12,3 +12,5 @@ KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.mmc", SYMLINK+=" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b60000.mmc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b60000.mmc", SYMLINK+="emmc-part%n" SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh" +ACTION=="add|change", KERNEL=="mmcblk[0-9]", KERNELS=="30b50000.mmc", SYMLINK+="verdin-sd" +ACTION=="add|change", KERNEL=="mmcblk[0-9]p[0-9]*", KERNELS=="30b50000.mmc", SYMLINK+="verdin-sd-p$attr{partition}" -- cgit v1.2.3