Wener Site

dtb

约 1 分钟阅读

Device Tree

  • dtb - Device Tree Blob - device tree binary
    • hardware layout description
    • platform identification
    • runtime configuration
    • device population
  • arch/<arch>/boot/dts/<board>
  • CONFIG_ARM_APPENDED_DTB - dtb 在 kernel 之后
    • cat zImage board.dtb > my-zImage; mkimage ... -d my-zImage my-uImage
  • CONFIG_ARM_ATAG_DTB_COMPAT
    • read ATAGS, update DT
  • Embedded Power Architecture Platform Requirements (ePAPR)
  • Device Tree Source - DTS
  • Device Tree Compiler
  • Documentation/devicetree/bindings

Device Tree

  • cpus
  • memory
  • chosen
    • defines parameters chosen or defined by the system firmware at boot time
  • aliases
  • buses
text
/ {
model = "Freescale i.MX28 Evaluation Kit";
compatible = "fsl,imx28-evk", "fsl,imx28";
memory {
  reg = <0x40000000 0x08000000>;
};
apb@80000000 {
  apbh@80000000 {  };
  apbx@80040000 {  };
};
ahb@80080000 {  };
sound {  };
leds {  };
backlight {  };
};
  • of_machine_is_compatible

References

关联信息

反向链接和本文引用的外部资料。

References

GitHub

2 条

Wikipedia

1 条

其他外链

6 条
最近更新commit ca4c4c7Edit

On this page