[U-Boot] [PATCH] fdt: fix out of tree builds with DT support

Simon Glass sjg at chromium.org
Fri Apr 20 04:47:48 CEST 2012


Hi Stephen,

On Thu, Apr 19, 2012 at 2:11 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 04/19/2012 12:38 PM, Wolfgang Denk wrote:
>> Dear Simon Glass,
>>
>> In message <CAPnjgZ2-kzLW2-WdBk2qmezurJBPzT1vAHnxrf7RHZ_Xfw6YbA at mail.gmail.com> you wrote:
>>>
>>> Fair enough. I hope that doesn't preclude us from using new features
>>> for too long.
>>
>> Thanks.
>>
>> Most distributions appear to pick up such changes not too fast, so we
>> may run into issues here and there.  I think we should decide this on
>> a case by case base - here it was a trivial change to the existing
>> code that fixed the problem.
>
> The kernel deals with this by packaging a copy of dtc (the source) as
> part of the kernel source tree. Then, it can upgrade to new features as
> soon as they're needed without any distro dependency.

Yes, I noticed that.

Another argument is that U-Boot / Linux shouldn't have anything to do
with building device tree files, and therefore the tools are Someone
Else's Problem - the flashing / packaging tools should do it.

I don't really have an opinion on this yet. Given the speed that dtc
moves at, perhaps this is a problem we can live with for now.

Regards,
Simon


More information about the U-Boot mailing list