Another mkfs.jffs2 question pagesize verse size of image?

Thomas Gleixner tglx at
Thu Jun 3 16:04:36 EDT 2004

On Thursday 03 June 2004 22:01, Carlos, John J USAATC wrote:
> Hi,
>   I run mkfs.jffs2 on my host.  When I use defaults to create image and the
> try to write to the DOC using nandwrite I get input file is not page
> aligned.  When I try to create the jffs2 image using the -s 512 and -e
> 32768 my image grows to large.  Should the values of page size be 512 bytes
> " from documentation pdf file" and 32768 erase size as reported by
> mtd_debug???????

nandwrite does not work on DOC if you use the DOC driver in mtd/devices. JFFS2 
does neither.

Dan Brown is working on the DOC code which uses the generic nand driver code 
and can be used with JFFS2 and the nand tools.

Read the maillist archive and contact Dan.

Steve Ballmer quotes the statistic that IT pros spend 70 percent of their 
time managing existing systems. That couldn’t have anything to do with 
the fact that 99 percent of these systems run Windows, could it?
linutronix - competence in embedded & realtime linux
mail: tglx at

More information about the linux-mtd mailing list