User: Password:
|
|
Subscribe / Log in / New account

Re: Making ARM multiplatform kernels DT-only?

From:  Arnd Bergmann <arnd-AT-arndb.de>
To:  "Russell King - ARM Linux" <linux-AT-arm.linux.org.uk>
Subject:  Re: Making ARM multiplatform kernels DT-only?
Date:  Fri, 4 May 2012 15:17:58 +0000
Message-ID:  <201205041517.58830.arnd@arndb.de>
Cc:  Wookey <wookey-AT-wookware.org>, Deepak Saxena <dsaxena-AT-linaro.org>, Kukjin Kim <kgene.kim-AT-samsung.com>, linaro-dev-AT-lists.linaro.org, Jason Cooper <jason-AT-lakedaemon.net>, Nicolas Pitre <nico-AT-fluxnic.net>, Tony Lindgren <tony-AT-atomide.com>, Magnus Damm <magnus.damm-AT-gmail.com>, linux-kernel-AT-vger.kernel.org, Olof Johansson <olof-AT-lixom.net>, "Jean-Christophe PLAGNIOL-VILLARD" <plagnioj-AT-jcrosoft.com>, Sascha Hauer <s.hauer-AT-pengutronix.de>, linux-arm-kernel-AT-lists.infradead.org
Archive-link:  Article

On Friday 04 May 2012, Russell King - ARM Linux wrote:
> 
> On Fri, May 04, 2012 at 03:20:57PM +0100, Wookey wrote:
> > Debian tries very hard not to support anything in the kernel that
> > upstream don't support in the kernel because otherwise it's way too
> > much work. The current list of supplied arm kernels is:
> > 
> > iop32x (ThecusN2100, intel SS4000, GLAN tank)
> > ixp4xx (Linksys NSLU2)
> > kirkwood (*plugs, QNAP NAS, OPenRD)
> > orion5x (QNAP NAS, HP mv2120)
> > versatile
> > mx5
> > omap
> > 
> > because that's a good compromise between coverage and 'building 20-odd
> > images'. I have no idea how much of that lot is going to get DTified,
> > but I'm guessing the older stuff won't be?

Thanks for the list, Wookey!

This is very important because distros are obviously the primary consumer
of multiplatform builds (aside from build testing). The goal should very
much be to reduce the number of distinct kernels that folks like debian,
fedora or cyanogenmod have to build.

> Well, my understanding is that there's DT patches around for Versatile.
> OMAP and MX5 are both heading for DT.  I'm less certain about the Orion
> and Kirkwood stuff, but as they're only about 4 years old, I would hope
> that there was some active movement for these.

FWIW, there is a lot of new activity on orion5x and kirkwood (less on
mv78xxx and dove) and new board support for those platforms is being done
using DT already, at least for the drivers that have been converted.

As soon as the support is complete, I would hope that we can add dts files
for the older boards that people are using as well, and a few releases
later remove the respective board files.
 
> The iop32x and ixp4xx stuff hasn't seen much in the way of maintenance
> so its highly likely that these won't be converted to DT unless someone
> with the hardware decides to step up and do it.

Right. For those, I agree that it makes sense to support them without DT
even in a multiplatform kernel. So I'll revise my initial proposal to

* For mach-* directories that we expect to support using DT in the
  near future, support the ATAG based board files only in the current
  (single-platform, multi-board) way but not for multiplatform (i.e.
  multiple mach-*/ combined) builds.
* For mach-* directories that look like they will not support DT anytime
  soon, support them as is in the multiplatform build, possibly enabling
  all their boards (or a well-defined subset) unconditionally.

> So, that means your list should reduce down to five kernels, or three if
> the Orion/Kirkwood stuff gets converted to DT.

I count four if we were to proceed with the initial proposal:

1. ARMv6/v7 multiplatform: omap2plus, mx5/mx6, vexpress, ...
2. ARMv4/v5 multiplatform: versatile, orion5x, kirkwood, , ...
3. iop32x
4. ixp4xx

	Arnd


(Log in to post comments)


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds