* Compability Issue regarding Freescale i.MX356 and Marvell 88w8688 Wifi-Module
@ 2011-11-09 9:13 Harald Freitag
2011-11-09 9:39 ` Hauke Mehrtens
0 siblings, 1 reply; 3+ messages in thread
From: Harald Freitag @ 2011-11-09 9:13 UTC (permalink / raw)
To: linux-wireless
Hello!
I am a student from Germany currently working on a solution to combine the Freescale i.MX356 application processor with the Marvell 88w8688 Wifi-Module over the SDIO interface of the processor.
My main problem is that the application processor of Freescale got an embedded linux 2.6.31 system including the necessary driver support (specially for the SDIO interface) implemented and the driver for the Marvell 88w8688 Wifi-Module is coming with a linux 2.6.35 firmware/driver support.
Now the question is, how do I get them both working together? (I am still a novice on that field of expertise!)
Option 1: Backporting the Marvell 88w8688 SDIO driver from linux 2.6.35 to 2.6.31
Option 2: Finding an older Marvell 88w8688 SDIO compatible with linux 2.6.31
I already did some research (on http://kernelnewbies.org/) trying to figure out what general differences and changes in the libertas driver support have been made (with moderate success, since I am still lacking quite alot of the necessary coding understanding).
I also downloaded the latest software/firmware packages from Freescale and Marvell in order to learn something about the functionality of SDIO interface drivers (pretty much hitting a wall though...).
After some time looking through the archives here on "http://linuxwireless.org/" and on "http://lists.infradead.org/mailman/listinfo/libertas-dev" I saw a few articles that could be partially helpful for my problem, but that didnt got me very far yet...
Since the embedded linux 2.6.31 system on the application processor got already adapted and configured for the intended feature support, it is not an option to upgrade/patch the linux system on the application processor.
I would be most grateful for any helpful information regarding this issue or hint towards the right place to look, if there have been similar problems solved/delt with in the past.
Thank you very much and I appreciate that you took some time reading through this...
Regards Harald
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compability Issue regarding Freescale i.MX356 and Marvell 88w8688 Wifi-Module
2011-11-09 9:13 Compability Issue regarding Freescale i.MX356 and Marvell 88w8688 Wifi-Module Harald Freitag
@ 2011-11-09 9:39 ` Hauke Mehrtens
[not found] ` <20111109115910.37620@gmx.net>
0 siblings, 1 reply; 3+ messages in thread
From: Hauke Mehrtens @ 2011-11-09 9:39 UTC (permalink / raw)
To: Harald Freitag; +Cc: linux-wireless
On 11/09/2011 10:13 AM, Harald Freitag wrote:
> Hello!
>
> I am a student from Germany currently working on a solution to combine the Freescale i.MX356 application processor with the Marvell 88w8688 Wifi-Module over the SDIO interface of the processor.
>
> My main problem is that the application processor of Freescale got an embedded linux 2.6.31 system including the necessary driver support (specially for the SDIO interface) implemented and the driver for the Marvell 88w8688 Wifi-Module is coming with a linux 2.6.35 firmware/driver support.
>
> Now the question is, how do I get them both working together? (I am still a novice on that field of expertise!)
>
> Option 1: Backporting the Marvell 88w8688 SDIO driver from linux 2.6.35 to 2.6.31
> Option 2: Finding an older Marvell 88w8688 SDIO compatible with linux 2.6.31
>
> I already did some research (on http://kernelnewbies.org/) trying to figure out what general differences and changes in the libertas driver support have been made (with moderate success, since I am still lacking quite alot of the necessary coding understanding).
> I also downloaded the latest software/firmware packages from Freescale and Marvell in order to learn something about the functionality of SDIO interface drivers (pretty much hitting a wall though...).
> After some time looking through the archives here on "http://linuxwireless.org/" and on "http://lists.infradead.org/mailman/listinfo/libertas-dev" I saw a few articles that could be partially helpful for my problem, but that didnt got me very far yet...
>
> Since the embedded linux 2.6.31 system on the application processor got already adapted and configured for the intended feature support, it is not an option to upgrade/patch the linux system on the application processor.
>
> I would be most grateful for any helpful information regarding this issue or hint towards the right place to look, if there have been similar problems solved/delt with in the past.
>
> Thank you very much and I appreciate that you took some time reading through this...
>
> Regards Harald
Hi Harald,
we have compat-wireless [0] which backports a recent wireless subsystem
to older kernel versions. This seams to be exactly what you are
searching for, but libertas_sdio is just working for kernel >= 2.6.32,
because of some changes in the power management API in recent kernel
versions. You could implement a backport for the power management
interface into compat-wireless or just backport the new power management
API into your kernel.
Hauke
[0]: http://linuxwireless.org/en/users/Download
--
Now with mailing list in CC
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compability Issue regarding Freescale i.MX356 and Marvell 88w8688 Wifi-Module
[not found] ` <20111109115910.37620@gmx.net>
@ 2011-11-09 22:27 ` Hauke Mehrtens
0 siblings, 0 replies; 3+ messages in thread
From: Hauke Mehrtens @ 2011-11-09 22:27 UTC (permalink / raw)
To: Harald Freitag; +Cc: linux-wireless@vger.kernel.org
Hi Harald,
Please do not remove the mailing list.
On 11/09/2011 12:59 PM, Harald Freitag wrote:
> Hello Hauke,
>
> first of all thank you for your fast reply - I realy appreciate your help.
>
> I know that I might make a fool out of myself or that I might ask silly/redundant/obvious questions, but I am just trying to understand the given informations from you and I try to specify my issue more detailed.
>
> As a side note, I would also like to add, that I am currently at the beginning of a very promising project and I am doing mostly research work, before the actual "GO" for the project is given. My expertise and my knowledge about embedded linux systems, the implementation of drivers, the specific coding of features needed and the entire environment within/around the project is yet fairly limited, but I am more then willing to change that! (hopefully with success ;) )
>
> With that being said I would like to get a little more concrete with a few more questions that came to my attention, after receiving your answer:
>
> ------------------------------------------------------------
>
> 1. What exactly is this compat-wireless-package!?
>
>> we have compat-wireless [0] which backports a recent wireless subsystem
>> to older kernel versions.
>
> From my understanding (after following the link that you provided), it is described as a driver-package that allows me to implement the latest changes/advances/features of a driver (f.ex. within linux v. 3.x) into an older system (f.ex. linux v2.6.31) without the need to make major changes in my old system.
Yes that is correct it is intended that you do not have to make any
changes to your kernel, but this does not work for every driver.
> 2. Was/Is the linux kernel v2.6.31 a stable version to work with?
>
> Since the latest stable version on kernel.org is v2.6.32.48 and there is no more support for v2.6.31.
Please read this Note at the stable page: NOTE: Please be aware that the
releases below contain code from the given version of the Linux kernel.
Therefore to add functionality, you should select a version that is
later than your kernel version.
> 3. With what package do I have to start working?
>
> My goal is to find a way of a possible backportation from a SDIO driver (linux v2.6.35) provided by Marvell directly to an embedded system on the Freescale application processor i.MX356 (linux v2.6.31 with its own SDIO driver) with a preconfiguration by Freescale and an adaption for additional feature support by my customer.
>
> Currently I dont know if the software/driver packages accessible/provided by Freescale and Marvell are even working with the libertas SDIO drivers that are already included in the basic kernel versions v2.6.31 and v2.6.35 or if they got their own individual SDIO drivers. (that is something for me to find out yet)
> I only looked into the changes to the libertas driver listed @kernelnewbies.org so that I could get a small idea of what might be different between the SDIO driver v2.6.35 from Marvell and the SDIO driver v2.6.31 from Freescale and which features/modules of the v2.6.35 driver would actually need to be "ported".
>
> On the link that you provided it reads "compat-wireless aims to always support kernel compatibility down to the last supported 2.6 stable kernel release as noted on kernel.org.". At the moment that would mean kernel v2.6.32.48 and I would have to work with the compat-wireless-2.6.32.16.tar.bz2 package correct? Does this package include the functionality of the v2.6.35 SDIO driver which will run on kernel v2.6.32? (I know this sounds stupid, but I dont realy have a clue yet how exactly those compat packages work and what their actual capabilities are...)
Compat-wireless works down to kernel 2.6.27 for now (2.6.24 should not
be a big problem). Some drivers like liberats_sdio are not going back to
that version because they need something not backported in compat
wireless like the new SDIO PM API
>
>> but libertas_sdio is just working for kernel >= 2.6.32,
>> because of some changes in the power management API in recent kernel
>> versions.
>
> What does this mean?
In kernel 2.6.32 a new API in the sdio subsystem for SDIO power
management was introduced and the libertas_sdio driver is using it in
recent kernel versions. For some of these APIs compat-wireless provides
a backport so it also works with older kernels for this SDIO power
management API it does not.
>
> If I take the compat-wireless-2.6.32.16.tar.bz2 package it will be compatible to older kernel versions like my v2.6.31 except the changes in the power management API?
>
>> You could implement a backport for the power management
>> interface into compat-wireless or just backport the new power management
>> API into your kernel.
>
> In my eyes you mean by that, that I either have to rewrite the power management API from the compat-wireless-2.6.32.16.tar.bz2 package (f.ex. excluding some new features) or that I would have to rewrite my old powermanagement API from v2.6.31 (f.ex. adding some new features) so that it supports the features of the new interfaces within the compat-wireless-2.6.32.16.tar.bz2 package correct?
Yes that is mostly correct.
In addition you have to remove the check for kernel >= 2.6.32 from
config.mk in compat-wireless to build it.
> I hope this wasnt too much gibberish that I wrote here and that you are able to at least follow my thoughts somehow, because my english isnt on the necessary standard level yet.
Your English isn't a problem at least for me, mine isn't better than
yours. ;-)
>
> Is there maybe a german "consultant" or someone that speaks german among your team @linux-wireless or maybe even a possible translation for the documentation available on your site!?
I am speaking German, but I just have knowledge in compat-wireless in
general and not about SDIO or libertas.
> Anyway I will most definetly print all the documentary available from your link and I will try to understand it...
>
>
> Again I am very thankful for your help and your patience with me!
>
>
> Regards Harald
>
Hauke
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-09 22:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-09 9:13 Compability Issue regarding Freescale i.MX356 and Marvell 88w8688 Wifi-Module Harald Freitag
2011-11-09 9:39 ` Hauke Mehrtens
[not found] ` <20111109115910.37620@gmx.net>
2011-11-09 22:27 ` Hauke Mehrtens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).