[riot-devel] *Stable* platforms for RIOT-OS] - Arduino Due
authmillenon at gmail.com
Wed Sep 10 23:28:09 CEST 2014
there was actually some discussion in the last student software project
here at Freie Universität Berlin (but sadly no implementation yet, since
RIOT lacks to date some general interface to access file-like objects). The
results were in general: FAT (as Adam previously stated in part) a) is
ridden from ballasts of past specification, b) is not suitable for for
flash, and c) weird regarding licensing (and propably incompatible to
RIOT), since MS is somehow still involved. So they looked at NuttX and CFS
(among others), too and found CFS as the most suitable and it is to assume,
that since Contiki is very modular as well, that it is easily portable
(when we have some genaral file interface, which hopefully will be easier
to realize when Kaspar's IPC change is finally there).
PS: There are already fd-like PIDs in RIOT , but since the current
situation is that 1 communication end-point (read this as fd, socket,
whatever) equals 1 thread (which will change in the future), this is just
2014-09-10 21:50 GMT+02:00 Adam Hunt <voxadam at gmail.com>:
> I'm not positive but I don't believe that the mainline Contiki tree
> includes support for any version of FAT though I think that there may be
> some non-mainline forks that have implemented it. I know they implement
> their own simple log structured file system called Coffee. FAT may be
> ubiquitous but it's likely one of the least optimal options for writing to
> flash. This is especially true when you're writing to raw NAND devices that
> contain no wear leveling, garbage collection, compression, or other
> niceties in hardware (this is far less of an issue if writing to microSD
> Has anyone taken a look around at the VFS, file system, and FTL
> implementations in other suitably licensed (e.g. LGPL, MIT, BSD) systems?
> Contiki (BSD) has their Coffee file system and CFS layer. NuttX (BSD) has
> what looks like a fairly impressive VFS layer with support for a few log
> type systems, FAT12/16/32, FTL, ROMFS, NFS, bind mounts, and an ELF loader.
> On Wed, Sep 3, 2014 at 2:22 AM, Joakim Gebart <joakim.gebart at eistec.se>
>> On Wed, Sep 3, 2014 at 2:31 AM, David Lyon <david.lyon at clixx.io> wrote:
>> > Hi,
>> > I was having a conversation on IRC and the benefits of the Arduino Due
>> were discussed.
>> > Quoting http://arduino.cc/en/Main/arduinoBoardDue "512 KB (2 blocks of
>> 256 KB) of flash memory".
>> > Anyway, I know in RIOT you guys are not exactly looking for new
>> features, however, it's enough to implement a simple file system mainly for
>> data-logging purposes in IoT.
>> > Any interest in that ?
>> > Regards
>> > David
>> > _______________________________________________
>> > devel mailing list
>> > devel at riot-os.org
>> > http://lists.riot-os.org/mailman/listinfo/devel
>> You could look at porting some other embedded file system, e.g.
>> https://github.com/contiki-os/contiki/wiki/File-systems, or using a
>> FAT library if you want compatibility with desktops (for SD cards
>> Best regards,
>> devel mailing list
>> devel at riot-os.org
> devel mailing list
> devel at riot-os.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel