Hi
We used yocto setup cross toolchain and yocto setup version 1.7 ,yocto kernel source 3.14.28 version.and followed mentioned ti link.
Target Board is imx6qsabresd boar.
We used kernel version 3.14.28,as per ti guide lines we compiled the source and generated wl18xx.ko and wl12xx.ko,wlcorexx.ko compact driver.ko also generated .
WL18xx System Build Scripts - Texas Instruments Wiki we followed this link instructions and generated .kos but this one takes from default kernel version 3.18
we checked makefile src/compat_wireless/compat/Makefile
# Kernel backport compatibility code
compat-$(CPTCFG_KERNEL_3_0) += compat-3.0.o
compat-$(CPTCFG_KERNEL_3_1) += compat-3.1.o
compat-$(CPTCFG_KERNEL_3_2) += backport-3.2.o
compat-$(CPTCFG_KERNEL_3_3) += compat-3.3.o
compat-$(CPTCFG_KERNEL_3_4) += compat-3.4.o
compat-$(CPTCFG_KERNEL_3_5) += compat-3.5.o user_namespace.o
compat-$(CPTCFG_KERNEL_3_6) += compat-3.6.o
compat-$(CPTCFG_KERNEL_3_7) += compat-3.7.o
compat-$(CPTCFG_KERNEL_3_8) += compat-3.8.o
compat-$(CPTCFG_KERNEL_3_9) += compat-3.9.o
compat-$(CPTCFG_KERNEL_3_10) += backport-3.10.o
compat-$(CPTCFG_KERNEL_3_12) += backport-3.12.o
compat-$(CPTCFG_KERNEL_3_13) += backport-3.13.o
compat-$(CPTCFG_KERNEL_3_14) += backport-3.14.o
compat-$(CPTCFG_KERNEL_3_15) += backport-3.15.o
compat-$(CPTCFG_KERNEL_3_17) += backport-3.17.o
compat-$(CPTCFG_KERNEL_3_18) += backport-3.18.o
compat-$(CPTCFG_KERNEL_3_19) += backport-3.19.o
compat-$(CPTCFG_KERNEL_4_1) += backport-4.1.o
But its take from backport-3.18 version actual version is 3.14.
Those .ko s and zImage and imx6q-sabresd.dtb files copied into the sd card.
when boot up the board wifi logs not showing in bootup wifi kernel logs and then enter into the root.
on target board
$insmod wl18xx.ko like this i run all .ko s but actually showing below logs
insmod cfg80211.ko
cfg80211: disagrees about version of symbol skb_copy_bits
cfg80211: Unknown symbol skb_copy_bits (err -22)
cfg80211: disagrees about version of symbol rfkill_unregister
cfg80211: Unknown symbol rfkill_unregister (err -22)
cfg80211: disagrees about version of symbol skb_put
cfg80211: Unknown symbol skb_put (err -22)
cfg80211: disagrees about version of symbol consume_skb
cfg80211: Unknown symbol consume_skb (err -22)
cfg80211: disagrees about version of symbol rfkill_blocked
cfg80211: Unknown symbol rfkill_blocked (err -22)
cfg80211: disagrees about version of symbol rfkill_destroy
cfg80211: Unknown symbol rfkill_destroy (err -22)
cfg80211: disagrees about version of symbol genlmsg_multicast_allns
cfg80211: Unknown symbol genlmsg_multicast_allns (err -22)
cfg80211: disagrees about version of symbol pskb_expand_head
cfg80211: Unknown symbol pskb_expand_head (err -22)
cfg80211: disagrees about version of symbol kfree_skb
cfg80211: Unknown symbol kfree_skb (err -22)
cfg80211: disagrees about version of symbol netlink_broadcast
cfg80211: Unknown symbol netlink_broadcast (err -22)
cfg80211: disagrees about version of symbol __alloc_skb
cfg80211: Unknown symbol __alloc_skb (err -22)
cfg80211: disagrees about version of symbol rfkill_resume_polling
cfg80211: Unknown symbol rfkill_resume_polling (err -22)
cfg80211: disagrees about version of symbol kobject_uevent_env
cfg80211: Unknown symbol kobject_uevent_env (err -22)
cfg80211: disagrees about version of symbol __dev_get_by_index
cfg80211: Unknown symbol __dev_get_by_index (err -22)
cfg80211: disagrees about version of symbol skb_pull
cfg80211: Unknown symbol skb_pull (err -22)
cfg80211: disagrees about version of symbol genl_register_family_with_ops
cfg80211: Unknown symbol genl_register_family_with_ops (err -22)
cfg80211: disagrees about version of symbol rfkill_pause_polling
cfg80211: Unknown symbol rfkill_pause_polling (err -22)
cfg80211: disagrees about version of symbol netlink_unicast
cfg80211: Unknown symbol netlink_unicast (err -22)
cfg80211: disagrees about version of symbol dev_get_by_index
cfg80211: Unknown symbol dev_get_by_index (err -22)
cfg80211: disagrees about version of symbol dev_close
cfg80211: Unknown symbol dev_close (err -22)
cfg80211: disagrees about version of symbol skb_push
cfg80211: Unknown symbol skb_push (err -22)
cfg80211: disagrees about version of symbol wireless_send_event
cfg80211: Unknown symbol wireless_send_event (err -22)
cfg80211: disagrees about version of symbol nla_put
cfg80211: Unknown symbol nla_put (err -22)
cfg80211: disagrees about version of symbol rfkill_set_hw_state
cfg80211: Unknown symbol rfkill_set_hw_state (err -22)
cfg80211: disagrees about version of symbol ethtool_op_get_link
cfg80211: Unknown symbol ethtool_op_get_link (err -22)
cfg80211: disagrees about version of symbol rfkill_alloc
cfg80211: Unknown symbol rfkill_alloc (err -22)
cfg80211: disagrees about version of symbol dev_alloc_skb
cfg80211: Unknown symbol dev_alloc_skb (err -22)
cfg80211: disagrees about version of symbol __pskb_pull_tail
cfg80211: Unknown symbol __pskb_pull_tail (err -22)
cfg80211: disagrees about version of symbol skb_trim
cfg80211: Unknown symbol skb_trim (err -22)
cfg80211: disagrees about version of symbol rfkill_register
cfg80211: Unknown symbol rfkill_register (err -22)
cfg80211: disagrees about version of symbol dev_change_net_namespace
cfg80211: Unknown symbol dev_change_net_namespace (err -22)
cfg80211: disagrees about version of symbol rfkill_set_sw_state
cfg80211: Unknown symbol rfkill_set_sw_state (err -22)
insmod: can't insert 'cfg80211.ko': Invalid argument
how to resolve this issue.Can u any body help me.
Thanks & Regards
veeranjaneyulu
Hi guyz,
finally i got .ko's and succesfully installed on target board .
we followed ti above link guide lines and we applied patches one by one on kernel source.and inserted .ko successfully.
WL18xx System Build Scripts - Texas Instruments Wiki steps
After applying patches we did kernel compilation and all then run below command
./build_wl18xx.sh modules build
finally we inserted.
root@imx6qsabresd:~# lsmod
Module Size Used by
wl12xx 55685 0
wl18xx 88934 0
wlcore_sdio 7643 0
wlcore 207787 2 wl12xx,wl18xx
mac80211 400518 3 wl12xx,wl18xx,wlcore
cfg80211 215973 3 mac80211,wl18xx,wlcore
compat 22976 5 cfg80211,mac80211,wl12xx,wl18xx,wlcore_sdio
ov5642_camera 79898 0
mxc_v4l2_capture 42575 1
ipu_bg_overlay_sdc 5853 1 mxc_v4l2_capture
ipu_still 2339 1 mxc_v4l2_capture