How to config file for jffs2.?

Josh Boyer jdub at us.ibm.com
Sun Jul 10 11:18:30 EDT 2005


On Sun, 2005-07-10 at 05:11 +0700, HS8JCV wrote:
> Hi all
> Now.
> I have at91rm9200dk board.
> This board have SDRAM 32 MByte and Nor Flash 4 Mbyte(SST39VF32010).
> I port kernel 2.4.27-vrs1.
> I will save data to nor flash on board.
> I know. I should be use jffs2.
> But.I never use it.
> Please suggest me for use it.
> 
> How many files in kernel source code(linux-2.4.27-vrs1) for config it.?
> Which files for config it?

Do you have MTD configured in your kernel?  If not you'll need enable
that first.  Then an option for JFFS2 will be present (CONFIG_JFFS2_FS).

But you'll need either a board map driver or to use the physmap device
driver so that the flash is mapped to an MTD device.

josh





More information about the linux-mtd mailing list