您尚未登录。

楼主 # 2024-07-22 16:37:24

RiverZhang
会员
注册时间: 2023-09-13
已发帖子: 15
积分: 0

F1C100S TF启动,能否再使用USB虚拟U盘功能

电脑复制图片到板子虚拟的U盘,即TF卡的一个分区

离线

#1 2024-07-23 11:34:51

lanlanzhilian
会员
注册时间: 2021-12-21
已发帖子: 130
积分: 50

Re: F1C100S TF启动,能否再使用USB虚拟U盘功能

肯定是可以的,地址不要有重叠

离线

楼主 #2 2024-07-23 22:40:43

RiverZhang
会员
注册时间: 2023-09-13
已发帖子: 15
积分: 0

Re: F1C100S TF启动,能否再使用USB虚拟U盘功能

不知道哪里的问题1.png1.png

离线

楼主 #3 2024-07-26 09:47:36

RiverZhang
会员
注册时间: 2023-09-13
已发帖子: 15
积分: 0

Re: F1C100S TF启动,能否再使用USB虚拟U盘功能

[22:49:52:591]# modprobe libcomposite.ko
[22:49:52:592][   77.033133] libcomposite: exports duplicate symbol usb_os_desc_prepare_interf_dir (owned by kernel)
[22:49:52:598][   77.048711] libcomposite: exports duplicate symbol usb_os_desc_prepare_interf_dir (owned by kernel)
[22:49:52:623]modprobe: can't load module libcomposite.ko (libcomposite.ko): invalid module format
[22:50:47:285]# modprobe usb_f_mass_storage.ko
[22:50:47:285][  131.726289] libcomposite: exports duplicate symbol usb_os_desc_prepare_interf_dir (owned by kernel)
[22:50:47:294][  131.740730] libcomposite: exports duplicate symbol usb_os_desc_prepare_interf_dir (owned by kernel)
[22:50:47:326]modprobe: can't load module libcomposite (libcomposite.ko): invalid module format
[22:51:07:690]# modprobe g_mass_storage.ko file=/dev/mmcblk0p1 stall=0 removable=1
[22:51:07:690][  152.134244] libcomposite: exports duplicate symbol usb_os_desc_prepare_interf_dir (owned by kernel)
[22:51:07:702][  152.149863] libcomposite: exports duplicate symbol usb_os_desc_prepare_interf_dir (owned by kernel)
[22:51:07:730]modprobe: can't load module libcomposite (libcomposite.ko): invalid module format
[22:51:19:891]# [  164.325223] random: crng init done

离线

楼主 #4 2024-07-27 19:27:38

RiverZhang
会员
注册时间: 2023-09-13
已发帖子: 15
积分: 0

Re: F1C100S TF启动,能否再使用USB虚拟U盘功能

# depmod
# modprobe libcomposite.ko
# modprobe usb_f_mass_storage.ko
# modprobe g_mass_storage.ko file=/dev/mmcblk0 stall=0 removable=1
[   18.194531] Mass Storage Function, version: 2009/09/11
[   18.199697] LUN: removable file: (no medium)
[   18.204398] LUN: removable file: /dev/mmcblk0
[   18.208765] Number of LUNs=1
[   18.213551] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[   18.220530] g_mass_storage gadget: userspace failed to provide iSerialNumber
[   18.227692] g_mass_storage gadget: g_mass_storage ready

离线

楼主 #5 2024-07-27 19:28:08

RiverZhang
会员
注册时间: 2023-09-13
已发帖子: 15
积分: 0

Re: F1C100S TF启动,能否再使用USB虚拟U盘功能

# depmod
# modprobe libcomposite.ko
# modprobe usb_f_mass_storage.ko
# modprobe g_mass_storage.ko file=/dev/mmcblk0 stall=0 removable=1
[   18.194531] Mass Storage Function, version: 2009/09/11
[   18.199697] LUN: removable file: (no medium)
[   18.204398] LUN: removable file: /dev/mmcblk0
[   18.208765] Number of LUNs=1
[   18.213551] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[   18.220530] g_mass_storage gadget: userspace failed to provide iSerialNumber
[   18.227692] g_mass_storage gadget: g_mass_storage ready

请问这是什么意思

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn