UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Participant jianwenchang
Participant
369 次查看
注册日期: ‎10-21-2014

Ethernet Gadget相关实验不能产生configfs.ko等文件

大家好,我在做Ethernet Gadget相关实验时配置如下:

 

<M>   USB functions configurable through configfs

[*] RNDIS x x
[ ] Ethernet Emulation Model (EEM) x x
[*] Mass storage x x
[ ] Loopback and sourcesink function (for testing) x x
[ ] Function filesystem (FunctionFS) x x
[ ] Audio Class 1.0 x x
[ ] Audio Class 2.0 x x
[ ] MIDI function x x
[ ] HID function

<M> USB Gadget Drivers x x
<M> Gadget Zero (DEVELOPMENT) x x
< > Audio Gadget x x
<M> Ethernet Gadget (with CDC Ethernet support) x x
[*] RNDIS support x x
[ ] Ethernet Emulation Model (EEM) support x x
< > Network Control Model (NCM) support x x
<M> Gadget Filesystem

 

参考xilinx的wiki做的,但由于版本原因配置不尽相同,参考链接为:http://www.wiki.xilinx.com/Zynq+Ultrascale+MPSOC+Linux+USB+device+driver,无论采用open source linux2017.4版本还是petalinux2017.4,都是相同的结论,希望与大家一起讨论下,谢谢!

0 项奖励
1 条回复1
Xilinx Employee
Xilinx Employee
323 次查看
注册日期: ‎02-16-2012

回复: Ethernet Gadget相关实验不能产生configfs.ko等文件

configfs.ko is generated under fs/configfs/ in linux source。

两年前试过,应该可以的。CONFIGFS_FS,使能了吗?

 

config CONFIGFS_FS
tristate "Userspace-driven configuration filesystem"
select SYSFS
help
configfs is a RAM-based filesystem that provides the converse
of sysfs's functionality. Where sysfs is a filesystem-based
view of kernel objects, configfs is a filesystem-based manager
of kernel objects, or config_items.

Both sysfs and configfs can and should exist together on the
same system. One is not a replacement for the other.

0 项奖励