- 论坛徽章:
- 0
|
回复 #1 gg940231 的帖子
/$ cd tmp
~$ rz
Reading data from NAND FLASH without ECC is not recommended
rz waiting to receive.
正在开始 zmodem 传输。 按 Ctrl+C 取消。
正在传输 g_file_storage.ko...
100% 38 KB 9 KB/s 00:00:04 0 错误
正在传输 s3c2410_udc.ko...
100% 21 KB 10 KB/s 00:00:02 0 错误
100% 21 KB 10 KB/s 00:00:02 0 错误
~$ chmod 777 *
~$ insmod s3c2410_udc.ko
Using s3c2410_udc.ko
0.00 USB: s3c2410_udc: version 14 Mar 2005
0.01 USB: s3c2410_udc_probe
0.02 USB: udc_disable called0.03 USB: usbs=04, usbds=01, pwr=00 ep0csr=00
0.04 USB: USB reset
0.05 USB: USB ep0 irq
0.06 USB: irq: 41 done.
~$ insmod g_file_storage.ko file=/dev/mmc/blk0/part1 stall=0 removable=1
Using g_file_storage.ko
0.07 USB: usb_gadget_register_driver() 'g_file_storage'
0.08 USB: binding gadget driver 'g_file_storage'
g_file_storage gadget: controller 's3c2410_udc' not recognized
0.09 USB: s3c2410_alloc_request(ep=bf05ce9c,flags=20
0.10 USB: s3c2410_alloc_buffer()
0.11 USB: s3c2410_alloc_buffer()
0.12 USB: s3c2410_alloc_buffer()
0.13 USB: s3c2410_set_selfpowered()
g_file_storage gadget: File-backed Storage Gadget, version: 20 October 2004
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, file: /dev/mmc/blk0/part1
0.14 USB: udc_enable called~$
我改为模块加载方式,然后按照上述方式加载,在插上usb线,出现如上情况,产生多次中断,一开始能在我的电脑里显示盘符(就一次),后来就是不显示了,什么原因啊,大家扶扶贫吧!缩短一下贫富差距啊 |
|