From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: ptxdist@pengutronix.de
Cc: stutzsven@web.de
Subject: Re: [ptxdist] AT91SAM9263-EK
Date: Wed, 1 Aug 2012 11:24:29 +0200 [thread overview]
Message-ID: <20120801112429.43f37797@skate> (raw)
In-Reply-To: <5018F3CD.2010703@web.de>
Hello,
Le Wed, 01 Aug 2012 11:15:57 +0200,
Stutz Sven <stutzsven@web.de> a écrit :
> > jffs2: Erase at 0x03400000 failed immediately: -EROFS. Is the sector
> > locked?
JFFS2 doesn't like to have a r/o MTD partition below it.
> > mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox),128k(bareboxenv),4M(kernel)ro,64M(rootfs)ro,-(data)
So here, change 64M(rootfs)ro to 64M(rootfs), and if you want your
root filesystem to be read only, pass the "ro" kernel argument
separately. So the filesystem will be read-only (applications will not
be allowed to write to it), but the filesystem itself is allowed to
make writes to the underlying MTD device, which is needed for
wear-leveling, bad block replacement, etc.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2012-08-01 9:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 9:15 Stutz Sven
2012-08-01 9:24 ` Thomas Petazzoni [this message]
2012-08-01 18:29 ` Stutz Sven
-- strict thread matches above, loose matches on Subject: below --
2012-06-28 6:42 [ptxdist] AT91SAM9263-ek Stutz Sven
2012-06-28 7:02 ` Robert Schwebel
2012-06-28 7:52 ` Alexander Dahl
2012-06-28 8:21 ` Stutz Sven
2012-06-28 13:35 ` Stutz Sven
2012-07-13 9:01 ` Stutz Sven
2012-07-13 9:10 ` Juergen Beisert
2012-06-28 18:44 ` Remy Bohmer
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=20120801112429.43f37797@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=ptxdist@pengutronix.de \
--cc=stutzsven@web.de \
/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