Skip to contentSkip to conversation

Read-only file systems using NAND/MTD

DISCUSSION Rod Campbell 3 participants 3 messages Nov 24, 2014 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hello,

Is there an update about implementing a read-only file system on NAND? The most recent discussion I could find was from May 2012:

http://lists.infradead.org/pipermail/linux-mtd/2012-May/041200.html

The conclusion seemed to be to use ubi underneath something like squashfs to provide bad-block awareness. Is this still the recommended solution?

Thanks,
Rod Campbell

Quoted 1 line

From the desk of:

Rod Campbell
Senior Software Engineer
Linear Acoustic Inc.
108 Foxshire Drive, Lancaster PA 17601
Tel: 717-735-3611
Fax: 717-735-3612
E-mail: [email protected]
www.linearacoustic.com

#1 lore raw
Quoted 9 lines · Rod Campbell

Hello,

Is there an update about implementing a read-only file system on NAND? The most recent discussion I could find was from May 2012:

http://lists.infradead.org/pipermail/linux-mtd/2012-May/041200.html

The conclusion seemed to be to use ubi underneath something like squashfs to provide bad-block awareness. Is this still the recommended solution?

Yes. Using the new UBI block driver this is trivial.

Signature · 2 lines
Thanks,
//richard
#2 lore raw
Quoted 6 lines · Richard Weinberger
Quoted 5 lines · Rod Campbell

Hello,

Is there an update about implementing a read-only file system on NAND? The most recent discussion I could find was from May 2012:

Quoted 6 lines
Quoted 4 lines

http://lists.infradead.org/pipermail/linux-mtd/2012-May/041200.html

The conclusion seemed to be to use ubi underneath something like squashfs to provide bad-block awareness. Is this still the recommended solution?

Yes. Using the new UBI block driver this is trivial.

To expand on that:

http://www.linux-mtd.infradead.org/doc/ubi.html#L_ubiblock

Brian