LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 973|回复: 0

usb--gadget

[复制链接]
发表于 2009-4-30 09:53:09 | 显示全部楼层 |阅读模式
将nand flash的某个分区通过usb让PC机识别为u盘并使用

步骤:
insmod s3c2410_udc.ko;
insmod g_file_storage.ko  removable=1 stall=0  file=/dev……
能用,总觉得有某个地方不对,在xp下向里面写入大文件会出问题……
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表