Skip to main content
Solved

Issue with RPI 5 DMA and firmware upgrade

  • January 12, 2026
  • 2 replies
  • 42 views

I have a metis M.2 device running on a RPI M.2 hat using the 1.2.4 device driver and the 1.4.2 SDK. However, when I tried to run inference, I ran into a DMA transfer issue. I tried to fix this by updating the AIPU firmware but the DMA transfer issue prevented the firmware from being updated.

Host: Raspberry Pi 5
OS: Raspberry Pi OS (Debian-based)
Kernel: 6.12.47+rpt-rpi-2712
Driver: metis 1.2.4
SDK: 1.4.2
Flash firmware: 1.3.2
Issue: Device communication timeout (1 second) during firmware operations
PCIe: x1 link (Pi 5 M.2 limitation)
Error: DMABUF_METIS_XFER failed, UnsupReq PCIe errors

Do you have any advice on how to proceed?

Best answer by juliannarvaez

I ended up finding that this was an issue when using axdevice --reboot to reboot the Metis M.2 device. A full shutdown and restart of the docker container was sufficient to fix the DMA transfer issue.

2 replies

  • Author
  • Cadet
  • Answer
  • January 14, 2026

I ended up finding that this was an issue when using axdevice --reboot to reboot the Metis M.2 device. A full shutdown and restart of the docker container was sufficient to fix the DMA transfer issue.


Spanner
Axelera Team
Forum|alt.badge.img+2
  • Axelera Team
  • January 14, 2026

Ah nice work ​@juliannarvaez , and thanks for sharing your solution!

What’s the project you’re working on?