Kernel Compilation

I want to compile a specific device tree but I can’t find it, I take all configurations from Build U-Boot and Linux Kernel from Source Code, when I reach Kernel Compilation step, i.MX 6ULL Based Kernel (Colibri iMX6ULL) instead make DTC_FLAGS=“-@” imx6ull-colibri-eval-v3.dtb I want make DTC_FLAGS=“-@” imx6ull-colibri-aster.dtb.
Where can I find it or how can I add it?

Update: I found the imx6ull-colibri-aster.dtsi file, I activated the touch controller (status: okay-this was the customization I needed), and tried to compile the dtsi file using DTC and got the following error

dtc  -I dts -O dtb -i arch/arm/boot/dts/ -o test.dtb arch/arm/boot/dts/imx6ull-colibri-aster.dtsi
Error: arch/arm/boot/dts/imx6ull-colibri-aster.dtsi:10.1-2 syntax error
FATAL ERROR: Unable to parse input tree

Also how can I include the dtb file in the Linux image using bitbake ?

Colibri iMX6ULL, BSP 5

Thank you!

Hi @Dumitru

Could you provide the version of the hardware (including carrier board) and software of your module?

Regarding your question, you just need to type
make DTC_FLAGS=“-@” imx6ull-colibri-aster.dtb

Did you get any errors? What exactly is not working?

Best regards, Jaski

Hi @jaski.tx
Hardware version: Aster v1.1B

Error: make DTC_FLAGS="-@" imx6ull-colibri-aster.dtb make[1]: *** No rule to make target 'arch/arm/boot/dts/imx6ull-colibri-aster.dtb'. Stop. Makefile:1265: recipe for target 'imx6ull-colibri-aster.dtb' failed make: *** [imx6ull-colibri-aster.dtb] Error 2

Hi @Dumitru,

Upstream kernel sources don’t include imx6ull-colibri-aster.dts .

Hi @Dumitru

I did not know that you were compiling an upstream kernel. @Edward is right, Upstream kernel sources don’t include imx6ull-colibri-aster.dts yet. This will be integrated in future and patches are welcome.

Best regards,


I receive error:
CHK scripts/mod/devicetable-offsets.h
DTC arch/arm/boot/dts/imx6dl-colibri-eval-v3.dtb
./scripts/dtc/dtc: unrecognized option ‘–@’

at command: make DTC_FLAGS=“-@” imx6dl-colibri-eval-v3.dtb

make imx6dl-colibri-eval-v3.dtb
works fine, but is it ok?

git clone -b toradex_4.9-2.3.x-imx git://
make colibri_imx6_defconfig
make -j3 zImage LOADADDR=10008000 2>&1 | tee build.log


Hi @medicalSpark ,

Please have a look at this section of the “Build U-Boot and Kernel from Source Code” Article.

Install the GNU Toolchain for Hard Float Calling Convention

For more information about the DTC flags, I recommend you have a look at this.

Best Regards

I follow
There is instruction:
To compile the kernel & device tree for BSP 2.8b2 or newer:

$ make -j$(nproc) zImage LOADADDR=10008000 2>&1 | tee build.log
$ make DTC_FLAGS="-@" <device-tree>.dtb

Hi @medicalSpark ,

In the end, seems like for BSP 2.8 DTC_FLAGS="-@" shouldn’t be used. We will review the documentation.

And for you question

Yes, it is ok.

Best regards,