Blob jail: Move firmware to board-specific subdirectories

Move firmware binaries into board subdirectories, so boards can have
different firmware binaries.

Remove *.bin from .gitignore.  This was probably meant for build
artifacts, which are excluded via build/ now.

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
Jonathon Hall 2023-07-06 13:46:35 -04:00
parent 010bd718aa
commit be9051e322
No known key found for this signature in database
GPG Key ID: 1E9C3CA91AE25114
7 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -23,5 +23,4 @@ clean
*.vol
*.lz
*.fv
*.bin
*.bad

View File

@ -1 +1,12 @@
This directory contains firmware/microcode needed for the Intel AX200 WiFi module, its Bluetooth counterparts, and the Bluetooth component (ar3k) of Ath9k WiFi modules. It is synchronized via the main system firmware (Pureboot) at each boot, and should not be modified.
# Librem Blob Jail
This directory contains firmware/microcode needed for peripherals in some Librem boards, for OSes that do not provide device firmware.
When the blob jail feature is enabled, PureBoot provides device firmware to the OS by adding it to the initrd, then copying it to /run/firmware (see initrd/bin/inject_firmware.sh).
## Librem Mini v2
Librem Mini v2 ships with an Atheros Wi-Fi/Bluetooth card, which does not require firmware for Wi-Fi (but it does for Bluetooth). However, some whitelabel variants ship with Intel AX200, which requires firmware for both Wi-Fi and Bluetooth.
Device firmware is provided in a preconfigured variant buidl for librem_mini_v2, the basic_usb_autoboot_blob_jail build.