State of read-only filesystems in NAND / MTD bad blocks handling when reading
Ricard Wanderlof
ricard.wanderlof at axis.com
Thu May 3 02:58:30 EDT 2012
On Wed, 2 May 2012, Thilo Fromm wrote:
> Apart from the fact that my NAND SW stack will then be two layers
> higher than it actually needs to be (and the added complexity this
> brings to boot loader and kernel) - as far as I know UBI does not
> provide the functionality we require: being able to store a read-only
> file system image, and mount it at boot time. At least we don't get
> this without another boot step (initrd, see above).
With a root file system in ubifs, you can boot directly with a root
filesystem in UBI, with a kernel command line such as
ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
I don't know how far back that was possible, you were using 2.6.27 were
you not (in my case I'm using 2.6.35)?
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
More information about the linux-mtd
mailing list