Skip to content

Commit

Permalink
feat(framework): Use older mediatek firmware for Framework 16
Browse files Browse the repository at this point in the history
"a snarky comment"
  • Loading branch information
KyleGospo authored May 8, 2024
1 parent 9b85e2b commit 068d904
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ RUN rpm-ostree cliwrap install-to-root / && \
ostree container commit

# Setup firmware
RUN mkdir -p /tmp/linux-firmware-neptune && \
RUN mkdir -p /tmp/mediatek-firmware && \
curl -Lo /tmp/mediatek-firmware/WIFI_RAM_CODE_MT7961_1.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_RAM_CODE_MT7961_1.bin?id=9fdcf6394be2f3e641dab82365d4c0693177003e && \
curl -Lo /tmp/mediatek-firmware/WIFI_MT7961_patch_mcu_1_2_hdr.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin?id=9fdcf6394be2f3e641dab82365d4c0693177003e && \
xz --check=crc32 /tmp/mediatek-firmware/WIFI_RAM_CODE_MT7961_1.bin && \
xz --check=crc32 /tmp/mediatek-firmware/WIFI_MT7961_patch_mcu_1_2_hdr.bin && \
mv -vf /tmp/mediatek-firmware/* /usr/lib/firmware/mediatek/ && \
rm -rf /tmp/mediatek-firmware && \
mkdir -p /tmp/linux-firmware-neptune && \
curl -Lo /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-cali.bin https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter-20231113.1/cs35l41-dsp1-spk-cali.bin && \
curl -Lo /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-cali.wmfw https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter-20231113.1/cs35l41-dsp1-spk-cali.wmfw && \
curl -Lo /tmp/linux-firmware-neptune/cs35l41-dsp1-spk-prot.bin https://gitlab.com/evlaV/linux-firmware-neptune/-/raw/jupiter-20231113.1/cs35l41-dsp1-spk-prot.bin && \
Expand Down

0 comments on commit 068d904

Please sign in to comment.