简体   繁体   English

.dts 文件和 .dtsi 文件有什么区别?

[英]What is the difference between .dts file and .dtsi file?

What is the difference between .dts file and .dtsi file? .dts文件和.dtsi文件有什么.dtsi Is there a difference when generating device tree blobs?生成设备树 blob 时有区别吗? When to use one or the other?何时使用其中之一?

Here , as explained by Thomas Petazzoni and as point out in one of the comments by @mc110, you can find that: 在这里,正如 Thomas Petazzoni 所解释的以及@mc110 的评论之一所指出的,您可以发现:

  1. .dts <- files for board-level definitions .dts <- 板级定义文件
  2. .dtsi <- files for included files, generally containing SoC-level definitions (the i in dts i stands for Include ) .dtsi < -所包含的文件,通常含有的SoC级定义(在DTS i表示包括I)文件

However, once the .dtb was created with a Device Tree Compiler, if you try to come back again obtaining a text file, only one big file will be created with all the information coming from all the /include/ files.但是,一旦使用设备树编译器创建了.dtb ,如果您尝试再次返回获取文本文件,则只会创建一个大文件,其中/include/来自所有/include/文件的所有信息。

Note that the i at the end of dtsi stands for include ( observed by @0andriy in one of the comments).请注意,DTSI结束代表包括(通过@ 0andriy在评论一个观察)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM