On Thu, 19 Jul 2007, Rick Bronson wrote: Yes. There is no any magic formatting. > Actually I'm only trying to format the partition for yaffs. I guess > I wrongly assumed that the old mkyaffs was actually laying down some > kind of magic partitioning info for yaffs. > > So, this is all I need to do to format a partition to yaffs2 (for a > 512/16 NAND part)? > > mtd-utils-1.0.1/flash_eraseall /dev/mtd1 > > Rick > >> On Thursday 19 July 2007 02:49:28 Rick Bronson wrote: >>> Hi Sergey, >>> >>> Thanks very much for all of the help. >>> >>> I've got just one more question, if you don't mind. I promise not >>> to bug you after this one ;-) >>> >>> The issue for us in using the mkyaffs2image or the nandwrite is >>> that we would have to tftp around these huge files that represent >>> each of our yaffs partitions. So for example, when we want to format >>> a yaffs partition we would have to do: >>> >>> flash_eraseall --jffs2 /dev/mtd1 >>> nanddump -l 1 /dev/mtd1 > fs1r.bin >>> nandwrite -n -o /dev/mtd1 fs1r.bin >>> >>> I could skip step 2 above but it would require me to tftp over the >>> fs1r.bin image which is quite large. >>> >>> It would be really nice if there is a way to yaffs erase a > partition >>> without either 1) making files on-the-fly or 2) tftp'ing over big >>> partition files. Can you tell me what you think is the best >>> (easiest?) way to accomplish this? >> >> I'm unsure as to exactly what you're trying to accomplish here. >> >> To erase a yaffs partition all you need to do is flash_eraseall. An > erased >> partition is a formatted one. >> >> I suspect you're trying to achieve more than just that. >> > > _______________________________________________ > yaffs mailing list > yaffs@lists.aleph1.co.uk > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs > --- ****************************************************************** * KSI@home KOI8 Net < > The impossible we do immediately. * * Las Vegas NV, USA < > Miracles require 24-hour notice. * ******************************************************************