All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] TQM85xx: enable partition support, sort commands
Date: Wed, 9 Sep 2009 21:02:11 -0500	[thread overview]
Message-ID: <83723583-5E4B-4A14-BF3A-2CDD4478EEE0@kernel.crashing.org> (raw)
In-Reply-To: <1252441753-32600-1-git-send-email-wd@denx.de>


On Sep 8, 2009, at 3:29 PM, Wolfgang Denk wrote:

> Signed-off-by: Wolfgang Denk <wd@denx.de>
>
> ---
> v2: Fix building for TQM8548_BE
>
>    On TQM8548_BE, building failed like that:
> 	Configuring for TQM85xx board...
> 	common/libcommon.a(cmd_mtdparts.o): In function  
> `part_validate_eraseblock':
> 	/home/wd/git/u-boot/work/common/cmd_mtdparts.c:316: undefined  
> reference to `get_mtd_device_nm'
> 	common/libcommon.a(cmd_mtdparts.o): In function  
> `mtd_device_validate':
> 	/home/wd/git/u-boot/work/common/cmd_mtdparts.c:706: undefined  
> reference to `get_mtd_device_nm'
> 	make: *** [u-boot] Error 1
>
>    This was because CONFIG_CMD_MTDPARTS was defined after it was
>    used. Move the part that uses it after the #define.
> v3: Fix "undefined reference to `get_mtd_device_nm'" errors for
>    non-8548 boards; build-tested with ELDK 4.2 on TQM8540, TQM8541,
>    TQM8548, TQM8548_AG, TQM8548_BE, TQM8555 and TQM8560
>
> include/configs/TQM85xx.h |   51 +++++++++++++++++++++++ 
> +--------------------
> 1 files changed, 28 insertions(+), 23 deletions(-)

Did this build ok w/o any warnings on TQM8540?

I'm seeing:

[galak at komodo u-boot-85xx]$ ./MAKEALL TQM8540
... TQM8540 (MPC8540)
Configuring for TQM85xx board...
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .text lma 0xfffc0000 overlaps previous sections
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .rodata lma 0xffff13a4 overlaps previous sections
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .reloc lma 0xffffc400 overlaps previous sections
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .data lma 0xffffdc30 overlaps previous sections
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .data.rel.ro.local lma 0xffffe964 overlaps previous sections
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .data.rel lma 0xffffe9e4 overlaps previous sections
/opt/eldk/4.2/ppc-linux-x86/usr/bin/ppc_85xxDP-ld: u-boot:  
section .data.rel.local lma 0xfffff380 overlaps previous sections
    text	   data	    bss	    dec	    hex	filename
  247104	  16992	  35304	 299400	  49188	./u-boot

Which effective says to me we've run out of space in the image.

- k

  reply	other threads:[~2009-09-10  2:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02  8:20 [U-Boot] [PATCH] TQM85xx: enable partition support, sort commands Wolfgang Denk
2009-09-02 21:41 ` Kumar Gala
2009-09-08 14:08 ` Kumar Gala
2009-09-08 19:50   ` Wolfgang Denk
2009-09-08 19:50 ` [U-Boot] [PATCH v2] " Wolfgang Denk
2009-09-08 20:29 ` [U-Boot] [PATCH v3] " Wolfgang Denk
2009-09-10  2:02   ` Kumar Gala [this message]
2009-09-10  7:56     ` Wolfgang Denk
2009-09-10  8:57       ` Kumar Gala
2009-09-10 11:55         ` Wolfgang Denk
2009-09-10 14:41           ` Kumar Gala
2009-09-15 15:28             ` Kumar Gala
2009-09-15 19:40               ` Wolfgang Denk
2009-10-16 17:44   ` Kumar Gala
2009-10-18 21:16     ` 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=83723583-5E4B-4A14-BF3A-2CDD4478EEE0@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.