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.
CRAMFS kernel configuration
In order for your embedded system to be able to use the cramfs file system image you create, the Linux kernel used by your system must know how to read from the cramfs file system. This requires enabling cramfs file system support in the Linux kernel configuration. There are multiple ways to edit the kernel configuration but for this example we will use xconfig. This example assumes that you have made a copy of the kernel tree /home/user/workdir/ti-davinci directory.
- Change directory to the base directory of the kernel tree
host $ cd /home/user/workdir/ti-davinci
- Launch the Linux kernel configuration utility
host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- xconfig
- Under Device Drivers -> File systems -> Miscellaneous filesystems, check the Compressed ROM file system support (cramfs) box to enable cramfs file system support in the Linux kernel. You should see something like this:
- Continue configuring your kernel as needed for your system.
- Exit the configuration utility and save your configuration.
The Linux kernel has now been configured with CRAMFS support.