All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] OMAP4: Broken SPL generation
Date: Fri, 05 Aug 2011 20:54:05 +0200	[thread overview]
Message-ID: <4E3C3C4D.2000104@googlemail.com> (raw)


Building the SPL for omap4_sdp4430 and omap4_panda in recent mainline 
is broken due to a resulting image size > 32k:

Configuring for omap4_sdp4430 board...
arm-none-linux-gnueabi-ld: u-boot-spl section .rodata will not fit in 
region .sram
arm-none-linux-gnueabi-ld: region .sram overflowed by 612 bytes

Configuring for omap4_panda board...
arm-none-linux-gnueabi-ld: u-boot-spl section .rodata will not fit in 
region .sram
arm-none-linux-gnueabi-ld: region .sram overflowed by 620 bytes

This seems to come from the the patch "omap: add MMC and FAT support 
to SPL" [1] adding a lot of code to the SPL.

Does anybody have a quick solution for this fixing the build of these 
boards for the -rc cycle? Else I'm about to send a patch like [2] 
disabling the SPL build until a patch to reduce the image size is 
available.

Best regards

Dirk

[1] 
http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=commit;h=8cf686e19b6922a2a6b401af188dfb83414c3c04

[2]
  include/configs/omap4_panda.h   |    2 +-
  include/configs/omap4_sdp4430.h |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Index: u-boot.git/include/configs/omap4_panda.h
===================================================================
--- u-boot.git.orig/include/configs/omap4_panda.h
+++ u-boot.git/include/configs/omap4_panda.h
@@ -243,7 +243,7 @@
  #endif

  /* Defines for SPL */
-#define CONFIG_SPL
+//#define CONFIG_SPL
  #define CONFIG_SPL_TEXT_BASE		0x40304350
  #define CONFIG_SPL_MAX_SIZE		0x8000	/* 32 K */
  #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK
Index: u-boot.git/include/configs/omap4_sdp4430.h
===================================================================
--- u-boot.git.orig/include/configs/omap4_sdp4430.h
+++ u-boot.git/include/configs/omap4_sdp4430.h
@@ -249,7 +249,7 @@
  #endif

  /* Defines for SPL */
-#define CONFIG_SPL
+//#define CONFIG_SPL
  #define CONFIG_SPL_TEXT_BASE		0x40304350
  #define CONFIG_SPL_MAX_SIZE		0x8000	/* 32 K */
  #define CONFIG_SPL_STACK		LOW_LEVEL_SRAM_STACK

             reply	other threads:[~2011-08-05 18:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05 18:54 Dirk Behme [this message]
2011-08-07  9:50 ` [U-Boot] OMAP4: Broken SPL generation Albert ARIBAUD
2011-08-08  5:56 ` Aneesh V
2011-08-08  6:05 ` [U-Boot] [PATCH] omap4: increase SRAM budget to fix build error Aneesh V
2011-08-08 14:51   ` Dirk Behme

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=4E3C3C4D.2000104@googlemail.com \
    --to=dirk.behme@googlemail.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 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.