diff options
Diffstat (limited to 'recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch')
-rw-r--r-- | recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch | 41 |
1 files changed, 41 insertions, 0 deletions
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 new file mode 100644 index 00000000..edbc0b3d --- /dev/null +++ b/recipes-core/udev/udev/skip-rules-for-mmc-rpmb-partition.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 68a780f4cbba18c01d8409faafb1f7904afa86a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ting Liu <ting.liu@freescale.com> | ||
3 | Date: Thu, 31 Jul 2014 16:12:32 +0800 | ||
4 | Subject: [PATCH] skip rules for mmc rpmb partition | ||
5 | |||
6 | Upstream-status: Pending | ||
7 | |||
8 | In FSL SDK 1.6 Kernel, mmc driver has created a new partition | ||
9 | with "mmcblkXrpmb" if device expresses it support of RPMB. | ||
10 | |||
11 | RPMB (Replay Protected Memory Block), A signed access to a Replay | ||
12 | Protected Memory Block is provided. This function provides means | ||
13 | for the system to store data to the specific memory area in an | ||
14 | authenticated and replay protected manner. | ||
15 | |||
16 | In that case, any read/write access to this partition device will | ||
17 | report errors which will not impact any fuction. | ||
18 | |||
19 | add rules to skip it. | ||
20 | |||
21 | Signed-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 | |||
26 | diff --git a/rules/60-persistent-storage.rules b/rules/60-persistent-storage.rules | ||
27 | index 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 | -- | ||
40 | 1.8.3.2 | ||
41 | |||