All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timo Piiroinen <timo.piiroinen@tut.fi>
To: dedekind@infradead.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: mkfs.jffs2 and mksum
Date: Wed, 19 Sep 2007 17:03:57 +0300	[thread overview]
Message-ID: <46F12C4D.9060204@tut.fi> (raw)
In-Reply-To: <1190206217.14370.155.camel@sauron>

Artem Bityutskiy kirjoitti:
> Hi,
>
> On Wed, 2007-09-19 at 15:45 +0300, Timo Piiroinen wrote:
>   
>> I have done jffs2 image with --pad option to match my flash size and it 
>> works fine. However, if I want to use summary, the sumtool creates smaller 
>> image than original padded jffs2 image and the flash isn't fully used. 
>> I write the jffs2 image using bootloader, where I set the size of the 
>> flashing length match the filesize. Is there any way to pad summed 
>> image to larger so that i can fully occupy flash?
>> sumtool -p option doesn't allow to set filesize.
>>     
>
> If your flash is NAND flash I do not recommend you to pad it because
> writing FFs may have side-effects.
>
>   
Yes it is NAND flash. I tried to add dummy file to my filesystem to 
increase the size of image and after that remove that dummy file to free 
space, unfortunately I couldn't remove the file cause the filesystem was 
100% full,
and that's the real problem.

  reply	other threads:[~2007-09-19 14:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 12:45 mkfs.jffs2 and mksum Timo Piiroinen
2007-09-19 12:50 ` Artem Bityutskiy
2007-09-19 14:03   ` Timo Piiroinen [this message]
2007-09-19 14:13     ` Artem Bityutskiy
2007-09-19 14:24       ` Timo Piiroinen
2007-09-19 14:47         ` Artem Bityutskiy
2007-09-19 17:12           ` Timo Piiroinen
2007-09-19 21:12             ` Ricard Wanderlof
2007-09-20  6:20               ` Artem Bityutskiy
2007-09-20  6:48               ` About MLC Nand Driver Yongsheng Liu
2007-10-09 13:33                 ` falls huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46F12C4D.9060204@tut.fi \
    --to=timo.piiroinen@tut.fi \
    --cc=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.