diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-11-26 17:54:02 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-11-26 18:29:23 +0100 |
commit | f3b662ae73d5decabd1cfbe4e247f027d97c40de (patch) | |
tree | 292bd4d0d94979fc7c5103f37ab8ddfcc89e0ba2 | |
parent | deabb60123ce2454694d643bdfb2ee7501888f7f (diff) |
apalis-tk1: udev: add symlinks to emmc
This creates stable symlinks to the eMMC card.
Related-to: ELB-3293
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-core/udev/files/apalis-tk1/99-toradex.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-core/udev/files/apalis-tk1/99-toradex.rules b/recipes-core/udev/files/apalis-tk1/99-toradex.rules new file mode 100644 index 0000000..68cd9a8 --- /dev/null +++ b/recipes-core/udev/files/apalis-tk1/99-toradex.rules @@ -0,0 +1,3 @@ +KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="700b0600.sdhci", SYMLINK+="emmc" +KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="700b0600.sdhci", SYMLINK+="emmc-boot%n" +KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="700b0600.sdhci", SYMLINK+="emmc-part%n" |