Skip to content

Commit 643c853

Browse files
marcocondrachefrezbo
authored andcommitted
fix(panfrost): add mali firmware
Mali 10th generation GPUs require an additional firmware file to work with Panfrost Signed-off-by: Marco Mihai Condrache <[email protected]> Signed-off-by: Noel Georgi <[email protected]>
1 parent e908223 commit 643c853

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drm/panfrost/pkg.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ dependencies:
77
# The pkgs version for a particular release of Talos as defined in
88
# https://github.com/siderolabs/talos/blob/<talos version>/pkg/machinery/gendata/data/pkgs
99
- image: "{{ .BUILD_ARG_PKGS_PREFIX }}/kernel:{{ .BUILD_ARG_PKGS }}"
10+
- image: "{{ .BUILD_ARG_PKGS_PREFIX }}/linux-firmware:{{ .BUILD_ARG_PKGS }}"
1011
steps:
1112
- prepare:
1213
- |
@@ -18,6 +19,9 @@ steps:
1819
export KERNELRELEASE=$(find /usr/lib/modules -type d -name "*-talos" -exec basename {} \+)
1920
2021
xargs -a /pkg/files/modules.txt -I {} install -D /usr/lib/modules/${KERNELRELEASE}/{} /rootfs/usr/lib/modules/${KERNELRELEASE}/{}
22+
- |
23+
mkdir -p /rootfs/usr/lib/firmware
24+
cp -R -p /usr/lib/firmware/arm /rootfs/usr/lib/firmware
2125
- test:
2226
- |
2327
# https://www.kernel.org/doc/html/v4.15/admin-guide/module-signing.html#signed-modules-and-stripping

drm/panfrost/vars.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION: "{{ .BUILD_ARG_TAG }}"
1+
VERSION: "{{ .LINUX_FIRMWARE_VERSION }}-{{ .BUILD_ARG_TAG }}"

0 commit comments

Comments
 (0)