public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] question of "flattened device tree"
@ 2008-07-19  4:14 xiangguo_li at hotmail.com
  2008-07-19 13:59 ` Jerry Van Baren
  0 siblings, 1 reply; 2+ messages in thread
From: xiangguo_li at hotmail.com @ 2008-07-19  4:14 UTC (permalink / raw)
  To: u-boot

hello,

under U-Boot, some board configuration files contain "flattened device tree"
elements, such as "OF_CPU", "OF_STDOUT_PATH", etc. while in booting Linux, a
separate file dtb is used.

if both are used, what's the relationship about them?

thanks.

-lxg
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] question of "flattened device tree"
  2008-07-19  4:14 [U-Boot-Users] question of "flattened device tree" xiangguo_li at hotmail.com
@ 2008-07-19 13:59 ` Jerry Van Baren
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2008-07-19 13:59 UTC (permalink / raw)
  To: u-boot

xiangguo_li at hotmail.com wrote:
> hello,
> 
> under U-Boot, some board configuration files contain "flattened device 
> tree"
> elements, such as "OF_CPU", "OF_STDOUT_PATH", etc. while in booting 
> Linux, a
> separate file dtb is used.
> 
> if both are used, what's the relationship about them?
> 
> thanks.
> 
> -lxg

Processor and board are???

I believe your question is indicating that you are using an older 
version of u-boot with "CONFIG_OF_FLAT_TREE" defined.  This has been 
deprecated and has been removed in the latest u-boot.  The current code 
no longer defines or uses "OF_CPU", "OF_STDOUT_PATH", etc.

Please update your u-boot and switch to using CONFIG_OF_LIBFDT and dts 
files from a recent version of the linux kernel source (or edit your dts 
file to pick up the improvements shown in the linux version).

Don't forget to include an /aliases node pointing to the proper hardware 
configurations.  The u-boot code now uses that to find the fdt pieces 
for its fixups rather than "OF_CPU", "OF_STDOUT_PATH", etc.

Best regards,
gvb

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-19 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19  4:14 [U-Boot-Users] question of "flattened device tree" xiangguo_li at hotmail.com
2008-07-19 13:59 ` 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