legacy /proc/scsi/ support
<*>SCSI disk support
<*>SCSI CDROM support
HID Devices-à
<*> USB Human Interface Device(full HID)support
/dev/hiddev raw HID device support
USB support-à
<*> support for Host-side USB
USB device filesystem
USB device class-devices(DEPRECATED)
<*>OHCI HCD support
<*>USB Mass storage support
先用make clean命令清除编译内核的垃圾文件,然后用命令make zImage编译内核。
在移植的根文件系统系统目录dev下建立如下的设备文件:
mknod sda1 b 8 1
把编译好的内核和根文件系统映像文件下载到开发板,启动开发板后插入U盘,终端出现如下信息:
[@MrFeng=W]#ls
bin
etc
linuxrc
proc
sys
var
boot
home
lost+found
root
tmp
www
dev
lib
mnt
sbin
usr
[@MrFeng=W]#usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: New USB device found, idVendor="0204", idProduct="6025"
usb 1-1: New USB device strings: Mfr="0", Product="0", SerialNumber="0"
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access
USB A
Flash Disk
2.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 506420 512-byte hardware sectors: (259 MB/247 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 506420 512-byte hardware sectors: (259 MB/247 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
[@MrFeng=W]#mount -t vfat /dev/sda1 /mnt/usb
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!