2

在嵌入式设备上,我想使用 USB Gadget - Mass Storage。我在菜单中找到了两个选项,但它们没有严格定义。

在大容量存储部分:

This is heavily based on File-backed Storage Gadget and in most
cases you will want to use FSG instead. This gadget is mostly
here to test the functionality of the Mass Storage Function
which may be used with composite framework.
If unsure, consider File-backed Storage Gadget.

有人可以写更多细节吗?

FSG 专注于嵌入式世界吗?

4

1 回答 1

2

海量存储小工具是文件存储小工具的改进版本。根据官方文档:

File Storage Gadget has been removed in Linux 3.8. All users need to transition to the Mass Storage Gadget.

(来自:https ://www.kernel.org/doc/Documentation/usb/mass-storage.txt )

同一页面还列出了模块之间的差异(不多——一些参数的名称不同/格式不同)

于 2013-09-02T17:46:37.223 回答