[OE-core] [PATCH] linux-firmware: package carl9170 separately

Ioan-Adrian Ratiu adrian.ratiu at ni.com
Fri Aug 26 09:39:39 UTC 2016


On Wed, 24 Aug 2016, Khem Raj <raj.khem at gmail.com> wrote:
> [ Unknown signature status ]
>
>> On Aug 24, 2016, at 5:22 AM, Ioan-Adrian Ratiu <adrian.ratiu at ni.com> wrote:
>> 
>> carl9170 is an atheros-based firmware, the succesor of ar9170 which is
>> deprecated and its driver (ar9170) was removed from the kernel tree.
>> carl9170 comes both as a binary blob and also with free sources; the
>> sources are deleted in linux-firmware.bb to avoid depeding on bash/etc.
>> 
>> Package the carl9170 binary firmware separately because it is needed
>> by various usb dongles and installing whole linux-firmware is overkill.
>
> while you are at it. Can you also scrutinize the license needs for this firmware ?
> should it require packaging a license file explicitly into rootfs or some such

The carl9170 firmware license is GPLv2, sources are also included in the
linux-firmware tree besides the binary. I don't think we need to do
anything special for it.

>
>> 
>> Also we should keep ar9170 as is because OOT drivers might still use it.
>> 
>> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
>> ---
>> meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
>> index 948dfa8..1657445 100644
>> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
>> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
>> @@ -226,7 +226,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
>>              ${PN}-vt6656-license ${PN}-vt6656 \
>>              ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
>>              ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 ${PN}-bcm43340 ${PN}-bcm4339 ${PN}-bcm4354 \
>> -             ${PN}-atheros-license ${PN}-ar9170 ${PN}-ath6k ${PN}-ath9k \
>> +             ${PN}-atheros-license ${PN}-ar9170 ${PN}-carl9170 ${PN}-ath6k ${PN}-ath9k \
>>              ${PN}-ar3k-license  ${PN}-ar3k  ${PN}-ath10k-license  ${PN}-ath10k  \
>>              \
>>              ${PN}-iwlwifi-license ${PN}-iwlwifi \
>> @@ -255,6 +255,9 @@ FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware"
>> FILES_${PN}-ar9170 = " \
>>   /lib/firmware/ar9170*.fw \
>> "
>> +FILES_${PN}-carl9170 = " \
>> +  /lib/firmware/carl9170*.fw \
>> +"
>> FILES_${PN}-ath6k = " \
>>   /lib/firmware/ath6k \
>> "
>> @@ -266,6 +269,7 @@ FILES_${PN}-ath9k = " \
>> "
>> 
>> RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
>> +RDEPENDS_${PN}-carl9170 += "${PN}-atheros-license"
>> RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
>> RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
>> 
>> --
>> 2.9.3
>> 
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list