RuntimeError: No Devices Found on fresh PYNQ 3.1.1 image, multiple PYNQ-Z2 boards

-

Environment:

  • Board: PYNQ-Z2 (tested on 2+ boards)
  • PYNQ version: 3.1.1 (fresh official image from PYNQ supported boards and PYNQ pre-built images | PYNQ)
  • Bitstream: Vivado 2024.1
  • OS: Ubuntu 22.04
    Problem:
    Overlay loading fails with “RuntimeError: No Devices Found” on all boards tested.
    Steps to reproduce:
  1. Flash fresh PYNQ-Z2 3.1.1 image to SD card
  2. Boot board
  3. Copy hall.bit and hall.hwh (Vivado 2024.1)
  4. Run: python3 -c “from pynq import Overlay; Overlay(‘hall.bit’)”
    Error:
    RuntimeError: No Devices Found
    What I’ve verified:
  • FPGA manager loaded: ✓ (dmesg shows registered)
  • XRT installed: ✓ (libraries present)
  • Bitstream integrity: ✓ (hash verified, header correct)
  • Multiple boards: Same error on 2+ PYNQ-Z2 units
  • Multiple PCs: Tested on 2+ different laptops
    Output of diagnostics:
    dmesg | grep -i fpga ->no response
    (pynq-venv) xilinx@pynq:~$ ps aux | grep pynq
    root 441 1.1 10.7 98944 54016 ? S 16:44 0:12 /usr/local/share/pynq-venv/bin/python3 /usr/local/share/pynq-venv/bin/jupyter-notebook --no-browser --allow-root
    xilinx 2385 0.0 0.2 6792 1408 ttyPS0 S+ 17:02 0:00 grep --color=auto pynq
    python3 -c “import pynq; print(pynq.version)”->
    3.1.1
    Is this a known issue? Should I rebuild the image? Are these boards defective?

@Cathal_O

HI @priyanshu_pranay

You need to run `python3 -c "from pynq import Overlay; Overlay(‘hall.bit’) as root with the proper environment variables sourced as described in this post: