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.

(From OE-Core rev: c8e3fe46df84e782cc1becc4c5a8cd954ef85f34)

Signed-off-by: Chunrong Guo <b40290@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chunrong Guo
2012-12-06 00:27:37 -06:00
committed by Richard Purdie
parent 138669057d
commit 74b2e40d89
2 changed files with 136 additions and 2 deletions

View File

@@ -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}'"