summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
diff options
context:
space:
mode:
authorChunrong Guo <b40290@freescale.com>2012-12-06 00:27:37 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-11 15:54:26 +0000
commitc8e3fe46df84e782cc1becc4c5a8cd954ef85f34 (patch)
treecc8854afb54f8451fee7d80fd1bad0a2a45e3101 /meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
parent4f891901bcf7be95cebca1a7296e7ea656adee74 (diff)
downloadopenembedded-core-c8e3fe46df84e782cc1becc4c5a8cd954ef85f34.tar.gz
openembedded-core-c8e3fe46df84e782cc1becc4c5a8cd954ef85f34.tar.bz2
openembedded-core-c8e3fe46df84e782cc1becc4c5a8cd954ef85f34.zip
mtd-utils:fix corrupt cleanmarker with flash_erase -j command
*Flash_erase -j should fill discrete freeoob areas with required bytes of JFFS2 cleanmarker in jffs2_check_nand_cleanmarker(). Not just fill the first freeoob area. Signed-off-by: Chunrong Guo <b40290@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb')
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
index bdfb0228c8..12ad9d4746 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
@@ -8,11 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
SRCREV = "ca39eb1d98e736109c64ff9c1aa2a6ecca222d8f"
SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git \
- file://add-exclusion-to-mkfs-jffs2-git-2.patch"
+ file://add-exclusion-to-mkfs-jffs2-git-2.patch \
+ file://mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch "
S = "${WORKDIR}/git/"
-PR = "r1"
+PR = "r2"
EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"