Skip to main content
Solved

Flashing PCIe Metis with the latest FW version


Forum|alt.badge.img

After finally getting my metis card properly accessible through PCI, it turned out I need to upgrade the FW to the latest version:

(venv) root@zefir-PC:~/voyager-sdk# axdevice 
[libdmabuf.c:1720] Device command returned an error code.
[libdmabuf.c:1721] Consider inspecting the device log via `triton_trace --slog`.
[...]
Device 0: metis-0:a:0 board_type=pcie fwver='v1.2.0-rc2+bl1-stage0' clock=800MHz(0-3:0MHz) mvm=0-3:-1%

(venv) root@zefir-PC:~/voyager-sdk# triton_trace --slog
Version mismatch!
Actual="v1.2.0-rc2+bl1" Expected="v1.2.5"
Please update device firmware before continuing.

I proceeded like described in FW flashing tutorial at github

(venv) root@zefir-PC:~/Axelera.ai/firmware_release_public_v1.2.0# ./flash_update.sh flash_bundle.img
>>> loading new AIPU runtime stage0
>>> the following operations updates the flash content
    Make sure to only run this operation if really needed
    Also make sure to not power cycle the devices or it might
    be rendered non-functional.
do you want to continue? [y/n] y
>>> set flash force flag
>>> flash firmware
>>> reset device
>>> waiting for device to reconnect...
>>> current version: v1.2.0-rc2+bl1-stage0 , expected version: v1.2.0-rc2+bl1-stage0
>>> flash success
(venv) root@zefir-PC:~/Axelera.ai/firmware_release_public_v1.2.0# triton_trace --slog
Version mismatch!
Actual="v1.2.0-rc2+bl1" Expected="v1.2.5"
Please update device firmware before continuing.

So it seems flashing the documented latest FW succeeds, but the referenced FW archive is not the latest. Unfortunately the AWS storage has directory listing disabled, so I was not able to find any more recent archive than that in the tutorial.

Could you please provide the latest FW? Ideally one that silences the fan ;)

Best answer by manubot

Hi Zefir,

 

checked with the team, seems this is a non-issue. You do not need to update the flashed firmware on SDK v1.2.5. Your card should be able to operate correctly when deploying or running inference as the v1.2.5 runtime firmware gets loaded via PCIe on application start (using inference.py or your own custom application)

 

If you want to manually force the firmware load, you can do so via:

axdevice --reload-firmware

 

We will take your experience into account to improve how our tooling reports the versioning of the different components.

View original
Did this help you find an answer?

4 replies

  • Axelera Team
  • 5 replies
  • April 24, 2025

Hi, looks like the tutorial got stuck in the previous release (1.2.0), will signal it internally so it is fixed for future releases.

 

Also, to set expectations… the 1.2.5 firmware still does not silence the fan. But the next release will (I share your pain) !!


  • Axelera Team
  • 5 replies
  • Answer
  • April 25, 2025

Hi Zefir,

 

checked with the team, seems this is a non-issue. You do not need to update the flashed firmware on SDK v1.2.5. Your card should be able to operate correctly when deploying or running inference as the v1.2.5 runtime firmware gets loaded via PCIe on application start (using inference.py or your own custom application)

 

If you want to manually force the firmware load, you can do so via:

axdevice --reload-firmware

 

We will take your experience into account to improve how our tooling reports the versioning of the different components.


Forum|alt.badge.img
  • Author
  • Cadet
  • 7 replies
  • April 25, 2025

Hi ​@manubot,

confirmed, this is a non-issue. I got distracted by the fact that I had PCIe access issues and all tools failed with pointing to the outdated FW version. After the issue resolved, I did not even try running inference, assuming the FW needed an update.

The command you provided did as expected, thanks and closing the thread.

Maybe best to remove the FW tutorial from the git repo or replace with the info you gave.


Spanner
Axelera Team
Forum|alt.badge.img+2
  • Axelera Team
  • 75 replies
  • April 25, 2025

Glad that's sorted ​@zefir, and thanks for the info on what's happening there ​@manubot 👍

Appreciate you taking the time to update the thread too Zefir! How's the project build going, by the way?


Reply