* [U-Boot] Compiling a debug version of u-boot on panda board
@ 2013-12-02 10:31 Vikram Singh Shekhawat
2013-12-02 13:06 ` Lokesh Vutla
0 siblings, 1 reply; 2+ messages in thread
From: Vikram Singh Shekhawat @ 2013-12-02 10:31 UTC (permalink / raw)
To: u-boot
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.
Waiting for your views on this problem.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Compiling a debug version of u-boot on panda board
2013-12-02 10:31 [U-Boot] Compiling a debug version of u-boot on panda board Vikram Singh Shekhawat
@ 2013-12-02 13:06 ` Lokesh Vutla
0 siblings, 0 replies; 2+ messages in thread
From: Lokesh Vutla @ 2013-12-02 13:06 UTC (permalink / raw)
To: u-boot
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
>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-02 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 10:31 [U-Boot] Compiling a debug version of u-boot on panda board Vikram Singh Shekhawat
2013-12-02 13:06 ` Lokesh Vutla
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.