diff options
author | Chunrong Guo <b40290@freescale.com> | 2012-12-06 00:27:37 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-11 15:54:37 +0000 |
commit | 74b2e40d89cb79cb58a8135bd095720c74c44681 (patch) | |
tree | c1991df9cbd6797503b0537716630a1e86c6153f /meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb | |
parent | 138669057d382a4e5924933614f539431fb2ddf1 (diff) | |
download | poky-74b2e40d89cb79cb58a8135bd095720c74c44681.tar.gz |
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>
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.bb | 5 |
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 \ | |||
8 | 8 | ||
9 | SRCREV = "ca39eb1d98e736109c64ff9c1aa2a6ecca222d8f" | 9 | SRCREV = "ca39eb1d98e736109c64ff9c1aa2a6ecca222d8f" |
10 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git \ | 10 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git \ |
11 | file://add-exclusion-to-mkfs-jffs2-git-2.patch" | 11 | file://add-exclusion-to-mkfs-jffs2-git-2.patch \ |
12 | file://mtd-utils-fix-corrupt-cleanmarker-with-flash_erase--j-command.patch " | ||
12 | 13 | ||
13 | S = "${WORKDIR}/git/" | 14 | S = "${WORKDIR}/git/" |
14 | 15 | ||
15 | PR = "r1" | 16 | PR = "r2" |
16 | 17 | ||
17 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" | 18 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" |
18 | 19 | ||