mtd-utils: refresh patches now merged upstream
PATCH 1/1 mtd-utils: refresh patches now merged upstream
Update Upstream-Status tags and apply 010-fix-rpmatch.patch unconditionally, since it's merged unconditionally upstream.
Signed-off-by Andre McCurdy <[email protected]>
--- .../mtd/mtd-utils/0001-Fix-build-with-musl.patch | 15 ++++---- .../mtd/mtd-utils/010-fix-rpmatch.patch | 45 ++++++++++++++++++++-- .../mtd/mtd-utils/fix-armv7-neon-alignment.patch | 21 +++++++--- meta/recipes-devtools/mtd/mtd-utils_git.bb | 3 +- 4 files changed, 66 insertions(+), 18 deletions(-)
meta/recipes-devtools/mtd/mtd-utils/0001-Fix-build-with-musl.patch +7 -8
@@ -1,19 +1,18 @@ -From e16fa28bc57c29923ab60af2ac343da83e1992d8 Mon Sep 17 00:00:00 2001 +From 4dab9bed1033f797ef9b482c77342fe3fe26d0be Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 6 Oct 2015 23:51:34 +0000 Subject: [PATCH] Fix build with musl -Upstream-Status: Pending +Upstream-Status: Backport Signed-off-by: Khem Raj <[email protected]> +Signed-off-by: David Oberhollenzer <[email protected]> --- - mkfs.jffs2.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- - recv_image.c | 1 - - serve_image.c | 1 - - 3 files changed, 42 insertions(+), 4 deletions(-) + jffsX-utils/mkfs.jffs2.c | 1 + + 1 file changed, 1 insertion(+) -diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c -index f09c0b2..ed2dc43 100644 +diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c +index 5446a16..ca5e0d5 100644 --- a/jffsX-utils/mkfs.jffs2.c +++ b/jffsX-utils/mkfs.jffs2.c @@ -72,6 +72,7 @@
meta/recipes-devtools/mtd/mtd-utils/010-fix-rpmatch.patch +42 -3
56 lines not on this page · raw message
meta/recipes-devtools/mtd/mtd-utils/fix-armv7-neon-alignment.patch +16 -5
@@ -1,16 +1,25 @@ -Upstream-Status: Pending +From 7d026a85946a08b8167dcd792ea6660bf6a49e08 Mon Sep 17 00:00:00 2001 +From: Yuanjie Huang <[email protected]> +Date: Thu, 2 Mar 2017 10:43:56 +0100 +Subject: [PATCH] Fix alignment trap triggered by NEON instructions NEON instruction VLD1.64 was used to copy 64 bits data after type casting, and they will trigger alignment trap. This patch uses memcpy to avoid alignment problem. +Upstream-Status: Backport + Signed-off-by: Yuanjie Huang <[email protected]> +Signed-off-by: David Oberhollenzer <[email protected]> +--- + ubifs-utils/mkfs.ubifs/key.h | 16 ++++++++++------ + 1 file changed, 10 insertions(+), 6 deletions(-) -diff --git a/mkfs.ubifs/key.h b/mkfs.ubifs/key.h -index d3a02d4..e7e9218 100644 +diff --git a/ubifs-utils/mkfs.ubifs/key.h b/ubifs-utils/mkfs.ubifs/key.h +index 39379fd..118858b 100644 --- a/ubifs-utils/mkfs.ubifs/key.h +++ b/ubifs-utils/mkfs.ubifs/key.h -@@ -141,10 +141,12 @@ static inline void data_key_init(union ubifs_key *key, ino_t inum, +@@ -159,10 +159,12 @@ static inline void data_key_init(union ubifs_key *key, ino_t inum, */ static inline void key_write(const union ubifs_key *from, void *to) {
@@ -26,7 +35,7 @@ index d3a02d4..e7e9218 100644 memset(to + 8, 0, UBIFS_MAX_KEY_LEN - 8); } -@@ -156,10 +158,12 @@ static inline void key_write(const union ubifs_key *from, void *to) +@@ -174,10 +176,12 @@ static inline void key_write(const union ubifs_key *from, void *to) */ static inline void key_write_idx(const union ubifs_key *from, void *to) {
@@ -42,3 +51,5 @@ index d3a02d4..e7e9218 100644 } /** +-- +2.6.1
meta/recipes-devtools/mtd/mtd-utils_git.bb +1 -2
@@ -17,10 +17,9 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git \ file://fix-armv7-neon-alignment.patch \ file://mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch \ file://0001-Fix-build-with-musl.patch \ + file://010-fix-rpmatch.patch \ " -SRC_URI_append_libc-musl = " file://010-fix-rpmatch.patch " - S = "${WORKDIR}/git/" # xattr support creates an additional compile-time dependency on acl because
Signature · 1 line
2.6.1