[U-Boot-Users] using a flat device tree to drive u-boot config

Ben Warren biggerbadderben at gmail.com
Mon Jul 28 19:35:33 CEST 2008


On Mon, Jul 28, 2008 at 10:32 AM, Scott Wood <scottwood at freescale.com> wrote:
> Ben Warren wrote:
>>
>> On Mon, Jul 28, 2008 at 8:07 AM, Kumar Gala <galak at kernel.crashing.org>
>> wrote:
>>>
>>> One topic that come up during OLS in discussions and u-boot BOF was
>>> the idea of driving u-boot configuration from a device tree instead of
>>> from "config.h".  I was wondering if anyone has actually looked at
>>> doing this.
>>>
>> This sounds like an interesting idea, having a central repo for all
>> hardware information.  A big problem I see is that while device-tree
>> syntax may make sense to Linux kernel propellerheads, to the average
>> Joe it's mind-numbing.  Config files are ugly, but at least IMHO are
>> easy to figure out.
>
> I find a device tree much easier to figure out than a tangled mess of header
> files, #defines, and #ifdefs...
>
> -Scott
>

In many ways, yes.  But are you an average Joe or a Linux kernel propellerhead?

B-)




More information about the U-Boot mailing list