* [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx
@ 2024-03-05 7:04 Karthikeyan Krishnasamy
2024-04-07 15:50 ` Arnout Vandecappelle via buildroot
0 siblings, 1 reply; 5+ messages in thread
From: Karthikeyan Krishnasamy @ 2024-03-05 7:04 UTC (permalink / raw)
To: buildroot
Cc: parthiban, Karthikeyan Krishnasamy, bernd, saravanan,
yann.morin.1998
add realtek 8821cs bluetooth firmware in linux firmware package,
BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT config for realtek 88xx family,
not device specific config to enable, add fw's in realtek 88xx family
in build instead of adding them separately.
Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
---
package/linux-firmware/linux-firmware.mk | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
index 60e8861abe..7e1e5cf6f2 100644
--- a/package/linux-firmware/linux-firmware.mk
+++ b/package/linux-firmware/linux-firmware.mk
@@ -90,16 +90,7 @@ endif
# Realtek 88xx Bluetooth
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y)
LINUX_FIRMWARE_FILES += \
- rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \
- rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \
- rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \
- rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \
- rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin \
- rtl_bt/rtl8851bu_fw.bin rtl_bt/rtl8851bu_config.bin \
- rtl_bt/rtl8852au_fw.bin rtl_bt/rtl8852au_config.bin \
- rtl_bt/rtl8852bu_fw.bin rtl_bt/rtl8852bu_config.bin \
- rtl_bt/rtl8852cu_fw.bin rtl_bt/rtl8852cu_config.bin \
- rtl_bt/rtl8852cu_fw_v2.bin
+ rtl_bt/rtl88*_fw.bin rtl_bt/rtl88*_config.bin
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
endif
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx
2024-03-05 7:04 [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx Karthikeyan Krishnasamy
@ 2024-04-07 15:50 ` Arnout Vandecappelle via buildroot
2024-04-07 20:38 ` Gero Schwäricke
0 siblings, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-04-07 15:50 UTC (permalink / raw)
To: Karthikeyan Krishnasamy, buildroot
Cc: saravanan, bernd, parthiban, yann.morin.1998
On 05/03/2024 08:04, Karthikeyan Krishnasamy wrote:
> add realtek 8821cs bluetooth firmware in linux firmware package,
> BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT config for realtek 88xx family,
> not device specific config to enable, add fw's in realtek 88xx family
> in build instead of adding them separately.
I reworded this as follows.
package/linux-firmware: RTL_88XX_BT: install all firmware
Instead of enumerating each binary, which is cumbersome and may miss
some of them, simply install all binaries starting with rtl88.
Applied to master, thanks.
Regards,
Arnout
>
> Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
> ---
> package/linux-firmware/linux-firmware.mk | 11 +----------
> 1 file changed, 1 insertion(+), 10 deletions(-)
>
> diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
> index 60e8861abe..7e1e5cf6f2 100644
> --- a/package/linux-firmware/linux-firmware.mk
> +++ b/package/linux-firmware/linux-firmware.mk
> @@ -90,16 +90,7 @@ endif
> # Realtek 88xx Bluetooth
> ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y)
> LINUX_FIRMWARE_FILES += \
> - rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \
> - rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \
> - rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \
> - rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \
> - rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin \
> - rtl_bt/rtl8851bu_fw.bin rtl_bt/rtl8851bu_config.bin \
> - rtl_bt/rtl8852au_fw.bin rtl_bt/rtl8852au_config.bin \
> - rtl_bt/rtl8852bu_fw.bin rtl_bt/rtl8852bu_config.bin \
> - rtl_bt/rtl8852cu_fw.bin rtl_bt/rtl8852cu_config.bin \
> - rtl_bt/rtl8852cu_fw_v2.bin
> + rtl_bt/rtl88*_fw.bin rtl_bt/rtl88*_config.bin
> LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
> endif
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx
2024-04-07 15:50 ` Arnout Vandecappelle via buildroot
@ 2024-04-07 20:38 ` Gero Schwäricke
2024-04-10 8:06 ` Arnout Vandecappelle via buildroot
0 siblings, 1 reply; 5+ messages in thread
From: Gero Schwäricke @ 2024-04-07 20:38 UTC (permalink / raw)
To: Arnout Vandecappelle; +Cc: buildroot
On Sun, Apr 07, 2024 at 05:50:50PM +0200, Arnout Vandecappelle via buildroot wrote:
>
>
> On 05/03/2024 08:04, Karthikeyan Krishnasamy wrote:
> > add realtek 8821cs bluetooth firmware in linux firmware package,
> > BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT config for realtek 88xx family,
> > not device specific config to enable, add fw's in realtek 88xx family
> > in build instead of adding them separately.
>
> I reworded this as follows.
>
> package/linux-firmware: RTL_88XX_BT: install all firmware
>
> Instead of enumerating each binary, which is cumbersome and may miss
> some of them, simply install all binaries starting with rtl88.
>
>
> Applied to master, thanks.
>
> Regards,
> Arnout
Hi,
just saw this commit. In effect it added new firmware blobs for
rtl8821cs and rtl8852btu, but also removed one for rtl8852cu, was this
intentional?
$ diff old new
4a5,6
> rtl8821cs_config.bin
> rtl8821cs_fw.bin
14a17,18
> rtl8852btu_config.bin
> rtl8852btu_fw.bin
18d21
< rtl8852cu_fw_v2.bin
Best,
Gero
>
> >
> > Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
> > ---
> > package/linux-firmware/linux-firmware.mk | 11 +----------
> > 1 file changed, 1 insertion(+), 10 deletions(-)
> >
> > diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
> > index 60e8861abe..7e1e5cf6f2 100644
> > --- a/package/linux-firmware/linux-firmware.mk
> > +++ b/package/linux-firmware/linux-firmware.mk
> > @@ -90,16 +90,7 @@ endif
> > # Realtek 88xx Bluetooth
> > ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y)
> > LINUX_FIRMWARE_FILES += \
> > - rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \
> > - rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \
> > - rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \
> > - rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \
> > - rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin \
> > - rtl_bt/rtl8851bu_fw.bin rtl_bt/rtl8851bu_config.bin \
> > - rtl_bt/rtl8852au_fw.bin rtl_bt/rtl8852au_config.bin \
> > - rtl_bt/rtl8852bu_fw.bin rtl_bt/rtl8852bu_config.bin \
> > - rtl_bt/rtl8852cu_fw.bin rtl_bt/rtl8852cu_config.bin \
> > - rtl_bt/rtl8852cu_fw_v2.bin
> > + rtl_bt/rtl88*_fw.bin rtl_bt/rtl88*_config.bin
> > LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
> > endif
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx
2024-04-07 20:38 ` Gero Schwäricke
@ 2024-04-10 8:06 ` Arnout Vandecappelle via buildroot
2024-04-17 21:10 ` Gero Schwäricke
0 siblings, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-04-10 8:06 UTC (permalink / raw)
To: buildroot
On 07/04/2024 22:38, Gero Schwäricke wrote:
> On Sun, Apr 07, 2024 at 05:50:50PM +0200, Arnout Vandecappelle via buildroot wrote:
>>
>>
>> On 05/03/2024 08:04, Karthikeyan Krishnasamy wrote:
>>> add realtek 8821cs bluetooth firmware in linux firmware package,
>>> BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT config for realtek 88xx family,
>>> not device specific config to enable, add fw's in realtek 88xx family
>>> in build instead of adding them separately.
>>
>> I reworded this as follows.
>>
>> package/linux-firmware: RTL_88XX_BT: install all firmware
>>
>> Instead of enumerating each binary, which is cumbersome and may miss
>> some of them, simply install all binaries starting with rtl88.
>>
>>
>> Applied to master, thanks.
>>
>> Regards,
>> Arnout
>
> Hi,
>
> just saw this commit. In effect it added new firmware blobs for
> rtl8821cs and rtl8852btu, but also removed one for rtl8852cu, was this
> intentional?
>
> $ diff old new
> 4a5,6
> > rtl8821cs_config.bin
> > rtl8821cs_fw.bin
> 14a17,18
> > rtl8852btu_config.bin
> > rtl8852btu_fw.bin
This is the purpose of the patch.
> 18d21
> < rtl8852cu_fw_v2.bin
This is definitely not intentional. I clearly didn't test the patch enough
before applying :-(
Care to send a fix? I think the easiest is to change the pattern to
rtl88*.bin, but it needs to be verified.
Regards,
Arnout
>
> Best,
> Gero
>
>>
>>>
>>> Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
>>> ---
>>> package/linux-firmware/linux-firmware.mk | 11 +----------
>>> 1 file changed, 1 insertion(+), 10 deletions(-)
>>>
>>> diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
>>> index 60e8861abe..7e1e5cf6f2 100644
>>> --- a/package/linux-firmware/linux-firmware.mk
>>> +++ b/package/linux-firmware/linux-firmware.mk
>>> @@ -90,16 +90,7 @@ endif
>>> # Realtek 88xx Bluetooth
>>> ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y)
>>> LINUX_FIRMWARE_FILES += \
>>> - rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \
>>> - rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \
>>> - rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \
>>> - rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \
>>> - rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin \
>>> - rtl_bt/rtl8851bu_fw.bin rtl_bt/rtl8851bu_config.bin \
>>> - rtl_bt/rtl8852au_fw.bin rtl_bt/rtl8852au_config.bin \
>>> - rtl_bt/rtl8852bu_fw.bin rtl_bt/rtl8852bu_config.bin \
>>> - rtl_bt/rtl8852cu_fw.bin rtl_bt/rtl8852cu_config.bin \
>>> - rtl_bt/rtl8852cu_fw_v2.bin
>>> + rtl_bt/rtl88*_fw.bin rtl_bt/rtl88*_config.bin
>>> LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
>>> endif
>> _______________________________________________
>> buildroot mailing list
>> buildroot@buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx
2024-04-10 8:06 ` Arnout Vandecappelle via buildroot
@ 2024-04-17 21:10 ` Gero Schwäricke
0 siblings, 0 replies; 5+ messages in thread
From: Gero Schwäricke @ 2024-04-17 21:10 UTC (permalink / raw)
To: Arnout Vandecappelle; +Cc: buildroot
Hi Arnout,
On Wed, Apr 10, 2024 at 10:06:08AM +0200, Arnout Vandecappelle via buildroot wrote:
>
> On 07/04/2024 22:38, Gero Schwäricke wrote:
[snip]
> >
> > just saw this commit. In effect it added new firmware blobs for
> > rtl8821cs and rtl8852btu, but also removed one for rtl8852cu, was this
> > intentional?
> >
> > $ diff old new
> > 4a5,6
> > > rtl8821cs_config.bin
> > > rtl8821cs_fw.bin
> > 14a17,18
> > > rtl8852btu_config.bin
> > > rtl8852btu_fw.bin
>
> This is the purpose of the patch.
>
> > 18d21
> > < rtl8852cu_fw_v2.bin
>
> This is definitely not intentional. I clearly didn't test the patch enough
> before applying :-(
>
> Care to send a fix? I think the easiest is to change the pattern to
> rtl88*.bin, but it needs to be verified.
I just send the patch. For testing I recorded the firmware package with
tar --list --file output/build/linux-firmware-20240115/br-firmware.tar | sort > /tmp/.old # and /tmp/.new
The diff is then
$ diff /tmp/.old /tmp/.new
22a23
> rtl_bt/rtl8852cu_fw_v2.bin
Seems to work as intended.
I noticed though that due to the new globbing approach the kconfig help
string is outdated. I'll send that as a separate patch.
Best,
Gero
>
> Regards,
> Arnout
>
> >
> > Best,
> > Gero
[snip]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-17 21:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 7:04 [Buildroot] [PATCH] package: linux-firmware: update linux fw bluetooth package for rtl88xx Karthikeyan Krishnasamy
2024-04-07 15:50 ` Arnout Vandecappelle via buildroot
2024-04-07 20:38 ` Gero Schwäricke
2024-04-10 8:06 ` Arnout Vandecappelle via buildroot
2024-04-17 21:10 ` Gero Schwäricke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox