Hi, I’m learning Linux Device Drivers using the Milk-V Duo. I’m using buildroot to generate a system image for me: GitHub - milkv-duo/milkv-duo-buildroot: Which is preparing for the mainline.
I can see that linux adopts the dtb device tree file from the uboot sources.
I can directly edit the dts file
milkv-duo-buildroot/output/build/uboot-v2021.10_64mb/arch/riscv/dts/cv1800b_milkv_duo_sd.dts to include my custom modifications.
However when I run
make clean on buildroot this file will be gone. I know I can just back up the file somewhere outside buildroot.
But what is the correct way to include the custom dts file into my build? Thanks!