summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@nxp.com>2016-03-03 15:27:24 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:26 -0300
commit17fc6cf5c53d83191e982e6e216fce4a32b51645 (patch)
tree739c36a08c006403f5aba65ac42c1b7376f8308a /recipes-core
parent014b8024c49ec35c5a3eb6c5a03b6abf2b324e72 (diff)
downloadmeta-freescale-17fc6cf5c53d83191e982e6e216fce4a32b51645.tar.gz
rename udev to eudev to align with change in poky
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.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.patch30
-rw-r--r--recipes-core/udev/eudev_3.1.5.bbappend (renamed from recipes-core/udev/udev_182.bbappend)0
-rw-r--r--recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch41
3 files changed, 30 insertions, 41 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
new file mode 100644
index 00000000..59a8eddc
--- /dev/null
+++ b/recipes-core/udev/eudev/skip-rules-for-mmc-rpmb-partition.patch
@@ -0,0 +1,30 @@
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/udev_182.bbappend b/recipes-core/udev/eudev_3.1.5.bbappend
index 4eedfd89..4eedfd89 100644
--- a/recipes-core/udev/udev_182.bbappend
+++ b/recipes-core/udev/eudev_3.1.5.bbappend
diff --git a/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch b/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch
deleted file mode 100644
index edbc0b3d..00000000
--- a/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 68a780f4cbba18c01d8409faafb1f7904afa86a9 Mon Sep 17 00:00:00 2001
2From: Ting Liu <ting.liu@freescale.com>
3Date: Thu, 31 Jul 2014 16:12:32 +0800
4Subject: [PATCH] skip rules for mmc rpmb partition
5
6Upstream-status: Pending
7
8In FSL SDK 1.6 Kernel, mmc driver has created a new partition
9with "mmcblkXrpmb" if device expresses it support of RPMB.
10
11RPMB (Replay Protected Memory Block), A signed access to a Replay
12Protected Memory Block is provided. This function provides means
13for the system to store data to the specific memory area in an
14authenticated and replay protected manner.
15
16In that case, any read/write access to this partition device will
17report errors which will not impact any fuction.
18
19add rules to skip it.
20
21Signed-off-by: Ting Liu <ting.liu@freescale.com>
22---
23 rules/60-persistent-storage.rules | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules
27index fa687f2..bb3f8f9 100644
28--- a/rules/60-persistent-storage.rules
29+++ b/rules/60-persistent-storage.rules
30@@ -14,7 +14,7 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_
31 SUBSYSTEM!="block", GOTO="persistent_storage_end"
32
33 # skip rules for inappropriate block devices
34-KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*", GOTO="persistent_storage_end"
35+KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*|dm-*|md*|mmcblk*rpmb", GOTO="persistent_storage_end"
36
37 # ignore partitions that span the entire disk
38 TEST=="whole_disk", GOTO="persistent_storage_end"
39--
401.8.3.2
41