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.

YAFFS2 kernel configuration

From Texas Instruments Wiki
Jump to: navigation, search

Introduction[edit]

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

Enabling YAFFS/YAFFS2 Support[edit]

In order to enable YAFFS/YAFFS2 support in the MontaVista TI kernel the user must compile the YAFFS2 file system into the kernel. Since YAFFS2 includes backwards compatibility with YAFFS only the YAFFS2 support is needed. In this example it is assumed that the user has a copy of the MontaVisti 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 YAFFS2 support

The option for YAFFS2 support is located under File systems - > Miscellaneous filesystems. Select YAFFS2 file system support. For example you should see a screen like the following:

YAFFS2 enabled.jpg

  • Save the configuration and exit xconfig
  • Compile the kernel with YAFFS2 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
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article YAFFS2 kernel configuration here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article YAFFS2 kernel configuration here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article YAFFS2 kernel configuration here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article YAFFS2 kernel configuration here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article YAFFS2 kernel configuration here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article YAFFS2 kernel configuration here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article YAFFS2 kernel configuration here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article YAFFS2 kernel configuration here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article YAFFS2 kernel configuration here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity