Skip to content

Commit

Permalink
Merge pull request #66 from offspot/firmwares
Browse files Browse the repository at this point in the history
download firmwares instead of having them in repo
  • Loading branch information
rgaudin authored Apr 19, 2024
2 parents 33e5210 + ee2cfa4 commit 842cdfa
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- WiFi firmwares are downloaded at build time instead of being copied from repo

## [1.2.1] - 2024-04-04

### Changed
Expand Down
17 changes: 9 additions & 8 deletions tree/stage2/05-wifi-firmware/01-run.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#!/bin/bash -e

# add all optional WiFi firmwares
install -m 644 files/brcmfmac43455-sdio.bin_2021-11-30_minimal "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43455 supports-19_2021-11-30
install -m 644 files/brcmfmac43455-sdio.bin_2021-10-05_3rd-trial-minimal "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43455 supports-24_2021-10-05_noap+sta
install -m 644 files/brcmfmac43455-sdio.clm_blob_2021-11-17_rpi "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43455 supports-19_2021-11-30, supports-24_2021-10-05_noap+sta
install -m 644 files/brcmfmac43455-sdio.bin_2015-03-01_7.45.18.0_ub19.10.1 "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43455 supports-32_2015-03-01_unreliable
install -m 644 files/brcmfmac43455-sdio.clm_blob_2018-02-26_rpi "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43455 supports-32_2015-03-01_unreliable
install -m 644 files/brcmfmac43430-sdio.bin_2018-09-11_7.45.98.65 "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43430 supports-30_2018-09-28
install -m 644 files/brcmfmac43430-sdio.clm_blob_2018-09-11_7.45.98.65 "${ROOTFS_DIR}/lib/firmware/cypress/" # brcm43430 supports-30_2018-09-28

FIRMWARES_URL=https://drive.offspot.it/wifi-firmwares
FIRMWARES_DIR="${ROOTFS_DIR}/lib/firmware/cypress/"
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43455-sdio.bin_2021-11-30_minimal" # brcm43455 supports-19_2021-11-30
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43455-sdio.bin_2021-10-05_3rd-trial-minimal" # brcm43455 supports-24_2021-10-05_noap+sta
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43455-sdio.clm_blob_2021-11-17_rpi" # brcm43455 supports-19_2021-11-30, supports-24_2021-10-05_noap+sta
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43455-sdio.bin_2015-03-01_7.45.18.0_ub19.10.1" # brcm43455 supports-32_2015-03-01_unreliable
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43455-sdio.clm_blob_2018-02-26_rpi" # brcm43455 supports-32_2015-03-01_unreliable
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43430-sdio.bin_2018-09-11_7.45.98.65" # brcm43430 supports-30_2018-09-28
curl -sL --remote-name --create-dirs --output-dir "${FIRMWARES_DIR}" "${FIRMWARES_URL}/brcmfmac43430-sdio.clm_blob_2018-09-11_7.45.98.65" # brcm43430 supports-30_2018-09-28

on_chroot << EOF
# move raspios firmwares to dedicated files
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 842cdfa

Please sign in to comment.