The issue I am facing is that I cannot load or run any overlay. Every time I try to load a bitstream through PYNQ (Overlay), I get an error such as “No device found”.
I have already verified the following:
The .bit and .hwh files have the exact same name
Both files are located in the same folder as my Python script / notebook
The overlay files are correct and accessible from the KR260 filesystem
For comparison, I tested the same PYNQ overlay flow on a Zynq-7000 board and it works correctly, so the problem seems specific to the KR260 / Ubuntu setup.
Could you please advise what might be missing or misconfigured (e.g., FPGA device nodes, drivers, permissions, overlays, xrt/uio setup, etc.) so that PYNQ can detect the device and load bitstreams successfully on the KR260?
Hi, yes I do see kernel output after calling Overlay(...). Using sudo journalctl -kf, the kernel hits an Oops exactly when the overlay is loaded, and the crash is inside the zocl (XRT) driver.
Key messages:
Memory 0 is not reserved in device tree. Will allocate memory from CMA
Internal error: Oops: 0000000096000004 [#1] SMP
pc : __pi_strlen
lr : zocl_xclbin_set_dtbo_path+0x40/0xc0 [zocl]
Call trace:
__pi_strlen
zocl_xclbin_read_axlf
zocl_read_axlf_ioctl
drm_ioctl_kernel -> drm_ioctl -> ioctl
Also, lsmod shows zocl loaded, and sudo rmmod zocl fails with: rmmod: ERROR: Module zocl is in use.
I built the .bit file myself. At first I generated it with Vivado 2025.2, but it didn’t work — I got the same issue when loading the overlay.
Then I thought it might be a Vivado/PYNQ version compatibility problem, so I installed Vivado 2022.2 and rebuilt the design, but I still got the exact same problem.
I’m confident the target device/board is correct. I’m using the KR260 board (the same board shown in the photo I shared).
I will try the helloworld example this evening and i will answer you tomorrow about it because i have to go to work sorry .
Hi, I cloned the Hello World project from https://github.com/mariodruiz/PYNQ-HelloWorld.git and imported the required libraries as described in the instructions. When I tried to load the overlay with resize_design = Overlay("resizer.bit"), the notebook kernel became unresponsive for a while and then crashed (“dead kernel”) while running inside Jupyter on a KRIA board.
I checked the board logs and it does not look like a simple Python/Jupyter issue: dmesg shows a kernel crash inside the XRT/zocl driver while loading the xclbin/axlf, with a call trace that includes zocl_xclbin_read_axlf (zocl) and __pi_strlen. Around the same time, the system logs also show fpga_manager fpga0: writing resizer.bin to Xilinx ZynqMP FPGA Manager.
I completed the process from scratch, burn Ubuntu 22.04 image, boot, install PYNQ and it worked for me. Can you please try to repeat the steps?
Also, can you confirm which firmware is your KR260 board running? xmutil bootfw_status
Also, what is your board/carrier card revision. This is on the other side of the Raspberry Pi header?
I gonna try to install from this link https://ubuntu.com/download/amd the Ubuntu Desktop 22.04 LTS and i will install following those steps and i will tell you if it worked!
git clone https://github.com/Xilinx/Kria-PYNQ.git
cd Kria-PYNQ/
sudo bash install.sh -b KR260