[maemo-developers] Kernel for Maemo N800 and dual boot

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Wed Apr 4 21:18:15 EEST 2007
2007/4/4, Leandro Melo de Sales <leandroal at gmail.com>:
> Hi list!
>
>    is it possible to compile the latest kernel source available in
> kerne.org into n800? Or it is possible to recompile the 2.6.18
> available to maemo thought apt-get?

There is a howto on building a kernel:

  http://maemo.org/maemowiki/HowTo_KernelCompilation

but that's pretty old (though might of course work still). Fortunately
there shouldn't be anything funny about building it. I usually take
these steps (inside scratchbox) without problems:

 - Get the sources with 'apt-get source kernel-source-rx-34'
 - configure with the default config for N800 with 'make n800_defconfig'
 - tweak the config with 'make menuconfig HOSTCC=host-gcc'
 - build the image with 'make HOSTCC=host-gcc'
 - flash the resulting image or just boot with it without flashing
   (see flasher docs for how)
 - (optionally build modules too and install them inside scratchbox,
you need to deploy them manually to the device though)

I'm not sure if the HOSTCC is needed for 'make', but make menuconfig
most likely needs it (to find ncurses).

>    Is it possible to setup n800 to boot from a menu list like grub on
> something similar?

Yes, see

  http://maemo.org/maemowiki/HowTo_EASILY_Boot_From_MMC_card

for more info.

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