TS-7670 NAND Controller

From embeddedTS Manuals
Revision as of 02:00, 10 October 2013 by Kris (talk | contribs) (Created page with "The NAND on the TS-7670 is a 2GiB part attached directly to the CPU. The kernel handles the NAND through its MTD drivers. Instead of a traditional flash filesystem (JFFS2 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The NAND on the TS-7670 is a 2GiB part attached directly to the CPU. The kernel handles the NAND through its MTD drivers.

Instead of a traditional flash filesystem (JFFS2 for example) the TS-7670 implements UBI and UBIFS. UBI is the Unsorted Block Images layer, and is an erase block management layer. UBI serves two purposes, tracking NAND bad blocks and providing wear leveling. While it is possible to run a traditional flash filesystem on top of UBI, it is not recommended. UBIFS was written with UBI in mind and is able to take full advantage of what UBI provides.

UBIFS has multiple advantages over JFFS2, UBIFS supports write caching, UBIFS performs better on larger NAND devices, mounts faster, allows for quicker access to large files, improved write speeds, and indexes stored in flash not in system memory.