Hi,
I am facing some error issues after enabling the BCM4354 in menuconfig tool for imx warp7 but my purpose is to enable bluetooth and wifi. So please help me. The below shows the error logs :-
-------------------------------------------------------------------------------------------------------------------------------------------------
ERROR: linux-warp7-4.1-r0 do_compile_kernelmodules: oe_runmake failed
ERROR: linux-warp7-4.1-r0 do_compile_kernelmodules: Function failed: do_compile_kernelmodules (log file is located at /u/ee209785/yocto1/build/tmp/work/imx7s_warp-poky-linux-gnueabi/linux-warp7/4.1-r0/temp/log.do_compile_kernelmodules.10693)
ERROR: Logfile of failure stored in: /u/ee209785/yocto1/build/tmp/work/imx7s_warp-poky-linux-gnueabi/linux-warp7/4.1-r0/temp/log.do_compile_kernelmodules.10693
Log data follows:
| DEBUG: Executing shell function do_compile_kernelmodules
| NOTE: make -C /u/ee209785/yocto1/build/tmp/work/imx7s_warp-poky-linux-gnueabi/linux-warp7/4.1-r0/build -j 2 modules CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd LD=arm-poky-linux-gnueabi-ld.bfd LOADADDR=0x80008000
| make: Entering directory `/u/ee209785/yocto1/build/tmp/work/imx7s_warp-poky-linux-gnueabi/linux-warp7/4.1-r0/build'
| CHK include/config/kernel.release
| GEN ./Makefile
| CHK include/generated/uapi/linux/version.h
| CHK include/generated/utsrelease.h
| Using /u/ee209785/yocto1/build/tmp/work-shared/imx7s-warp/kernel-source as source for kernel
| CC scripts/mod/empty.o
| CC scripts/mod/devicetable-offsets.s
| MKELF scripts/mod/elfconfig.h
| GEN scripts/mod/devicetable-offsets.h
| HOSTCC scripts/mod/sumversion.o
| HOSTCC scripts/mod/modpost.o
| HOSTCC scripts/mod/file2alias.o
| HOSTLD scripts/mod/modpost
| make[3]: `include/generated/mach-types.h' is up to date.
| CHK include/generated/bounds.h
| CHK include/generated/asm-offsets.h
| CALL /u/ee209785/yocto1/build/tmp/work-shared/imx7s-warp/kernel-source/scripts/checksyscalls.sh
| CC [M] drivers/net/wireless/bcmdhd/dhd_pno.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_common.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_ip.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_custom_gpio.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_linux.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_linux_sched.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_cfg80211.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_linux_wq.o
| CC [M] drivers/net/wireless/bcmdhd/aiutils.o
| CC [M] drivers/net/wireless/bcmdhd/bcmevent.o
| CC [M] drivers/net/wireless/bcmdhd/bcmutils.o
| CC [M] drivers/net/wireless/bcmdhd/bcmwifi_channels.o
| CC [M] drivers/net/wireless/bcmdhd/hndpmu.o
| CC [M] drivers/net/wireless/bcmdhd/linux_osl.o
| CC [M] drivers/net/wireless/bcmdhd/sbutils.o
| CC [M] drivers/net/wireless/bcmdhd/siutils.o
| CC [M] drivers/net/wireless/bcmdhd/wl_android.o
| CC [M] drivers/net/wireless/bcmdhd/wl_cfg80211.o
| CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o
| CC [M] drivers/net/wireless/bcmdhd/wl_cfg_btcoex.o
| CC [M] drivers/net/wireless/bcmdhd/wldev_common.o
| CC [M] drivers/net/wireless/bcmdhd/wl_linux_mon.o
| CC [M] drivers/net/wireless/bcmdhd/dhd_linux_platdev.o
| CC [M] drivers/net/wireless/bcmdhd/wl_cfgvendor.o
| LD [M] drivers/net/wireless/bcmdhd/bcmdhd.o
| Building modules, stage 2.
| MODPOST 30 modules
| ERROR: "dhd_wlfc_clear_counts" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_stop" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_is_supported" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_iovar_op" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_BCMCCredit_support_event" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_set_dotxinrx" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_watchdog" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_cleanup" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_set_rxpkt_chk" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_download_firmware" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_set_module_ignore" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_set_txstatus_ignore" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_hdrpush" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_set_mode" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "register_notifier_by_sar" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_dongle_ramsize" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_deinit" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "unregister_notifier_by_sar" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_dump" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_get_rxpkt_chk" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_txdata" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_get_module_ignore" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_get_credit_ignore" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_init" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_is_header_only_pkt" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_ioctl" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_dev_pm_stay_awake" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_console_in" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_clearcounts" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_dstats" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_attach" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_detach" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_commit_packets" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_unregister" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_save_rxpath_ac_time" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_iovar_op" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_get_txstatus_ignore" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_FIFOcreditmap_event" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_enable" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_hdrpull" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_get_enable" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_dump" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_set_credit_ignore" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_init" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_dpc" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_get_mode" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_init" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_wlfc_interface_event" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_bus_dev_pm_relax" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| ERROR: "dhd_prot_stop" [drivers/net/wireless/bcmdhd/bcmdhd.ko] undefined!
| make[3]: *** [__modpost] Error 1
| make[2]: *** [modules] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| make: Leaving directory `/u/ee209785/yocto1/build/tmp/work/imx7s_warp-poky-linux-gnueabi/linux-warp7/4.1-r0/build'
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile_kernelmodules (log file is located at /u/ee209785/yocto1/build/tmp/work/imx7s_warp-poky-linux-gnueabi/linux-warp7/4.1-r0/temp/log.do_compile_kernelmodules.10693)
ERROR: Task 63 (/u/ee209785/yocto1/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-warp7_4.1.bb, do_compile_kernelmodules) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2472 tasks of which 2468 didn't need to be rerun and 1 failed.
No currently running tasks (2472 of 2489)
Summary: 1 task failed:
/u/ee209785/yocto1/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-warp7_4.1.bb, do_compile_kernelmodules
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Hi igorpadykov,
Thanks for suggestion but I have added the BCMDHD firmware layer to the BSP but it is throwing errors while building as shown below So please suggest me what may the problem and I have added the layer in bblayer.conf file of build.
ERROR LOGS:-
=========================================================================================================
ERROR: /u/ee209785/yocto1/sources/meta-fsl-bcmdhd/recipes-bsp/firmware-bcmdhd/firmware-bcmdhd_1.0.4.bb: Error executing a python function in <code>:
The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 3, function: <module>
0001:__anon_25__u_ee209785_yocto1_sources_poky_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
0002:__anon_145__u_ee209785_yocto1_sources_poky_meta_classes_base_bbclass(d)
*** 0003:__anon_645__u_ee209785_yocto1_sources_poky_meta_classes_base_bbclass(d)
0004:__anon_60__u_ee209785_yocto1_sources_meta_fsl_arm_classes_fsl_dynamic_packagearch_bbclass(d)
0005:__anon_1319__u_ee209785_yocto1_sources_poky_meta_classes_insane_bbclass(d)
0006:__anon_242__u_ee209785_yocto1_sources_poky_meta_classes_package_bbclass(d)
0007:__anon_747__u_ee209785_yocto1_sources_poky_meta_classes_package_rpm_bbclass(d)
File: '/u/ee209785/yocto1/sources/poky/meta/classes/base.bbclass', lineno: 550, function: __anon_645__u_ee209785_yocto1_sources_poky_meta_classes_base_bbclass
0546: needsrcrev = False
0547: srcuri = d.getVar('SRC_URI', True)
0548: for uri in srcuri.split():
0549: (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
*** 0550:
0551: # HTTP/FTP use the wget fetcher
0552: if scheme in ("http", "https", "ftp"):
0553: d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
0554:
File: '/u/ee209785/yocto1/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 365, function: decodeurl
0361: """
0362:
0363: m = re.compile('(?P<type>[^:]*)://((?P<user>[^/]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
0364: if not m:
*** 0365: raise MalformedUrl(url)
0366:
0367: type = m.group('type')
0368: location = m.group('location')
0369: if not location:
Exception: MalformedUrl: The URL: '${INTERNAL_MIRROR}/firmware-bcmdhd-1.0.4.bin;fsl-eula=true' is invalid and cannot be interpreted
ERROR: /u/ee209785/yocto1/sources/meta-fsl-bcmdhd/recipes-bsp/bsa-serverandclientapps/bsa-serverandclientapps_1.0.0.bb: Error executing a python function in <code>:
The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 3, function: <module>
0001:__anon_25__u_ee209785_yocto1_sources_poky_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
0002:__anon_145__u_ee209785_yocto1_sources_poky_meta_classes_base_bbclass(d)
*** 0003:__anon_645__u_ee209785_yocto1_sources_poky_meta_classes_base_bbclass(d)
0004:__anon_60__u_ee209785_yocto1_sources_meta_fsl_arm_classes_fsl_dynamic_packagearch_bbclass(d)
0005:__anon_1319__u_ee209785_yocto1_sources_poky_meta_classes_insane_bbclass(d)
0006:__anon_242__u_ee209785_yocto1_sources_poky_meta_classes_package_bbclass(d)
0007:__anon_747__u_ee209785_yocto1_sources_poky_meta_classes_package_rpm_bbclass(d)
File: '/u/ee209785/yocto1/sources/poky/meta/classes/base.bbclass', lineno: 550, function: __anon_645__u_ee209785_yocto1_sources_poky_meta_classes_base_bbclass
0546: needsrcrev = False
0547: srcuri = d.getVar('SRC_URI', True)
0548: for uri in srcuri.split():
0549: (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
*** 0550:
0551: # HTTP/FTP use the wget fetcher
0552: if scheme in ("http", "https", "ftp"):
0553: d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
0554:
File: '/u/ee209785/yocto1/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 365, function: decodeurl
0361: """
0362:
0363: m = re.compile('(?P<type>[^:]*)://((?P<user>[^/]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
0364: if not m:
*** 0365: raise MalformedUrl(url)
0366:
0367: type = m.group('type')
0368: location = m.group('location')
0369: if not location:
Exception: MalformedUrl: The URL: '${INTERNAL_MIRROR}/BSA-ServerAndClientApps-0107.00.16.00.bin;fsl-eula=true' is invalid and cannot be interpreted
ERROR: Failed to parse recipe: /u/ee209785/yocto1/sources/meta-fsl-bcmdhd/recipes-bsp/firmware-bcmdhd/firmware-bcmdhd_1.0.4.bb
==========================================================================================================
Thanks with regards
Vinod
please post that issue on Murata support link
wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html
~igor
PLease review the following link: https://community.nxp.com/thread/434799
If you have more questions about WARP7 You can ask your question in the following external community
WaRP7 - The Next Generation IoT and Wearable De... | element14 | Design Center