Project

General

Profile

Accessing NOR flash from Linux on 5CSX

Added by Bruce Kenny over 7 years ago

Our project is currently in the design phase and we are considering using a small amount of NOR flash to read and write some information.

The question is whether there are built in Linux drivers to do this?

We only have a small amount of information to store and very infrequently, so even a simple driver would be sufficient (i.e. we don't necessarily need a file system but that also would be useful).

Thanks,
Bruce


Replies (3)

RE: Accessing NOR flash from Linux on 5CSX - Added by Tim Iskander over 7 years ago

Bruce
Linux has excellent support for NOR flash devices using the mtd subsytem
http://www.linux-mtd.infradead.org/
You can read/write the device (or partition on the device) as a block or install a filesystem (such as jffs or ubifs) on it.

cheers
/Tim

RE: Accessing NOR flash from Linux on 5CSX - Added by Bruce Kenny over 7 years ago

Thanks Tim, that's good news.

Is there any specific doc. for the 5CSZ build? e.g. driver name, build instructions, code location, etc. Any examples kicking about? Do you know if anybody has tried this on the 5CSX?

Kind regards,
Bruce

RE: Accessing NOR flash from Linux on 5CSX - Added by Tim Iskander over 7 years ago

We have a wiki page relating to using the quad spi NOR [primarily centered around booting from NOR]
(https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/Utilizing_QSPI_NOR_Memory).
The bulk of it is standard linux mtd stuff.

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)