[meta-freescale] rebuild device-tree blob

König, Florian FKoenig at moba.de
Mon Oct 23 00:25:39 PDT 2017


Hi,
i just want to rebuild the device-tree blob, but all i tried does not really work ? The only thing that works is "bitbake linux -c clean" ,"-c unpack", then modify the dts(i) files and "-c compile" . This way it builds and deploys the dtb file into build/arm/arch/boot/dts/ directory. But recompile the whole linux kernel is not so nice.

There are tipps, to use "bitbake linux -f -c deploy"  but this does not build a new dtb into build/arch/arm/boot/dts/ directory ?

Also some seemed to use  ./scripts/dtc/dtc -I dts -O dtb -o ./devicetree.dtb   <file path of dts file you want to compile>  but inside the scripts/dtc directory, there is no dtc anymore. If I use the dtc from the system, it does also not work, because the dtsi files have c-style syntax inside, so it needs to be pre-processed.

Also others seemed to build the meta-toolchain and then use "make xx.dts" , which needs building meta-toolchain.

Is there a way to re-build the dtb file with yocto workflow , I mean some bitbake command like "-f -c deploy", but which works ? Or do I need to use "-f -c deploy" in a special way ?


Thanks


Mit freundlichen Grüßen

Florian König

Entwicklung
MOBA Mobile Automation AG
Kapellenstraße 15
65555 Limburg / Germany
Tel.: +49 6431 9577-297
Fax: +49 6431 9577-297


Vorsitzender des Aufsichtsrats: Harald Robl; Vorstand: Volker G. Harms, Dr. Holger Barthel, Alfons Horn
Sitz der Gesellschaft: Limburg; Registergericht Limburg, HRB 2552, USt-IdNr.:  DE 113865988
Chairman of the supervisory board: Harald Robl; Executive board: Volker G. Harms, Dr. Holger Barthel, Alfons Horn
Corporate headquarters: Limburg; Register court: Limburg, HRB 2552, USt-IdNr.: DE 113865988
Diese Nachricht ist nur für den Empfänger bestimmt, da sie persönliche, vertrauliche Informationen enthält. Der Inhalt
darf an keinen anderen außer an den Empfänger weitergeleitet werden. Unbefugte Empfänger werden gebeten, die
Vertraulichkeit zu wahren und den Absender sofort über den Übertragungsfehler zu informieren.
This message is intended for the addressee only as it contains private and confidential information. The contents are not
to be disclosed to anyone other than the addressee. Unauthorized recipients are requested to comply with the above and
inform the sender immediately of any error in transmission.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20171023/c689f479/attachment.html>


More information about the meta-freescale mailing list