Doing this at the binary level would be nice, but I see enough problems just doing it at the source level and at least for my purposes, doing it on a dtb would be overkill, I think.
The main difficulty remains how to deal with cross references between nodes in a reasonable way where the references cross from one fragment to another. Steve > -----Original Message----- > From: Benjamin Herrenschmidt [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2008 11:22 PM > To: Stephen Neuendorffer > Cc: John Williams; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Michal Simek; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; linux- > [EMAIL PROTECTED]; linuxppc-dev@ozlabs.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; John Linn; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PATCH 12/60] microblaze_v4: Generic dts file for platforms > > > > 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. > > 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. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev