I will look at lomtd, thanks. But if littlefs is not suitable (a quick
look and it seemed it might be a reasonably choice for a 16KiB EEPROM?)
is there an FS in NuttX that is suitable? "Out there" I find NASA's EEFS
and one or two others I could try (and submit to NuttX; depending on
licensing
On Fri, Dec 15, 2023 at 5:17 PM Sebastien Lorquet
wrote:
> Hi,
>
> I dont think you can use losetup to create a mtd device. loop devices
> are regular block devices.
You can use lomtd to setup a mtd device loop:
https://github.com/apache/nuttx-apps/blob/master/nshlib/nsh_fscmds.c#L1144-L1306
Hi Tim,
What is the P/N# of your SPI EEPROM?
As Sébastien said the best option is adding support to your SPI EEPROM as
MTD.
I used char dev EEPROM in the past with a circular packet buffer. It was
used to store tracking data before sending it to the cloud. It was faster
than using MTD in the dev
Hi,
I dont think you can use losetup to create a mtd device. loop devices
are regular block devices. This will only work if littlefs can mount a
block device (no idea if thats possible)
what you need is an adaptation layer that will implement a mtd device on
an eeprom.
You can duplicate a
Question first, then explanation.
How do I use losetup (which is what I think I need) with a character
memory device and mount an FS on it? SPI EEPROM and LittleFS specifically.
Yes, it's a bad idea, probably, but I just want to have a play and lack
of NuttX/POSIX/Linux knowledge has bitten m