wl12xx drivers missing from PandaBoard hwpack

Bug #1202373 reported by Ben Gamari
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Linux Baseline
Fix Released
Medium
Andrey Konovalov
Linaro Ubuntu
Fix Released
Medium
Andrey Konovalov

Bug Description

In the Ubuntu image for the PandaBoard [1] the wl12xx wireless driver is missing.

[1] http://releases.linaro.org/13.06/ubuntu/panda/panda-raring_developer_20130623-376.img.gz

Ben Gamari (bgamari)
description: updated
Ben Gamari (bgamari)
summary: - wl12xx drivers missing from PandaBoard image
+ wl12xx drivers missing from PandaBoard hwpack
Fathi Boudra (fboudra)
affects: linaro → linaro-ubuntu
Changed in linaro-ubuntu:
milestone: none → 13.07
Changed in linaro-linux-baseline:
milestone: none → 13.07
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
milestone: 13.07 → 13.08
Changed in linaro-ubuntu:
milestone: 13.07 → 13.08
importance: Undecided → Medium
Changed in linaro-linux-baseline:
importance: Undecided → Medium
status: New → Confirmed
Changed in linaro-ubuntu:
status: New → Confirmed
Changed in linaro-linux-baseline:
assignee: nobody → Andrey Konovalov (andrey-konovalov)
Changed in linaro-linux-baseline:
milestone: 13.08 → 13.09
Changed in linaro-ubuntu:
milestone: 13.08 → 13.09
Revision history for this message
Ben Gamari (bgamari) wrote :

It would be really appreciated if someone could take care of this. Here's a patch against config-boards-tracking in hopes this helps move things along.

Revision history for this message
Andrey Konovalov (andrey-konovalov) wrote :

Ben, I am a bit confused by your patch. It adds both

CONFIG_WLCORE_SPI=m

and

CONFIG_WILINK_PLATFORM_DATA=y

While the latter depends on WLCORE_SDIO, and is not enabled in the WLCORE_SPI case.

Revision history for this message
Andrey Konovalov (andrey-konovalov) wrote :

For the record, with v3.11-rc6 tree I've tried the same kernel options with only CONFIG_WLCORE_SPI=m replaced by CONFIG_WLCORE_SDIO=m.
With device tree enabled and few patches posted recently to linux-arm-kernel list I got the device representing the MMC host interface connected to WiFi module created. But no devices connected to this host has been recognized.

Revision history for this message
Fathi Boudra (fboudra) wrote :
Revision history for this message
Ben Gamari (bgamari) wrote :

Is this to say this patch will be present in the October Linaro release or will it only find its way into a release through an upstream kernel release?

Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
milestone: 13.09 → 13.10
Changed in linaro-ubuntu:
milestone: 13.09 → 13.10
Revision history for this message
Ben Gamari (bgamari) wrote :

Are we really on track for having this fixed for 13.10? It's getting to the point where I really do need to get my ARM development environment running again; I'm willing to compile a kernel if it looks like this won't happen in the next Linaro release but I regardless, it would be nice to have a realistic estimate of when this will be resolved.

Revision history for this message
Ben Gamari (bgamari) wrote :

Ping? A response would be appreciated.

Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
milestone: 13.10 → 13.11
Changed in linaro-ubuntu:
milestone: 13.10 → 13.11
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
milestone: 13.11 → 13.12
Changed in linaro-ubuntu:
milestone: 13.11 → 13.12
Revision history for this message
Andrey Konovalov (andrey-konovalov) wrote :

Looks like v3.13-rc3 has finally got the fix:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/omap4-panda-common.dtsi?id=2ba2866f782f7f1c38abc3dd56d3295efd289264

I have been missing this particular part:

"SDIO card is not detected after moving pin mux to omap4_pmx_core since sdmmc5_clk pull is disabled. Enable Pull up on sdmmc5_clk to detect SDIO card."

@@ -274,7 +265,7 @@
pinctrl-single,pins = <
0x38 (PIN_INPUT | MUX_MODE3) /* gpmc_ncs2.gpio_52 */
0x3a (PIN_INPUT | MUX_MODE3) /* gpmc_ncs3.gpio_53 */
- 0x108 (PIN_OUTPUT | MUX_MODE0) /* sdmmc5_clk.sdmmc5_clk */
+ 0x108 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_clk.sdmmc5_clk */
0x10a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_cmd.sdmmc5_cmd */
0x10c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat0.sdmmc5_dat0 */
0x10e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc5_dat1.sdmmc5_dat1 */

After moving to v3.13-rc3, the wl12xx hardware is detected, the modules are loaded. Need to add the firmware (for the driver to load into the wifi controller), and update the hwpack manifest, and we should get wifi working again (hopefully). The 13.12 looks like realistic milestone.

Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
milestone: 13.12 → 14.01
Changed in linaro-linux-baseline:
milestone: 13.12 → 14.01
Revision history for this message
Fathi Boudra (fboudra) wrote :

Andrey, wrt your last comment it was planned to be fixed for 13.12 cycle. What's the latest status update?

Changed in linaro-ubuntu:
milestone: 14.01 → 14.03
Fathi Boudra (fboudra)
Changed in linaro-linux-baseline:
milestone: 14.01 → 14.03
Revision history for this message
Andrey Konovalov (andrey-konovalov) wrote :

Fathi,
I would set this bug status to Fix Released.

1) The WiFi driver is included into the kernel (linaro/configs/panda.conf has:
 CONFIG_WL_TI=y
CONFIG_WL12XX=m
CONFIG_WLCORE=m
CONFIG_WLCORE_SDIO=m
CONFIG_WILINK_PLATFORM_DATA=y).
2) The firmware update was required for older, quantal based hwpacks due to mainline commit 0e284c074ef96554 "wl12xx: increase minimum singlerole firmware version required". The linux-firmware_1.117+linaro1_all.deb package in the current hwpack is recent enough, and doesn't require any update.
3) I was going to updated the hwpack manifest to enable wlan0 by default, bit this doesn't make sense. The enabling is done by adding "auto wlan0" etc to /etc/network/interfaces, and this is not possible to provide a universal wlan configuration this way - additional manual wifi configuration is still needed. So the best option here is to leave wifi configuration to the end user, and do not enable wifi in the hwpack manifest

So currently WiFi does work on Panda ES (though there are reports that it doesn't always work - see e.g. bug 1164329). And WiFi doesn't work on Panda 4430 (bug 1128761). But all these issues are not the "wl12xx drivers missing from PandaBoard hwpack" case, and should be tracked under separate bugs.

Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
milestone: 14.03 → 14.02
Changed in linaro-linux-baseline:
status: Confirmed → Fix Released
Changed in linaro-ubuntu:
status: Confirmed → Fix Released
Changed in linaro-linux-baseline:
milestone: 14.03 → 14.02
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.