调试步骤:
1、在stm32mp157c-100ask-512d-v1.dts中添加了根目录下的节点:
dts_test_100ask {
prop1 = “my_100ask_dts_test”;
};
2、在stm32mp157c-100ask-512d-lcd-v1.dts中添加了根目录下的节点:
retry_100ask_dtb {
debug_str = “100ask_dtb_debug”;
};
3、编译
- 设置环境
- make dtbs V=1
4、替换
把以下文件拷贝到板子的boot目录下:
./arch/arm/boot/dts/stm32mp157c-100ask-512d-v1.dtb
./arch/arm/boot/dts/stm32mp157c-100ask-512d-lcd-v1.dtb
./arch/arm/boot/dts/stm32mp157c-100ask-512d-hdmi-v1.dtb
5、重启主板
6、查看/sys/firmware/devicetree/base目录是否有生成对应,与预期不符,未找到节点和属性对应的文件夹/文件: