WL12XX for OpenMoko on HTC-Dream

David Lanzendörfer david.lanzendoerfer at o2s.ch
Wed Jul 29 04:57:19 CEST 2009


Hi at all.
I'm working on a free driver for the WLAN-Chip in the G1.
But the kernel [1] gives alway an error [2].
Does anyone have an idea how I could get this problem fixed?

greatings leviathan

[1] http://pub.o2s.ch/pub/openmoko-msm-2.6.29.tar.bz2

[2]
[   57.266998] cfg80211: Calling CRDA for country: US
[   57.591735] wl12xx: registering driver
[   57.592010] trout_wifi_power: 1
[   57.796386] trout_wifi_reset: 0
[   57.847412] trout_wifi_set_carddetect: 1
[   57.847442] mmc0: card_present 1
[   57.847473] mmc0: Slot status change detected (0 -> 1)
[   60.360046] mmc0: Command timeout
[   60.366943] mmc0: card claims to support voltages below the defined range. 
These will be ignored.
[   60.367034] mmc0: SDIO card claims to support the incompletely defined 'low 
voltage range'. This will be ignored.
[   60.369720] mmc0: new SDIO card at address 0001
[   60.397216] wl12xx: in probe
[   60.398193] wmaster0 (wl12xx_sdio): not using net_device_ops yet
[   60.399719] phy0: Selected rate control algorithm 'minstrel'
[   60.519439] wlan0 (wl12xx_sdio): not using net_device_ops yet
[   60.523376] wl12xx: loaded
[   60.524566] wl12xx: initialized
[   61.516510] wl12xx_sdio mmc0:0001:1: firmware: requesting wl1251-fw.bin
[   61.673034] wl12xx_sdio mmc0:0001:1: firmware: requesting wl1251-nvs.bin
[   64.372253] ------------[ cut here ]------------
[   64.372283] WARNING: at kernel/irq/manage.c:222 __enable_irq+0x40/0x70()
[   64.372314] Unbalanced enable for IRQ 0
[   64.372344] Modules linked in: wl12xx_sdio wl12xx mac80211 cfg80211 ipv6
[   64.372406] [<c0028714>] (dump_stack+0x0/0x14) from [<c004d880>] 
(warn_slowpath+0x70/0x8c)
[   64.372467] [<c004d810>] (warn_slowpath+0x0/0x8c) from [<c0079e30>] 
(__enable_irq+0x40/0x70)
[   64.372528]  r3:00000000 r2:c02eb3e0
[   64.372558]  r7:c63527c8 r6:c6352cdc r5:00000000 r4:c0336f8c
[   64.372589] [<c0079df0>] (__enable_irq+0x0/0x70) from [<c007a21c>] 
(enable_irq+0x40/0x6c)
[   64.372650]  r4:a0000013
[   64.372680] [<c007a1dc>] (enable_irq+0x0/0x6c) from [<bf0819a8>] 
(wl12xx_boot_run_firmware+0xf0/0x16c [wl12xx])
[   64.372894]  r5:00000070 r4:c6352cc0
[   64.372924] [<bf0818b8>] (wl12xx_boot_run_firmware+0x0/0x16c [wl12xx]) from 
[<bf0825ac>] (wl1251_boot+0xd4/0x108 [wl12xx])
[   64.373138]  r5:00000000 r4:c6352cc0
[   64.373168] [<bf0824d8>] (wl1251_boot+0x0/0x108 [wl12xx]) from [<bf07f084>] 
(wl12xx_op_start+0x58/0xbc [wl12xx])
[   64.373352]  r5:00000000 r4:c6352cc0
[   64.373382] [<bf07f02c>] (wl12xx_op_start+0x0/0xbc [wl12xx]) from 
[<bf063d78>] (ieee80211_open+0x30c/0x7c0 [mac80211])
[   64.373718]  r6:c6349360 r5:c6352180 r4:c6349000
[   64.373779] [<bf063a6c>] (ieee80211_open+0x0/0x7c0 [mac80211]) from 
[<c01f0dac>] (dev_open+0x9c/0xfc)
[   64.373992] [<c01f0d10>] (dev_open+0x0/0xfc) from [<c01efac0>] 
(dev_change_flags+0x98/0x170)
[   64.374053]  r5:00000041 r4:c6349000
[   64.374084] [<c01efa28>] (dev_change_flags+0x0/0x170) from [<c0233d80>] 
(devinet_ioctl+0x370/0x798)
[   64.374145]  r7:00000001 r6:c6345e78 r5:00000000 r4:00008914
[   64.374176] [<c0233a10>] (devinet_ioctl+0x0/0x798) from [<c0234da4>] 
(inet_ioctl+0xd0/0xfc)
[   64.374237] [<c0234cd4>] (inet_ioctl+0x0/0xfc) from [<c01e1974>] 
(sock_ioctl+0x1f4/0x250)
[   64.374328] [<c01e1780>] (sock_ioctl+0x0/0x250) from [<c00b4650>] 
(vfs_ioctl+0x38/0x98)
[   64.374389]  r7:00000036 r6:be9f2ae0 r5:00008914 r4:c61f1e60
[   64.374420] [<c00b4618>] (vfs_ioctl+0x0/0x98) from [<c00b4ca0>] 
(do_vfs_ioctl+0x4f8/0x56c)
[   64.374481]  r6:be9f2ae0 r5:00000003 r4:c61f1e60
[   64.374511] [<c00b47a8>] (do_vfs_ioctl+0x0/0x56c) from [<c00b4d54>] 
(sys_ioctl+0x40/0x64)
[   64.374572]  r9:c6344000 r8:c0024f24 r6:00008914 r5:fffffff7 r4:c61f1e60
[   64.374633] [<c00b4d14>] (sys_ioctl+0x0/0x64) from [<c0024da0>] 
(ret_fast_syscall+0x0/0x2c)
[   64.374694]  r6:be9f2f62 r5:00001043 r4:00086960
[   64.374755] ---[ end trace 781e56170b9d3a72 ]---
[   64.546203] wl12xx: 151 tx blocks at 0x3b788, 35 rx blocks at 0x3a780
[   64.546691] wl12xx: firmware booted (Rev 4.0.4.3.5)
[   64.565521] ADDRCONF(NETDEV_UP): wlan0: link is not ready

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/devel/attachments/20090729/10a3c991/attachment.pgp 


More information about the devel mailing list