From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by ozlabs.org (Postfix) with ESMTP id 6EC88DDE1D for ; Tue, 27 Nov 2007 09:09:07 +1100 (EST) Received: by an-out-0708.google.com with SMTP id c37so139715anc for ; Mon, 26 Nov 2007 14:09:06 -0800 (PST) Message-ID: Date: Mon, 26 Nov 2007 15:09:06 -0700 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Stephen Neuendorffer" Subject: Re: Xilinx devicetrees In-Reply-To: <20071126215615.73F4B1138066@mail175-dub.bigfish.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <47480CF0.7090105@dlasys.net> <47493D4F.4070605@dlasys.net> <4749FD5E.7000408@dlasys.net> <20071125235855.95B9999804D@mail138-cpk.bigfish.com> <474B37C9.8020405@dlasystems.com> <20071126215615.73F4B1138066@mail175-dub.bigfish.com> Cc: "Koss, Mike \(Mission Systems\)" , "David H. Lynch Jr." , linuxppc-embedded List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 11/26/07, Stephen Neuendorffer wrote: > > > > -----Original Message----- > > From: David H. Lynch Jr. [mailto:dhlii@dlasystems.com] > > Sent: Monday, November 26, 2007 1:17 PM > > To: Koss, Mike (Mission Systems) > > Cc: Stephen Neuendorffer; Grant Likely; linuxppc-embedded > > Subject: Re: Xilinx devicetrees > > > > My objective is to get alot of software - linux, GHS, and > > standalone apps, to all load - from a single executables, accross > > multiple different bit images on several different (though > > deliberately > > similar) products. My Linux kernel needs to work regardless > > of the Pico > > card and regardless of the bit image, as done my GHS kernel, and .... > > And I need to do that in a severly resource constrained environment. > > I would hope that should make sense of my harping about > > version/capabilities registers. If I have maybe 10 possible > > peices of IP > > that may/maynot be present in a given FPGA and I am trying to > > dynamically configure - Linux/GHS/... to adapt to whatever it > > encounters > > and work as long as it is a viable combination. At best > > devicetrees are > > an extremly complex way of solving that - while version > > registers are a > > trivial way. I disagree. I'm not disputing that version registers are valuable. But I *am* disputing their value for device detection. It may work in your specific case of devices always in certain locations, but it does not help the general case where devices can be instantiated anywhere in the 4GB address space. > > It sounds like the real problem that you have is that even if you get > device trees working for Linux, you still have the same problem for GHS, > so from your perspective "device trees don't help" In embedded power.org land, device trees are becoming the recommended method for describing platform configuration for all embedded powerpc software. Not just Linux. So from that perspective device trees might help. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195