Hi all,
I am try to combine pynq and ros2 humble in a custom zynqMP 15eg board. We have try to build petalinux debian system with vitis-ai 3.0 and pynq framework, so based on petalinux 2022.2, the ros2 humble add correctly. But the ros2 ament_cmake envirment not enough, so only the ament_python can work on petalinux debian system.
We decide to swith to ubuntu 22.04 lts rootfs, currently:
- /dev/xlnk exist through add xlnk node in the device-tree
- sudo pip3 install pynq success in ubuntu 22.04 lts rootfs, with trick using libcma.so copy from github.com/xilinx/pynq/sdbuild/package/sds
- so command from pynq import Overlay work with a warning:
/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_config.py:373: UserWarning: Valid config keys have changed in V2:
- ‘underscore_attrs_are_private’ has been removed
warnings.warn(message, UserWarning)
- ol = Overlay(‘/root/axi-led-demo/overlay/pl-led.bit’) stopped:
File /usr/local/lib/python3.10/dist-packages/pynq/pl_server/device.py:71, in DeviceMeta.active_device(cls)
69 if not hasattr(cls, “_active_device”):
70 if len(cls.devices) == 0:
—> 71 raise RuntimeError(“No Devices Found”)
72 cls._active_device = cls.devices[0]
73 return cls._active_device
RuntimeError: No Devices Found
- below is snap cells of jupyter-lab
anyone has suggest?
thx for a lot