NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
JFFS2 kernel configuration
Introduction[edit]
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[edit]
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:
- Configure the kernel using xconfig
host$ cd /home/user/workdir/ti-davinci host$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- xconfig
- Enable JFFS2 support
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:
- Save the configuration and exit xconfig
- Compile the kernel with JFFS2 support
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