Author: eilian
Blog: http://blog.csdn.net/eilianlau
Copyright:Original
Date: 2011、12、14
1、Hosting environment:VMare ubuntu10.04
2、Cross-compiling environment:arm-2009q3.tar.bz2
3、Development board:QT6410
4、nanflash:K9F2G08(256M)
5、linux -version:Linux-2.6.39
6、uboot-version:u-boot-2010.06
-------cramfs文件系统之安装内核模块,在QT6410移植linux-2.6.39 笔记(二)-添加NANDFLASH分区 的基础上重新配置内核并编译
root@bootloader:/home/eilian/development/Linux/linux-2.6.39#make menuconfig
加入文件系统的支持
│ │ File systems --->
│ │ [*] Miscellaneous filesystems --->
│ │ <*> Compressed ROM file system support (cramfs) #支持cramfs
<*> yaffs2 file system support #支持yaffs2
│ │ -*- 512 byte / page devices
配置好后保存退出
root@bootloader:/home/eilian/development/Linux/linux-2.6.39#make uImage
root@bootloader:/home/eilian/development/Linux/linux-2.6.39#make modules ARCH=arm CROSS_COMPILE=arm-linux-
root@bootloader:/home/eilian/development/Linux/linux-2.6.39#make
modules_install ARCH=INSTALL_MOD_PATH=/home/eilian/development/rootfs
至此文件系统已完善,再接下来就是要将roots压缩成cramfs