diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2021-05-15 12:31:17 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2021-05-17 20:49:20 +0200 |
commit | f5af6cd7e39e0eee75cca7f89ac81b5601267794 (patch) | |
tree | 1dd1710832d3e4351b7ce79128576b1902e7694e /recipes-core/udev/files/verdin-imx8mp | |
parent | 943f7da5a1cbbf695c3385b59e33aaea0c87904c (diff) |
recipes-core: udev: add hardware stable symlinks for sd-card
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/verdin-imx8mp')
-rw-r--r-- | recipes-core/udev/files/verdin-imx8mp/99-toradex.rules | 2 |
1 files changed, 2 insertions, 0 deletions
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}" |