User manual

Page | 45
3.4.1 NAND Flash Driver
Figure 14: Working Principle of NAND Flash
NAND flash is used as a block device and has a filesystem built into it. The
interaction between users and NAND Flash is facilitated by a specific
filesystem. In order to eliminate inconsistencies between different flash
memories, an MTD subsystem is placed between the core’s filesystem and
the flash driver, and therefore users need to go through the following path
to access the NAND Flash:
User > System Call > VFS > Block Device Driver > MTD > NAND
Flash Driver > NAND Flash
Reference
linux-2.6.32-sbc8140/drivers/mtd/nand/
linux-2.6.32-sbc8140/drivers/mtd/nand/omap2.c