public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Missing oftree_dtb and and oftree_dtb_len breaking compile
@ 2006-08-25 22:12 Bryan O'Donoghue
  2006-08-28 18:34 ` Matthew McClintock
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan O'Donoghue @ 2006-08-25 22:12 UTC (permalink / raw)
  To: u-boot

Hmm, I added, the following options to my config file.

<snip>
/* pass open firmware flat tree */
#define CONFIG_OF_FLAT_TREE     1

/* maximum size of the flat tree (8K) */
#define OF_FLAT_TREE_MAX_SIZE   8192

#define OF_CPU                  "PowerPC,MPC875"
#define OF_TBCLK                (CFG_8xx_CPUCLK_MAX / 16)
#define CONFIG_OF_HAS_BD_T      1
#define CONFIG_OF_HAS_UBOOT_ENV 1
<snip>

make generates an error for oftree_dtb since it and oftree_dtb_len don't seem
to be defined _at_all_ anywhere in U-Boot aside from four extern declarations.

My git HEAD is 392c252efd5d2e67b47ebeb3b7e4f42e7e3d5127 which I fetched roughly
five minutes ago.

deckard at spock:~/Development/denx/u-boot$ git rebase master
CHANGELOG: needs update
Makefile: needs update
README: needs update
common/cmd_bootm.c: needs update
drivers/Makefile: needs update
drivers/usbdcore_ep0.c: needs update
drivers/usbdcore_mpc8xx.c: needs update
drivers/usbdcore_omap1510.c: needs update
drivers/usbtty.c: needs update
drivers/usbtty.h: needs update
include/configs/Adder.h: needs update
include/usbdcore.h: needs update
include/usbdcore_omap1510.h: needs update
include/usbdescriptors.h: needs update

Have I broken my sources somehow, should I be declaring these two variables a
header/source file that is board-specific, or is this a genuine error ? I admit
to having a-minimally-functional-understanding (tm) of git and a <= 48 hour
awareness of OpenFirmware generally so, I might have caused this somehow.

I notice this posting

http://patchwork.ozlabs.org/linuxppc/patch?id=2237 , do I need the two named
files to get OpenFirmware compiling with U-Boot ?

?confused?

Bryan

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

end of thread, other threads:[~2006-08-28 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 22:12 [U-Boot-Users] Missing oftree_dtb and and oftree_dtb_len breaking compile Bryan O'Donoghue
2006-08-28 18:34 ` Matthew McClintock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox