* [PATCH] mtd-utils: Support 4096+64 page sizes.
@ 2010-05-18 9:53 Enric Balletbo i Serra
2010-05-22 5:30 ` Artem Bityutskiy
2010-06-12 11:43 ` Artem Bityutskiy
0 siblings, 2 replies; 4+ messages in thread
From: Enric Balletbo i Serra @ 2010-05-18 9:53 UTC (permalink / raw)
To: linux-mtd; +Cc: Enric Balletbo i Serra
From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Add support for oobsize 64 and writesize 4096 in nanddump & nandwrite.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
nanddump.c | 1 +
nandwrite.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/nanddump.c b/nanddump.c
index ae0e425..e44ab36 100644
--- a/nanddump.c
+++ b/nanddump.c
@@ -212,6 +212,7 @@ int main(int argc, char * const argv[])
if (!(meminfo.oobsize == 224 && meminfo.writesize == 4096) &&
!(meminfo.oobsize == 218 && meminfo.writesize == 4096) &&
!(meminfo.oobsize == 128 && meminfo.writesize == 4096) &&
+ !(meminfo.oobsize == 64 && meminfo.writesize == 4096) &&
!(meminfo.oobsize == 64 && meminfo.writesize == 2048) &&
!(meminfo.oobsize == 32 && meminfo.writesize == 1024) &&
!(meminfo.oobsize == 16 && meminfo.writesize == 512) &&
diff --git a/nandwrite.c b/nandwrite.c
index b77edd6..bd45879 100644
--- a/nandwrite.c
+++ b/nandwrite.c
@@ -294,6 +294,7 @@ int main(int argc, char * const argv[])
if (!(meminfo.oobsize == 16 && meminfo.writesize == 512) &&
!(meminfo.oobsize == 8 && meminfo.writesize == 256) &&
!(meminfo.oobsize == 64 && meminfo.writesize == 2048) &&
+ !(meminfo.oobsize == 64 && meminfo.writesize == 4096) &&
!(meminfo.oobsize == 128 && meminfo.writesize == 4096)) {
fprintf(stderr, "Unknown flash (not normal NAND)\n");
close(fd);
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] mtd-utils: Support 4096+64 page sizes.
2010-05-18 9:53 [PATCH] mtd-utils: Support 4096+64 page sizes Enric Balletbo i Serra
@ 2010-05-22 5:30 ` Artem Bityutskiy
2010-05-23 17:39 ` Enric Balletbò i Serra
2010-06-12 11:43 ` Artem Bityutskiy
1 sibling, 1 reply; 4+ messages in thread
From: Artem Bityutskiy @ 2010-05-22 5:30 UTC (permalink / raw)
To: Enric Balletbo i Serra; +Cc: Enric Balletbo i Serra, linux-mtd
On Tue, 2010-05-18 at 11:53 +0200, Enric Balletbo i Serra wrote:
> + !(meminfo.oobsize == 64 && meminfo.writesize
> == 4096) &&
Are there flashes with the 4096 page / 64 spare combination? Could you
refer to one? May be any URL? I thought 4096 comes with 128.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mtd-utils: Support 4096+64 page sizes.
2010-05-22 5:30 ` Artem Bityutskiy
@ 2010-05-23 17:39 ` Enric Balletbò i Serra
0 siblings, 0 replies; 4+ messages in thread
From: Enric Balletbò i Serra @ 2010-05-23 17:39 UTC (permalink / raw)
To: dedekind1; +Cc: linux-mtd
Hello,
2010/5/22 Artem Bityutskiy <dedekind1@gmail.com>:
> On Tue, 2010-05-18 at 11:53 +0200, Enric Balletbo i Serra wrote:
>> + !(meminfo.oobsize == 64 && meminfo.writesize
>> == 4096) &&
>
> Are there flashes with the 4096 page / 64 spare combination? Could you
> refer to one? May be any URL? I thought 4096 comes with 128.
Much to my regret I can't provide a URL because is not public. IGEP v2
board has a Onenand with two dice of 2048/64 spare combination but mtd
views 4096/64. The minimal write page is 4K (2K from first dice and 2K
from second dice).
Best regards,
Enric
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mtd-utils: Support 4096+64 page sizes.
2010-05-18 9:53 [PATCH] mtd-utils: Support 4096+64 page sizes Enric Balletbo i Serra
2010-05-22 5:30 ` Artem Bityutskiy
@ 2010-06-12 11:43 ` Artem Bityutskiy
1 sibling, 0 replies; 4+ messages in thread
From: Artem Bityutskiy @ 2010-06-12 11:43 UTC (permalink / raw)
To: Enric Balletbo i Serra; +Cc: Enric Balletbo i Serra, linux-mtd
On Tue, 2010-05-18 at 11:53 +0200, Enric Balletbo i Serra wrote:
> From: Enric Balletbo i Serra <eballetbo@iseebcn.com>
>
> Add support for oobsize 64 and writesize 4096 in nanddump & nandwrite.
>
> Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
> ---
> nanddump.c | 1 +
> nandwrite.c | 1 +
Pushed to mtd-utils.git, thank you!
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-06-12 11:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-18 9:53 [PATCH] mtd-utils: Support 4096+64 page sizes Enric Balletbo i Serra
2010-05-22 5:30 ` Artem Bityutskiy
2010-05-23 17:39 ` Enric Balletbò i Serra
2010-06-12 11:43 ` Artem Bityutskiy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.