From cb4c00033618c6a15adfc614eaaa1c93d724121c Mon Sep 17 00:00:00 2001 From: Bob Cochran Date: Wed, 15 Mar 2017 16:15:32 -0400 Subject: 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 Signed-off-by: Otavio Salvador --- .../eudev/skip-rules-for-mmc-rpmb-partition.patch | 30 ---------------------- recipes-core/udev/eudev_%.bbappend | 6 ----- 2 files changed, 36 deletions(-) delete mode 100644 recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch delete mode 100644 recipes-core/udev/eudev_%.bbappend 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 @@ -skip rules for mmc rpmb partition - -Upstream-status: Pending - -In FSL SDK 1.6 Kernel, mmc driver has created a new partition -with "mmcblkXrpmb" if device expresses it support of RPMB. - -RPMB (Replay Protected Memory Block), A signed access to a Replay -Protected Memory Block is provided. This function provides means -for the system to store data to the specific memory area in an -authenticated and replay protected manner. - -In that case, any read/write access to this partition device will -report errors which will not impact any fuction. - -add rules to skip it. - -Signed-off-by: Ting Liu -Signed-off-by: Zhenhua Luo - ---- ./rules/60-persistent-storage.rules.orig 2016-03-01 21:07:13.304170363 -0600 -+++ ./rules/60-persistent-storage.rules 2016-03-01 21:07:32.784169668 -0600 -@@ -6,6 +6,7 @@ - ACTION=="remove", GOTO="persistent_storage_end" - - SUBSYSTEM!="block", GOTO="persistent_storage_end" -+KERNEL=="mmcblk*rpmb", GOTO="persistent_storage_end" - KERNEL!="loop*|mmcblk*[0-9]|msblk*[0-9]|mspblk*[0-9]|nvme*|sd*|sr*|vd*|xvd*|bcache*|cciss*|dasd*|ubd*", GOTO="persistent_storage_end" - - # 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 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" - -SRC_URI_append_qoriq-ppc = " \ - file://skip-rules-for-mmc-rpmb-partition.patch \ -" - -- cgit v1.2.3-54-g00ecf