[Buildroot] [PATCH 1/1] linux-firmware: add options to install more Mediatek firmwares.

Nicolas Cavallari nicolas.cavallari at green-communications.fr
Sat Jan 5 21:39:06 UTC 2019


On 05/01/2019 15:09, Thomas Petazzoni wrote:
> Hello,
> 
> On Fri, 4 Jan 2019 17:14:04 +0100, Yann E. MORIN wrote:
> 
>> We're trying to limit the number of options in each category, and given
>> there already is a wifi mediatek entry above, can we just make it install
>> all the mediatek wifi firmwares?
> 
> I'm not sure I agree here.

(I probably should have waited before writing a patch doing exactly
that, hopefully i didn't tested it

I will just mention that "all the mediatek firmwares" also include more
files in linux-firmware's mediatek/ directory. But the situation there
is more complicated. the mt76/btmtk drivers are still under active
development, and they will stop using some firmware files.)

>>   - rename the option to BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_WIFI_MT7xxx;
>>     note that I added 'WIfI' in the option name, because we can forsee
>>     we'll have the same issue with BT firmwares, as they too are named
>>     mt7*;
> 
> If you have a WiFi/BT combo chip, it's pretty likely that you will want
> to install both the WiFi and BT firmwares, so having a single option
> for both doesn't look that crazy.

Well, currently the menuconfig for bluetooth and wifi are splitted.

And in this case, there is no firmware that is specific to a WiFi/BT
combo chip. The mt7662.bin file is used by both wifi and wifi/bt combos
and so is mt7650.bin for bt and wifi/bt.


More information about the buildroot mailing list