Hi there,
I saw few posts about users having difficulties in having a working setup as Metis M.2, Radxa RockPi 5B and Ubuntu.
I found the correct combination and applied a modification to the standard device tree of the RockPi 5B
SETUP
- OS: Ubuntu 24.04 from the Joshua-Riek ubuntu-rockchip project (https://github.com/Joshua-Riek/ubuntu-rockchip)
- Voyager SDK 1.7.0
- Metis M.2 in the board's M.2 slot
SYMPTOM The Metis driver installed cleanly and the device enumerated on the PCIe bus (visible in lspci), but running axdevice from the Voyager SDK failed with:
min() iterable argument is empty
In practice this means the runtime enumerated the card but couldn't actually connect to it — the device tree wasn't exposing the PCIe node the way the runtime expects.
SOLUTION The fix is the same device-tree recompile documented for the Orange Pi 5 Plus: https://support.axelera.ai/hc/en-us/articles/27059519168146-Bring-up-Voyager-SDK-in-Orange-Pi-5-Plus
The one gotcha: on this Ubuntu build the Rock 5B device tree is NOT where the OPi5+ guide puts it. On my system it lives at:
/lib/firmware/6.1.0-1025-rockchip/device-tree/rockchip/
(the "6.1.0-1025-rockchip" part is your kernel version — check yours with uname -r)
Recompile the DTB following the same procedure from the article, drop it in that path, and reboot.
RESULT After the reboot, axdevice detected the card correctly, and axrunmodel plus inference both ran without issues.
Hope this saves someone the head-scratching.
Happy to answer questions on the exact steps.

