Problem with wl1271
From: Ilya Ledvich <hidden>
Date: 2011-08-29 14:00:05
Hi,
I'm trying to evaluate the TI WL1271 WiFi/Bluetooth chip using the RFM's
DR-WLS1271-EV evaluation kit on our CM-T35 board.
Below is the SW and HW configuration I use:
- Linux kernel version - 3.0.3
- firmware and NVS are obtained from the David Woodhouse's tree (as
recommended
in the "wl12xx" article at the Linux Wireless wiki:
http://linuxwireless.org/en/users/Drivers/wl12xx).
According to the attached log file, the driver loads the module with
/ti-connectivity/wl1271-fw-2.bin/ firmware (Rev 6.1.5.50.74). The NVS
file used
is /ti-connectivity/wl1271-nvs.bin/
- the evaluation kit is connected to the MMC-1 interface using the
MMC/SD/SDIO
slot on our SB-T35 base board
- the /arch/arm/mach-omap2/board-cm-t35.c/ file is modified as
referenced in the
/arch/arm/mach-omap2/board-zoom-peripherals.c/. The reference clock in the
*wl12xx_platform_data* struct is set to the
*WL12XX_REFCLOCK_38*(38.4MHz) value
- the *wl12xx_debug_level* is set to the following value:
*DEBUG_IRQ | DEBUG_BOOT | DEBUG_EVENT | DEBUG_SCAN | DEBUG_PSM
| DEBUG_CMD | DEBUG_ACX | DEBUG_MASTER | DEBUG_MAILBOX*
I load the wl12xx_sdio module and then set the interface up; no obvious
error
is seen. When I run any other command (e.g. interface down/up, iwlist scan).
I have "/wl1271: ERROR ELP wakeup timeout!/" error. Then the driver
tries to
recover the chip; this eventually leads to the
"/wl1271: ERROR sdio read failed (-110)/" error. The log file for
ifconfig wlan0 up - down - up sequence is attached.
Additionally, I've tried to perform the calibration as described in the
"wl12xx
Calibrator" article at
http://linuxwireless.org/en/users/Drivers/wl12xx/calibrator
The /TQS_S_2.6.ini/ file was used in order to create reference NVS file.
The calibration
procedure has been failed. The log file is attached. I read through
"WL12XX firmware"
thread here http://www.spinics.net/lists/linux-wireless/msg52687.html.
I noticed, that usually an ERROR ELP wakeup time out means that the firmware
has crashed. Additionally, I found that the wl1271 sdio needs a special SDIO
command to wakeup the firmware properly from ELP. I'm not sure it's
completely
clear to me.
Can you please advice something?
Thank you in advance.
Best regards,
Ilya.
Attachments
- wl12xx_if_up_down_up.log [text/x-log] 116528 bytes · preview
- wl12xx_calibrate.log [text/x-log] 75373 bytes · preview