For my custom board based on sama5d27 SOM I woud like to create my own device tree.
Up to now I have been using and applying a diff to the at91-sama5d27_som1_ek.dts file
Because I need to customize nearly every pin I thought it would be better to use my own file
What are the recommended approaches?
I tried to copy this file and rename it and add this to a bbappend kernel recipe
Code: Select all
SRC_URI += "file://my_dt.dts;subdir=git/arch/${ARCH}/boot/dts"
KERNEL_DEVICETREE += " my_dt.dtb"
I also tried to change KERNEL_DEVICETREE in the .conf file but the build fails with FATAL ERROR: Couldn't open "./at91-sama5d27_som1_ek.dtb": No such file or directory
I cant see anywhere that is selecting at91-sama5d27_som1_ek.dtb as the device tree blob file in the uboot config
Any ideas? Help is appreciated!