nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

Add EXT2/3/4 FS support to NuttX

Open acassis opened this issue 1 year ago • 8 comments

I found a nice project that could be integrated on NuttX to support ext2, ext3 and ext4:

https://github.com/gkostka/lwext4

To get it BSD only we need to remove the extended attribute support as explained in the readme.

acassis avatar May 28 '24 13:05 acassis

They might want to reimplement it, instead.

anoraktrend avatar Jul 30 '24 05:07 anoraktrend

Hi @anoraktrend nice you see you here! I remember browsing your git repository sometime ago.

acassis avatar Jul 30 '24 12:07 acassis

Hi @anoraktrend nice you see you here! I remember browsing your git repository sometime ago.

Howdy! I was looking at this as a potential alternative kernel for Iglunix, (frankensrc, etc), because it's a neat project. ext4 is something of a requirement, so this issue is a good one for that reason.

anoraktrend avatar Jul 30 '24 19:07 anoraktrend

Amazing @anoraktrend welcome aboard! We are glad you enjoyed it!

acassis avatar Jul 30 '24 20:07 acassis

I didn't know about Iglunix, but used many small Linux distros in the past like Slitaz and many others. Does Iglunix use Toybox? Marco Casaroli is just porting it to NuttX (shell and some commands are already working), I think it could be something useful for you!

acassis avatar Jul 30 '24 20:07 acassis

I didn't know about Iglunix, but used many small Linux distros in the past like Slitaz and many others. Does Iglunix use Toybox? Marco Casaroli is just porting it to NuttX (shell and some commands are already working), I think it could be something useful for you!

Yep, toybox, busybox, mksh, and the LLVM suite. We could replace some of busybox & toybox with @chimera-linux's chimerautils (a neat thing, it ports a lot of the FreeBSD userland to Linux).

anoraktrend avatar Jul 31 '24 00:07 anoraktrend

Interesting! Some chimerautils tools seems too big for a small microcontroller, but some tools could be ported/reused on NuttX. Also I noticed that some tools are open Linux specific /proc and /sys files that only exist on Linux. These tools need to be modified as well.

acassis avatar Jul 31 '24 11:07 acassis

we are porting https://github.com/gkostka/lwext4 to nuttx

xiaoxiang781216 avatar Oct 07 '24 07:10 xiaoxiang781216