STM32MP157-DK2 Conversion of DTS to DTB Problem
Hi,
I created a project in Cube-IDE . It is a simple PWM timer Project which planned to be run on A7 processor of the STM32MP1 . I established configurations in Cube-MX and generated the code into the Cube IDE. After that, I moved the .dts file which is in the kernel of the CubeIDE project into the linux kernel arch/arm/boot/dts directory. I am following this video which is a simple PWM timer project(ww.youtube.com/watch?v=XhB0rGLjl_Q&list=PLnMKNibPkDnFeV4sBarnsAtFTg7h6V-9_&index=9). However, in this video conversion of dts to dtb is not shown. The board is booted with a pre-ready .dtb file. I am trying to use the "make dtbs" command it won't work. "No rule to make target. I am also creating an another "build directory" which is located on the arch/arm/boot/build .(Another than the kernel source directory.) Should I copy the .dts file of the project into this build directory? and compile dts to dtb in this directory? And what about the Makefile ? Should I also copy this to that directory?
My questions might feel confusing. But I will reply it quickly if you find any unclear part.
Reference links:
wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#Modifying_the_Linux_kernel_device_tree
ww.youtube.com/watch?v=XhB0rGLjl_Q&list=PLnMKNibPkDnFeV4sBarnsAtFTg7h6V-9_&index=10
