From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: CELF Project Proposal/Add Device Tree emulation support to QEMU Date: Mon, 24 May 2010 18:31:45 +1000 Message-ID: <20100524083145.GF3603@yookeroo> References: <4BF9BB22.2000603@crca.org.au> <4BFA251A.4080601@firmworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4BFA251A.4080601-D5eQfiDGL7eakBO8gow8eQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Mitch Bradley Cc: Nigel Cunningham , devicetree-discuss , "Edgar E. Iglesias" , Jeremy Kerr , John Williams List-Id: devicetree@vger.kernel.org On Sun, May 23, 2010 at 09:04:58PM -1000, Mitch Bradley wrote: > Grant Likely wrote: > >(cc'ing devicetree-discuss and others) > > > >On Sun, May 23, 2010 at 5:32 PM, Nigel Cunningham > > wrote: > >>http://elinux.org/CELF_Project_Proposal/Add_Device_Tree_emulation_support_to_QEMU > > Just in case anyone is interested - > > One Laptop Per Child is doing some ARM work, so I have resurrected > FirmWorks' ARM version of Open Firmware. It's in the open source > OFW tree at http://openfirmware.info/Open_Firmware . There is a > build that runs under QEMU, in the subdirectory cpu/arm/versatilepb > . FirmWorks' core ARM stuff is fairly solid, having been developed > to shipping quality for Digital's "Shark" (aka DNARD) system, just > prior to Digital's demise and the sale of StrongARM to Intel. > > I'll be adding more elaborations in the near future. One item on > the short list is to auto-generate a flattened device tree from the > real device tree. That should be pretty easy to do. In fact, this was one of the use-cases I explicitly thought of when writing libfdt. If you're using libfdt (and if not, why not) and it's missing something handy for this, I'll be happy to add it. > It's a pity that the dynamic device tree has to > be projected onto a static structure, but I guess that Gresham's Law > applies to software too. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson