* [U-Boot] dts support in u-boot
@ 2009-11-27 14:11 anupbehare at gmail.com
2009-11-27 14:51 ` Jerry Van Baren
0 siblings, 1 reply; 4+ messages in thread
From: anupbehare at gmail.com @ 2009-11-27 14:11 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] dts support in u-boot
2009-11-27 14:11 [U-Boot] dts support in u-boot anupbehare at gmail.com
@ 2009-11-27 14:51 ` Jerry Van Baren
2009-11-30 10:01 ` anupbehare at gmail.com
0 siblings, 1 reply; 4+ messages in thread
From: Jerry Van Baren @ 2009-11-27 14:51 UTC (permalink / raw)
To: u-boot
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).
<u-boot/doc/uImage.FIT/howto.txt>
See also the linux documentation:
<linux/Documentation/powerpc/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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] dts support in u-boot
2009-11-27 14:51 ` Jerry Van Baren
@ 2009-11-30 10:01 ` anupbehare at gmail.com
2009-12-01 12:11 ` Jerry Van Baren
0 siblings, 1 reply; 4+ messages in thread
From: anupbehare at gmail.com @ 2009-11-30 10:01 UTC (permalink / raw)
To: u-boot
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 <gvb.uboot@gmail.com> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] dts support in u-boot
2009-11-30 10:01 ` anupbehare at gmail.com
@ 2009-12-01 12:11 ` Jerry Van Baren
0 siblings, 0 replies; 4+ messages in thread
From: Jerry Van Baren @ 2009-12-01 12:11 UTC (permalink / raw)
To: u-boot
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]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-01 12:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 14:11 [U-Boot] dts support in u-boot anupbehare at gmail.com
2009-11-27 14:51 ` Jerry Van Baren
2009-11-30 10:01 ` anupbehare at gmail.com
2009-12-01 12:11 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox