On Tue, Jun 3, 2008 at 3:03 PM, Helge Deller <[EMAIL PROTECTED]> wrote:

> Helge Deller wrote:
>
>> Koen Kooi wrote:
>>
>>> Richard just updated linux-rp 2.6.24 in .dev, could the zaurus mentors
>>> have a look at it to see if they can port the fixes to the stable branch?
>>>
>>
>> Hmm, revision 771be5e76b42e43330b225a2af3afbecdf9e9115 re-introduces the
>> WPA problem for all Zaurii:
>> http://bugs.openembedded.org/show_bug.cgi?id=4180
>>
>
> In the meantime I had some mails with Richard and backported his linux-rp
> 2.6.24 changes to -stable.
>
> It seems that WPA isn't working out of the box on Poodle, C7x0 and 860
> because the modules
> - ieee80211softmac
> - ieee80211
> - cryptomgr
> are not available in the default configuration.
> Bugzilla 4180 worked around that problem by compiling the modules
> statically into the kernel.
>
> I think this patch (copy&pasted here) should do it.
> I still need to fully test it, but it gives the idea:
>
> ============================================================
> --- conf/machine/include/zaurus-2.6.inc
> 7ecb352669b5b71228489192cdeb5826dc02b46a
> +++ conf/machine/include/zaurus-2.6.inc
> e6895a5493e38fcf250c777fb8c905754790a50d
> @@ -30,12 +30,13 @@ MACHINE_FEATURES_append_spitz = " usbhos
>  MACHINE_FEATURES_append_tosa  = " usbhost wifi "
>  MACHINE_FEATURES_append_akita = " usbhost "
>  MACHINE_FEATURES_append_spitz = " usbhost ext2 "
> +MACHINE_FEATURES_append_poodle= " wifi "

This Should not be needed. The problem is with images that use task-base
instead of task-base-exended. (IIRC this only affects the opie image right
now.) I thought that got fixed already, but I'll check when I get home
tonight.

>
>
>  MACHINE_EXTRA_RDEPENDS = "zaurusd"
>  MACHINE_EXTRA_RRECOMMENDS_c7x0   = "kernel-module-snd-soc-corgi
> kernel-module-pxa2xx-cs kernel-module-pcmcia"
>  MACHINE_EXTRA_RRECOMMENDS_akita  = "kernel-module-snd-soc-spitz
> kernel-module-pxa2xx-cs kernel-module-pcmcia"
>  MACHINE_EXTRA_RRECOMMENDS_spitz  = "kernel-module-snd-soc-spitz"
> -MACHINE_EXTRA_RRECOMMENDS_poodle = "kernel-module-snd-soc-poodle"
> +MACHINE_EXTRA_RRECOMMENDS_poodle = "kernel-module-snd-soc-poodle
> kernel-module-pxa2xx-cs kernel-module-pcmcia"
>
>  GUI_MACHINE_CLASS = "bigscreen"
>  GUI_MACHINE_CLASS_collie = "smallscreen"
> ============================================================
> --- packages/tasks/task-base.bb 461108bf3685f7346e95114839d03eebb184593b
> +++ packages/tasks/task-base.bb ca9c246238a6c68bcc66f309b47fba557151c5d2
> @@ -343,6 +343,9 @@ RRECOMMENDS_task-base-wifi = "\
>     kernel-module-ieee80211-crypt-ccmp \
>     kernel-module-ieee80211-crypt-tkip \
>     kernel-module-ieee80211-crypt-wep \
> +    kernel-module-ieee80211 \
> +    kernel-module-ieee80211softmac \
> +    kernel-module-cryptomgr \
>     kernel-module-ecb \
>     kernel-module-arc4 \
>     kernel-module-michael-mic \
>
>
> Basically I proposed the "MACHINE_FEATURES_append_poodle" patch once in
> this thread already:
> http://projects.linuxtogo.org/pipermail/angstrom-distro-devel/2008-February/001812.html
> It was discussed, but not resolved yet.
> Without this patch the wifi and crypto modules will not be copied to the
>  base image.
>
> The second change in zaurus-2.6.inc (MACHINE_EXTRA_RRECOMMENDS_poodle) was
> already suggested on the stable mailing list by Hans Henry to be backported.
> Without this patch, kernel modules for compact flash bus (and CF Wifi cards)
> will not be installed and turns the slot unusable.
>
> The third change, which adds a few crypto modules to
> RRECOMMENDS_task-base-wifi, adds the missing modules for WPA support in the
> base image.
>
> In general it would be great if this patch (or a similiar one) could go
> into -dev and -stable, as Poodle with 2.6.24 works pretty well in all other
> areas (http://linuxtogo.org/gowiki/ZaurusPoodle).
> If the patch can be accepted I'd propose to backport RP's 2.6.24 kernel
> patches as well to -stable.
>
> Helge
>



-- 
Henry von Tresckow (hvontres)
_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to