maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Compiling the kernel on N900 (https://talk.maemo.org/showthread.php?t=57123)

gsever 2010-06-25 17:18

Compiling the kernel on N900
 
I have been unsuccessful compiling the Maemo 5 kernel following the instructions given on these two sources:

http://wiki.maemo.org/Documentation/...o_Kernel_Guide

http://wiki.forum.nokia.com/index.ph..._for_beginners

using a Ubuntu 10.04 (32-bit) Desktop on VirtualBox.

I am planning to test with Ubuntu 9.04. Before doing that, could someone guide me how to compile the kernel from within the Maemo 5 itself on N900 without dealing with that scratchbox complexity?

Thanks.

clasificado 2010-06-25 18:09

Re: Compiling the kernel on N900
 
im trying with natisbad guide: http://natisbad.org/N900/n900-custom-kernel.html

Im exactly in the same path, so come here and tell us if it works for you!

gsever 2010-06-25 18:53

Re: Compiling the kernel on N900
 
Quote:

Originally Posted by clasificado (Post 729312)
im trying with natisbad guide: http://natisbad.org/N900/n900-custom-kernel.html

Im exactly in the same path, so come here and tell us if it works for you!

That guy uses a separate computer for kernel compilation. N900 should natively compile the kernel given the proper commands.

clasificado 2010-06-25 19:24

Re: Compiling the kernel on N900
 
sorry. i didnt read the maemo5 part.

you should consider that the n900 processor may need steroids to compile a kernel in a reasonable time.

gsever 2010-06-26 07:26

Re: Compiling the kernel on N900
 
Allright, following those two guides --first the beginners guide to setup the environment and later the kernel guide I was able to build the kernel on a Ubuntu 9.04 in VirtualBox 3.2.4.

Using 1 CPU (2.5 GHz) it takes about half and hour to fully compile the kernel. Probably it would take a couple hours on N900 :D

clasificado 2010-06-26 16:45

Re: Compiling the kernel on N900
 
congrats! so you made it with scratchbox finally?

im expecting to get there today. i can compile a kernel but i still cant compile the n900 kernel :P

i want to have a long conversation with hid-apple module

what are you trying to do?

gsever 2010-06-26 19:28

Re: Compiling the kernel on N900
 
I suggest using virtualized approach. If things go wrong you can always start from scratch :D

My intention of building the kernel is actually for the fun of it. Little more seriously, I am after building NITdroid kernel, which is based on Maemo kernel.

Not sure if Maemo kernel (2.6.28) is the very same kernel that is on other Linux distros.

What does hid-apple module do :D Please enlighten me more

Tigerite 2010-12-02 10:40

Re: Compiling the kernel on N900
 
It takes about 4 hours to build a kernel on-device; trust me, I've done it ;)


All times are GMT. The time now is 03:51.

vBulletin® Version 3.8.8