ZYNQ Base-->linux Device tree

Source: Internet
Author: User
1. Concept

The Linux device tree is a file used to describe hardware and some of the boot instructions, passed to the kernel by bootloader,

The kernel parses this file and uses different parameters for the hardware.

For example, two development boards are just different memory capacity, then only need to modify the memory capacity in the device tree description,

Without having to recompile the kernel.

There are several files related to the device tree:

DTS (device tree source)

The. dts file, which is a text file in ASCII string form, is directly modified by the developer.

For ARM architectures, these files are located in the: Arch/arm/boot/dts directory.

DTSI (device tree source include)

. dtsi files that are included with the. dts file. Moreover. DTSi files may also contain the. dtsi file. It's a good idea to include a header file with C + +.

This file contains many configurations that are common to many devices.

DTB (Device tree blob)

By using the tool to compile the DTS file into a. dtb binary file, bootloader passes this file to the kernel, so that the kernel resolves quickly.

2. Rules

ZYNQ Base-->linux 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.