element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General How can I generate the file u_ether.ko usb_f_rndis.ko gadgetfs.ko libcomposite.ko configfs.ko UltraZed-3EG-IO
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 335 subscribers
  • Views 951 views
  • Users 0 members are here
  • ZedBoard General Questions
  • Ultrazed Hardware Design
  • Zedboard Training
Related

How can I generate the file u_ether.ko usb_f_rndis.ko gadgetfs.ko libcomposite.ko configfs.ko UltraZed-3EG-IO

sint12345
sint12345 over 5 years ago

Hi,

 

How can I generate the file u_ether.ko usb_f_rndis.ko gadgetfs.ko libcomposite.ko configfs.ko UltraZed-3EG-IO

 

I have done all process of creating the files to SDcard through Petalinux. But those files were not created,

 

So I couldn't configure at the end the USB3 to IP address.

 

---------------------

 

Those files are missing:

  1. linux-xlnx/fs/configfs/configfs.ko
    linux-xlnx/drivers/usb/gadget/libcomposite.ko
    linux-xlnx/drivers/usb/gadget/legacy/gadgetfs.ko
    linux-xlnx/drivers/usb/gadget/function/u_ether.ko
       --à this file is the main driver of ethernet gadget
    linux-xlnx/drivers/usb/gadget/function/usb_f_rndis.ko

 

In the wiki it is says

 

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841729/Zynq+Ultrascale+MPSOC+Linux+USB+device+driver

 

 

-----------------------

 

 

insmod configfs.ko

insmod libcomposite.ko

insmod u_ether.ko

insmod usb_f_rndis.ko

mount -t configfs none /sys/kernel/config

cd /sys/kernel/config/usb_gadget

mkdir g1

cd g1

echo "64" > bMaxPacketSize0

echo "0x200" > bcdUSB

echo "0x100" > bcdDevice

echo "0x03FD" > idVendor

echo "0x0502" > idProduct

mkdir configs/c1.1

mkdir functions/rndis.rn0

ln -s functions/rndis.rn0/ configs/c1.1/

echo "fe200000.dwc3" > UDC

ifconfig usb0 10.10.70.1

ifconfig usb0 up

 

 

 

 

 

BR,

 

Shiri

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube