mkfs.jffs2 padding queries

Ram vshrirama at gmail.com
Wed Nov 28 10:03:02 EST 2007


Hi,
  Can mkfs.jffs2 produce an image that is a multiple of page size and
not block size. (With padding)

  My page size is 0x8000 (2K) and block size is 0x20000 (128K).

  I tried the following:
  # mkfs.jffs2 -p 0x800 -l -e 0x20000 -n -v -r rootfs/ -o /tmp/filesys.jffs2

  I tried several similar combinations to mkfs.jffs2.
  I could get an image which is either padded block size or a size
which is neither a multiple
  of page or block size (without -p param).


 I would like to get a image which is a multiple of page size after padding.

Regards,
sriram



More information about the linux-mtd mailing list