[Ksummit-2013-discuss] Defining schemas for Device Tree

Sascha Hauer s.hauer at pengutronix.de
Wed Jul 31 16:41:36 UTC 2013


On Wed, Jul 31, 2013 at 02:21:49PM +0200, Tomasz Figa wrote:
> On Wednesday 31 of July 2013 08:01:54 jonsmirl at gmail.com wrote:
> > On Wed, Jul 31, 2013 at 7:34 AM, Mark Brown <broonie at kernel.org> wrote:
> > > On Tue, Jul 30, 2013 at 07:23:36PM -0400, jonsmirl at gmail.com wrote:
> > >> Uboot could be an issue but I don't think they are actually doing
> > >> anything with FDTs yet, they are just talking about doing it.
> > > 
> > > Right, plus any other bootloaders that handle the DT in some way.  Those
> > > that just copy the file through without looking at it aren't an issue
> > > but I thought people were doing things like adding in properties for
> > > serial numbers but perhaps that's less widespread than I'd thought and
> > > it's not an issue.
> > 
> > uboot patches up the amount of RAM it finds into the FDT. It might
> > patch up clock speed too, I don't remember. I haven't seen it add
> > serial numbers but it might, not sure which serial numbers.
> > 
> > There has been talk for several years about turning uboot into a bunch
> > of device drivers and using FDT to control it. Allwinner has done that
> > with the fex implementation. The uboot work is still in the talking
> > about it phase.
> 
> u-boot still does not have generic driver model or at least did not have when 
> I last checked it not so long ago, so it seems like there is still long way to 
> go for using FDT as source of information about hardware in u-boot.
> 
> barebox [1], aka u-boot-v2, might be closer to this approach (it might be 
> already using it, but this needs to be checked) as it already has generic 
> driver model and support for DT.

Besides mvebu several newer i.MX platforms are probed from the
devicetree in barebox, so in order to reuse the devicetrees it would be
very good to have the devicetree bindings stable.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the Ksummit-2013-discuss mailing list