"Linux-device Tree" device tree

Source: Internet
Author: User

Prior to Linux3.1, board-level information is generally stored in the/arch/arm/mach-** directory for devices on a typical arm platform.

The files for the device tree are stored in the/arch/arm/boot/dts/***.dts directory

The purpose of the device tree introduction:

Avoid the duplication of individual vendor code, accelerating the development of the Linux kernel BSP. Compiling a mirror can support multiple different devices, just need to compile the corresponding device tree and package it.

Device tree: is a data structure (binary file) that describes the hardware information of the board and loads the different (corresponding kernels) via LK (bootloader).

Content: DTS source file----DTC compilation generates---DTB file---can be loaded into the kernel by giving LK a boot.

Source file: Contains information CPU, bus, serial port, physical memory, GPIO, controller information and so on (similar to our previous board level information mach--xx);

Based on the Open firmware derivative!

Lk-----Boot The kernel to this file (structure syntax parsing), when the kernel up, some corresponding devices, you can get the corresponding board-level hardware information.

"Linux-device Tree" device tree

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.