Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpi-firmware-bluez
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bryan Zuelly
rpi-firmware-bluez
Commits
3c18b620
Verified
Commit
3c18b620
authored
1 month ago
by
Bryan Zuelly
Browse files
Options
Downloads
Patches
Plain Diff
initial
parent
cd579ac9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
SPECS/rpi-firmware-bluez.spec
+57
-0
57 additions, 0 deletions
SPECS/rpi-firmware-bluez.spec
with
58 additions
and
0 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
3c18b620
*.gz
This diff is collapsed.
Click to expand it.
SPECS/rpi-firmware-bluez.spec
0 → 100644
+
57
−
0
View file @
3c18b620
%global _fwpath /usr/lib/firmware
%global bluez_commit a6d4105d0989103ea6384b65940c76add1914127
%global bluez_srcdir bluez-firmware-%{bluez_commit}
Name: rpi-firmware-bluez
Version: 20221219
Release: 1%{?dist}
Summary: Supplemental firmware used by Linux kernel for some Raspberry Pi models
BuildArch: noarch
ExclusiveArch: aarch64
License: GPLv2
URL: https://github.com/RPi-Distro/bluez-firmware
Source0: https://github.com/RPi-Distro/bluez-firmware/archive/%{bluez_commit}/bluez-firmware-%{bluez_commit}.tar.gz
Requires: linux-firmware
%description
This package provides suppremental firmware files not included in linux-firmware
package to enable Bluetooth/Wi-Fi on some Raspberry Pi models.
%prep
%setup -n %{bluez_srcdir}
%build
%install
install -d %{buildroot}%{_fwpath}/brcm
ls %{buildroot}
# Bluetooth for RPi Zero 2W
cp broadcom/BCM43430B0.hcd %{buildroot}%{_fwpath}/brcm/
# Bluetooth for RPi 3B+, 4, 5
cp broadcom/BCM43430A1.hcd %{buildroot}%{_fwpath}/brcm/
cp broadcom/BCM4345C0.hcd %{buildroot}%{_fwpath}/brcm/
# Bluetooth for RPi 400
cp broadcom/BCM4345C5.hcd %{buildroot}%{_fwpath}/brcm/
# compress these firmware files
xz -C crc32 %{buildroot}%{_fwpath}/brcm/BCM43430A1.hcd
xz -C crc32 %{buildroot}%{_fwpath}/brcm/BCM43430B0.hcd
xz -C crc32 %{buildroot}%{_fwpath}/brcm/BCM4345C0.hcd
xz -C crc32 %{buildroot}%{_fwpath}/brcm/BCM4345C5.hcd
# Raspberry Pi 5
ln -s BCM4345C0.hcd.xz %{buildroot}%{_fwpath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd.xz
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin.xz
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_fwpath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
%files
%{_fwpath}/brcm/*
%changelog
* Sat Mar 01 2025 Bryan Zuelly <bzuelly@outlook.com> - 20250301-1
- Initial
- influenced by linux-firmware-raspberrypi from Alma Linux
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment