[U-Boot] dts support in u-boot

Jerry Van Baren gvb.uboot at gmail.com
Tue Dec 1 13:11:32 CET 2009


anupbehare at gmail.com wrote:
> Hi Jerry,
> 
> Thanks for the information.
> 
> Please find my understanding about dts:
> 1. I will have to create board specific *.dts file.

Yes.  You should start with one from the linux source tree that matches 
your essential hardware as closely as possible.  Get the basic 
functionality working and then add non-essential configuration later.

> 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

Yes to all of the above.

> 5. Apart from these macros no code changes in u-boot source code.

Probably ;-)

> Thanks,
> Anup B.

Best regards,
gvb

[snip]


More information about the U-Boot mailing list