<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: [PATCH 12/60] microblaze_v4: Generic dts file for platforms</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>In my opionion, we should only include dts files for reference designs, and it must be documented how to get the design that the dts corresponds to.<BR>
MD5 hashing might be one way to prevent people from getting the dts file wrong, however without some way of checking it automatically, I don't think<BR>
anyone will have the patience to checksum the design they have (even worse, with whitespace changes, the md5 sum will change, so this is pretty fragile.<BR>
Having a device tree in the kernel for documentation *shouldn't* be necessary, since noone should ever write their dts by hand. (right?)<BR>
Hence, I'd prefer to not put the dts file in the kernel at all, and but to automatically generate the dts and store it in the blockram of the design.<BR>
This inextricably associates the dts with the design.<BR>
<BR>
As for the copyright, I haven't been able to find much information on whether or not generated files are even copyrightable.&nbsp; One might argue that they<BR>
don't have sufficient 'creative value' to be copyrightable.&nbsp; Or arguably, they are as copyrightable by the generator author as by the author or the .mhs file.<BR>
I admit in this case, I've followed the safe route by claiming a copyright, which at least at Xilinx has significant precedent.<BR>
<BR>
Steve<BR>
<BR>
-----Original Message-----<BR>
From: John Williams [<A HREF="mailto:john.williams@petalogix.com">mailto:john.williams@petalogix.com</A>]<BR>
Sent: Sun 6/29/2008 5:02 PM<BR>
To: grant.likely@secretlab.ca<BR>
Cc: monstr@seznam.cz; linux-kernel@vger.kernel.org; arnd@arndb.de; linux-arch@vger.kernel.org; Stephen Neuendorffer; John Linn; matthew@wil.cx; will.newton@gmail.com; drepper@redhat.com; microblaze-uclinux@itee.uq.edu.au; linuxppc-dev@ozlabs.org; vapier.adi@gmail.com; alan@lxorguk.ukuu.org.uk; hpa@zytor.com; Michal Simek<BR>
Subject: Re: [PATCH 12/60] microblaze_v4: Generic dts file for platforms<BR>
<BR>
On Sat, Jun 28, 2008 at 3:49 PM, Grant Likely &lt;grant.likely@secretlab.ca&gt; wrote:<BR>
&gt; On Thu, Jun 26, 2008 at 5:29 AM,&nbsp; &lt;monstr@seznam.cz&gt; wrote:<BR>
&gt;&gt; From: Michal Simek &lt;monstr@monstr.eu&gt;<BR>
<BR>
&gt;&gt;&nbsp; arch/microblaze/platform/generic/system.dts |&nbsp; 300 +++++++++++++++++++++++++++<BR>
<BR>
&gt; Since this is a generated file, and entirely bitstream specific, does<BR>
&gt; it make sense to include it in the kernel tree?&nbsp; If it does, then is<BR>
&gt; it produced from one of the Xilinx reference designs?&nbsp; Can you add<BR>
&gt; documentation to the header that specifies exactly which design<BR>
&gt; version this .dts is for?<BR>
<BR>
I think there's value in having a generic DTS as an example or<BR>
template, even if it doesn't correspond to any specific machine.<BR>
Agreed a comment block explaining this is valuable.<BR>
<BR>
I'd almost oppose any attempt to include a standard DTS for things<BR>
like ML401 boards etc - they are just misleading.&nbsp; Unless we do MD5<BR>
hashes on MHS files, and use them as the filenames, any attempt to<BR>
define a standard platform will just fail and confuse people.&nbsp; Better<BR>
to show them how to generate the DTS for their system.<BR>
<BR>
&gt;&gt; +/*<BR>
&gt;&gt; + * (C) Copyright 2007-2008 Xilinx, Inc.<BR>
&gt;&gt; + * (C) Copyright 2007-2008 Michal Simek<BR>
&gt;&gt; + *<BR>
&gt;&gt; + * Michal SIMEK &lt;monstr@monstr.eu&gt;<BR>
&gt;<BR>
&gt; If this is a generated file, then is this copyright notice even appropriate?<BR>
<BR>
I agree.&nbsp; I think Michal is just copying Xilinx's habit of putting<BR>
copyright headers in generated files, and it's one that we should stop<BR>
now.<BR>
<BR>
Regards,<BR>
<BR>
John<BR>
<BR>
<BR>
</FONT>
</P>

<br clear=all> This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
</BODY>
</HTML>