Hi Bjørn,
If I may summarize, for Linux with raw NAND flash, your main option is UBIFS. You can also use UBI + squashfs if you really want to save space
For Linux with managed flash (e.g. eMMC or UFS), most people go with EXT4 or F2FS
HTH,
Chris
If I may summarize, for Linux with raw NAND flash, your main option is UBIFS. You can also use UBI + squashfs if you really want to save space
For Linux with managed flash (e.g. eMMC or UFS), most people go with EXT4 or F2FS
HTH,
Chris
On 18 July 2023 14:04:55 BST, "Alan C. Assis" <acassis@xxxxxxxxx> wrote:
Hi Bjørn,
On 7/18/23, Bjørn Forsman <bjorn.forsman@xxxxxxxxx> wrote:On Tue, 18 Jul 2023 at 08:03, Kai Tomerius <kai@xxxxxxxxxxx> wrote:I should have mentioned that I'll have a large NAND flash, so ext4
might still be the file system of choice. The other ones you mentioned
are interesting to consider, but seem to be more fitting for a smaller
NOR flash.
If you mean raw NAND flash I would think UBIFS is still the way to go?
(It's been several years since I was into embedded Linux systems.)
https://elinux.org/images/0/02/Filesystem_Considerations_for_Embedded_Devices.pdf
is focused on eMMC/SD Cards, which have built-in controllers that
enable them to present a block device interface, which is very unlike
what raw NAND devices have.
Please see https://www.kernel.org/doc/html/latest/filesystems/ubifs.html
for more info.
You are right, for NAND there is an old (but gold) presentation here:
https://elinux.org/images/7/7e/ELC2009-FlashFS-Toshiba.pdf
UBIFS and YAFFS2 are the way to go.
But please note that YAFFS2 needs license payment for commercial
application (something that I only discovered recently when Xiaomi
integrated it into NuttX mainline, bad surprise).
BR,
Alan
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel