Re:Littlefs – A little fail-safe filesystem designed for mic...
by robinsoh on Friday February 18, 2022 @08:25AM
(#30385396)
don't most embedded devices use emmc now? with the wear leveling under the control of the mmc device rather than raw NAND or NOR?
[ Parent
| on HN ]
Re:Littlefs – A little fail-safe filesystem designed for mic...
by iamjackg on Friday February 18, 2022 @08:53AM
(#30385644)
I don't know about higher level, more expensive stuff, but many popular microcontrollers (like the ESP8266 and ESP32) have SPI flash onboard, without any built-in wear leveling.
Re:Littlefs – A little fail-safe filesystem designed for mic...
by pantalaimon on Friday February 18, 2022 @12:40PM
(#30388670)
You are thinking Linux class devices, this is about MCUs with a few MiB of external flash
Re:Littlefs – A little fail-safe filesystem designed for mic...
by matja on Friday February 18, 2022 @08:30AM
(#30385437)
And there's no specification on how that wear-leveling works (or doesn't work).
Re:Littlefs – A little fail-safe filesystem designed for mic...
by hwh on Friday February 18, 2022 @08:57AM
(#30385691)
That is not true. See https://github.com/littlefs-project/littlefs/blob/master/DES...
Sorry, as a commenter on this pointed out, the comment I was replying to was probably talking about eMMC. For which indeed no wear levelling is specified by the JEDEC standard - it is a standard that defines the communication protocol between a device and a host system. Newer JEDEC standards define the interface to access vendor specific "health reports", the actual method of wear levelling isn't regularly disclosed by vendors.
Re:Littlefs – A little fail-safe filesystem designed for mic...
by phs2501 on Friday February 18, 2022 @09:37AM
(#30386188)
I think the GP was commenting on the lack of specification of eMMC wear leveling, not Littlefs.
Re:Littlefs – A little fail-safe filesystem designed for mic...
by stjohnswarts on Friday February 18, 2022 @12:17PM
(#30388407)
Sandisk has multiple documents on this. "They" is a pretty big paintbrush.
Re:Littlefs – A little fail-safe filesystem designed for mic...
by kevin_thibedeau on Friday February 18, 2022 @07:01PM
(#30392907)
You never know if a marginal brand has licensed the Sandisk patents or implemented them correctly.