linux-mips
[Top] [All Lists]

Re: [PATCH 03/18] MIPS: add generic support for multiple machines within

To: Arnaud Lacombe <lacombar@gmail.com>
Subject: Re: [PATCH 03/18] MIPS: add generic support for multiple machines within a single kernel
From: Gabor Juhos <juhosg@openwrt.org>
Date: Tue, 23 Nov 2010 19:51:08 +0100
Cc: Felix Fietkau <nbd@openwrt.org>, Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, kaloz@openwrt.org, "Luis R. Rodriguez" <lrodriguez@atheros.com>, Cliff Holden <Cliff.Holden@atheros.com>
In-reply-to: <AANLkTikMwNqd507sPSTQOXt4KYkr9v61H=4_ESo7xFdj@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1290524800-21419-1-git-send-email-juhosg@openwrt.org> <1290524800-21419-4-git-send-email-juhosg@openwrt.org> <AANLkTikMwNqd507sPSTQOXt4KYkr9v61H=4_ESo7xFdj@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; hu-HU; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
Hi Arnaud,

> On Tue, Nov 23, 2010 at 10:06 AM, Gabor Juhos <juhosg@openwrt.org> wrote:
>> This patch adds a generic solution to support multiple machines based on
>> a given SoC within a single kernel image. It is implemented already for
>> several other architectures but MIPS has no generic support for that yet.
>>
> Is this the way `arch/mips' wants to go to support multiple machine
> within a same kernel image ? 

I don't know yet what will be the chosen way.

> Flattened Device Tree is the other way to achieve that. I remind the latter
> being proposed by Felix Fietkau on #openwrt.

FDT makes sense when the bootloader supports that. FDT makes sense when the
bootloader supports that, but i'm not aware of any AR71xx/AR724x/AR913x based
board which has such bootloader. Additionally, the device-tree support for MIPS
has been added only recently and none of the existing MIPS boards are using that
yet AFAIK. If that will be widely used we can consider to switch to that later.

Regards,
Gabor

<Prev in Thread] Current Thread [Next in Thread>