linux-mips
[Top] [All Lists]

Creating infrastructure to allow one kernel for multiple machines

To: linux-mips@linux-mips.org
Subject: Creating infrastructure to allow one kernel for multiple machines
From: Martin Michlmayr <tbm@cyrius.com>
Date: Tue, 27 Feb 2007 14:48:18 +0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
On ARM and PowerPC, you can compile one kernel that will support
multiple machines, as long as they all belong to the same group (e.g.
have a compatible CPU).  On ARM, each machine needs to register a
machine id at http://www.arm.linux.org.uk/developer/machines/ and then
the boot loader passes this value to the kernel via a register.  On
PowerPC, information about the machine can be found in OF's
device-tree.

On MIPS, you need a separate kernel for each machine, which makes it
hard for distros to support many machines.  For example, it would be
nice if you could compile one kernel for vr41xx devices since they
only differ slightly, e.g. in their PCI mappings.  I'm therefore
wondering if there are any plans to introduce a scheme on MIPS that
would allow one kernel for several machines.
-- 
Martin Michlmayr
http://www.cyrius.com/

<Prev in Thread] Current Thread [Next in Thread>
  • Creating infrastructure to allow one kernel for multiple machines, Martin Michlmayr <=