summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Cochran <yocto@mindchasers.com>2017-03-15 16:15:32 -0400
committerOtavio Salvador <otavio@ossystems.com.br>2017-03-17 17:05:55 -0300
commitcb4c00033618c6a15adfc614eaaa1c93d724121c (patch)
tree613c114d1ecba95198af9f8f88695fde9f6e4ee9
parent93b21739c7799fc78388eacb3a705aec4d78dfd8 (diff)
downloadmeta-freescale-cb4c00033618c6a15adfc614eaaa1c93d724121c.tar.gz
udev: remove eudev_%.bbappend and associated patch since it's no longer required
Commit d2313434 already exists in eudev to prevent udev from managing an MMC Replay-protected memory block (RPMB) Testing of an LS1021A-TWR & eMMC 4.51 with master branches of poky and meta-freescale minus the patch to 60-persistent-storage.rules confirmed that udev ignores mmcblk0rpmb on boot. referenced upstream patch: https://github.com/gentoo/eudev/commit/d2313434acc1cf5387637e72f76c2ebe36d523e1 Change-Id: Ib91aed741d18a87081e82e7c71e36363bb8b3939 Signed-off-by: Bob Cochran <yocto@mindchasers.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch30
-rw-r--r--recipes-core/udev/eudev_%.bbappend6
2 files changed, 0 insertions, 36 deletions
diff --git a/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch b/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch
deleted file mode 100644
index 59a8eddc..00000000
--- a/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1skip rules for mmc rpmb partition
2
3Upstream-status: Pending
4
5In FSL SDK 1.6 Kernel, mmc driver has created a new partition
6with "mmcblkXrpmb" if device expresses it support of RPMB.
7
8RPMB (Replay Protected Memory Block), A signed access to a Replay
9Protected Memory Block is provided. This function provides means
10for the system to store data to the specific memory area in an
11authenticated and replay protected manner.
12
13In that case, any read/write access to this partition device will
14report errors which will not impact any fuction.
15
16add rules to skip it.
17
18Signed-off-by: Ting Liu <ting.liu@nxp.com>
19Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
20
21--- ./rules/60-persistent-storage.rules.orig 2016-03-01 21:07:13.304170363 -0600
22+++ ./rules/60-persistent-storage.rules 2016-03-01 21:07:32.784169668 -0600
23@@ -6,6 +6,7 @@
24 ACTION=="remove", GOTO="persistent_storage_end"
25
26 SUBSYSTEM!="block", GOTO="persistent_storage_end"
27+KERNEL=="mmcblk*rpmb", GOTO="persistent_storage_end"
28 KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*", GOTO="persistent_storage_end"
29
30 # ignore partitions that span the entire disk
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
deleted file mode 100644
index 4eedfd89..00000000
--- a/recipes-core/udev/eudev_%.bbappend
+++ /dev/null
@@ -1,6 +0,0 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
2
3SRC_URI_append_qoriq-ppc = " \
4 file://skip-rules-for-mmc-rpmb-partition.patch \
5"
6