Skip to content

util/build_driver.sh fails due to a missing firmwarefile #2869

@ilot95

Description

@ilot95

util/build_driver.sh fails due to a missing firmware file on Commit 593723d
XDNA_TAG=f3293dc901d733438468cd8b055adb250fa6ced0
I was able to fix this for me, by replacing /tools/info.json in the cloned xdna-driver
with the current version:
https://github.com/amd/xdna-driver/blob/e54e4691d4a859cae804b811afdb4df43676d955/tools/info.json
It seems like the repo https://gitlab.com/kernel-firmware/drm-firmware/-/tree/amd-ipu-staging/amdnpu?ref_type=heads does not preserve old firmware version.

Download npu1 NPUFW version 1.5.5.391:
--2026-02-16 01:05:08-- https://gitlab.com/kernel-firmware/drm-firmware/-/raw/amd-ipu-staging/amdnpu/1502_00/npu.sbin.1.5.5.391
Resolving gitlab.com (gitlab.com)... 2606:4700:90:0:f22e:fbec:5bed:a9b9, 172.65.251.78
Connecting to gitlab.com (gitlab.com)|2606:4700:90:0:f22e:fbec:5bed:a9b9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 248592 (243K) [application/octet-stream]
Saving to: ‘./amdxdna_bins/firmware/1502_00/npu.dev.sbin’

./amdxdna_bins/firmware/1502_00/npu.dev.sbin 100%[============================================================================================>] 242,77K --.-KB/s in 0,04s

2026-02-16 01:05:08 (6,54 MB/s) - ‘./amdxdna_bins/firmware/1502_00/npu.dev.sbin’ saved [248592/248592]

Download npu3 NPUFW version 0.0.12.75:
--2026-02-16 01:05:08-- https://gitlab.com/kernel-firmware/drm-firmware/-/raw/amd-ipu-staging/amdnpu/17f1_10/npu.sbin.0.0.12.75
Resolving gitlab.com (gitlab.com)... 2606:4700:90:0:f22e:fbec:5bed:a9b9, 172.65.251.78
Connecting to gitlab.com (gitlab.com)|2606:4700:90:0:f22e:fbec:5bed:a9b9|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-02-16 01:05:08 ERROR 404: Not Found.

Systemconfig:

System Configuration
OS Name : Linux
Release : 6.17.0-14-generic
Machine : x86_64
CPU Cores : 16
Memory : 61944 MB
Distribution : Ubuntu 24.04.4 LTS
GLIBC : 2.39
Model : System Product Name
BIOS Vendor : American Megatrends Inc.
BIOS Version : 3278
Processor : AMD Ryzen 7 8700G w/ Radeon 780M Graphics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions