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:24:00 +0300 [thread overview]
Message-ID: <46F13100.9020705@tut.fi> (raw)
In-Reply-To: <1190211192.14370.166.camel@sauron>
Artem Bityutskiy kirjoitti:
> On Wed, 2007-09-19 at 17:03 +0300, Timo Piiroinen wrote:
>
>> 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.
>>
>
> Just do not pad FS image at all. You do not have to. Just leave the rest
> of the flash to contain all 0xFF, i.e., erase it before flashing.
>
>
I use the redboot bootloader to flash image (using fis create), if I
flash with lenght parameter same as image size it won't work, cause
after that there is mtd/2 which is length of image and mtd/3 which
contains rest of free flash (and I want mtd/2 to use all available flash).
I'll try to create image using legth of free flash and write rest of it
after jffs2 image (unused part) with 0xFF.
next prev parent reply other threads:[~2007-09-19 14:24 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
2007-09-19 14:13 ` Artem Bityutskiy
2007-09-19 14:24 ` Timo Piiroinen [this message]
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=46F13100.9020705@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox