public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtd-utils/flash_erase modifications
@ 2006-10-27 12:30 Ricard Wanderlof
  2006-10-27 12:39 ` Artem Bityutskiy
  0 siblings, 1 reply; 5+ messages in thread
From: Ricard Wanderlof @ 2006-10-27 12:30 UTC (permalink / raw)
  To: Linux mtd


Hi,

I have a proposition for some changes to the flash_erase application from 
mtd-utils:

1.
Looking at the mtd-utils/flash_erase application (mtd-utils 1.0.1), and 
considering its use for nand flashes, there is no bad block management,
i.e. if flash_erase hits a bad block, it exits with an error message.
I would like to see (perhaps governed by an option) that it simply
skips bad blocks.

2.
Furthermore, it would be nice to be able to disable the output of the 
program. As it stands, it outputs a line for each block/sector it erases. 
I would suggest a --verbose or -v option in order to enable this output.

3.
And finally, by default, the program only erases the first block, unless 
some options are given. If one wants to erase a whole mtd device or 
partition, the number of blocks must be known and given to flash_erase. It 
would be nice to have a default behavior, or perhaps using an option for 
backwards compatibility's sake, to simply erase the whole device.

I don't mind getting to work on this myself, but I would like some 
comments before I start implementing something that no one thinks is a 
good idea.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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

end of thread, other threads:[~2006-10-27 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-27 12:30 mtd-utils/flash_erase modifications Ricard Wanderlof
2006-10-27 12:39 ` Artem Bityutskiy
2006-10-27 12:56   ` Ricard Wanderlof
2006-10-27 13:59     ` Artem Bityutskiy
2006-10-27 14:18       ` Ricard Wanderlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox