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
Ultra96 Hardware Design Once and for all: WiFi on the Ultra96-v2 in a custom Petalinux build (please help)
  • 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
  • State Suggested Answer
  • Replies 1 reply
  • Answers 1 answer
  • Subscribers 329 subscribers
  • Views 2184 views
  • Users 0 members are here
  • wifi
  • ultra96
  • petalinux 2020
  • ubuntu 20.04
Related

Once and for all: WiFi on the Ultra96-v2 in a custom Petalinux build (please help)

frnyb
frnyb over 3 years ago

Hi,

I represent a research group at University of Southern Denmark. We want to use the Ultra96-v2 for our work. Now we're at a point where we want to integrate our hardware design with high level software. Therefore, we are trying to run Ubuntu 20 on top of our custom hardware design (Ubuntu on the APU).

 

At this point, we can successfully build the Linux kernel with our custom hardware design and boot an Ubuntu 20 filesystem with the generated boot files, and it boots fine, so all is good in this regard. We need one thing still, though: To make the (to me at this point very annoying) WiFi module work in Ubuntu 20.

 

It is unfeasible for us to use pre-built images, as we need to be able to add our own FPGA design in the build, so we need full control over the build process. I have tried several guides/tutorials to make this work. Especially Whitney Knitter's guide on hackster.io (https://www.hackster.io/whitney-knitter/wi-fi-connectivity-on-the-ultra96-v2-in-vivado-petalinux-201-030857 ) is good and thorough, but all of the file links are broken. I have been trying to cross reference the files with similar files in the Pynq project's GitHub (https://github.com/Avnet/Ultra96-PYNQ), but so far it's not working. I tried to simply use the PetaLinux-generated rootfs but neither here can I make the WiFi function.

 

I guess what I'm looking for is a thorough step-by-step guide with all of the files I need to edit and exact patches I need to apply explained. I have no previous experience with PetaLinux, Yocto, Bitbake, Device trees, and all of these other tools and concepts, and I have not before worked with building any Linux images for embedded platforms. If I can make the WiFi work in the PetaLinux rootfs, I think I can make it work in the Ubuntu rootfs. I really hope someone can help me, as I know that it is of course possible, and I have now spent way too many hours... image

 

I use PetaLinux 2020.2.

 

- Frederik Nyboe

  • Sign in to reply
  • Cancel
  • mtkeener
    0 mtkeener over 3 years ago

    Hi Frederik,

    The following page contains a section called "Add ATWILC3000 Linux Driver for Ultra96-V2" that directly pertains to your question.  The page contains several patch steps related to the Ultra96-V2.  I think the overall project and several related projects posted by ikwzm at GitHub will also be relevant to your work.

    https://github.com/ikwzm/ZynqMP-FPGA-Linux/blob/master/doc/build/linux-xlnx-v2021.1-zynqmp-fpga.md

    The link above is for the kernel build that is one element of an Ubuntu 20.04 image compatible with the Ultra96-V2 (https://github.com/ikwzm/ZynqMP-FPGA-Ubuntu20.04)

    Kind Regards, Matt Keener

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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