From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lokesh Vutla Date: Mon, 2 Dec 2013 18:36:29 +0530 Subject: [U-Boot] Compiling a debug version of u-boot on panda board In-Reply-To: References: Message-ID: <529C85D5.3020804@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Vikram, On Monday 02 December 2013 04:01 PM, Vikram Singh Shekhawat wrote: > Hi all, > > I want to compile a u-boot with debug enable.But i am getting some problem > in that. > > I am using omap4460 panda board. When i am enabling DEBUG in config > file(include/configs/omap4_panda.h). I am getting error that .rodaata not > fit in region .sram , sram overflowed (might be because the size of spl > image is larger then expected). > > Is there any way to enable DEBUG to whole u-boot source code. Since you are trying to debug, you can try the following diif: diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index ea56eeb..9e9b955 100644 --- a/include/configs/omap4_common.h +++ b/include/configs/omap4_common.h @@ -149,8 +149,8 @@ "fi" /* Defines for SPL */ -#define CONFIG_SPL_TEXT_BASE 0x40304350 -#define CONFIG_SPL_MAX_SIZE (38 * 1024) +#define CONFIG_SPL_TEXT_BASE 0x40300350 +#define CONFIG_SPL_MAX_SIZE (0x4030C000 - CONFIG_SPL_TEXT_BASE) #define CONFIG_SPL_DISPLAY_PRINT #define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds" This will increase the SPL_MAX_SIZE. Please let me know if you need more info. Thanks and regards, Lokesh > > Waiting for your views on this problem. > > > > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot >