linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Fix mtd-utils bugs
@ 2010-06-11  9:36 Stanley.Miao
  2010-06-11  9:36 ` [PATCH 1/3] clean up the legacy interfaces in nandwrite.c Stanley.Miao
  2010-06-13  9:51 ` Fix mtd-utils bugs Artem Bityutskiy
  0 siblings, 2 replies; 18+ messages in thread
From: Stanley.Miao @ 2010-06-11  9:36 UTC (permalink / raw)
  To: Artem.Bityutskiy; +Cc: linux-mtd

Re-send them because I didn't give a email subject in last version.

The "struct nand_oobinfo" is able to record only 32 ECC code positions,which
is not enough for many big NAND chips. Therefore, this structure is replaced
by "struct nand_ecclayout" in linux kernel from the version 2.6.17.
Consequently, the ioctl command changed from MEMGETOOBSEL to ECCGETLAYOUT.

Now update nandwrite to use the new ioctl command ECCGETLAYOUT. In order to
keep compatible with the old linux kernel, a linux version detection function
is added.

YAFFS and JFFS2 has updated and we don't need the arguments "forcelegacy",
"forcejffs2", "forceyaffs" anymore. Now clean them up. 


Stanley.

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Fix mtd-utils bugs
@ 2010-02-03  4:45 Stanley.Miao
  2010-02-04  7:25 ` stanley.miao
  2010-02-15 13:36 ` Artem Bityutskiy
  0 siblings, 2 replies; 18+ messages in thread
From: Stanley.Miao @ 2010-02-03  4:45 UTC (permalink / raw)
  To: linux-mtd

(Re-send it because the previous one don't have a subject.)

During some BSP development process, I found some tools in mtd-utils
contain legacy interfaces and it is not suitable with the current linux
kernel. I post my patches here in case somebody else need them.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-06-20 12:09 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-11  9:36 Fix mtd-utils bugs Stanley.Miao
2010-06-11  9:36 ` [PATCH 1/3] clean up the legacy interfaces in nandwrite.c Stanley.Miao
2010-06-11  9:36   ` [PATCH 2/3] Discard the legacy interface MEMGETOOBSEL in flash_eraseall Stanley.Miao
2010-06-11  9:36     ` [PATCH 3/3] Place the cleanmarker in OOB area according to the mode MTD_OOB_AUTO Stanley.Miao
2010-06-11  9:44     ` [PATCH 2/3] Discard the legacy interface MEMGETOOBSEL in flash_eraseall Joakim Tjernlund
     [not found]     ` <OFDBEF7A42.BA0205E8-ONC125773F.0034F62C-C125773F.00358229@LocalDomain>
2010-06-11  9:53       ` Joakim Tjernlund
2010-06-11 10:36         ` stanley.miao
2010-06-11 10:44           ` Joakim Tjernlund
2010-06-11 12:11             ` Joakim Tjernlund
2010-06-13  9:51 ` Fix mtd-utils bugs Artem Bityutskiy
2010-06-13 10:14   ` Artem Bityutskiy
2010-06-17  4:10     ` stanley.miao
2010-06-18  8:16     ` stanley.miao
2010-06-18 10:24       ` Artem Bityutskiy
2010-06-20 12:21         ` stanley.miao
  -- strict thread matches above, loose matches on Subject: below --
2010-02-03  4:45 Stanley.Miao
2010-02-04  7:25 ` stanley.miao
2010-02-15 13:36 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).