I have a custom dts that I want to compile. Referencing your “Build U-Boot and Linux Kernel from Source Code” and “Device Tree Customization” documents, I simply want to do similar to this:
oe-core/build/tmp-glibc/work-shared/colibri-imx7/kernel-source/arch/arm/boot/dts$ make imx7d-colibri-aster.dtb
but it reponds with “No rule to make target”. (I have my own dts for and added it into the Makefile, but I figure any existing target in the file should work)
I’ve also already looked at: iMX6DL customized device tree compile - Toradex Community, which describes a user with the same make-related problem.
As pointed out in that post, I made sure to use your steps to get the latest compiler:
Toolchain for Hard Float Calling Convention
Beginning with image 2.7b2, as part of our OpenEmbedded Morty update we transitioned to using version 6.2 of the gcc compiler. Linaro releases well tested binary toolchains which can be used to cross compile software for our modules (choose gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz):
But then here is another statement just below this in your instructions. I’m confused if I needed the above compiler anyway:
"Alternatively, if you did an OpenEmbedded build, you can use the toolchain generated as part of the build by entering the following:
Here is my environment:
Version: DTC 1.4.0
What have I done wrong?