[maemo-developers] [maemo-developers] Porting L4-embedded kernel

From: Frantisek Dufka dufkaf at seznam.cz
Date: Sun Sep 17 00:26:12 EEST 2006
Carl van_Schaik wrote:

> A quick look around, I noticed /dev/mtdblock2 it where is seems the 
> vmlinux image lives, starting at offset 0x800
> /dev/mtdblock0 is the nolo 'Nokia Loader' code and /dev/mtdblock1 is the 
> config partition?
> /dev/mtdblock3 is the initfs?

Yst this is correct. Kernel lives in /dev/mtdblock2 but there appears to 
be header "NOLO img" + kernel image size an kernel stats at 0x800.

> 
> 2. Modifiy the initfs such that very early on, before flash is mounted 
> rw, have a bootmenu, much like the existing bootmenu program. This could 
> on selection of L4, load a kernel module which contains the L4 kernel 
> image, and then "take over" Linux and boot the L4 kernel.

Just a thought, can this module with L4 kernel take over already running 
linux kernel but leave it running i.e. just hook into interrupt vectors, 
MMU or whatever? This is how colinux hooks into running NT/XP kernel and 
runs side by side with it. When done this way you won't need any boot or 
linux kernel loader.

Frantisek

More information about the maemo-developers mailing list