General setup ---> Support for hot-pluggable devices
>USB驱动设置
Device Drivers --->Generic Driver Options
---> Hotplug firmware loading support
Block devices
---> Low Performance USB Block driver
SCSI device support
---> SCSI generic support
Probe all LUNs on each SCSI device
USB support
--->Support for Host-side USB
USB device filesystem
---> USB Mass Storage support
USB Monitor
>加入MSDOS FS和VFAT FS支持
File systems ---> DOS/FAT/NT Filesystems
---> MSDOS fs support
VFAT (Windows-95) fs support
(936) Default codepage for FAT
(cp936) Default iocharset for FAT
做完这些后,插入u盘后,内核应该可以识别到u盘,出现: usb 1-1: new full speed USB device using s3c2410-ohci and address 3 ub(1.3): GetMaxLUN returned 0, using 1 LUNs
但是,还有下面一句出错提示: /dev/ub/a: unknown partition table
>使能(DOS分区)CONFIG_MSDOS_PARTITION
File systems ---> Partition Types
---> PC BIOS (MSDOS partition tables) support
以下是我的内核插入u盘后的提示信息: usb 1-1: new full speed USB device using s3c2410-ohci and 2 ub(1.2): GetMaxLUN returned 0, using 1 LUNs /dev/ub/a: p1 表示usb设备已经挂载到/dev/ub/a/part1目录下
>加入中文字体库
Native Language Support
---> Simplified Chinese charset (CP936, GB2312)
NLS UTF8
以下是挂载usb设备后的显示: [root@Emux /]# mount -t vfat -o iocharset=cp936 /dev/ub/a/part1 /mnt [root@Emux /]# ls /mnt