Active Topics

 


Reply
Thread Tools
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#1
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's Avatar
Posts: 466 | Thanked: 180 times | Joined on Feb 2010
#2
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!
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#3
Originally Posted by clasificado View Post
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's Avatar
Posts: 466 | Thanked: 180 times | Joined on Feb 2010
#4
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.
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#5
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
 
clasificado's Avatar
Posts: 466 | Thanked: 180 times | Joined on Feb 2010
#6
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?
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#7
I suggest using virtualized approach. If things go wrong you can always start from scratch

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 Please enlighten me more
 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#8
It takes about 4 hours to build a kernel on-device; trust me, I've done it
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:57.