[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120515175609.04A4D3E080A@localhost>
Date: Tue, 15 May 2012 11:56:08 -0600
From: Grant Likely <grant.likely@...retlab.ca>
To: Arnd Bergmann <arnd@...db.de>, Magnus Damm <magnus.damm@...il.com>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
horms@...ge.net.au, linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org,
Rob Herring <rob.herring@...xeda.com>, rjw@...k.pl,
lethal@...ux-sh.org, olof@...om.net,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 03/03] ARM: Undelete KZM9D mach-type
On Tue, 15 May 2012 08:32:09 +0000, Arnd Bergmann <arnd@...db.de> wrote:
> On Monday 14 May 2012, Magnus Damm wrote:
> > Right, I agree. Relying on a fixed DTB in an unreliable boot loader is
> > the last thing I want to do.
> >
> > So if your boot loader can't pass DTB to the kernel, and you want to
> > have a single kernel supporting multiple boards, then do you see
> > anything wrong with based on mach-type do a run time decision (in
> > arch/arm/boot/compressed/) to override the ATAG from the boot loader
> > with a compiled-in per-board DTB?
>
> I know that we have discussed this in the past, but I don't remember
> the outcome of the discussion, maybe someone else can help out here
> (Grant?)
>
> It's definitely technically possible to do it, but it could either be
> that nobody has bothered to do the implementation, or that we had good
> reasons against it and decided not to allow this.
Tony and I talked about this quite a bit during the last Connect. The
plan is to extend the existing bootwrapper ATAGs to DT code to allow
appending multiple .dtbs to the zImage and selecting the correct one
based on the machine number. It shouldn't be very complicated, but I
haven't had time to implement it.
g.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists