From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: Cmdline FDT query tool Date: Thu, 27 May 2010 15:17:08 +1000 Message-ID: <20100527051708.GC3603@yookeroo> References: <20100522001725.GD10564@yookeroo> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: 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: John Williams Cc: Michal Simek , devicetree-discuss List-Id: devicetree@vger.kernel.org On Thu, May 27, 2010 at 11:40:51AM +1000, John Williams wrote: > On Sat, May 22, 2010 at 10:17 AM, David Gibson > wrote: > > On Tue, May 18, 2010 at 12:20:05PM -0600, Grant Likely wrote: > >> On Mon, May 17, 2010 at 8:03 PM, John Williams > >> wrote: > >> > Hi Grant, > >> > > >> > At ELC I mentioned a tool I'd written that basically hacked u-boot's > >> > "fdt" command into a commandline util for querying DTBs. =A0You can = do > >> > stuff like this: > >> > > >> > $ fdt-tool system.dtp print > >> > > >> > > >> > > >> > $ fdt-tool system.dtb list /cpus/cpu@0 xlnx,use-dcache > >> > xlnx,use-dcache =3D <0x1> > >> > > >> > and so on. > >> > >> Cool. =A0Thanks John. > >> > >> I agree with David. =A0It would probably be useful to include in the > >> libfdt (which U-Boot fdt support makes use of too) source repo. =A0See= ms > >> like a useful tool. > > > > Of course, to incorporate it with libfdt, it would need to be BSD > > dual-licensed, like the rest of libfdt, and we'd need sign-offs from > > all authors to that effect. > = > I have no problem with that, but since I ripped the guts of it > directly from u-boot there'll be a conversation to be had there. Ok. Do you have the means to track down the people with whom this conversation needs to happen? -- = 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