From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 09 Sep 2009 17:32:05 -0500 Subject: [U-Boot] Is there any full story about how to take advantage FDT function ? In-Reply-To: References: <4AA2B0CF.1050604@gmail.com> <20090909185356.GA8223@b07421-ec1.am.freescale.net> Message-ID: <4AA82CE5.1000904@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Gao Ya'nan wrote: > 2009/9/10 Scott Wood : >> On Sat, Sep 05, 2009 at 02:41:19PM -0400, Jerry Van Baren wrote: >>> I'm not up on 8xx, but it may not have been pulled forward into the >>> "powerpc" architecture (still "ppc"). The "powerpc" architecture switch >>> is where linux/u-boot started using the FDT. >> 8xx is supported in arch/powerpc. > > Yes, I have add CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP for the FDT > support which is missing in U-Boot-v2009.08, and it works well, but I > found none complete document on how to write a dts file and add > special device in it. > > Any tips? Thanks See Documentation/powerpc/booting-without-of.txt, Documentation/powerpc/dts-bindings, and the ePAPR specification for information on the content of device trees. -Scott