From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: RE: [PATCH 12/60] microblaze_v4: Generic dts file for platforms Date: Tue, 01 Jul 2008 16:21:42 +1000 Message-ID: <1214893302.20711.102.camel@pasglop> References: <1214483429-32360-1-git-send-email-monstr@seznam.cz> <1214483429-32360-6-git-send-email-monstr@seznam.cz> <1214483429-32360-7-git-send-email-monstr@seznam.cz> <1214483429-32360-8-git-send-email-monstr@seznam.cz> <1214483429-32360-9-git-send-email-monstr@seznam.cz> <1214483429-32360-10-git-send-email-monstr@seznam.cz> <1214483429-32360-11-git-send-email-monstr@seznam.cz> <1214483429-32360-12-git-send-email-monstr@seznam.cz> <1214483429-32360-13-git-send-email-monstr@seznam.cz> <1d3f23370806291702g4344a2f9lb62f85cbb475fca4@mail.gmail.com> <20080630033943.332471860046@mail171-va3.bigfish.com> Reply-To: benh@kernel.crashing.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:53053 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731AbYGAGZG (ORCPT ); Tue, 1 Jul 2008 02:25:06 -0400 In-Reply-To: <20080630033943.332471860046@mail171-va3.bigfish.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Stephen Neuendorffer Cc: John Williams , grant.likely@secretlab.ca, linux-arch@vger.kernel.org, Michal Simek , vapier.adi@gmail.com, arnd@arndb.de, matthew@wil.cx, microblaze-uclinux@itee.uq.edu.au, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, will.newton@gmail.com, hpa@zytor.com, John Linn , monstr@seznam.cz, drepper@redhat.com, alan@lxorguk.ukuu.org.uk > As for the copyright, I haven't been able to find much information on > whether or not generated files are even copyrightable. One might > argue that they > don't have sufficient 'creative value' to be copyrightable. Or > arguably, they are as copyrightable by the generator author as by the > author or the .mhs file. > I admit in this case, I've followed the safe route by claiming a > copyright, which at least at Xilinx has significant precedent. Also, thinking about your idea of sticking bits in BRAM etc... what would be nice would be the ability to "merge" trees. We've been talking about that multiple times, it would be useful at several levels: - We could provide pre-made DTs for known CPUs (ie, 440GP, 440GX, 405EX, ...) - Boards can then include that, and then "override" some properties (clocks, PHY wiring, ...) - That could be done at the binary level too so that the BRAM contains on "overlay" on top of the base ref. platform device-tree that comes with the kernel for example. This is slightly different between doing that in the .dts source via some kind of #include vs. doing that by merging blobs but we could make it be essentially be the same internally: The #include generates a blob that is then "merged in". Just random thoughts... Ben.