Reply
Thread Tools
Posts: 5 | Thanked: 16 times | Joined on Dec 2007
#11
About p54spi.

Look at board-n8x0.c, spi_board_info, wifi .modailias, it's a bit strange, but modalias different between board-n8x0.c and p54spi.c, p54spi_driver .name. Should be same.

I patch .name and get wifi working. Without this, p54spi.ko can't find device and dmesg output nothing.

Last edited by tmr; 2010-04-17 at 11:19.
 
Capn_Fish's Avatar
Posts: 140 | Thanked: 13 times | Joined on Mar 2008
#12
I hacked it together (thanks to your information); just replacing 2 instances of "cx3110x" with "p54spi" in driver/net/wireless/p54/p54spi.c at least makes wlan0 show up.

Thanks once again, tmr!

EDIT: This edit done from Midori under Mer/Deban Sid with Linux 2.6.33 and p54 drivers.
__________________
Nokia N810 (Some mutation of Mer)

Last edited by Capn_Fish; 2010-04-17 at 16:01.
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#13
*raises hand* Is this for patching the kernel on the n8xx to the latest version? At least that's what I'm understanding from reading this.
__________________
Popular Sci-Fi author and creator of the Earthfleet Series.
www.realmsofimagination.net
 
Posts: 5 | Thanked: 16 times | Joined on Dec 2007
#14
Lord Raiden, yep, this is for latest n8x0 kernel. I'm was not going to support this thread, my language too bad for this, just dump some works.
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#15
I tried Termana's patch and kernel for n810.
His kernel works. But it use rootfs on MTD.
I applied his patch to mainline 2.6.33.2 kernel, changed CONFIG_CMDLINE to use rootfs on external SD and compiled it.
But kernel doesn't work
 
Capn_Fish's Avatar
Posts: 140 | Thanked: 13 times | Joined on Mar 2008
#16
What are you trying to boot?

I kept the rootfs line to boot from internal flash, but, with fanoush's initfs, you can still choose which to boot from.

If you go into device drivers->watchdogs there should be an option "Disable watchdog shutdown on close" - you don't want that. Without it, you can at least see what's messing up your boot.

I've also set up a n810-dedicated thread here:

http://talk.maemo.org/showthread.php?t=50290

in an effort to make stuff easier to find and more consolidated.
__________________
Nokia N810 (Some mutation of Mer)
 
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#17
I try boot 2.6.32.2 kernel with your patches and rootfs on SD in .config.
I try install bootmenu, but it doesn't work
"Disable watchdog shutdown on close" is set
 
Posts: 8 | Thanked: 0 times | Joined on Apr 2010
#18
I managed to compile a bootable kernel for my N800 following the steps in the OP using this commit from the linux-omap git:

eba014745cc806d625b6a553d1af6efd14e16321

If you check out the latest the patches wont apply...


EDIT:

To summarise, ignore Capn_Fish's post on the last page, as he seems to have tmr and the other guy confused...

Follow the instructions in the first post, but instead of checking out the latest from the linux omap git:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

... Checking out files: 100% (32289/32289), done. ...

$ cd linux-omap-2.6/
get the snapshot from the commit referenced above:

http://git.kernel.org/?p=linux/kerne...af6efd14e16321

Click on 'snapshot' on that page and extract. Use that in place of the linux-omap-2.6 folder in the instructions...

Last edited by TheHitcher; 2010-06-06 at 03:23.
 
nwerneck's Avatar
Posts: 304 | Thanked: 233 times | Joined on Jul 2009 @ São Paulo, SP, Brasil
#19
Hi thanks to all for the instructions.

I am going to compile a kernel for the N800 for the first time, and I didn't understand: what should I do in the rootfs step? Are there any other specific and usual instructions, or is that related to setting up the filesystem of the distro I want to use (e.g. debian, mer, maemo, meego)?

I am trying to learn this stuff to help bring MeeGo to the N800...
 
nwerneck's Avatar
Posts: 304 | Thanked: 233 times | Joined on Jul 2009 @ São Paulo, SP, Brasil
#20
Originally Posted by TheHitcher View Post
get the snapshot from the commit referenced above:

http://git.kernel.org/?p=linux/kerne...af6efd14e16321

Click on 'snapshot' on that page and extract. Use that in place of the linux-omap-2.6 folder in the instructions...
How do we apply the patch in this case? Shouldn't we instead use git clone and then checkout this earlier version?...

Last edited by nwerneck; 2010-06-07 at 04:10.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:43.