From mboxrd@z Thu Jan 1 00:00:00 1970 From: anupbehare at gmail.com Date: Mon, 30 Nov 2009 10:01:28 +0000 Subject: [U-Boot] dts support in u-boot In-Reply-To: <4B0FE776.9050106@gmail.com> Message-ID: <001485f645b49e0a49047993b9b0@google.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jerry, Thanks for the information. Please find my understanding about dts: 1. I will have to create board specific *.dts file. 2. Need to download latest dtc compiler. 3. Compile dts file using dtc compiler which will generate *.dtb file 4. Enable following macros in u-boot code #define CONFIG_OF_LIBFDT #define CONFIG_OF_BOARD_SETUP 5. Apart from these macros no code changes in u-boot source code. Thanks, Anup B. On 27-Nov-2009 8:21pm, Jerry Van Baren wrote: > Hi Anup, > anupbehare at gmail.com wrote: > Hi, > I am porting u-boot on ppc440x5 core based board. I need to support dts > in uboot. > As i am new to dts, can anyone please let me know the procedure to > support it in uboot? > Thanks, > Anup B. > It is already supported in u-boot. > http://www.denx.de/wiki/view/DULG/UBootCmdFDT> > You will need to create a .dts file to describe your board, compile it > with the dtc compiler, and boot using either the 3 parameter version of > bootm or using a FIT all-in-one image (preferred). > txt> > See also the linux documentation: > booting-without-of.txt> > and some more FDT background: > http://www.denx.de/wiki/view/U-Boot/UBootFdtInfo#Background_Information_on_Flatte> > If you have specific questions after reading the above, ask away. > Best regards, > gvb