Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Introduce Storage API #15

@jynik

Description

@jynik

Currently, there's no API abstractions for non-volatile storage access. As is done in the read_nand.py example, it's up to the user to manually invoke available commands (e.g. nand) to perform NV storage accesses.

I would like to introduce an NV storage API, similar to that of the RAM-based MemoryReader and MemoryWriter.

However, the important differences (e.g. bad blocks, SoC-specific error correction) between different NV storage technologies (e.g., NOR, NAND, eMMC) and interfaces (e.g. parallel, SPI) will need to be taken into account. It may be more worth than is actually valuable to try to abstract that all away from the user -- I haven't decided.

Opening this issue tracker item to mull this over and happily accept feedback.

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions