joelguittet/meta-chip

empty db.txt

Closed this issue · 1 comments

Upon boot, the wifi driver complains about empty db.txt. As CRDA is included into the image, no internal db is required, so commenting out this option in kernel config fixes the problem. See the patch below.

Best regards.

diff --git a/recipes-kernel/linux/files/defconfig b/recipes-kernel/linux/files/defconfig
index 97a37a5..eef3b6f 100644
--- a/recipes-kernel/linux/files/defconfig
+++ b/recipes-kernel/linux/files/defconfig
@@ -1318,7 +1318,7 @@ CONFIG_CFG80211=m
 # CONFIG_CFG80211_CERTIFICATION_ONUS is not set
 # CONFIG_CFG80211_DEFAULT_PS is not set
 CONFIG_CFG80211_DEBUGFS=y
-CONFIG_CFG80211_INTERNAL_REGDB=y
+#CONFIG_CFG80211_INTERNAL_REGDB=y
 CONFIG_CFG80211_CRDA_SUPPORT=y
 CONFIG_CFG80211_WEXT=y
 # CONFIG_LIB80211 is not set

Confirmed and fixed.
Thanks for your contribution @gera-k
Closing the issue.