• Home
Name Date Size #Lines LOC

..--

Documentation/03-May-2024-1,7711,417

libfdt/03-May-2024-5,1022,155

scripts/03-May-2024-5531

tests/03-May-2024-10,5007,257

.gitignoreD03-May-2024130 1817

.travis.ymlD03-May-202457 64

Android.bpD03-May-202427 43

Android.mkD03-May-2024556 3224

GPLD03-May-202417.6 KiB341281

MakefileD03-May-20246.4 KiB301199

Makefile.convert-dtsv0D03-May-2024286 145

Makefile.dtcD03-May-2024372 1912

Makefile.utilsD03-May-2024364 2512

READMED03-May-2024560 1712

README.licenseD03-May-20242.9 KiB5747

README.versionD03-May-2024149 43

TODOD03-May-2024260 98

checks.cD03-May-202422.1 KiB846642

convert-dtsv0-lexer.lD03-May-20245 KiB250187

data.cD03-May-20245.1 KiB270185

dtc-lexer.lD03-May-20246.7 KiB307228

dtc-parser.yD03-May-20249.8 KiB534436

dtc.cD03-May-20249.3 KiB366297

dtc.hD03-May-20248.2 KiB286188

dtdiffD03-May-2024636 3926

fdtdump.cD03-May-20245.7 KiB241197

fdtget.cD03-May-20248.8 KiB367254

fdtput.cD03-May-202411.3 KiB481333

flattree.cD03-May-202422.2 KiB941688

fstree.cD03-May-20242.2 KiB9154

livetree.cD03-May-202419.9 KiB1,003726

srcpos.cD03-May-20246.8 KiB303186

srcpos.hD03-May-20243.5 KiB11852

treesource.cD03-May-20246 KiB285221

util.cD03-May-20249.4 KiB475344

util.hD03-May-20247.6 KiB26478

version_non_gen.hD03-May-202446 21

README

1The source tree contains the Device Tree Compiler (dtc) toolchain for
2working with device tree source and binary files and also libfdt, a
3utility library for reading and manipulating the binary format.
4
5DTC and LIBFDT are maintained by:
6
7David Gibson <david@gibson.dropbear.id.au>
8Jon Loeliger <jdl@jdl.com>
9
10Mailing list
11------------
12The following list is for discussion about dtc and libfdt implementation
13mailto:devicetree-compiler@vger.kernel.org
14
15Core device tree bindings are discussed on the devicetree-spec list:
16mailto:devicetree-spec@vger.kernel.org
17

README.license

1Licensing and contribution policy of dtc and libfdt
2===================================================
3
4This dtc package contains two pieces of software: dtc itself, and
5libfdt which comprises the files in the libfdt/ subdirectory.  These
6two pieces of software, although closely related, are quite distinct.
7dtc does not incoporate or rely on libfdt for its operation, nor vice
8versa.  It is important that these two pieces of software have
9different license conditions.
10
11As the copyright banners in each source file attest, dtc is licensed
12under the GNU GPL.  The full text of the GPL can be found in the file
13entitled 'GPL' which should be included in this package.  dtc code,
14therefore, may not be incorporated into works which do not have a GPL
15compatible license.
16
17libfdt, however, is GPL/BSD dual-licensed.  That is, it may be used
18either under the terms of the GPL, or under the terms of the 2-clause
19BSD license (aka the ISC license).  The full terms of that license are
20given in the copyright banners of each of the libfdt source files.
21This is, in practice, equivalent to being BSD licensed, since the
22terms of the BSD license are strictly more permissive than the GPL.
23
24I made the decision to license libfdt in this way because I want to
25encourage widespread and correct usage of flattened device trees,
26including by proprietary or otherwise GPL-incompatible firmware or
27tools.  Allowing libfdt to be used under the terms of the BSD license
28makes that it easier for vendors or authors of such software to do so.
29
30This does mean that libfdt code could be "stolen" - say, included in a
31proprietary fimware and extended without contributing those extensions
32back to the libfdt mainline.  While I hope that doesn't happen, I
33believe the goal of allowing libfdt to be widely used is more
34important than avoiding that.  libfdt is quite small, and hardly
35rocket science; so the incentive for such impolite behaviour is small,
36and the inconvenience caused therby is not dire.
37
38Licenses such as the LGPL which would allow code to be used in non-GPL
39software, but also require contributions to be returned were
40considered.  However, libfdt is designed to be used in firmwares and
41other environments with unusual technical constraints.  It's difficult
42to anticipate all possible changes which might be needed to meld
43libfdt into such environments and so difficult to suitably word a
44license that puts the boundary between what is and isn't permitted in
45the intended place.  Again, I judged encouraging widespread use of
46libfdt by keeping the license terms simple and familiar to be the more
47important goal.
48
49**IMPORTANT** It's intended that all of libfdt as released remain
50permissively licensed this way.  Therefore only contributions which
51are released under these terms can be merged into the libfdt mainline.
52
53
54David Gibson <david@gibson.dropbear.id.au>
55(principal original author of dtc and libfdt)
562 November 2007
57

README.version

1URL: https://git.kernel.org/cgit/utils/dtc/dtc.git/commit/?id=120775eb1cf39f8dcecd695c3ff1cfef8aeb669d
2Version: 1.4.2 plus bugfixes
3Owners: cphoenix
4