[maemo-developers] [maemo-developers] How large may the kernel-image be?

From: Peter.Hagg at tietoenator.com Peter.Hagg at tietoenator.com
Date: Tue Feb 28 10:39:03 EET 2006
Hi, 

 as mentioned by Kalle below, kernel needs to be compiled with gcc 3.4. Also, in your earlier post you mentioned maemo 1.0 scratchbox. Does this mean you have maemo 1.1 installed, or what? In order to be able to compile the kernel successfully, you need maemo 1.1, and preferably the latest 0.9.8 series Scratchbox (0.9.8.5 is the one kernel recompilation has been tested with, but 0.9.8.6 should work as well). 

You should definitely take a look at the Kernel Compilation HowTo, available here: http://maemo.org/maemowiki/HowTo_KernelCompilation. This piece of documentation describes the necessary setup and recompilation procedure.


Regards, 

- Pete -


-----Original Message-----
From: maemo-developers-bounces at maemo.org on behalf of Kalle Vahlman
Sent: Tue 2/28/2006 10:22 AM
To: Clemens Eisserer
Cc: maemo-developers at maemo.org
Subject: Re: [maemo-developers] How large may the kernel-image be?
 
On 2/28/06, Clemens Eisserer <linuxhippy at gmail.com> wrote:
> HI again,
>
> Or just to change the question: With which gcc version does N770's
> kernel has to be compiled?
> Somewhere in the docs 3.4 was mentioned but my scratchbox/ARM
> installation ships with gcc-3.3.4.
>
> Since it boots almost completly up I can't really imagine whats wrong
> or missing - maybe it can't insert modules it needs to startup X or
> something like that.

Often the reboot cycle is from some application deemed as Truly
Needed(tm) dying (at which point the failsafe mechanism boots).
Without dedicated devices the recovery could be tricky, but one can
try with setting the 'no-lifeguard-reset' r&d flag[1] with flasher and
praying it will boot up to having a GUI (or if installed, sshd)
available for debugging.

AFAIK, you need to use gcc3.4, I've succesfully compiled a kernel for
the 770 with the

  arm-linux-gcc3.4.cs-glibc2.3

toolchain (with wlan working etc), so it indeed could be that the
kernel fails to load some modules and someone gets confused over it.

[1] Described here for example:
http://www.dillernet.com/apple/2006/01/21/booting-einstein-on-the-770/

--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


More information about the maemo-developers mailing list