USB/File system相关内核配置

来源:互联网 发布:合肥关键词优化 编辑:程序博客网 时间:2024/05/22 16:02

 USB 内核配置

    ===>after make menuconfig, 进入Linux相关内核配置选项, 根据所选开发板功能部件,选择如下:

1.1 USB驱动内核配置
配置内核支持USB,需选中如下选项:
--->Device Drivers
--->USB support
--->Support for Host-side USB[=y]
--->USB device class-devices (DEPRECATED)[=y]
--->Dynamic USB minor allocation[=y]
--->Inventra Highspeed Dual Role Controller (TI, ADI, ...)[=y]
--->MUSB GM8136 support[=y]
--->MUSB DMA mode (Disable DMA(always use PIO))
--->USB Wireless Device Management support[=y]
--->USB Mass Storage support[=y]
--->The shared table of common (or usual) storage devices[=y]
--->USB Gadget Support[=y]
其中Inventra Highspeed Dual Role Controller选项,需先选中USB Gadget Support。


配置支持USB Mass Storage,需选中如下选项:
--->Device Drivers
--->SCSI device support
--->SCSI device support[=y]
--->legacy /proc/scsi support[=y]
--->SCSI disk support[=y]
--->SCSI low-level deivers[=y]
1.2 USB WIFI 内核配置
配置网络支持WIFI API,需选中如下选项:
--->Networking support 
--->Wireless 
--->cfg80211 - wireless configuration API[=y]
--->enable powersave by default
--->Common routines for IEEE802.11 drivers[=y]
--->Generic IEEE 802.11 Networking Stack (mac80211)[=y] 
--->Minstrel[=y]
---> Minstrel 802.11n support[=y]



配置驱动支持Realtek 8189E USB WiFi,需选中如下选项:
--->Device Drivers
--->Network device support
--->Wireless LAN[=y]

--->Realtek 8189E USB WiFi[=y]



 文件系统内核配置

2.1 UBI文件系统内核配置

配置MTD支持UBI接口,需选中如下选项:

--- >Device Drivers

--- >Memory Technology Device(MTD) support [=y]

--- >Enable UBI - Unsorted blockimages [=y]

配置内核支持UBIFS文件系统,需选中如下选项:

         --- >File systems

--- >Miscellaneous filesystems[=y]

--->UBIFS file system support[=y] 

2.2 JFFS2文件系统内核配置

配置内核支持JFFS2文件系统,需选中如下选项:

         --- > File systems

                   --- > Miscellaneousfilesystems [=y]

                            --- >JournallingFlash File System v2 (JFFS2) support [=y]

                                     --- >JFFS2debugging verbosity [=0]

                                     --- >JFFS2write-buffering support [=y]

2.3 SQUASHFS文件系统内核配置

配置内核支持SQUASHFS文件系统,需选中如下选项:

         --- > File systems

                   --- > Miscellaneousfilesystems [=y]

                            --- >SquashFS 4.0- Squashed file system support [=y]

                                     --- >Includesupport for XZ compressed file systems [=y]

其中Include support for XZ compressed file systems[=y] 选项表示内核支持采用XZ压缩算法的SQAUASHFS文件系统。目前,该算法提供了最大的压缩率。


 

 MMC  Kernel配置

配置内核支持MMC,需选中如下选项:

--->Device Drivers

         --->MMC/SD/SDIOcard support[=y]

                   --->MMChost clock gating (EXPERIMENTAL)[=y]

                   --->MMCblock device driver[=y]

                   --->(32)     Number of minors per block device

                   --->   Use bounce buffer for simple hosts[=y]

                   --->MMChost test driver[=y]

                   --->GM8186 Media Processor SD/MMC Host Controller driver[=y]


0 0
原创粉丝点击