beautypg.com

2 flash memory (mtd) driver, 1 jffs2 file system configuration – SLS Audio NEEK Board Support Package uClinux User Manual

Page 28

background image

Configuring Device Drivers and File Systems

uClinux NEEK BSP

4.2 Flash Memory (MTD) Driver

To include the Flash Memory (Memory Technology Device) driver in
compilation, the following options should be enabled:

Device Drivers --->

Memory Technology Devices (MTD) --->

[*] Memory Technology Device (MTD) support

[*] MTD partitioning support

[*] Direct char device access to MTD devices

[*] Caching block device access to MTD devices

RAM/ROM/Flash chip drivers --->

[*] Detect flash chips by Common Flash
Interface (CFI) probe

[*] Support for Intel/Sharp flash chips

Mapping drivers for chip access --->

[*] CFI Flash device in physical memory map

(0x8000000) Physical start address of flash

mapping (NEW)

(0) Physical length of flash mapping (NEW)

(2) Bank width in octets (NEW)

4.2.1 JFFS2 File System Configuration

JFFS2 is a log-structured file system designed for use on flash devices in
embedded systems. Rather than using a kind of translation layer on flash devices
to emulate a normal hard drive, as is the case with older flash solutions, it places
the file system directly on the flash chips.

If you want to use JFFS2 file system on Flash Memory then you have to configure
both the Flash Memory driver and JFFS2 file system. First do the Flash Memory
Driver configuration as described above. And then follow the procedure below to
configure the JFFS2 File system.

20

System Level Solutions