AnsweredAssumed Answered

Howto re-build dtb with bitbake cmd

Question asked by florian koenig on Oct 18, 2017
Latest reply on Oct 23, 2017 by Carlos_Musich

hi,

i builded a complete image, but now i want to change some properties in the device tree file (dts) and simply just want to rebuild the dts file into a dtb.

 

I saw on net, that "bitbake my-own-linux -f -c deploy"  should do the trick. But when i look at the date of the dtb-file in the build/arch/arm/boot/dts/ directory. it is not re-build ?

 

When i look at poky/meta/recipes-kernel/linux/linux-dtb.inc it seemed that the  do_compile_append task is building the dtb with "oe_runmake ${DTB}"  , but i think it is only callable with bitbake when i run "bitbake my-own-linux -c do_compile" , is that correct ?

 

Is there any way to re-build only the dtb with bitbake commands to have a consistent workflow ?

 

thanks

Outcomes