Difference Between Dts and Acpi

What is the difference between .dts file and .dtsi file?

Here, as explained by Thomas Petazzoni and as point out in one of the comments by @mc110, you can find that:

  1. .dts <- files for board-level definitions
  2. .dtsi <- files for included files, generally containing SoC-level
    definitions (the i in dtsi stands for Include)

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.

Note that the i at the end of dtsi stands for include ( observed by @0andriy in one of the comments).

Note also that:

  1. .dts <- Device Tree Source
  2. .dtb <- Devide Tree Blob
  3. .dtsi <- Device Tree Source Include

Global variable storage in ACPI

Where are the global variables in an ACPI namespace stored in RAM?

It depends on the AML interpreter and the OS. For monolithic kernels, it's likely that any indexing of ACPI's global namespace (e.g. a hash table used to find an object from its name), the variable's metadata (name, object type) and the variable's value will all end up in the kernel's heap (in memory allocated by some kind of kmalloc() provided by the kernel's memory management).



Related Topics



Leave a reply



Submit