From: Jan Kiszka <[email protected]>

These needs to be installed at the right place on the target rootfs so
that the driver starts to work.

Signed-off-by: Jan Kiszka <[email protected]>
---
 .../rpi-firmware-brcm80211/rpi-firmware-brcm80211.bb        | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-bsp/rpi-firmware-brcm80211/rpi-firmware-brcm80211.bb

diff --git a/recipes-bsp/rpi-firmware-brcm80211/rpi-firmware-brcm80211.bb 
b/recipes-bsp/rpi-firmware-brcm80211/rpi-firmware-brcm80211.bb
new file mode 100644
index 0000000..020d63d
--- /dev/null
+++ b/recipes-bsp/rpi-firmware-brcm80211/rpi-firmware-brcm80211.bb
@@ -0,0 +1,13 @@
+inherit dpkg-raw
+
+SRC_URI = 
"https://github.com/RPi-Distro/firmware-nonfree/archive/${SRCREV}.tar.gz;downloadfilename=firmware-${SRCREV}.tar.gz";
+SRCREV = "00daf85ffa373ecce7836df7543c6ebe4cf43639"
+SRC_URI[sha256sum] = 
"26e6e4aace9c9d1e9b9b1447f57ebd743dc15f3a337deac9e77d964885fcb3b3"
+
+do_install() {
+    cd ${WORKDIR}/firmware-nonfree-${SRCREV}/brcm
+    install -v -d ${D}/lib/firmware/brcm/
+    install -v -m 644 brcmfmac43430-sdio.txt ${D}/lib/firmware/brcm/
+    install -v -m 644 brcmfmac43455-sdio.clm_blob ${D}/lib/firmware/brcm/
+    install -v -m 644 brcmfmac43455-sdio.txt ${D}/lib/firmware/brcm/
+}
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/176e304cb0fa8e650011e03b2595f99a070497d1.1579170887.git.jan.kiszka%40siemens.com.

Reply via email to