I've made a few changes to my imx8mm-evk.dts located in <build>/tmp/work-shared/imx8mmevk/kernel-source/arch/arm64/boot/dts/freescale. Now I need to compile imx8mm-evk.dts it to a dtb file and move it over to <build>/tmp/deploy/images/imx8mmevk so that I can use it in my Yocto image.
I've tried to bitbake my image again and that didn't work. I read someone said they ran bitbake -c menuconfig linux-imx to recompile the dts file but that opens up another window "Linux/arm64 5.4.47 Kernel Configuration" that I have no idea what to do with.
I tried using DTC
dtc -I dts -O dtb -o imx8mm-evk.dtb imx8mm-evk.dts
and got this error.
Error: imx8mm-evk.dts:8.1-9 syntax error
FATAL ERROR: Unable to parse input tree
I read that DTC didn't like the "#" in my dts file so I changed it to "/include" and I got the same error.
I tried to run the make file in the freescale folder from above and got this error
make -f Makefile
make: *** No targets. Stop.
How do you make changes to the dts file and then implement them into your project?
Thanks