[Gta04-owner] Linux 3.2-rc4 - now with wifi
Lukas Märdian
lukasmaerdian at googlemail.com
Fri Dec 9 17:03:04 CET 2011
On 03.12.2011 06:31, NeilBrown wrote:
>
> hi all,
>
> I've updated my mainline gta04 kernel tree to 3.2-rc4.
> git://neil.brown.name/gta04 merge
>
>
> The main new functionality is wireless. The details for enabling wireless
> are slightly different than with the hw-validation kernel.
>
> 1/ the reset line is /sys/class/gpio/gta04:wlan:reset
> write 0 to reset, 1 to release the reset
> The "reset" line is active-low.
>
> 2/ After power-on and reset you need to trigger a card-detect signal.
> This requires making gpio/gta:wlan/cd go high, then low. Card-detect
> is active-low too.
>
Hey Neil,
I probably discovered a bug in your code, while trying to compile this
kernel with openembedded.
I was using an older defconfig, which didn't have the option
CONFIG_LEDS_TCA6507 set.
This caused the following error:
arch/arm/mach-omap2/board-omap3gta04.c: In function 'inout_setup_gpio':
arch/arm/mach-omap2/board-omap3gta04.c:802:15: error: 'GPIO_WIFI_RESET'
undeclared (first use in this function)
arch/arm/mach-omap2/board-omap3gta04.c:802:15: note: each undeclared
identifier is reported only once for each function it appears in
arch/arm/mach-omap2/board-omap3gta04.c: At top level:
arch/arm/mach-omap2/board-omap3gta04.c:811:15: error: 'GPIO_WIFI_RESET'
undeclared here (not in a function)
arch/arm/mach-omap2/board-omap3gta04.c:211:31: warning:
'gta04_dvi_device' defined but not used [-Wunused-variable]
arch/arm/mach-omap2/board-omap3gta04.c:317:31: warning:
'gta04_tv_device' defined but not used [-Wunused-variable]
make[1]: *** [arch/arm/mach-omap2/board-omap3gta04.o] Error 1
You're using GPIO_WIFI_RESET, which could potentially not be set.
I don't have a patch at hand, as I'm a kernel novice, but i guess this
could easily be fixed.
BR,
Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20111209/2282fd3e/attachment.bin>
More information about the Gta04-owner
mailing list