Blame README.license

Packit Service 87beb7
Licensing and contribution policy of dtc and libfdt
Packit Service 87beb7
===================================================
Packit Service 87beb7
Packit Service 87beb7
This dtc package contains two pieces of software: dtc itself, and
Packit Service 87beb7
libfdt which comprises the files in the libfdt/ subdirectory.  These
Packit Service 87beb7
two pieces of software, although closely related, are quite distinct.
Packit Service 87beb7
dtc does not incorporate or rely on libfdt for its operation, nor vice
Packit Service 87beb7
versa.  It is important that these two pieces of software have
Packit Service 87beb7
different license conditions.
Packit Service 87beb7
Packit Service 87beb7
As SPDX license tags in each source file attest, dtc is licensed
Packit Service 87beb7
under the GNU GPL.  The full text of the GPL can be found in the file
Packit Service 87beb7
entitled 'GPL' which should be included in this package.  dtc code,
Packit Service 87beb7
therefore, may not be incorporated into works which do not have a GPL
Packit Service 87beb7
compatible license.
Packit Service 87beb7
Packit Service 87beb7
libfdt, however, is GPL/BSD dual-licensed.  That is, it may be used
Packit Service 87beb7
either under the terms of the GPL, or under the terms of the 2-clause
Packit Service 87beb7
BSD license (aka the ISC license).  The full terms of that license can
Packit Service 87beb7
be found are in the file entitled 'BSD-2-Clause'. This is, in
Packit Service 87beb7
practice, equivalent to being BSD licensed, since the terms of the BSD
Packit Service 87beb7
license are strictly more permissive than the GPL.
Packit Service 87beb7
Packit Service 87beb7
I made the decision to license libfdt in this way because I want to
Packit Service 87beb7
encourage widespread and correct usage of flattened device trees,
Packit Service 87beb7
including by proprietary or otherwise GPL-incompatible firmware or
Packit Service 87beb7
tools.  Allowing libfdt to be used under the terms of the BSD license
Packit Service 87beb7
makes that it easier for vendors or authors of such software to do so.
Packit Service 87beb7
Packit Service 87beb7
This does mean that libfdt code could be "stolen" - say, included in a
Packit Service 87beb7
proprietary fimware and extended without contributing those extensions
Packit Service 87beb7
back to the libfdt mainline.  While I hope that doesn't happen, I
Packit Service 87beb7
believe the goal of allowing libfdt to be widely used is more
Packit Service 87beb7
important than avoiding that.  libfdt is quite small, and hardly
Packit Service 87beb7
rocket science; so the incentive for such impolite behaviour is small,
Packit Service 87beb7
and the inconvenience caused thereby is not dire.
Packit Service 87beb7
Packit Service 87beb7
Licenses such as the LGPL which would allow code to be used in non-GPL
Packit Service 87beb7
software, but also require contributions to be returned were
Packit Service 87beb7
considered.  However, libfdt is designed to be used in firmwares and
Packit Service 87beb7
other environments with unusual technical constraints.  It's difficult
Packit Service 87beb7
to anticipate all possible changes which might be needed to meld
Packit Service 87beb7
libfdt into such environments and so difficult to suitably word a
Packit Service 87beb7
license that puts the boundary between what is and isn't permitted in
Packit Service 87beb7
the intended place.  Again, I judged encouraging widespread use of
Packit Service 87beb7
libfdt by keeping the license terms simple and familiar to be the more
Packit Service 87beb7
important goal.
Packit Service 87beb7
Packit Service 87beb7
**IMPORTANT** It's intended that all of libfdt as released remain
Packit Service 87beb7
permissively licensed this way.  Therefore only contributions which
Packit Service 87beb7
are released under these terms can be merged into the libfdt mainline.
Packit Service 87beb7
Packit Service 87beb7
Packit Service 87beb7
David Gibson <david@gibson.dropbear.id.au>
Packit Service 87beb7
(principal original author of dtc and libfdt)
Packit Service 87beb7
2 November 2007