guides to board files -> device-tree and Android -> mainline?
thomas.petazzoni at free-electrons.com
Tue Jan 29 09:51:09 EST 2013
Dear Paul Wise,
On Tue, 29 Jan 2013 09:43:28 +0800, Paul Wise wrote:
> > If you want to add the board itself and it is ARM based, then you have
> > to create a device tree file. I think the older board files are no
> > more accepted in the mainline kernel.
> I'm aware of that, my question was how do I convert existing board files
> to device tree files? Is there an automated tool, or a guide for that?
No, there is no automated tool, because it is not possible to do that
automatically. The device drivers used by your board must have a Device
Tree binding, and writing the Device Tree source cannot directly be
done from the C board file. It requires human knowledge and
Could you be more specific about the platform you would look to convert
to the Device Tree? Where is the existing source code?
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
More information about the Kernelnewbies