Hi,
I have created semi working PYNQ for minized.
Creating overlay crashes WIFI driver, so you cannot access jupyter notebook.
Is there a way how can I prevent WIFI from crashing?
Hi,
I have created semi working PYNQ for minized.
Creating overlay crashes WIFI driver, so you cannot access jupyter notebook.
Is there a way how can I prevent WIFI from crashing?
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
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
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?
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:
--Tom
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