I’m trying to validate PYNQ on a RFSoC custom board. I took the pynq 3.0.1 prebuilt image and used the rootfs. Bootable binaries is built using petalinux for my board (petalinux version 22.2) . The board is booting and I’m able to open up jupyter labs. When I try to load an overlay it is causing some issue. The screen shot is provided below. Is there any way to fix it.
Hi @vrb,
Welcome to the PYNQ community.
Have you included xrt
in the board.spec file?
Have you checked the dmesg
for further information?
Mario
Hi @marioruiz ,
I didn’t create the SD card image using the SD build flow. Instead, I used the root filesystem from the SD card image of the ZCU208. Will it cause any issue ? My petalinux, vivado version is 22.2.
When I checked for XRT, it showed:
XRT
Version : 2.13.0
Thanks.
Hi @vrb,
I didn’t create the SD card image using the SD build flow. Instead, I used the root filesystem from the SD card image of the ZCU208.
This is not our recommended flow and it is not verified by us, so there could be multiple issues.
You still may want to check the dmesg
for more details.
xbutil examine
should also provide a bit more information
Hi @marioruiz ,
Hi @vrb,
Once thing you can try is to change the name in /etc/xocl.txt
to match your board name.
As I have been suggesting, you may want to check dmesg
Unfortunately, I cannot provide more support beyond this as this is not our recommended flow.
Mario
Hi @marioruiz,
Thank you for the suggestion. I will try the approach you recommended.
Is it be possible to validate PYNQ using Vivado 2022.2 designs?
Thank you in advance.
Is it be possible to validate PYNQ using Vivado 2022.2 designs?
You can download overlays designs built with different Vivado versions. We only validate the version associated to the SD card build release.
Mario
Hi @marioruiz ,
I created pynq img file using sd build flow. Now when I’m trying to load bitstream ‘No device found’ error was observed. Can you help me with this.
Thank you.
Additionally, I observed that the zocl kernel module was not loaded, and the corresponding module file was not present in the root filesystem. I would appreciate any guidance on how to properly include and load the zocl module in the system.
Have you included xrt in your spec file?
I would suggest you copy the stage4 packages as close as possible as to the RFFSoC 4x2.
That helped thank you. Now I’m able to load zocl. Could you please tell why does the Devices present
shows as zero? Why no devices are detected here?
is the file /etc/xocl.txt
populated in your image?
Yes, the issue is fixed now. I’m trying to run RFDC code using JupyterLab, based on a similar design provided on the PYNQ GitHub repository.
However, while executing the third cell, there was no response from JupyterLab, it kept running continuously. Could you please help me with this?
Hi @vrb,
To support other members of the community. Can you please indicate what fixed your issues?
This dma issue is something very common. I wrote a series of blogs to debug these issues.
Please, open another issue if you have problems with the DMA.
Hi @marioruiz,
Thank you for your blogs, I’ll check them out.
Since I have a custom board, the DTSI node for ZOCL was not added initially, which caused it to show “0 devices present.” After adding the node, the issue was resolved.
Great, I am marking the topic as solved. If you have more questions about the DMA, please open another topic.