Re: MTD device aggregation, questions for other developers

2021-12-01 Thread Sebastien Lorquet
Hello, Thanks for these ideas. I need aggregation at MTD layer, not at filesystem layer. No NuttX FS at that time was immune against tearing in the way we required it, so we wrote our own in app space (the fs layer could not accomodate a special append-only file type we require). I cant

Re: MTD device aggregation, questions for other developers

2021-11-30 Thread Gregory Nutt
Hi, Sebastian, I think you need to use the UnionFS (fs/unionfs).  It basically lets you mount two file systems at the same location with the content combined. There is an example at apps/examples/unionfs: 140   ret = mount(MOUNT_DEVNAME_A, CONFIG_EXAMPLES_UNIONFS_TMPA, "romfs", 141  

MTD device aggregation, questions for other developers

2021-11-30 Thread Sebastien Lorquet
Hello, For history our board need 128 Mbit of flash, but the 128 Mbit parts are slw and have gigantic erase blocks. So as an alternative our plan was to have two 64 Mbit SST parts (fast and small erases) and aggregate them in software, so that we can present the other drivers a single