public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bodonoghue@codehermit.ie>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Missing oftree_dtb and and oftree_dtb_len breaking compile
Date: Fri, 25 Aug 2006 23:12:28 +0100	[thread overview]
Message-ID: <20060825231228.136b76c5@localhost.localdomain> (raw)

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

             reply	other threads:[~2006-08-25 22:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-25 22:12 Bryan O'Donoghue [this message]
2006-08-28 18:34 ` [U-Boot-Users] Missing oftree_dtb and and oftree_dtb_len breaking compile Matthew McClintock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060825231228.136b76c5@localhost.localdomain \
    --to=bodonoghue@codehermit.ie \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox