Hello,
Is there a was to tell bitbake/yocto to build and deploy just the DTB blob ?
Thanks
Assuming that the Makefile under fsl-release-bsp/build/tmp/work-shared/imx6qsabresd/kernel-source/arch/arm/boot/dts includes your dts file
$ bitbake linux-imx -f -c deploy Should build the dtb file for you.
You can find the generated blob under: fsl-release-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.14.52-r0.1/build/arch/arm/boot/dts/
Hi Marko:
You can build the DTB blob use the tool provided by the kernel directly. After the first build of Yocto, for the imx6qsabresd, you can find the kernel in <build dir>/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/git/, change directory to it and then :
./scripts/dtc/dtc -I dts -O dtb -o ./devicetree.dtb <file path of dts file you want to compile>
Then you can get the devcietree.dtb.
Thank you for your input. I'll use that, however I was looking for a way to build the DTB using bitbake, e.g "bitbake -c compile linux-dtb".
Hi,
You can also get the meta-toolchain..
Task #7 - Create the toolchain
Task #8 - Build kernel manually using created toolchain
And after having it configured you can just do :
make <pallform>.dts in the Linux directory source code.
Best Regards,
Alejandro
alejandrolozano, can please share your experience doing this example