diff options
author | Bob Cochran <yocto@mindchasers.com> | 2017-03-15 16:15:32 -0400 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-03-17 17:03:51 -0300 |
commit | 7493e87a4d7db0fb4bf2a03d2891b7e056b3c41a (patch) | |
tree | 9085ceb552cef8ed9b700644faa3bc362d540e17 /recipes-core | |
parent | bc39afa5995168be6475a89e287d84f503a9aef1 (diff) | |
download | meta-freescale-7493e87a4d7db0fb4bf2a03d2891b7e056b3c41a.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>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch | 30 | ||||
-rw-r--r-- | recipes-core/udev/eudev_%.bbappend | 6 |
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 @@ | |||
1 | skip rules for mmc rpmb partition | ||
2 | |||
3 | Upstream-status: Pending | ||
4 | |||
5 | In FSL SDK 1.6 Kernel, mmc driver has created a new partition | ||
6 | with "mmcblkXrpmb" if device expresses it support of RPMB. | ||
7 | |||
8 | RPMB (Replay Protected Memory Block), A signed access to a Replay | ||
9 | Protected Memory Block is provided. This function provides means | ||
10 | for the system to store data to the specific memory area in an | ||
11 | authenticated and replay protected manner. | ||
12 | |||
13 | In that case, any read/write access to this partition device will | ||
14 | report errors which will not impact any fuction. | ||
15 | |||
16 | add rules to skip it. | ||
17 | |||
18 | Signed-off-by: Ting Liu <ting.liu@nxp.com> | ||
19 | Signed-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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" | ||
2 | |||
3 | SRC_URI_append_qoriq-ppc = " \ | ||
4 | file://skip-rules-for-mmc-rpmb-partition.patch \ | ||
5 | " | ||
6 | |||