configs/pc_x86_64_{bios, efi}_defconfig: add CRDA package
PATCH 1/1 configs/pc_x86_64_{bios, efi}_defconfig: add CRDA package
Central Regulatory Domain Agent is used by the Linux kernel cf80211 wireless subsystem. Currently this package is not enabled and kernel complains with the following message on every boot:
"""
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
"""
Add CRDA package to fix the issue.
--- configs/pc_x86_64_bios_defconfig | 1 + configs/pc_x86_64_efi_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/pc_x86_64_bios_defconfig +1 -0
@@ -62,3 +62,4 @@ BR2_PACKAGE_ACPID=y BR2_PACKAGE_CONNMAN=y BR2_PACKAGE_CONNMAN_CLIENT=y BR2_PACKAGE_CONNMAN_WIFI=y +BR2_PACKAGE_CRDA=y
configs/pc_x86_64_efi_defconfig +1 -0
@@ -63,3 +63,4 @@ BR2_PACKAGE_ACPID=y BR2_PACKAGE_CONNMAN=y BR2_PACKAGE_CONNMAN_CLIENT=y BR2_PACKAGE_CONNMAN_WIFI=y +BR2_PACKAGE_CRDA=y
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · Konstantin Aladyshev
Central Regulatory Domain Agent is used by the Linux kernel cf80211 wireless subsystem. Currently this package is not enabled and kernel complains with the following message on every boot:
"""
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
wireless-regdb is regulatory database used by Linux.
Quoted 2 lines
"""
Add CRDA package to fix the issue.
CRDA is a udev helper for communication between the kernel and - userspace. CRDA is no longer needed as of kernel v4.15 since commit 007f6c5e6eb45 («cfg80211: support loading regulatory database as firmware file») added support to use the kernel’s firmware request API which looks for the firmware on /lib/firmware. Because of this CRDA is legacy software for older kernels.
So it looks like you need to install package/wireless-regdb instead of CRDA.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thanks for the hint!
Sorry, that it took me so long to test it and reply. Please see the new patchset
https://lists.buildroot.org/pipermail/buildroot/2024-March/688611.html
BTW, why are there WiFi drivers in the first place? The readme for the board refers only to the "nic,model=virtio"
(https://github.com/buildroot/buildroot/blob/master/board/pc/readme.txt)
So adding a bunch of network firmware seems pretty arbitrary to me. Is there any particular reason for this? Or maybe all this can be considered as legacy and removed?
Best regards,
Konstantin Aladyshev
Quoted 15 lines · Maxim Kochetkov
Quoted 7 lines · Konstantin Aladyshev
Central Regulatory Domain Agent is used by the Linux kernel cf80211 wireless subsystem. Currently this package is not enabled and kernel complains with the following message on every boot:
"""
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.dbwireless-regdb is regulatory database used by Linux.
Quoted 2 lines
"""
Add CRDA package to fix the issue.
Quoted 8 lines
CRDA is a udev helper for communication between the kernel and - userspace. CRDA is no longer needed as of kernel v4.15 since commit
007f6c5e6eb45(«cfg80211: support loading regulatory database as firmware file») added support to use the kernel’s firmware request API which looks for the firmware on/lib/firmware. Because of this CRDA is legacy software for older kernels.So it looks like you need to install package/wireless-regdb instead of CRDA.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot