From: George <george.news@gmx.net>
To: Luciano Coelho <luciano.coelho@nokia.com>
Cc: "Luis R. Rodriguez" <mcgrof@gmail.com>,
Bob Copeland <me@bobcopeland.com>,
Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Compat-wireless N900
Date: Tue, 19 Oct 2010 10:12:14 +0200 [thread overview]
Message-ID: <4CBD52DE.9090804@gmx.net> (raw)
In-Reply-To: <1287428554.8043.6.camel@powerslave>
On 18/10/2010 21:02, Luciano Coelho wrote:
> On Mon, 2010-10-18 at 20:41 +0200, ext Luciano Coelho wrote:
>> On Mon, 2010-10-18 at 21:04 +0200, ext George wrote:
>>> On 18/10/2010 19:21, Luis R. Rodriguez wrote:
>>>>> Any help on that? Sorry but I'm somehow desesperate and don't know what to
>>>>> do. Actually I'm thinking on not using compat-wireless and nl80211 and get
>>>>> back to wireless-extensions.
>>
>> Getting back to wireless-extensions would certainly be a very desperate
>> measure! :P
I guess it is, evenmore when nl80211 is the present ;) But I'm running
out of time and getting desperate ;)
>>
>>>> Does your device use SDIO or SPI?
>>>>
>>>> Luis
>>>
>>> I have tried both and none of them have worked.
>>
>> On the N900 the wl1271 chip is connected via SPI.
The chip is a wl1251, isn't it? wl1271 is n capable and n900 is not.
>> I'll re-read this thread more carefully to see if I can spot anything
>> that could help you.
>
> First thing that came to my mind after re-reading the thread... Does the
> wl1251 driver work *without* compat-wireless?
I don't now how to test the driver without compat-wireless. If you can
explain it I will try. Do I have just to copy driver code on
compat-wireless directly into my kernel source directory? I don't think
that would work and probably complain, but I can try if this is the way.
> Where did you get the
> kernel that you have compiled?
The kernel is the official one for n900, kernel-2.6.28 (uname -a returns
2.6.28-omap1). I got it using scratchbox and downloading it with:
sb# apt-get source kernel
Then I have compiled it using:
sb# make EXTRAVERSION=-mine rx51_defconfig
sb# make EXTRAVERSION=-mine menuconfig
sb# make EXTRAVERSION=-mine bzImage modules
sb# make EXTRAVERSION=-mine modules_install
After that I have compiled on scratchbox compat-wireless package:
sb# cd compat-wireless-2010-10-17
sb# scripts/driver-select wl12xx
sb# make KLIB=/lib/modules/2.6.28-mine
KMODPATH_ARG=/lib/modules/2.6.28-mine
sb# make KLIB=/lib/modules/2.6.28-mine
KMODPATH_ARG=/lib/modules/2.6.28-mine install
Then move the new set of modules to my n900
n900# mkdir -p /lib/modules/2.6.28-mine
# cd /lib/modules/2.6.28-mine
# scp -r updates/ kernel/ modules.*
root@192.168.2.15:/lib/modules/2.6.28-mine
And then boot with the new kernel image
ubuntu$ sudo flasher-3.5 -l -b -k
PATH_TO_KERNEL/kernel-2.6.28/arch/arm/boot/zImage
> My initial guess is that the SPI is not configured correctly so the
> probe function is never called in the wl1251_spi module and thus the
> interface is never created...
I'm attaching a link to my .config file to check if you consider I have
to activate any other stuff.
http://pastebin.com/sCnHzp3V
I would like to thank you all for the tremendous effort you are doing
helping me out on this issue.
BR
Jorge
next prev parent reply other threads:[~2010-10-19 7:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 8:24 Compat-wireless N900 George
2010-10-14 15:57 ` Denis 'GNUtoo' Carikli
2010-10-14 17:17 ` Luis R. Rodriguez
2010-10-14 18:09 ` George
2010-10-14 18:03 ` Luis R. Rodriguez
2010-10-15 6:42 ` George
2010-10-15 18:01 ` Luis R. Rodriguez
2010-10-17 9:01 ` George
2010-10-18 16:34 ` George
2010-10-18 17:21 ` Luis R. Rodriguez
2010-10-18 19:04 ` George
2010-10-18 18:41 ` Luciano Coelho
2010-10-18 19:02 ` Luciano Coelho
2010-10-19 8:12 ` George [this message]
2010-10-19 13:52 ` Grazvydas Ignotas
2010-10-19 15:16 ` George
2010-10-19 14:38 ` Grazvydas Ignotas
2010-10-19 15:52 ` George
2010-10-19 15:18 ` Grazvydas Ignotas
2010-10-20 7:37 ` George
2010-10-20 8:44 ` Grazvydas Ignotas
2010-10-20 12:24 ` George
2010-10-25 2:03 ` Kalle Valo
2010-10-25 8:33 ` George
2010-10-19 15:18 ` George
2010-10-14 17:29 ` George
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CBD52DE.9090804@gmx.net \
--to=george.news@gmx.net \
--cc=GNUtoo@no-log.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luciano.coelho@nokia.com \
--cc=mcgrof@gmail.com \
--cc=me@bobcopeland.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).