public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] sbc8548 build broken?
Date: Fri, 18 Nov 2011 03:34:15 +0100	[thread overview]
Message-ID: <201111180334.16315.marek.vasut@gmail.com> (raw)
In-Reply-To: <5498E86A4A68B14A8A06D0380640D04A016D217A691F@atca01em01.adsi.aitech.ent>

> Hello Mr. Denk,
> 
> You wrote:
> >you wrote:
> >> 	I downloaded the ELDK 4.2 and installed it.  I got the u-boot
> >> 	source from git://git.denx.de/u-boot-mpc85xx.git.
> >> 	
> >> 	When I try to build u-boot for sbc8548 I get the following error:
> >> 	
> >> 	"arch/powerpc/cpu/mpc8xxx/ddr/libddr.o: In function `fsl_ddr_compute':"
> >> 	"/home/rhurdle/proj/u-boot/arch/powerpc/cpu/mpc8xxx/ddr/main.c:375:
> >> 	undefined reference to `fsl_ddr_get_dimm_params'" "make: *** [u-boot]
> >> 	Error 1"
> >
> >I cannot confirm this - using current top of tree I get:
> >
> >+ MAKEALL_LOGDIR=/work/wd/tmp-ppc-LOG
> >+ BUILD_DIR=/work/wd/tmp-ppc
> >+ ./MAKEALL sbc8548
> >Configuring for sbc8548 board...
> >
> >   text    data     bss     dec     hex filename
> > 
> > 199928    8956   24576  233460   38ff4 /work/wd/tmp-ppc/u-boot
> >
> >--------------------- SUMMARY ---------------------------- Boards
> >compiled: 1 ----------------------------------------------------------
> 
>      I have obtained the source from the current top of the tree.
> 
> 	When I make using the following:
> 
>      make CROSS_COMPILE=ppc_85xx- sbc8548_PCI_33_PCIE_config
>      make CROSS_COMPILE=ppc_85xx- OPTFLAGS=-O2 all
> 
>      I am still having the same undefined reference above.
> 
>      Should I be building with ppc_8xx instead?  If yes, why?
> 
> 	Thanks,
> 
>      Robert Hurdle
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

$ CROSS_COMPILE=powerpc-linux- ARCH=powerpc ./MAKEALL sbc8548_PCI_33_PCIE
Configuring for sbc8548_PCI_33_PCIE - Board: sbc8548, Options: PCI,33,PCIE
   text    data     bss     dec     hex filename
 224622   19288   25000  268910   41a6e ./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------------------------------------

So can you try MAKEALL ?

M

  reply	other threads:[~2011-11-18  2:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-17 23:33 [U-Boot] sbc8548 build broken? Robert Hurdle
2011-11-18  2:34 ` Marek Vasut [this message]
2011-11-18  4:10 ` Kumar Gala
2011-11-18  5:01   ` Marek Vasut
2011-11-18  6:19     ` Wolfgang Denk
2011-11-18 22:16       ` Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2011-11-17 18:42 Robert Hurdle
2011-11-17 19:04 ` Wolfgang Denk
     [not found]   ` <5498E86A4A68B14A8A06D0380640D04A016D217A688B@atca01em01.adsi.aitech.ent>
2011-11-17 19:54     ` Wolfgang Denk

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=201111180334.16315.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.com \
    --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