maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   N800 latest kernel, patch and config (https://talk.maemo.org/showthread.php?t=49660)

tmr 2010-04-17 11:16

Re: I値l just leave this here
 
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.

Capn_Fish 2010-04-17 15:25

Re: I値l just leave this here
 
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.

Lord Raiden 2010-04-17 17:02

Re: I値l just leave this here
 
*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.

tmr 2010-04-17 17:23

Re: I値l just leave this here
 
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.

svs57 2010-04-17 21:02

Re: I値l just leave this here
 
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 2010-04-17 21:34

Re: I値l just leave this here
 
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.

svs57 2010-04-17 22:27

Re: I値l just leave this here
 
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

TheHitcher 2010-06-06 02:07

Re: N800 latest kernel, patch and config
 
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:

Quote:

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...

nwerneck 2010-06-07 03:17

Re: N800 latest kernel, patch and config
 
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 2010-06-07 03:55

Re: N800 latest kernel, patch and config
 
Quote:

Originally Posted by TheHitcher (Post 701804)
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?...


All times are GMT. The time now is 10:28.

vBulletin® Version 3.8.8