Hi All,
To build the YAFFS2 in the linux kernel (Fedora 2.6.20 ) we followed the steps below.
2. Extract the package contents in any directory. For eg. /home/YAFFS2
./patch-ker.sh c /usr/src/linux
(or)
./patch-ker.sh l /usr/src/linux
· Enabling MTD driver
Select Device driverà
Memory Technology Devices (MTD)à
Enable - Memory Technology Device (MTD) support.
Enable - MTD partitioning support.
Enable - Direct char device access to MTD device.
Enable - Caching block device access to MTD device.
· Enabling NAND flash driver
Select Device driverà
Memory Technology Devices (MTD)à
NAND Flash Driverà
Enable - NAND Device Support.
Enable – Support for NAND flash simulator.
6. Execute the following commands one after the other.
a. make clean
b. make
c. make modules
d. make modules_install
e. make install