modified config.txt to enable sound [release 4.4.1.20161020-2mamba;Thu Nov 10 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 17:21:27 +01:00
parent 2bce1edabd
commit 70269d18f4
4 changed files with 47 additions and 2 deletions

BIN
BCM43430A1.hcd Normal file

Binary file not shown.

12
brcm43438.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Broadcom BCM43438 bluetooth HCI
ConditionPathIsDirectory=/proc/device-tree/soc/gpio@7e200000/bt_pins
Before=bluetooth.service
After=dev-ttyAMA0.device
[Service]
Type=simple
ExecStart=/usr/sbin/hciattach-rpi -n /dev/ttyAMA0 bcm43xx 921600 noflow -
[Install]
WantedBy=multi-user.target

View File

@ -7,3 +7,4 @@ fixup_file=fixup_x.dat
framebuffer_depth=32 framebuffer_depth=32
framebuffer_ignore_alpha=1 framebuffer_ignore_alpha=1
#hdmi_drive=2 #hdmi_drive=2
dtparam=audio=on

View File

@ -6,7 +6,7 @@
Name: raspberrypi-firmware Name: raspberrypi-firmware
Epoch: 1 Epoch: 1
Version: 4.4.1.20160620 Version: 4.4.1.20161020
Release: 2mamba Release: 2mamba
Summary: Boot firmware files (except kernel) for the Raspberry Pi Summary: Boot firmware files (except kernel) for the Raspberry Pi
Group: System/Kernel and Hardware Group: System/Kernel and Hardware
@ -21,13 +21,17 @@ Source1: raspberrypi-firmware-kernelconf.txt
Source2: raspberrypi-firmware-kernelcmdline.txt Source2: raspberrypi-firmware-kernelcmdline.txt
Source10: raspberrypi-firmware-udev-vchiq-permissions Source10: raspberrypi-firmware-udev-vchiq-permissions
Source11: raspberrypi-firmware-ldconf Source11: raspberrypi-firmware-ldconf
Source12: brcm43438.service
Source20: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.bin Source20: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.bin
Source21: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt Source21: https://github.com/RPi-Distro/firmware-nonfree/raw/master/brcm80211/brcm/brcmfmac43430-sdio.txt
Source22: LICENSE.brcmfmac Source22: LICENSE.brcmfmac
Source23: https://github.com/OpenELEC/misc-firmware/raw/master/firmware/brcm/BCM43430A1.hcd
License: GPL, LICENCE.broadcom License: GPL, LICENCE.broadcom
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: hciattach-rpi
ExclusiveArch: arm ExclusiveArch: arm
%systemd_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -157,10 +161,26 @@ install -d %{buildroot}/lib/udev/rules.d
install -m 644 %{S:10} \ install -m 644 %{S:10} \
%{buildroot}/lib/udev/rules.d/10-vchiq-permissions.rules %{buildroot}/lib/udev/rules.d/10-vchiq-permissions.rules
%endif %endif
# rpi3 bluetooth
install -D -m0644 %{SOURCE12} %{buildroot}/lib/systemd/system/brcm43438.service
install -D -m0644 %{SOURCE23} %{buildroot}/lib/firmware/BCM43430A1.hcd
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%systemd_post brcm43438
:
%preun
%systemd_preun brcm43438
:
%postun
%systemd_postun brcm43438
:
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/boot/bootcode.bin /boot/bootcode.bin
@ -171,6 +191,7 @@ install -m 644 %{S:10} \
/boot/bcm2708-rpi-cm.dtb /boot/bcm2708-rpi-cm.dtb
/boot/bcm2709-rpi-2-b.dtb /boot/bcm2709-rpi-2-b.dtb
/boot/bcm2710-rpi-3-b.dtb /boot/bcm2710-rpi-3-b.dtb
/boot/bcm2710-rpi-cm3.dtb
/boot/LICENCE.broadcom /boot/LICENCE.broadcom
%config(noreplace) /boot/config.txt %config(noreplace) /boot/config.txt
%config(noreplace) /boot/cmdline.txt %config(noreplace) /boot/cmdline.txt
@ -178,8 +199,10 @@ install -m 644 %{S:10} \
/boot/overlays/*.dtbo /boot/overlays/*.dtbo
/boot/overlays/README /boot/overlays/README
/lib/firmware/LICENSE.brcmfmac /lib/firmware/LICENSE.brcmfmac
/lib/firmware/BCM43430A1.hcd
/lib/firmware/brcm/brcmfmac43430-sdio.bin /lib/firmware/brcm/brcmfmac43430-sdio.bin
/lib/firmware/brcm/brcmfmac43430-sdio.txt /lib/firmware/brcm/brcmfmac43430-sdio.txt
/lib/systemd/system/brcm43438.service
%if %include_kernel %if %include_kernel
%files -n kernel-raspberrypi %files -n kernel-raspberrypi
@ -219,6 +242,15 @@ install -m 644 %{S:10} \
%endif %endif
%changelog %changelog
* Thu Nov 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1.20161020-2mamba
- modified config.txt to enable sound
* Thu Nov 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1.20161020-1mamba
- update to 4.4.1.20161020
* Wed Jul 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1.20160620-3mamba
- added bluetooth firmware, service script and requirement for rpi3
* Mon Jul 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1.20160620-2mamba * Mon Jul 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.1.20160620-2mamba
- added wifi firmware brcmfmac43430 for rpi3 - added wifi firmware brcmfmac43430 for rpi3