Buildroot: how to modify device tree for custom board?

Viewed 921

I'm new to Buildroot system (I used Yocto before). I need to modify the device tree for my board, which is the best way to achieve that?

Thanks a lot, Simone

1 Answers

Make a copy of the dts (typically in board/<company>/<boardname>). Point to that dts in the "Out of tree custom DTS" menu entry (BR2_LINUX_KERNEL_CUSTOM_DTS_PATH) in the Buildroot menuconfig. Obviously, you need to build a kernel and enable the device tree option for this to work.

Related