[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1118195: firmware-misc-nonfree: no longer actually ships Arm Mali firmware, only link to non-existing file



Package: firmware-misc-nonfree
Version: 20250917-1
Severity: important

After the latest update of the firmware-misc-nonfree package, I'm
getting the following warning on my Rock 5B (rk3588):

[    8.764889] panthor fb000000.gpu: Direct firmware load for arm/mali/arch10.8/mali_csffw.bin failed with error -2

Checking for that file reveals it links to a file which does not exist:

```
root@rock5b:~# tree /usr/lib/firmware/arm/
/usr/lib/firmware/arm/
└── mali
    └── arch10.8
        └── mali_csffw.bin -> ../arch10.10/mali_csffw.bin
```

In the upstream repo it's a regular file, but I guess `dedup-firmware.sh`
converts it into a symlink.

I tried if the following patch would fix it:

```
diff --git a/debian/config/misc-nonfree/defines b/debian/config/misc-nonfree/defines
index 71a7ae3..86ca756 100644
--- a/debian/config/misc-nonfree/defines
+++ b/debian/config/misc-nonfree/defines
@@ -32,7 +32,7 @@ files:
  3com/typhoon.bin
  advansys/*
  amphion/vpu/*
- arm/mali/arch10.8/mali_csffw.bin
+ arm/mali/*
  brcm/BCM-0a5c-6410.hcd
  brcm/BCM-0bb4-0306.hcd
  cadence/mhdp8546.bin
diff --git a/debian/copyright b/debian/copyright
index f649657..671975e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -279,7 +279,7 @@ Files: ar3k/* ar5523.bin ath3k-1.fw
 Copyright: 2008-2010, Atheros Communications, Inc.
 License: binary-redist-Atheros

-Files: arm/mali/arch10.8/mali_csffw.bin
+Files: arm/mali/*
 Copyright: 2023, Arm Ltd.
 License: binary-redist-Arm-CSF

```

But that resulted in there being no 'arm' directory at all in the
resulting (Salsa CI generated) firmware-misc-nonfree deb file.
No idea what's then needed to get my firmware file back.

(Reported this from one of my amd64 machines, not the arm64 device)

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

firmware-misc-nonfree depends on no packages.

Versions of packages firmware-misc-nonfree recommends:
pn  firmware-intel-graphics   <none>
pn  firmware-intel-misc       <none>
pn  firmware-mediatek         <none>
pn  firmware-nvidia-graphics  <none>

Versions of packages firmware-misc-nonfree suggests:
ii  initramfs-tools  0.150

Reply to: