Re: [PATCH 2/6] kbuild: add dtc as dependency on .dtb files

From: Masahiro Yamada
Date: Thu Mar 01 2018 - 00:46:55 EST


2018-03-01 13:33 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> 2018-03-01 8:32 GMT+09:00 Rob Herring <robh@xxxxxxxxxx>:
>> If dtc is rebuilt, we should rebuild .dtb files with the new dtc.
>>
>> Cc: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
>> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
>
>
> Hmm, I am not 100% sure about this.
>
> Is there a case where resulted DTBs
> depend on DTC version?
>
>
> If I understand correctly,
> DTS and DTB are 1:1
> Unlike CC, there is no room for optimization.


Maybe I was wrong.

Is there room for optimization
in 'DT strings' section?

I guess it is optimized enough to avoid string duplication,
but there could be different results
without changing the specification.





> Some possibilities could be:
> - specification is updated.
> ( /dts-v1/ in DTS should be updated if so)
> - buggy DTC version generates broken DTBs.
>
>


--
Best Regards
Masahiro Yamada