JFFS2 kernel configuration

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Introduction

This page will walk the user through enabling support for the JFFS2 Flash file system in the MontaVista TI kernel. This support must be enabled to allow the kernel to boot with a root file system stored in Flash.

Enabling JFFS2 Support

In order to enable JFFS2 support in the MontaVista TI kernel the user must compile the JFFS2 file system into the kernel. In this example it is assumed that the user has a copy of the MontaVista TI kernel in /home/user/workdir/ti-davinci. The following steps will demonstrate how to enable this support:

   host$ cd /home/user/workdir/ti-davinci
   host$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- xconfig

The option for JFFS2 support is located under File systems -> Miscellaneous filesystems. Select Journalling Flash File System v2 (JFFS2) support. For example you should see a screen like the following:

JFFS2 enabled.jpg

For more details on compiling the kernel please refer to the Building a New Linux Kernel section of the Getting Started Guide for your product. An example command to compile the kernel is:

   host$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox