public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss
@ 2011-11-30 17:05 Simon Schwarz
  2011-11-30 17:12 ` Simon Schwarz
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Simon Schwarz @ 2011-11-30 17:05 UTC (permalink / raw)
  To: u-boot

This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move
CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image.

CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason
for the problems with MMC boot described here:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/118711

Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
Cc: s-paulraj at ti.com
Cc: wd at denx.de
Cc: trini at ti.com
---
 include/configs/devkit8000.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index e1743dc..b29d564 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -37,7 +37,8 @@
 #define CONFIG_OMAP3430		1	/* which is in a 3430 */
 #define CONFIG_OMAP3_DEVKIT8000	1	/* working with DevKit8000 */
 
-#define	CONFIG_SYS_TEXT_BASE	0x80008000
+/* 1 MB into SD-RAM to leave place for .bss-section */
+#define	CONFIG_SYS_TEXT_BASE	0x80100000
 
 #define CONFIG_SDRC	/* The chip has SDRC controller */
 
@@ -359,7 +360,7 @@
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x80000
 #define CONFIG_SYS_NAND_U_BOOT_SIZE	0x200000
 
-#define CONFIG_SYS_SPL_MALLOC_START	0x80108000
+#define CONFIG_SYS_SPL_MALLOC_START	0x80200000
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x100000	/* 1 MB */
 
 #endif /* __CONFIG_H */
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-12-06 13:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 17:05 [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss Simon Schwarz
2011-11-30 17:12 ` Simon Schwarz
2011-11-30 17:20 ` Tom Rini
2011-12-01  7:49 ` Igor Grinberg
2011-12-01  9:07   ` Simon Schwarz
2011-12-01 10:03     ` Igor Grinberg
2011-12-01 10:16       ` Aneesh V
2011-12-01 11:04         ` Igor Grinberg
2011-12-01  8:47 ` Thomas Weber
2011-12-06  9:16 ` [U-Boot] [PATCH V2] " Simon Schwarz
2011-12-06 13:52   ` Thomas Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox