linux-firmware: package Marvell PCIe WiFi firmwares
PATCH 1/2 linux-firmware: package Marvell PCIe WiFi firmwares
From: Stefan Agner <[email protected]>
Add packages for Marvell Avastar 88W8897 and 88W8997 PCIe WiFi chips.
--- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +12 -1
@@ -229,7 +229,8 @@ do_install() { PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \ ${PN}-mt7601u-license ${PN}-mt7601u \ ${PN}-radeon-license ${PN}-radeon \ - ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \ + ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \ + ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \ ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \ ${PN}-vt6656-license ${PN}-vt6656 \ ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
@@ -356,6 +357,8 @@ FILES_${PN}-radeon = " \ RDEPENDS_${PN}-radeon += "${PN}-radeon-license" # For marvell +LICENSE_${PN}-pcie8897 = "Firmware-Marvell" +LICENSE_${PN}-pcie8997 = "Firmware-Marvell" LICENSE_${PN}-sd8686 = "Firmware-Marvell" LICENSE_${PN}-sd8688 = "Firmware-Marvell" LICENSE_${PN}-sd8787 = "Firmware-Marvell"
@@ -366,6 +369,14 @@ LICENSE_${PN}-sd8897 = "Firmware-Marvell" LICENSE_${PN}-marvell-license = "Firmware-Marvell" FILES_${PN}-marvell-license = "${nonarch_base_libdir}/firmware/LICENCE.Marvell" +FILES_${PN}-pcie8897 = " \ + ${nonarch_base_libdir}/firmware/mrvl/pcie8897_uapsta.bin \ +" +FILES_${PN}-pcie8997 = " \ + ${nonarch_base_libdir}/firmware/mrvl/pcie8997_wlan_v4.bin \ + ${nonarch_base_libdir}/firmware/mrvl/pcieuart8997_combo_v4.bin \ + ${nonarch_base_libdir}/firmware/mrvl/pcieusb8997_combo_v4.bin \ +" FILES_${PN}-sd8686 = " \ ${nonarch_base_libdir}/firmware/libertas/sd8686_v9* \ ${nonarch_base_libdir}/firmware/sd8686* \
Signature · 1 line
2.7.4
PATCH 2/2 linux-firmware: bump to latest linux-firmware git revision
From: Stefan Agner <[email protected]>
This requires MD5 sum updates for
- LICENSE.QualcommAtheros_ath10k: year change
- WHENCE: various version updates and addition of new firmwares
The new firmware for Qualcom Venus causes a QA error:
QA Issue: linux-firmware: Recipe inherits the allarch class, but has packaged architecture-specific binaries
Since firmware typically do not run on the CPU, the architecture of the firmware file is independent from the CPU architecture the image will be running on. Disable the QA check for the linux-firmware package by default.
--- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +5 -3
@@ -1,6 +1,8 @@ SUMMARY = "Firmware files for use with Linux kernel" SECTION = "kernel" +ERROR_QA_remove = "arch" + LICENSE = "\ Firmware-Abilis \ & Firmware-adsp_sst \
@@ -98,7 +100,7 @@ LIC_FILES_CHKSUM = "\ file://LICENCE.qla1280;md5=d6895732e622d950609093223a2c4f5d \ file://LICENCE.qla2xxx;md5=505855e921b75f1be4a437ad9b79dff0 \ file://LICENSE.QualcommAtheros_ar3k;md5=b5fe244fb2b532311de1472a3bc06da5 \ - file://LICENSE.QualcommAtheros_ath10k;md5=b5fe244fb2b532311de1472a3bc06da5 \ + file://LICENSE.QualcommAtheros_ath10k;md5=cb42b686ee5f5cb890275e4321db60a8 \ file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \ file://LICENSE.radeon;md5=68ec28bacb3613200bca44f404c69b16 \ file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
@@ -114,7 +116,7 @@ LIC_FILES_CHKSUM = "\ file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ - file://WHENCE;md5=ad12d0618287e8c10ae3da05fa0edcfb \ + file://WHENCE;md5=08f6d4371353cac5f6fc271d5407c63e \ " # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -175,7 +177,7 @@ NO_GENERIC_LICENSE[Firmware-xc5000] = "LICENCE.xc5000" NO_GENERIC_LICENSE[Firmware-xc5000c] = "LICENCE.xc5000c" NO_GENERIC_LICENSE[WHENCE] = "WHENCE" -SRCREV = "b14134583c2a15d4404695f72cb523daedb877ab" +SRCREV = "a61ac5cf8374edbfe692d12f805a1b194f7fead2" PE = "1" PV = "0.0+git${SRCPV}"
Signature · 1 line
2.7.4
Re: [PATCH 2/2] linux-firmware: bump to latest linux-firmware git revision
Quoted 2 lines · Stefan Agner
+ERROR_QA_remove = "arch"
This doesn't remove it from WARN_QA so it will still produce a warning if it is present. However the typical way to do this is to set INSANE_SKIP (which the recipe already does for another package with the same problem). Of course you can't use INSANE_SKIP without setting a package currently, so in the interests of scaling I wonder if we should extend insane.bbclass to support recipe-wide assignments of INSANE_SKIP...
Ross