All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Compiling a debug version of u-boot on panda board
Date: Mon, 2 Dec 2013 18:36:29 +0530	[thread overview]
Message-ID: <529C85D5.3020804@ti.com> (raw)
In-Reply-To: <CAHqbDmks_t7m=o4_Areyp7n3oZswKKJLzSQ240uLLr3DhQFAPA@mail.gmail.com>

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
> 

      reply	other threads:[~2013-12-02 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=529C85D5.3020804@ti.com \
    --to=lokeshvutla@ti.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.