iMX6DL customized device tree compile

Dear Community,
I’m trying to compile my first device tree modified by following the guide
http://developer.toradex.com/device-tree-customization

with NO success!

user@host:~/linux-toradex/arch/arm/boot/dts$ make dtbs

rm -f /…/*.dtb

If I try even:

user@host:~/linux-toradex/arch/arm/boot/dts$
make imx6dl-colibri-my-carrier.dtb
make: *** No rule to make target
‘imx6dl-colibri-my-carrier.dtb’.
Stop.

Can you give more details on how to compile my customized Device Tree?

Than you

David

One does not need to be in arch/arm/boot/dts directory for building the dtbs. It is also possible from the topmost linux-toradex directory.

You need to add the custom dtb entry under here. After this assuming you have the toolchain setup as per here and have already executed

make colibri_imx6_defconfig

running

make imx6dl-colibri-my-carrier.dtb

should result in compilation of this device tree file.

Hi,

I tied as you said but I still got an error.

user@host:make colibri_imx6_defconfig
make: *** No rule to make target 'colibri_imx6_defconfig'.  Stop.

Do you have any idea?

Hi

Likely you did not checkout the correct kernel branch.
Please have a look here.

Max

Hi Experts,
I just tried today without check it out a different branch and it worked.

Thank you for your help.