package/qcom-db410c-firmware: new package
Installs the required Wifi/BT firmware blobs for the Qualcomm Dragonboard 410c SBC. Signed-off-by: Mike Frampton <mikeframpo@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
3ff1a64497
commit
7c51fc3897
@ -1864,6 +1864,9 @@ N: Michel Stempin <michel.stempin@wanadoo.fr>
|
||||
F: board/licheepi/
|
||||
F: configs/licheepi_zero_defconfig
|
||||
|
||||
N: Mike Frampton <mikeframpo@gmail.com>
|
||||
F: package/qcom-db410c-firmware/
|
||||
|
||||
N: Mike Harmony <mike.harmony@snapav.com>
|
||||
F: board/sinovoip/m2-plus/
|
||||
F: configs/bananapi_m2_plus_defconfig
|
||||
|
@ -402,6 +402,7 @@ menu "Firmware"
|
||||
source "package/linux-firmware/Config.in"
|
||||
source "package/murata-cyw-fw/Config.in"
|
||||
source "package/odroidc2-firmware/Config.in"
|
||||
source "package/qcom-db410c-firmware/Config.in"
|
||||
source "package/rpi-bt-firmware/Config.in"
|
||||
source "package/rpi-firmware/Config.in"
|
||||
source "package/rpi-wifi-firmware/Config.in"
|
||||
|
7
package/qcom-db410c-firmware/Config.in
Normal file
7
package/qcom-db410c-firmware/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_QCOM_DB410C_FIRMWARE
|
||||
bool "qcom-db410c-firmware"
|
||||
select BR2_PACKAGE_HOST_MTOOLS
|
||||
help
|
||||
Wifi/BT firmware for Qualcomm Dragonboard 410c SBC.
|
||||
|
||||
https://releases.linaro.org/96boards/dragonboard410c/qualcomm/firmware/
|
3
package/qcom-db410c-firmware/qcom-db410c-firmware.hash
Normal file
3
package/qcom-db410c-firmware/qcom-db410c-firmware.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 46953b974c5c58c7ca66db414437c0268b033ac9d28127e98d9c4e1a49359da5 linux-board-support-package-r1034.2.1.zip
|
||||
sha256 11e60ad6f83c2a86e40dca374c24230b53650dd3e0adf2e72c15f8cafedc2e5a LICENSE
|
41
package/qcom-db410c-firmware/qcom-db410c-firmware.mk
Normal file
41
package/qcom-db410c-firmware/qcom-db410c-firmware.mk
Normal file
@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# qcom-db410c-firmware
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QCOM_DB410C_FIRMWARE_VERSION = 1034.2.1
|
||||
QCOM_DB410C_FIRMWARE_BASE = linux-board-support-package-r$(QCOM_DB410C_FIRMWARE_VERSION)
|
||||
QCOM_DB410C_FIRMWARE_SOURCE = $(QCOM_DB410C_FIRMWARE_BASE).zip
|
||||
QCOM_DB410C_FIRMWARE_SITE = https://releases.linaro.org/96boards/dragonboard410c/qualcomm/firmware
|
||||
QCOM_DB410C_FIRMWARE_LICENCE = Qualcomm firmware license
|
||||
QCOM_DB410C_FIRMWARE_LICENSE_FILES = LICENSE
|
||||
QCOM_DB410C_FIRMWARE_DEPENDENCIES = host-mtools
|
||||
|
||||
define QCOM_DB410C_FIRMWARE_EXTRACT_CMDS
|
||||
$(UNZIP) -d $(@D) \
|
||||
$(QCOM_DB410C_FIRMWARE_DL_DIR)/$(QCOM_DB410C_FIRMWARE_SOURCE)
|
||||
mv $(@D)/$(QCOM_DB410C_FIRMWARE_BASE)/* $(@D)
|
||||
rmdir $(@D)/$(QCOM_DB410C_FIRMWARE_BASE)
|
||||
endef
|
||||
|
||||
# Install the Wifi/Bt firmware blobs to target. These commands are
|
||||
# based on firmware-qcom-dragonboard410c_*.bb in the OpenEmbedded
|
||||
# meta-qcom layer, see https://github.com/ndechesne/meta-qcom
|
||||
define QCOM_DB410C_FIRMWARE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0644 \
|
||||
$(@D)/efs-seed/fs_image_linux.tar.gz.mbn.img \
|
||||
$(TARGET_DIR)/boot/modem_fsg
|
||||
|
||||
$(INSTALL) -d $(TARGET_DIR)/lib/firmware
|
||||
cp -r $(@D)/proprietary-linux/wlan \
|
||||
$(TARGET_DIR)/lib/firmware/
|
||||
|
||||
$(INSTALL) -d $(TARGET_DIR)/lib/firmware/qcom/msm8916
|
||||
MTOOLS_SKIP_CHECK=1 $(HOST_DIR)/bin/mcopy -n -i \
|
||||
$(@D)/bootloaders-linux/NON-HLOS.bin \
|
||||
::image/modem.* ::image/mba.mbn ::image/wcnss.* \
|
||||
$(TARGET_DIR)/lib/firmware/qcom/msm8916
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
Loading…
Reference in New Issue
Block a user