element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
FPGA
  • Technologies
  • More
FPGA
Forum Minized - PYNQ WIFI crashes
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 558 subscribers
  • Views 724 views
  • Users 0 members are here
Related

Minized - PYNQ WIFI crashes

bartokon
bartokon over 5 years ago

Hi,

 

I have created semi working PYNQ for minized.

Creating overlay crashes WIFI driver, so you cannot access jupyter notebook.

imageimage

Is there a way how can I prevent WIFI from crashing?

  • Sign in to reply
  • Cancel

Top Replies

  • narrucmot
    narrucmot over 5 years ago in reply to bartokon +1 suggested
    To my knowledge Pynq does not perform partial reconfiguration and thus does a full reconfiguration of the PL. That certainly complicates one's ability to create custom overlays for an existing design,…
Parents
  • narrucmot
    0 narrucmot over 5 years ago

    It is quite possible that the WiFi is crashing because when Pynq loads that overlay it reconfigures the entire programmable logic (PL) section of the Zynq device.  There is logic in the PL that manages the WiFi interface and it is getting clobbered when the overlay is loaded and this is causing the error messages.  A solution is to unload the WiFi driver (rmmod <driver>) prior to loading the overlay and use a USB <-> Ethernet adapter instead.  This adapter is known to work well:

    https://www.amazon.com/TRENDnet-Ethernet-Chromebook-Specific-TU3-ETG/dp/B00FFJ0RKE?ref_=ast_sto_dp

     

    Running PYNQ on the MiniZed is definitely uncharted territory!  Unfortunately we really don't have support for this.  Please feel free to brag about your success in getting this working here, and if you would like, document this project and share your success on hackster.io.

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bartokon
    0 bartokon over 5 years ago in reply to narrucmot

    Yes that true :\

     

    I'm thinking about partial reconfiguration that wouldn't touch Wi-Fi part, but I don't know If PYNQ need to load whole base bitstream before loading partial bitstreams.

     

    Also, I will try to connect with mt7601u USB Wi-Fi dongle, but first I need to create petalinux recipe for it and modify kernel drivers.

     

    Could you please suggest me what kernel drivers should I add in petalinux for USB-WIFI functionality?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • narrucmot
    0 narrucmot over 5 years ago in reply to bartokon

    To my knowledge Pynq does not perform partial reconfiguration and thus does a full reconfiguration of the PL.  That certainly complicates one's ability to create custom overlays for an existing design, since the "original" PL design needs to be integrated with the addendum, or overlay, logic.

     

    Do a search for "mt7601" in the PetaLinux kernel config to find and add the driver for your USB WiFi dongle:

    image

    --Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • narrucmot
    0 narrucmot over 5 years ago in reply to bartokon

    Here are a couple of resources in case you are interested in learning about using partial reconfiguration with Pynq.

     

    High-level docs:

    https://pynq.readthedocs.io/en/v2.5.1/pynq_overlays/partial_reconfiguration.html

     

    Some examples by folks at BYU for the Z1/Z2 and ZCU104 boards:

    https://github.com/byuccl/PYNQ-PRIO

     

    --Tom

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • narrucmot
    0 narrucmot over 5 years ago in reply to bartokon

    Here are a couple of resources in case you are interested in learning about using partial reconfiguration with Pynq.

     

    High-level docs:

    https://pynq.readthedocs.io/en/v2.5.1/pynq_overlays/partial_reconfiguration.html

     

    Some examples by folks at BYU for the Z1/Z2 and ZCU104 boards:

    https://github.com/byuccl/PYNQ-PRIO

     

    --Tom

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