Skip to content

Commit 26e6310

Browse files
authored
Merge pull request #25 from lool/rb1-wifi
Fix RB1 WiFi
2 parents ab4cff1 + 55ba02c commit 26e6310

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

debos-recipes/qualcomm-linux-debian-rootfs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ actions:
4242
- network-manager
4343
# standard networking files (/etc/hosts, /etc/services etc.)
4444
- netbase
45+
# Qualcomm's IPC Router protocol; needed for WiFi on some ath10k devices
46+
# such as on RB1
47+
- qrtr-tools
48+
# Qualcomm Remote Filesystem Service; this is a dependency of the
49+
# tqftpserv service, but it's actually not needed on RB1
50+
# TODO drop me once https://bugs.debian.org/1104039 is fixed
51+
- rmtfs
52+
# TFTP server implementation for the QRTR protocol; needed for WiFi on
53+
# some ath10k devices such as on RB1
54+
- tqftpserv
4555
# dynamic device nodes handling
4656
- udev
4757
# database of radio emission regulations; needed for WiFi
@@ -168,6 +178,28 @@ actions:
168178
- firmware-qcom-soc
169179
- linux-image-arm64
170180

181+
# XXX this is a workaround until firmware-non-free migrates to testing; it
182+
# might make sense to have a generic mechanism to do this
183+
- action: run
184+
description: Install firmware packages from unstable
185+
chroot: true
186+
command: |
187+
set -eux
188+
# add sid APT sources
189+
cat >/etc/apt/sources.list.d/debian-sid.sources <<EOF
190+
Types: deb
191+
URIs: http://deb.debian.org/debian/
192+
Suites: sid
193+
Components: main non-free-firmware
194+
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
195+
EOF
196+
# update and install kernel from experimental
197+
apt update
198+
apt -y install -t unstable firmware-atheros firmware-qcom-soc
199+
# remove sid APT sources and update again
200+
rm -f /etc/apt/sources.list.d/debian-sid.sources
201+
apt update
202+
171203
{{- if eq $experimentalkernel "true" }}
172204
# this is an optional temporary option to install the kernel from
173205
# experimental until trixie/sid have a recent enough kernel, or some overlay

0 commit comments

Comments
 (0)