From: Felix Fietkau <nbd@openwrt.org>
To: Gabor Juhos <juhosg@openwrt.org>
Cc: Arnaud Lacombe <lacombar@gmail.com>,
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>
Subject: Re: [PATCH 03/18] MIPS: add generic support for multiple machines within a single kernel
Date: Tue, 23 Nov 2010 20:06:22 +0100 [thread overview]
Message-ID: <4CEC10AE.10305@openwrt.org> (raw)
In-Reply-To: <4CEC0D1C.7090605@openwrt.org>
On 2010-11-23 7:51 PM, Gabor Juhos wrote:
> 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.
We don't need boot loader support, we can make a simple loader stub that
passes the FDT data to the kernel. It would certainly be better than our
current cmdline hack ;)
I think using FDT would save us a lot of maintenance work, as we
wouldn't have to change the kernel for every single new board that we
add support for.
- Felix
next prev parent reply other threads:[~2010-11-23 19:06 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-23 15:06 [PATCH 00/18] MIPS: initial support for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2010-11-23 15:06 ` [PATCH 01/18] MIPS: add initial support for the Atheros AR71XX/AR724X/AR931X SoCs Gabor Juhos
2010-11-23 15:06 ` [PATCH 02/18] MIPS: ath79: add GPIOLIB support Gabor Juhos
2010-11-23 15:06 ` [PATCH 03/18] MIPS: add generic support for multiple machines within a single kernel Gabor Juhos
2010-11-23 18:29 ` Arnaud Lacombe
2010-11-23 18:49 ` Luis R. Rodriguez
2010-11-23 18:51 ` Gabor Juhos
2010-11-23 19:06 ` Felix Fietkau [this message]
2010-11-23 19:20 ` David Daney
2010-11-23 22:12 ` Ralf Baechle
2010-11-23 15:06 ` [PATCH 04/18] MIPS: ath79: utilize the MIPS multi-machine support Gabor Juhos
2010-11-23 15:06 ` [PATCH 05/18] MIPS: ath79: add initial support for the Atheros PB44 reference board Gabor Juhos
2010-11-23 15:06 ` [PATCH 06/18] MIPS: ath79: add common GPIO LEDs device Gabor Juhos
2010-11-23 15:06 ` [PATCH 07/18] watchdog: add driver for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2010-11-23 15:06 ` [PATCH 08/18] MIPS: ath79: add common watchdog device Gabor Juhos
2010-11-23 15:06 ` [PATCH 09/18] input: add input driver for polled GPIO buttons Gabor Juhos
2010-11-23 19:24 ` Ben Gardiner
2010-11-24 17:24 ` Ben Gardiner
2010-11-24 18:54 ` Gabor Juhos
2010-11-24 20:28 ` Ben Gardiner
2010-11-28 8:31 ` Dmitry Torokhov
2010-11-23 15:06 ` [PATCH 10/18] MIPS: ath79: add common GPIO buttons device Gabor Juhos
2010-11-23 15:06 ` [PATCH 11/18] spi: add SPI controller driver for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2010-11-23 15:06 ` [PATCH 12/18] MIPS: ath79: add common SPI controller device Gabor Juhos
2010-11-23 15:06 ` [PATCH 13/18] USB: ehci: add workaround for Synopsys HC bug Gabor Juhos
2010-11-23 15:06 ` [PATCH 14/18] USB: ehci: add bus glue for the Atheros AR71XX/AR724X/AR913X SoCs Gabor Juhos
2010-11-23 15:06 ` [PATCH 15/18] USB: ohci: add bus glue for the Atheros AR71XX/AR7240 SoCs Gabor Juhos
2010-11-23 15:06 ` [PATCH 16/18] MIPS: ath79: add common USB Host Controller device Gabor Juhos
2010-11-23 15:06 ` [PATCH 17/18] MIPS: ath79: add initial support for the Atheros AP81 reference board Gabor Juhos
2010-11-23 15:06 ` [PATCH 18/18] MIPS: ath79: add common WMAC device for AR913X based boards Gabor Juhos
2010-11-23 18:16 ` [PATCH 00/18] MIPS: initial support for the Atheros AR71XX/AR724X/AR913X SoCs Arnaud Lacombe
2010-11-23 18:18 ` Arnaud Lacombe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CEC10AE.10305@openwrt.org \
--to=nbd@openwrt.org \
--cc=Cliff.Holden@atheros.com \
--cc=juhosg@openwrt.org \
--cc=kaloz@openwrt.org \
--cc=lacombar@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=lrodriguez@atheros.com \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox