Actually, we are facing an issue with multiple.bb file. :
Multiple .bb files are due to be built which each provide hal-wifi:######
/home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb /home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb A list of tasks depending on these providers is shown and may help explain where the dependency comes from. /home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb has unique dependees: /home/goutam/meta-rdk-broadband/recipes-ccsp/util/utopia.bb:do_package /home/goutam/meta-rdk-broadband/recipes-ccsp/util/utopia.bb:do_prepare_recipe_sysroot /home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb has unique dependees:
It could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful. /home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb has unique provides: hal-wifi-broadcom /home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb has unique rprovides: hal-wifi-broadcom-src ^hal-wifi-broadcom-locale-.* hal-wifi-broadcom-locale hal-wifi-broadcom-doc hal-wifi-broadcom-staticdev hal-wifi-broadcom hal-wifi-broadcom-dbg hal-wifi-broadcom-dev /home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb has unique provides: hal-wifi-cfg80211 /home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb has unique rprovides: hal-wifi-cfg80211-doc hal-wifi-cfg80211-staticdev hal-wifi-cfg80211-dev hal-wifi-cfg80211-locale hal-wifi-cfg80211-src ^hal-wifi-cfg80211-locale-.* hal-wifi-cfg80211 hal-wifi-cfg80211-dbg
Since you r build is specific to broadcom SoC, hal-wifi-cfg80211_git.bb should not be included in your build. Could you check where the dependency is added for hal-wifi-cfg80211_git.bb, need to remove from there. For example if it is included in any packagegroup or DEPENDS flag, need to be removed. This recipe is specific to Rpi and Turris build.
Other way also you can try to MASK the recipe in your platform conf file ( BBMASK .= "|meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb" )
We are building image with opensync_3.2.7 and getting error in Building Wifi driver, it is showing Kernel configuration is invalid
Error logs:
make -C /home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-build-artifacts -f /home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-source/Makefile
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-source/scripts/Makefile.build obj=/home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work/brcm93390smwvg2-rdk-linux-gnueabi/broadcom-wifi/1.0-r0/wl/main/components/router/hnd \
please give suggestion (attaching more logs more for your reference )
3 Comments
Z-Goutam Singh
Hello Priyankaa K V B Narayanaswamy Ramaiyer and Deepika Ganapathi Bhat
Actually, we are facing an issue with multiple.bb file. :
Multiple .bb files are due to be built which each provide hal-wifi:######
/home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb
/home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb
A list of tasks depending on these providers is shown and may help explain where the dependency comes from.
/home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb has unique dependees:
/home/goutam/meta-rdk-broadband/recipes-ccsp/util/utopia.bb:do_package
/home/goutam/meta-rdk-broadband/recipes-ccsp/util/utopia.bb:do_prepare_recipe_sysroot
/home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb has unique dependees:
It could be that one recipe provides something the other doesn't and should. The following provider and runtime provider differences may be helpful.
/home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb has unique provides:
hal-wifi-broadcom
/home/goutam/meta-rdk-soc-broadcom-broadband/meta-brcm-broadband/recipes-ccsp/hal/hal-wifi-broadcom_git.bb has unique rprovides:
hal-wifi-broadcom-src
^hal-wifi-broadcom-locale-.*
hal-wifi-broadcom-locale
hal-wifi-broadcom-doc
hal-wifi-broadcom-staticdev
hal-wifi-broadcom
hal-wifi-broadcom-dbg
hal-wifi-broadcom-dev
/home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb has unique provides:
hal-wifi-cfg80211
/home/goutam/meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb has unique rprovides:
hal-wifi-cfg80211-doc
hal-wifi-cfg80211-staticdev
hal-wifi-cfg80211-dev
hal-wifi-cfg80211-locale
hal-wifi-cfg80211-src
^hal-wifi-cfg80211-locale-.*
hal-wifi-cfg80211
hal-wifi-cfg80211-dbg
PROVIDES = "hal-wifi"
RPROVIDES_${PN} = "hal-wifi"
2. so, please give us some hints to resolve it,
hal-wifi-broadcom_git.bbhal-wifi-cfg80211_git.bb
Thankyou
Goutam Singh
sipra samantray
Hi Z-Goutam Singh ,
Since you r build is specific to broadcom SoC, hal-wifi-cfg80211_git.bb should not be included in your build. Could you check where the dependency is added for hal-wifi-cfg80211_git.bb, need to remove from there. For example if it is included in any packagegroup or DEPENDS flag, need to be removed. This recipe is specific to Rpi and Turris build.
Other way also you can try to MASK the recipe in your platform conf file ( BBMASK .= "|meta-cmf-broadband/recipes-ccsp/hal/hal-wifi-cfg80211_git.bb" )
Thanks,
Sipra
Z-Goutam Singh
Hello Deepika Ganapathi Bhat sipra samantray Priyankaa K V B Narayanaswamy Ramaiyer
We are building image with opensync_3.2.7 and getting error in Building Wifi driver, it is showing Kernel configuration is invalid
Error logs:
make -C /home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-build-artifacts -f /home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-source/Makefile
make[2]: Entering directory '/home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-build-artifacts'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
make -f /home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work-shared/brcm93390smwvg2/kernel-source/scripts/Makefile.build obj=/home/goutam/dj/CBV390S5-AX5700_Broadcom_Source_22.2-20221020T035706Z-001/CBV390S5-AX5700_Broadcom_Source_22.2/build-brcm93390smwvg2/tmp/work/brcm93390smwvg2-rdk-linux-gnueabi/broadcom-wifi/1.0-r0/wl/main/components/router/hnd \
please give suggestion (attaching more logs more for your reference )
error_wifi_driver
Regards
Goutam Singh