From patchwork Fri Aug 5 18:54:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 108713 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E2854B6F69 for ; Sat, 6 Aug 2011 04:54:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1D975280B6; Fri, 5 Aug 2011 20:54:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e9hZsN53O6Ao; Fri, 5 Aug 2011 20:54:53 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 55BC8280AF; Fri, 5 Aug 2011 20:54:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 91A7B280AF for ; Fri, 5 Aug 2011 20:54:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58giUfeUo+Iy for ; Fri, 5 Aug 2011 20:54:48 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ew0-f44.google.com (mail-ew0-f44.google.com [209.85.215.44]) by theia.denx.de (Postfix) with ESMTPS id 97086280AD for ; Fri, 5 Aug 2011 20:54:47 +0200 (CEST) Received: by ewy19 with SMTP id 19so317051ewy.3 for ; Fri, 05 Aug 2011 11:54:47 -0700 (PDT) Received: by 10.14.9.27 with SMTP id 27mr774867ees.64.1312570485546; Fri, 05 Aug 2011 11:54:45 -0700 (PDT) Received: from [10.180.124.96] ([46.115.9.124]) by mx.google.com with ESMTPS id u16sm1344901eeh.66.2011.08.05.11.54.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Aug 2011 11:54:44 -0700 (PDT) Message-ID: <4E3C3C4D.2000104@googlemail.com> Date: Fri, 05 Aug 2011 20:54:05 +0200 From: Dirk Behme User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: u-boot@lists.denx.de, Aneesh V , Sandeep Paulraj Subject: [U-Boot] OMAP4: Broken SPL generation X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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