From: Artem Bityutskiy <dedekind@infradead.org>
To: John Smith <john.smith@arrows.demon.co.uk>
Cc: linux-mtd@lists.infradead.org
Subject: Re: UBI: Can I boot with an UBI volume holding a root file system?
Date: Sun, 06 May 2007 14:55:35 +0300 [thread overview]
Message-ID: <1178452535.3708.3.camel@sauron> (raw)
In-Reply-To: <loom.20070506T124743-262@post.gmane.org>
On Sun, 2007-05-06 at 11:25 +0000, John Smith wrote:
> I have not done anything explicit about alignment. Have I just been lucky
> because my NAND device works in pages of 512 bytes? The squashfs block size is
> currently 65536 bytes, though may be the word block is describing a different
> concept. Perhaps it would be best to make the squashfs block size the same size
> as the UBI logical erase block size.
Yeah, you probably do not need alignment. mtdblock emulates 512-byte
block device, and since you have NAND, you have 512-bytes-aligned
logical eraseblocks, so everything is fine. But you would need to
specify 512-byte alignment if you had NOR flash, for example.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
prev parent reply other threads:[~2007-05-06 11:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 22:42 UBI: Can I boot with an UBI volume holding a root file system? John Smith
2007-05-05 11:51 ` Artem Bityutskiy
2007-05-05 14:08 ` Artem Bityutskiy
2007-05-06 11:25 ` John Smith
2007-05-06 11:55 ` Artem Bityutskiy [this message]
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=1178452535.3708.3.camel@sauron \
--to=dedekind@infradead.org \
--cc=john.smith@arrows.demon.co.uk \
--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