1.下载dtc编译工具
sudo apt-get install u-boot-tools
2.预处理dts文件
cpp -P -x assembler-with-cpp -I ./include am335x-boneblack.dts cpp_am335x-boneblack.dts
3.编译dtb文件
dtc -I dts -O dtb -o am335x-boneblack.dtb cpp_am335x-boneblack.dts
编译设备树DTB文件
最新推荐文章于 2023-11-30 16:33:29 发布