On Thu, 21 April 2005 18:55:52 -0700, Eugene Surovegin wrote: > On Thu, Apr 21, 2005 at 06:53:37PM -0700, Eugene Surovegin wrote: > > On Fri, Apr 22, 2005 at 03:31:34AM +0200, J?rn Engel wrote: > > > > [snip] > > > > > 1. Erase the flash partition. Either > > > o eraseall /dev/mtdX or > > > o cat file_filled_with_0xff > /dev/mtdblockX > > > > Huh? I fail to see how options you listed are equivalent. By > > "cat"ing file filled with 0xff you cannot erase flash, period. > > > > Only eraseall (or erase, if partition occupies 1 erase block) flash > > can be erased. > > Oops, sorry, I failed to notice /dev/mtdblockX. Stupid me. Ignore this > noise.
Btw, I've also written a tool called 'ff' once. It will simply write tons of 0xff to stdout. Rewriting the thing from scratch should be slightly faster than me trying to look for the source (about 4 lines of code?). J?rn -- My second remark is that our intellectual powers are rather geared to master static relations and that our powers to visualize processes evolving in time are relatively poorly developed. -- Edsger W. Dijkstra
