Re: device tree compiler with overlay support?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5 May 2015 at 18:51, Michal Suchanek <hramrach@xxxxxxxxx> wrote:
> On 5 May 2015 at 17:18, Michal Suchanek <hramrach@xxxxxxxxx> wrote:
>> Hello,
>>
>> where is a device tree compiler that can compile an overlay?
>>
>> The compiler at git://git.kernel.org/pub/scm/utils/dtc/dtc.git shrieks
>> there is a syntax error as soon as the /plugin/ tag is present.
>
> ok, so I found a dtc patch here https://lkml.org/lkml/2013/1/4/295
>
> This does not apply cleanly to current DTC but the parts that fail are
> due to cosmetic changes in the code so I went ahead and applied it.
>
> However, the created blob is not what the kernel can accept into
> of_overlay_create so what do I do with the blob to load it?

Looks like applying of_fdt_unflatten_tree on the blob is the thing to
do. Now the kernel just rejects the tree and does not crash. I get no
diagnostics as to why the overlay is rejected.

Time to add some debugging I guess.

Thanks

Michal
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux