热门关键字:  ubuntu  分区  函数  Fedora  linux系统进程

AT91sam9263EK使用JFFS2根文件系统

来源: 作者: 时间:2007-12-21 Tag: 点击:
AT91sam9263EK使用JFFS2根文件系统
张驿风
2007-6-1
cbuilder@peoplemail.com.cn
 
AT91sam9263EK成功配置了NFS根文件系统后,后来又想把JFFS2也移植到AT91sam9263EK上吧,说干就干。
 
1.         呵呵,其实很简单我使用的linux-2.6.20内核里已经有jffs2 文件系统支持,选上jffs2即可
 
File systems --->
Miscellaneous filesystems --->
   <*> Journalling Flash File System v2 (JFFS2) support                                             
                           (0)   JFFS2 debugging verbosity (0 = quiet, 2 = noisy)                                           
                           [*]   JFFS2 write-buffering support                                                              
                           [*]   JFFS2 summary support (EXPERIMENTAL)                                                       
                           [*]   JFFS2 XATTR support (EXPERIMENTAL)                                                         
                           [*]     JFFS2 POSIX Access Control Lists                                                         
                           [*]     JFFS2 Security Labels                                                                     
                           [*]   Advanced compression options for JFFS2                                                     
                           [*]     JFFS2 ZLIB compression support                                                           
                           [*]     JFFS2 RTIME compression support                                                          
                           [ ]     JFFS2 RUBIN compression support                                                          
                                   JFFS2 default compression mode (priority)
选上MTD支持
Device Drivers --->
Memory Technology Devices (MTD) --->
      <*> Memory Technology Device (MTD) support                                                       
                           [ ]   Debugging                                                                                   
                           <*>   MTD concatenating support                                                                  
                           [*]   MTD partitioning support                                                                    
                           < >     RedBoot partition table parsing                                                          
                           [*]     Command line partition table parsing                                                      
                           <*>     ARM Firmware Suite partition parsing                                                     
                           ---   User Modules And Translation Layers                                                         
                           <*>   Direct char device access to MTD devices                                                   
                           <*>   Caching block device access to MTD devices                                                  
                           <*>   FTL (Flash Translation Layer) support                                                      
                           <*>   NFTL (NAND Flash Translation Layer) support                                                 
                           [ ]     Write support for NFTL   
       
                                                        
2.         ttp://www.linux-mtd.infradead.org/上下载
mtd-utils-1.0.0.tar.gz 到宿主机。
 
解压
tar xvzf mtd-utils-1.0.0.tar.gz
进入mtd-utils-1.0.0目录修改Makefile进行编译。
编译出mkfs.jffs2,nandwrite等工具
最新评论共有 4 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册