Closed Harvie closed 1 year ago
Do you know about the fdtoverlay
utility?
Do you know about the fdtoverlay utility?
Of course. Now that you've told me :-) For some reason they did not suggested it on stackoverflow thread i was looking into... Thanks.
Hello, i have one base .dtb file and multiple .dtbo overlays. I know there are ways to apply these in runtime, eg. using u-boot. But in some cases i would like to prepare single .dtb file staticaly in build script. I tried to do the following:
Basicaly it just decompiles all .dtb to .dts files, concatenates them, strips all headers except for the first one and tries to compile everything again. But it does not really work and reports duplicated phandles.
Can you please add some option that would do this correctly for me directly using dtc?