主题 : U盘无法自动识别? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 12229
精华: 0
发帖: 23
金钱: 115 两
威望: 23 点
综合积分: 46 分
注册时间: 2010-01-01
最后登录: 2015-01-09
楼主  发表于: 2011-01-10 17:35

 U盘无法自动识别?

管理提醒: 本帖被 qq2440 从 micro2440技术交流专区 移动到本区(2013-11-18)
在开发板上插上金士顿的U盘(FAT32)后串口显示如下,但是没有出现udisk文件夹,但是可以手动用mount /dev/sda test 挂在到test文件夹下,但这样很麻烦呢,另外SD卡插上是正常的。
address 5
usb 1-1: New USB device found, idVendor=0951, idProduct=1624
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: DataTraveler G2
usb 1-1: Manufacturer: Kingston
usb 1-1: SerialNumber: 001372982D6AA9310626002A
usb 1-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
scsi 3:0:0:0: Direct-Access     Kingston DataTraveler G2  1.00 PQ: 0 ANSI: 2
sd 3:0:0:0: Attached scsi generic sg0 type 0
sd 3:0:0:0: [sda] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
sd 3:0:0:0: [sda] Write Protect is off
sd 3:0:0:0: [sda] Assuming drive cache: write through
sd 3:0:0:0: [sda] Assuming drive cache: write through
sda:
sd 3:0:0:0: [sda] Assuming drive cache: write through
sd 3:0:0:0: [sda] Attached SCSI removable disk

mount的时候出现如下信息:
yaffs: dev is 8388608 name is "sda"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 8.0, "sda"
yaffs: dev is 8388608 name is "sda"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 8.0, "sda"
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will b
e case sensitive!
级别: 荣誉会员
UID: 34761
精华: 0
发帖: 1348
金钱: 6835 两
威望: 1367 点
综合积分: 2696 分
注册时间: 2010-12-21
最后登录: 2017-06-02
1楼  发表于: 2011-01-11 21:25
格成 FAT 格式试试