From: Yann Droneaud <ydroneaud@opteya.com>
To: Rob Herring <robherring2@gmail.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
licensing@fsf.org
Subject: Re: Device Tree Blob (DTB) licence
Date: Fri, 22 May 2015 12:05:48 +0200 [thread overview]
Message-ID: <1432289148.5304.58.camel@opteya.com> (raw)
In-Reply-To: <CAL_Jsq+T5c7qornpRVCduEjUSCeM+0xqbtVYovtH76y=4BqhLQ@mail.gmail.com>
Hi,
Le mardi 05 mai 2015 à 11:41 -0500, Rob Herring a écrit :
> On Tue, May 5, 2015 at 5:05 AM, Yann Droneaud <ydroneaud@opteya.com>
> wrote:
> >
> > I believe Device Tree Blob (.dtb file) built from kernel's Device
> > Tree
> > Sources (.dts, which #include .dtsi, which #include .h) using
> > Device
> > Tree Compiler (dtc) are covered by GNU General Public Licence v2
> > (GPLv2), but cannot find any reference.
>
> By default yes, but we've been steering people to dual license them
> GPL/BSD.
>
Can you give me the rationale behind such dual licenses requirement ?
If a BSD .dts includes GPLv2 .h, the whole is covered by GPLv2,
so I cannot find a case where a BSD covered .dts file could be used
alone within BSD license rights.
> > As most .dtsi in arch/arm/boot/dts/ are covered by GPLv2, and,
> > as most .h in include/dt-bindings/ are also covered by GPLv2,
> > the source code is likely covered by GPLv2.
> >
> > Then this source code is translated in a different language
> > (flattened
> > device tree), so the resulting translation is also likely covered
> > by
> > GPLv2.
> >
> > So, when I'm proposed to download a .dtb file from a random vendor,
> > can I require to get the associated source code ?
>
> I believe so yes. However, you already have the "source" for the most
> part. Just run "dtc -I dtb -O dts <dtb file>". You loose the
> preprocessing and include structure though (not necessarily a bad
> thing IMO).
>
> Then the question is what is the license on that generated dts!
>
That's also a good question.
Is this a form a "reverse engineering" with all the legalese burden ?
Anyway without a clear information attached to the DTB, it's difficult
to tell which licence cover the "decompiled" version.
> > Anyway, for a .dtb file generated from kernel sources, it's rather
> > painful to look after all .dts, .dtsi, .h, to find what kind of
> > licences are applicables, as some are covered by BSD, dual licensed
> > (any combination of X11, MIT, BSD, GPLv2).
>
> I imagine the includes cause some licensing discrepancies if you dug
> into it.
>
It's a pity, and it's probably something to sort out.
DTB files produced as part of kernel compilation should have a well
known license attached by default.
Regards.
--
Yann Droneaud
OPTEYA
next prev parent reply other threads:[~2015-05-22 10:05 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 10:05 Device Tree Blob (DTB) licence Yann Droneaud
2015-05-05 16:41 ` Rob Herring
2015-05-22 10:05 ` Yann Droneaud [this message]
[not found] ` <1432289148.5304.58.camel-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>
2015-05-22 16:26 ` Rob Herring
2015-05-28 12:31 ` Enrico Weigelt, metux IT consult
2015-05-22 19:27 ` Yann Droneaud
2015-05-25 7:14 ` Rob Landley
[not found] ` <CAOS_Y6Q37ps+VEnzUZ_uwX++qrRm9Hgx45Q_pmiZSLSNjmKwZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-25 20:04 ` Willy Tarreau
2015-05-28 12:32 ` Enrico Weigelt, metux IT consult
[not found] ` <55670AD4.8020705-d/C+FbuhHiA@public.gmane.org>
2015-05-28 13:34 ` Russell King - ARM Linux
[not found] ` <20150528133429.GD2067-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2015-05-28 16:52 ` Enrico Weigelt, metux IT consult
[not found] ` <556747E4.6070403-d/C+FbuhHiA@public.gmane.org>
2015-05-29 6:47 ` Willy Tarreau
[not found] ` <20150529064741.GB25351-K+wRfnb2/UA@public.gmane.org>
2015-05-29 11:35 ` Enrico Weigelt, metux IT consult
[not found] ` <55684F07.7050402-d/C+FbuhHiA@public.gmane.org>
2015-05-29 22:16 ` David Lang
2015-05-30 15:28 ` Geert Uytterhoeven
[not found] ` <alpine.DEB.2.02.1505291512000.4429-UEhY+ZBZOcqqLGM74eQ/YA@public.gmane.org>
2015-06-01 13:12 ` One Thousand Gnomes
2015-06-01 15:19 ` Warner Losh
2015-05-29 3:31 ` Rob Landley
[not found] ` <CAOS_Y6QXHdWfi9qkRmw=mCn0mqha5-NrzumBMqJ61_YRndypLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-29 15:10 ` Enrico Weigelt, metux IT consult
[not found] ` <55688182.3010606-d/C+FbuhHiA@public.gmane.org>
2015-05-29 22:21 ` David Lang
2015-05-30 2:43 ` Jean-Christophe PLAGNIOL-VILLARD
2015-06-22 12:57 ` Pavel Machek
2015-05-30 19:59 ` Jeroen Hofstee
[not found] ` <556A169E.8030909-D9wZyEIIrd305oU+jsXUgg@public.gmane.org>
2015-05-31 7:12 ` Warner Losh
2015-06-01 13:17 ` One Thousand Gnomes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432289148.5304.58.camel@opteya.com \
--to=ydroneaud@opteya.com \
--cc=devicetree@vger.kernel.org \
--cc=licensing@fsf.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robherring2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).