Chinaunix首页 | 论坛 | 博客
  • 博客访问: 573233
  • 博文数量: 70
  • 博客积分: 3736
  • 博客等级: 中校
  • 技术积分: 1728
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-08 09:15
文章分类
文章存档

2014年(1)

2012年(21)

2011年(7)

2010年(28)

2009年(13)

分类: LINUX

2009-11-18 18:43:37

1.配置usb host和sd卡
Device Drivers  --->
  SCSI device support  --->
      <*>   SCSI disk support
  USB support  --->
      <*> Support for Host-side USB                                                                                    
     [*]   USB verbose debug messages                                                                            
    ---   Miscellaneous USB options                                                                                  
    [ ]   USB device filesystem                                                                                       
     [ ]   Enforce USB bandwidth allocation (EXPERIMENTAL)                                                            
    [ ]   Dynamic USB minor allocation (EXPERIMENTAL)                                                                  
    ---   USB Host Controller Drivers                                                                                
     <*>   EHCI HCD (USB 2.0) support                                                                                 
    [ ]     Full speed ISO transactions (EXPERIMENTAL)                                                                 
    [ ]     Root Hub Transaction Translators (EXPERIMENTAL)                                                           
    <*>   Intel ixp435/ixp465 on-chip EHCI HCD support                                                                 
     < >   ISP116X HCD support                                                                                        
    < >   OHCI HCD support                                                                                          
     < >   UHCI HCD (most Intel and VIA) support                                                                      
    < >   SL811HS HCD support                                                                                       
    ---   USB Device Class drivers                                                                                 
    < >   USB Modem (CDC ACM) support                                                                                 
    < >   USB Printer support                                                                                      
    --- NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'                                                   
     --- may also be needed; see USB_STORAGE Help for more information                                               
     <*> USB Mass Storage support                                                                             
    [*]   USB Mass Storage verbose debug    
   MMC/SD Card support  --->
    <*> MMC support                                                                                                   
           [*]   MMC debugging                                                                                           
          <*>   MMC block device driver
2.配置usb和sd卡支持的文件系统(一般usb都以vfat格式,所以此处选择支持vfat)
File systems  --->  
    DOS/FAT/NT Filesystems  --->
        <*> MSDOS fs support                                                                                           
         <*> VFAT (Windows-95) fs support                                                                            
          (437) Default codepage for FAT                                                                               
         (iso8859-1) Default iocharset for FAT                                                                        
         <*> NTFS file system support                                                                                
         [ ]   NTFS debugging support                                                                           
         [*]   NTFS write support
3.配置文件系统支持的字符集
File systems  --->
    Native Language Support  --->
            (iso8859-1) Default NLS Option                                                                             
            <*>   Codepage 437 (United States, Canada)
            <*>   Simplified Chinese charset (CP936, GB2312)
            <*>   NLS ISO 8859-1  (Latin 1; Western European Languages)
            <*>   NLS UTF8

4.进入文件系统后,在/dev下面建立两个设备节点:
mknod /dev/sdb1 b 8 17(usb)
mknod /dev/sda1 b 8 1 (sd)
在我的系统linux-2.6.16.rt.x里,u盘被识别为/dev/sdb1,sd卡被识别为/dev/sda1,他们的主设备号和次设备号必须要和上面的一样,否则,会有错误。
阅读(1672) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~