[U-Boot] dts support in u-boot

Jerry Van Baren
2009-12-01T12:11:32Z

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]