Hello Florian, On Mon, Oct 23, 2017 at 5:25 AM, König, Florian <[email protected]> wrote: > 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 ?
If you run: $ bitbake virtual/kernel -c compile -f && bitbake virtual/kernel It does, but using the toolchain is easier and more comfortable as you can easily commit and generate the patches for later integrate onto your custom layer. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
