Deleted Added
full compact
manual.txt (204431) manual.txt (204433)
1Device Tree Compiler Manual
2===========================
3
4I - "dtc", the device tree compiler
5 1) Obtaining Sources
6 2) Description
7 3) Command Line
8 4) Source File

--- 5 unchanged lines hidden (view full) ---

14 1) Header
15 2) Device tree generalities
16 3) Device tree "structure" block
17 4) Device tree "strings" block
18
19
20III - libfdt
21
1Device Tree Compiler Manual
2===========================
3
4I - "dtc", the device tree compiler
5 1) Obtaining Sources
6 2) Description
7 3) Command Line
8 4) Source File

--- 5 unchanged lines hidden (view full) ---

14 1) Header
15 2) Device tree generalities
16 3) Device tree "structure" block
17 4) Device tree "strings" block
18
19
20III - libfdt
21
22IV - Utility Tools
23 1) convert-dtsv0 -- Conversion to Version 1
24 1) ftdump
22
25
26
23I - "dtc", the device tree compiler
24===================================
25
261) Sources
27
28Source code for the Device Tree Compiler can be found at jdl.com.
29The gitweb interface is:
30
27I - "dtc", the device tree compiler
28===================================
29
301) Sources
31
32Source code for the Device Tree Compiler can be found at jdl.com.
33The gitweb interface is:
34
31 http://www.jdl.com/git_repos/
35 http://git.jdl.com/gitweb/
32
33The repository is here:
34
35 git://www.jdl.com/software/dtc.git
36 http://www.jdl.com/software/dtc.git
37
38Tarballs of the 1.0.0 and latest releases are here:
39
36
37The repository is here:
38
39 git://www.jdl.com/software/dtc.git
40 http://www.jdl.com/software/dtc.git
41
42Tarballs of the 1.0.0 and latest releases are here:
43
40 http://www.jdl.com/software/dtc-1.0.0.tgz
44 http://www.jdl.com/software/dtc-v1.2.0.tgz
41 http://www.jdl.com/software/dtc-latest.tgz
42
43
442) Description
45
46The Device Tree Compiler, dtc, takes as input a device-tree in
47a given format and outputs a device-tree in another format.
48Typically, the input format is "dts", a human readable source

--- 559 unchanged lines hidden (view full) ---

608are stored separately in the "strings" block. This block is simply the
609whole bunch of zero terminated strings for all property names
610concatenated together. The device-tree property definitions in the
611structure block will contain offset values from the beginning of the
612strings block.
613
614
615III - libfdt
45 http://www.jdl.com/software/dtc-latest.tgz
46
47
482) Description
49
50The Device Tree Compiler, dtc, takes as input a device-tree in
51a given format and outputs a device-tree in another format.
52Typically, the input format is "dts", a human readable source

--- 559 unchanged lines hidden (view full) ---

612are stored separately in the "strings" block. This block is simply the
613whole bunch of zero terminated strings for all property names
614concatenated together. The device-tree property definitions in the
615structure block will contain offset values from the beginning of the
616strings block.
617
618
619III - libfdt
620============
616
617This library should be merged into dtc proper.
618This library should likely be worked into U-Boot and the kernel.
621
622This library should be merged into dtc proper.
623This library should likely be worked into U-Boot and the kernel.
624
625
626IV - Utility Tools
627==================
628
6291) convert-dtsv0 -- Conversion to Version 1
630
631convert-dtsv0 is a small utility program which converts (DTS)
632Device Tree Source from the obsolete version 0 to version 1.
633
634Version 1 DTS files are marked by line "/dts-v1/;" at the top of the file.
635
636The syntax of the convert-dtsv0 command line is:
637
638 convert-dtsv0 [<input_filename ... >]
639
640Each file passed will be converted to the new /dts-v1/ version by creating
641a new file with a "v1" appended the filename.
642
643Comments, empty lines, etc. are preserved.
644
645
6462) ftdump -- Flat Tree dumping utility
647
648The ftdump program prints a readable version of a flat device tree file.
649
650The syntax of the ftdump command line is:
651
652 ftdump <DTB-file-name>