Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761344AbbEEQli (ORCPT ); Tue, 5 May 2015 12:41:38 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:35422 "EHLO mail-yk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756640AbbEEQlg (ORCPT ); Tue, 5 May 2015 12:41:36 -0400 MIME-Version: 1.0 In-Reply-To: <1430820315.19516.26.camel@opteya.com> References: <1430820315.19516.26.camel@opteya.com> From: Rob Herring Date: Tue, 5 May 2015 11:41:15 -0500 Message-ID: Subject: Re: Device Tree Blob (DTB) licence To: Yann Droneaud Cc: "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1725 Lines: 41 On Tue, May 5, 2015 at 5:05 AM, Yann Droneaud wrote: > Hi, > > 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. > 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 ". 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! > 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. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/