嵌入式软件工程师&&太极拳
全部博文(548)
分类: 嵌入式
2012-04-25 15:09:46
这些配置是对host端和device端的支持.
2. USB support --->
<*> USB Mass Storage support
这是对U盘的SCSI类型的支持
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)
支持相应的语言
(2) 启动开发板
插入U盘[靠近SD卡的USB口],出现一下信息:
[root@192 /]# usb 1-1: new full speed USB device using s3c2410-ohci and address2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi 0:0:0:0: Direct-Access Netac OnlyDisk 1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 2039808 512-byte hardware sectors (1044 MB)
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] 2039808 512-byte hardware sectors (1044 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1 (mknod /dev/sda1 b 8 1 ;mount -t vfat /dev/sda1 /tmp)
sd 0:0:0:0: [sda] Attached SCSI removable disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
(3)验证一下
# mkdir -p /mnt/udisk
# mount -t vfat -o codepage=936,iocharset=cp936 /dev/sda1 /mnt/udisk
#cd /mnt/udisk
# ls