Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] need smaller filesystem for NOR
Date: Tue, 12 Feb 2013 22:50:43 +0100	[thread overview]
Message-ID: <20130212225043.4ecc0f25@skate> (raw)
In-Reply-To: <511A7C8E.9010407@mind.be>

Dear Arnout Vandecappelle,

On Tue, 12 Feb 2013 18:31:58 +0100, Arnout Vandecappelle wrote:

>   A jffs2 filesystem should be mounted through /dev/mtdN, not through 
> /dev/mtdblockN. So root=/dev/mtd13 is a better idea.

Really? I've always used root=/dev/mtdblockX without any problems. Your
statement even seems to contradict
http://www.linux-mtd.infradead.org/faq/jffs2.html#L_mtdblock :

"""
There are two cases where this does not work. The first is when JFFS2
is used as a root filesystem. For now, this requires the mtdblock
device to be specified for root= on the kernel command line. The second
case is when the mount binary that is being used does not play nicely
with the above format. The BusyBox version of mount is known to not
work without the mtdblock device. 
"""


> > Next I tried to edit my jffs options in the .config for my recovery
> > 'failsafe' buildroot:
> > Filesystem images  --->
> >   [*] jffs2 root filesystem
> >   Flash Type (Select custom page and erase size)  --->
> >   (0x1065) Page Size
> >   (0xC60) Erase block size
> 
>   Those numbers are unlikely. 0x1065 is a very odd number (literally). 
> Also, the erase block size is always larger than the page size, and for 
> NOR I think it's normally equal to it.

I remember dataflash having bizarre erase block sizes, but I don't
think it was an odd number.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-02-12 21:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 17:25 [Buildroot] need smaller filesystem for NOR John Stile
2013-02-08 17:38 ` Thomas Petazzoni
2013-02-08 21:34   ` John Stile
2013-02-12  0:19     ` John Stile
2013-02-12 17:31       ` Arnout Vandecappelle
2013-02-12 21:50         ` Thomas Petazzoni [this message]
2013-02-16 18:05           ` Peter Korsgaard
2013-02-12 18:24       ` John Stile
2013-02-08 17:38 ` Yann E. MORIN

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=20130212225043.4ecc0f25@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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