This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello everyone,
we found some problems with the form Tiwi-ble.
We are using a Freescale processor iMX6 DL with Android 4.2.2. The kernel version is 3.0.35.
The wireless device is connected on SDIO following the pinout of the datasheet, all signals are at 1.8V power except on VBAT at 3.3.
I downloaded the package build-utilites.tgz, following the instructions of the link processors.wiki.ti.com/.../WL12xx_NLCP_Build_Instructions.
I set the file "setup-env" with our toolchain:
# \\\//
# -(o o)-
#========================oOO==(_)==OOo=======================
#
# This file contains the exports needed for automating the
# build process of WLAN/Bluetooth components.
# Place this file in the same directory with wl12xx_build.sh/wl12xx_build_bt.sh
# build scripts. No need to run 'source setup-env', the build
# scripts will perfom it internaly.
#
#===========================================================
# User specific environment settings
export CROSS_COMPILE="arm-eabi-"
export PATH="$PATH:/home/user/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/"
export ROOTFS=/home/user/Desktop/TI
export WORK_SPACE=/home/user/Desktop/build-utilites
export KLIB_BUILD=/home/user/myandroid/kernel_imx
export BUILD_VERSION="ol_R5.SP7.01"
# MACHINE_TYPE - The target machine type. Can have one of the following values: "am1808" , "omap3evm" , "am335x"
# This is needed to build bluetooth components.
# This parameter is not relevant for ti814x board.
#export MACHINE_TYPE="am335x"
#===========================================================
export ARCH="arm"
export MY_PREFIX="/usr"
export MY_SYSCONFDIR="/etc"
export MY_LOCALSTATEDIR="/var"
export CC="${CROSS_COMPILE}gcc"
export CXX="${CROSS_COMPILE}g++"
export AR="${CROSS_COMPILE}ar"
export RANLIB="${CROSS_COMPILE}ranlib"
export CFLAGS="${CFLAGS} -I${ROOTFS}${MY_PREFIX}/include"
export CPPFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS} -L${ROOTFS}${MY_PREFIX}/lib"
export PKG_CONFIG_SYSROOT_DIR=${ROOTFS}
export PKG_CONFIG_PATH="${ROOTFS}${MY_PREFIX}/lib/pkgconfig:${ROOTFS}/lib/pkgconfig"
export PKG_CONFIG_LIBDIR=""
export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=""
export PKG_CONFIG_ALLOW_SYSTEM_LIBS=""
LS=/bin/ls
but when I run the script "./wl12xx_build.sh Wl12xx_modules install" gives me the following output:
./wl12xx_build.sh wl12xx_modules install
Checking python ... OK
Checking python-M2Crypto ... OK
Checking bash ... OK
Checking bison ... OK
Checking flex ... OK
Checking perl ... OK
Checking bc ... OK
Checking corkscrew ... OK
Cloning into wl12xx ...
git@git.ti.com's password:
Watching on some forums looking wl12xx_build.sh editing the file as follows:
declare -A wl12xx_download_target = "git: //git.ti.com/wl12xx/wl12xx.git"
declare -A wl12xx_tag = $ {} gen_tag
declare -A compatwireless_download_target = "git: //git.ti.com/wl12xx/compat-wireless.git"
declare -A compat_wireless_tag = $ {} gen_tag
declare -A compat_download_target = "git: //git.ti.com/wl12xx/compat.git"
declare -A compat_tag = $ {} gen_tag
declare -A iw_download_target = "git: //git.sipsolutions.net/iw.git"
declare -A iw_tag = "0a236ef5f8e4ba7218aac7d0cdacf45673d5b35c"
declare -A ti_utils_download_target = "git: //git.ti.com/wl12xx/ti-utils.git"
declare -A ti_utils_commit_id = $ {} gen_tag
declare -A hostap_download_target = "git: //git.ti.com/wl12xx/hostap.git"
declare -A hostap_commit_id = $ {} gen_tag
rerunning the script :
./wl12xx_build.sh wl12xx_modules install
Checking python...OK
Checking python-m2crypto...OK
Checking bash...OK
Checking bison...OK
Checking flex...OK
Checking perl...OK
Checking bc...OK
Checking corkscrew...OK
Cloning into wl12xx...
remote: Counting objects: 2379211, done.
remote: Compressing objects: 100% (366483/366483), done.
remote: Total 2379211 (delta 1990165), reused 2379211 (delta 1990165)
Receiving objects: 100% (2379211/2379211), 519.88 MiB | 1.10 MiB/s, done.
Resolving deltas: 100% (1990165/1990165), done.
git wl12xx cloned.
fatal: ambiguous argument 'ol_R5.SP8.01': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
What's the problem ?
Best Regards
Domenico Acri
Hello,
it is clear TI poorly maintains this build script. Open and edit wl12xx_build.sh script. At the top you have:
1 #!/bin/bash
2
3 declare -A gen_tag="ol_R5.SP8.01"
Change that to "ol_R5.SP7.01".
I think this is due to the fact version "ol_R5.SP8.01" is a separate branch, while "ol_R5.SP7.01" has been marked by a tag. This script works with tags?
You can also try to edit this script...
Hello Primoz Fiser,
thanks for the reply.
The following link http://we.tl/ScP2PM0jpm can download the script.
The output with the change to the tag :
/home/user/Desktop/build-utilites/compat-wireless/drivers/net/ethernet/broadcom/b44.c:13:0: warning: "pr_fmt" redefined [enabled by default]
include/linux/printk.h:152:0: note: this is the location of the previous definition
/home/user/Desktop/build-utilites/compat-wireless/drivers/net/ethernet/broadcom/b44.c: In function 'b44_pci_init':
/home/user/Desktop/build-utilites/compat-wireless/drivers/net/ethernet/broadcom/b44.c:2337:2: error: implicit declaration of function 'ssb_pcihost_register' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/home/user/Desktop/build-utilites/compat-wireless/drivers/net/ethernet/broadcom/b44.o] Error 1
make[2]: *** [/home/user/Desktop/build-utilites/compat-wireless/drivers/net/ethernet/broadcom] Error 2
make[1]: *** [_module_/home/user/Desktop/build-utilites/compat-wireless] Error 2
make[1]: Leaving directory `/home/user/myandroid/kernel_imx'
make: *** [modules] Error 2
It seems there are serious problems with the package build-utilites.
You could have the source file and / or build-utilites working?
Best Regards
Domenico Acri
Hello,
I actually didn't have success with this script mainly due to the fact I have a platform with unsupported kernel version (2.6.32). I went with compat-wireless driver version istead of TI's.
At first glance I would suggest you to try to build without script. Looking into source (wl12xx_build.sh):
67 function compat-wireless() 68 { 69 stage=$1 70 71 72 if [ x"$stage" = "xdownload" -o x"$stage" = "xall" ] 73 then 74 cd ${WORK_SPACE} 75 git_clone ${wl12xx_download_target} wl12xx 76 cd ${WORK_SPACE}/wl12xx 77 git reset --hard ${wl12xx_tag} || exit 1 78 cd ${WORK_SPACE} 79 git_clone ${compat_download_target} compat 80 cd ${WORK_SPACE}/compat 81 git reset --hard ${compat_tag} || exit 1 82 cd ${WORK_SPACE} 83 git_clone ${compatwireless_download_target} compat-wireless 84 cd ${WORK_SPACE}/compat-wireless 85 git reset --hard ${compat_wireless_tag} || exit 1 86 fi 87 if [ x"$stage" = "xbuild" -o x"$stage" = "xall" ] 88 then 89 cd ${WORK_SPACE}/compat-wireless 90 ./scripts/admin-update.sh 91 ./scripts/driver-select wl12xx 92 patch -p1 -i ${old_dir}/patches/0001-wl12xx-additional-two-members-for-wl12xx_platform_da.patch || exit 1 93 make KLIB_BUILD=${KLIB_BUILD} KLIB=${ROOTFS} || exit 1 94 fi 95 if [ x"$stage" = "xinstall" -o x"$stage" = "xall" ] 96 then 97 cd ${WORK_SPACE}/compat-wireless 98 make KLIB_BUILD=${KLIB_BUILD} KLIB=${ROOTFS} install-modules 99 fi 100 101 if [ x"$stage" = "xclean" ] 102 then 103 cd $WORK_SPACE/compat-wireless 104 #make KLIB=${ROOTFS} uninstall 105 cd $WORK_SPACE && rm -rf compat-wireless 106 fi 107 108 cd $WORK_SPACE 109 }
you can see what the script does (code line numbers #89-93). Ofcourse don't forget to enable all the mandatory options in you kernel source. Also export all variables (ARCH, CROSS_COMPILE, KLIB,....).
Hello,
I use a kernel 3.0.35 where I exported modules cfg80211.ko, mac80211.ko, wl12xx.ko, wl12xx_sdio.ko.
As for the firmware, I downloaded the package at the following link github.com/.../ti-utils.
Load the following modules with insmod:
cfg80211.ko
mac80211.ko
wl12xx.ko
wl12xx_sdio.ko
insmod wl12xx_sdio.ko:
add wake up source irq 105
wl1271: loaded
wl1271: initialized
caliber form:
rm /system/etc//firmware/ti-connectivity/wl127x-nvs.bin
rmmod wl12xx_sdio.ko
calibrator plt autocalibrate wlan0 /system/lib/modules/wl12xx_sdio.ko /ini/TQS_S_2.6.ini /system/etc/firmware/ti-connectivity/wl1271-nvs.bin 00: 00: 00: 00: 00: 00
add wake up source irq 105
wl1271: loaded
wl1271: initialized
wl1271: power up
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:349 mmc_wait_for_cmd+0x94/0x9c()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c)
[<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043ed84>] (sdio_disable_func+0x4c/0x144)
[<c043ed84>] (sdio_disable_func+0x4c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7ed ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:169 mmc_start_request+0x17c/0x220()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434b0c>] (mmc_start_request+0x17c/0x220)
[<c0434b0c>] (mmc_start_request+0x17c/0x220) from [<c0434e24>] (mmc_wait_for_req+0x38/0x4c)
[<c0434e24>] (mmc_wait_for_req+0x38/0x4c) from [<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c)
[<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043ed84>] (sdio_disable_func+0x4c/0x144)
[<c043ed84>] (sdio_disable_func+0x4c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7ee ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:349 mmc_wait_for_cmd+0x94/0x9c()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c)
[<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043edd4>] (sdio_disable_func+0x9c/0x144)
[<c043edd4>] (sdio_disable_func+0x9c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7ef ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:169 mmc_start_request+0x17c/0x220()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434b0c>] (mmc_start_request+0x17c/0x220)
[<c0434b0c>] (mmc_start_request+0x17c/0x220) from [<c0434e24>] (mmc_wait_for_req+0x38/0x4c)
[<c0434e24>] (mmc_wait_for_req+0x38/0x4c) from [<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c)
[<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043edd4>] (sdio_disable_func+0x9c/0x144)
[<c043edd4>] (sdio_disable_func+0x9c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f0 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:712 mmc_release_host+0x3c/0x44()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0435aa4>] (mmc_release_host+0x3c/0x44)
[<c0435aa4>] (mmc_release_host+0x3c/0x44) from [<bf0a7574>] (wl1271_sdio_set_power+0x60/0x84 [wl12xx_sdio])
[<bf0a7574>] (wl1271_sdio_set_power+0x60/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f1 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:349 mmc_wait_for_cmd+0x94/0x9c()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c)
[<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043ed84>] (sdio_disable_func+0x4c/0x144)
[<c043ed84>] (sdio_disable_func+0x4c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f2 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:169 mmc_start_request+0x17c/0x220()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434b0c>] (mmc_start_request+0x17c/0x220)
[<c0434b0c>] (mmc_start_request+0x17c/0x220) from [<c0434e24>] (mmc_wait_for_req+0x38/0x4c)
[<c0434e24>] (mmc_wait_for_req+0x38/0x4c) from [<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c)
[<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043ed84>] (sdio_disable_func+0x4c/0x144)
[<c043ed84>] (sdio_disable_func+0x4c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f3 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:712 mmc_release_host+0x3c/0x44()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0435aa4>] (mmc_release_host+0x3c/0x44)
[<c0435aa4>] (mmc_release_host+0x3c/0x44) from [<bf0a7574>] (wl1271_sdio_set_power+0x60/0x84 [wl12xx_sdio])
[<bf0a7574>] (wl1271_sdio_set_power+0x60/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f4 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:349 mmc_wait_for_cmd+0x94/0x9c()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c)
[<c0434ecc>] (mmc_wait_for_cmd+0x94/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043ed84>] (sdio_disable_func+0x4c/0x144)
[<c043ed84>] (sdio_disable_func+0x4c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f5 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:169 mmc_start_request+0x17c/0x220()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0434b0c>] (mmc_start_request+0x17c/0x220)
[<c0434b0c>] (mmc_start_request+0x17c/0x220) from [<c0434e24>] (mmc_wait_for_req+0x38/0x4c)
[<c0434e24>] (mmc_wait_for_req+0x38/0x4c) from [<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c)
[<c0434eb4>] (mmc_wait_for_cmd+0x7c/0x9c) from [<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134)
[<c043d688>] (mmc_io_rw_direct_host+0xa0/0x134) from [<c043ed84>] (sdio_disable_func+0x4c/0x144)
[<c043ed84>] (sdio_disable_func+0x4c/0x144) from [<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio])
[<bf0a756c>] (wl1271_sdio_set_power+0x58/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f6 ]---
------------[ cut here ]------------
WARNING: at drivers/mmc/core/core.c:712 mmc_release_host+0x3c/0x44()
Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211
[<c004dfc4>] (unwind_backtrace+0x0/0x138) from [<c0085cf0>] (warn_slowpath_common+0x4c/0x64)
[<c0085cf0>] (warn_slowpath_common+0x4c/0x64) from [<c0085d24>] (warn_slowpath_null+0x1c/0x24)
[<c0085d24>] (warn_slowpath_null+0x1c/0x24) from [<c0435aa4>] (mmc_release_host+0x3c/0x44)
[<c0435aa4>] (mmc_release_host+0x3c/0x44) from [<bf0a7574>] (wl1271_sdio_set_power+0x60/0x84 [wl12xx_sdio])
[<bf0a7574>] (wl1271_sdio_set_power+0x60/0x84 [wl12xx_sdio]) from [<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx])
[<bf079944>] (wl1271_plt_start+0x280/0x3ac [wl12xx]) from [<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx])
[<bf089fec>] (wl1271_tm_cmd+0x3e0/0x4e4 [wl12xx]) from [<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211])
[<bf048680>] (ieee80211_testmode_cmd+0x24/0x40 [mac80211]) from [<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211])
[<bf007ed4>] (nl80211_testmode_do+0x50/0x64 [cfg80211]) from [<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0)
[<c0524aa0>] (genl_rcv_msg+0x1bc/0x1f0) from [<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8)
[<c0523fc8>] (netlink_rcv_skb+0xbc/0xd8) from [<c05248dc>] (genl_rcv+0x1c/0x24)
[<c05248dc>] (genl_rcv+0x1c/0x24) from [<c0523948>] (netlink_unicast+0x2a0/0x2fc)
[<c0523948>] (netlink_unicast+0x2a0/0x2fc) from [<c0523ccc>] (netlink_sendmsg+0x288/0x300)
[<c0523ccc>] (netlink_sendmsg+0x288/0x300) from [<c04ea8c0>] (sock_sendmsg+0x9c/0xbc)
[<c04ea8c0>] (sock_sendmsg+0x9c/0xbc) from [<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4)
[<c04ebe64>] (__sys_sendmsg+0x2bc/0x2d4) from [<c04ec920>] (sys_sendmsg+0x3c/0x68)
[<c04ec920>] (sys_sendmsg+0x3c/0x68) from [<c0046900>] (ret_fast_syscall+0x0/0x30)
---[ end trace 638acfda5ba3b7f7 ]---
wl1271: ERROR firmware boot in PLT mode failed despite 3 retries
Fail to set PLT power mode on
remove wake up source irq 105
wl1271: unloaded
Calibration not complete. Removing half-baked nvs
There seem to be problems loading the firmware.
What's the problem?
Best Regards
Domenico Acri
Hello Joseph,
Thank you for your answer.
I've already tried to give the command "ifconfig wlan0 up" but with the same result.
Other suggestions?
Best Regards,
Domenico Acri