Operating Systems Group Dept. of CS TU-Dresden
- Running Linux on top of L4
Latest release: 2.6.35
Quick jumps
System Requirements
Get it
Compiling

Building L4Linux-2.4

System Requirements

To use L4Linux-2.4 you need an L4 compatible µ-kernel, e.g. Fiasco or L4Ka::Pistachio. In the following description we refer to Fiasco only. For L4Linux on L4Ka::Pistachio please refer to L4Ka site.

These instructions assume that you have built and tested Fiasco as detailed in the the build Fiasco instructions.

Generally, you can build L4Linux in two modes, plain and l4env. Depending on your configuration you may need the L4 tree. To avoid problems, you should compile L4Linux with the same compiler as your L4 tree.

The main difference between the plain and the l4env mode is that the l4env version uses some of the L4Env components, whereas the plain mode just uses the core L4 services (Sigma0, RMGR). Of course, the plain version can use other L4 services too but it is no prerequisite. But the l4env version depends on other L4 components and therefor you must have the L4 tree available.

Getting L4Linux

Refer to the download page on how to get L4Linux.

Compiling

Go to the l4linux-2.4 directory and configure your kernel with:
  make menuconfig

To configure L4Linux specific options, go to the "L4Linux options" submenu. To run L4Linux on Fiasco you can choose between L4/2.0/Fiasco or L4Env (L4/X.0 should work as well but isn't tested very often). We will refer to the L4/2.0 and L4/X.0 versions as "plain" and to the L4Env mode as "l4env".

Build L4Linux.
  make dep
  make
If the build was successful, it produces a file vmlinuz.V2 or vmlinuz.l4env in the l4linux-2.4 directory, depending on your configuration.

"plain" mode

L4/2.0/Fiasco means that you compile L4Linux for the V.2 L4 API.
L4/X.0 means that you compile L4Linux for the X.0 L4 API.

The plain versions do not need an L4 tree to be compiled.

The resulting binary file is called vmlinuz.V2 or vmlinuz.VX0.

"l4env" mode

The l4env mode implicetly means that you compile for the V.2 L4 API. The X.0 API is not supported.
That means that the L4 binaries need to be compiled for the V.2 API.

The l4env version needs an L4 tree to be compiled. When configuring L4Linux also remember to set the path to your L4 tree via the "Path to L4 directory" option. Refer to the DROPS download page to get the L4 tree.

The resulting binary file is called vmlinuz.l4env.

Last modified: Tue, Sep 27 2005, 13:57