<html><head></head><body><div dir="auto">Hi Bjørn,<br><br>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<br><br>For Linux with managed flash (e.g. eMMC or UFS), most people go with EXT4 or F2FS<br><br>HTH,<br>Chris</div><br><br><div class="gmail_quote"><div dir="auto">On 18 July 2023 14:04:55 BST, "Alan C. Assis" <acassis@gmail.com> wrote:</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><div dir="auto">Hi Bjørn,<br><br>On 7/18/23, Bjørn Forsman <bjorn.forsman@gmail.com> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><div dir="auto">On Tue, 18 Jul 2023 at 08:03, Kai Tomerius <kai@tomerius.de> wrote:<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><div dir="auto">I should have mentioned that I'll have a large NAND flash, so ext4<br>might still be the file system of choice. The other ones you mentioned<br>are interesting to consider, but seem to be more fitting for a smaller<br>NOR flash.<br></div></blockquote><div dir="auto"><br> If you mean raw NAND flash I would think UBIFS is still the way to go?<br> (It's been several years since I was into embedded Linux systems.)<br><br> <a href="https://elinux.org/images/0/02/Filesystem_Considerations_for_Embedded_Devices.pdf">https://elinux.org/images/0/02/Filesystem_Considerations_for_Embedded_Devices.pdf</a><br> is focused on eMMC/SD Cards, which have built-in controllers that<br> enable them to present a block device interface, which is very unlike<br> what raw NAND devices have.<br><br> Please see <a href="https://www.kernel.org/doc/html/latest/filesystems/ubifs.html">https://www.kernel.org/doc/html/latest/filesystems/ubifs.html</a><br> for more info.<br><br></div></blockquote><div dir="auto"><br>You are right, for NAND there is an old (but gold) presentation here:<br><br><a href="https://elinux.org/images/7/7e/ELC2009-FlashFS-Toshiba.pdf">https://elinux.org/images/7/7e/ELC2009-FlashFS-Toshiba.pdf</a><br><br>UBIFS and YAFFS2 are the way to go.<br><br>But please note that YAFFS2 needs license payment for commercial<br>application (something that I only discovered recently when Xiaomi<br>integrated it into NuttX mainline, bad surprise).<br><br>BR,<br><br>Alan<br></div></pre></blockquote></div></body></html>