Skip to contentSkip to conversation

4xx: adjust TEXT_BASE to increase U-Boot image size

PATCH New Wolfgang Denk 2 participants 3 messages Sep 11, 2010 – Sep 12, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 4xx: adjust TEXT_BASE to increase U-Boot image size

On some boards (canyonlands, luan, sequoia) we need more room for the U-Boot image to allow for new features like the new environment code. Shift TEXT_BASE as needed.

---
 board/amcc/canyonlands/config.mk |    2 +-
 board/amcc/luan/config.mk        |    2 +-
 board/amcc/sequoia/config.mk     |    6 +-----
 3 files changed, 3 insertions(+), 7 deletions(-)
board/amcc/canyonlands/config.mk +1 -1
index 7a58665..3d6a608 100644
@@ -27,7 +27,7 @@
 sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
 
 ifndef TEXT_BASE
-TEXT_BASE = 0xFFFA0000
+TEXT_BASE = 0xFFF80000
 endif
 
 PLATFORM_CPPFLAGS += -DCONFIG_440=1
board/amcc/luan/config.mk +1 -1
index cd02aab..5e4182d 100644
@@ -30,7 +30,7 @@
 ifeq ($(ramsym),1)
 TEXT_BASE = 0xFBD00000
 else
-TEXT_BASE = 0xFFFC0000
+TEXT_BASE = 0xFFFB0000
 endif
 
 PLATFORM_CPPFLAGS += -DCONFIG_440=1
board/amcc/sequoia/config.mk +1 -5
index b57e473..c8e2dff 100644
@@ -27,11 +27,7 @@
 sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
 
 ifndef TEXT_BASE
-TEXT_BASE = 0xFFFA0000
-#
-# When defining CONFIG_VIDEO, TEXT_BASE needs to be 0xFFF80000
-# TEXT_BASE = 0xFFF80000
-#
+TEXT_BASE = 0xFFF80000
 endif
 
 PLATFORM_CPPFLAGS += -DCONFIG_440=1
Signature · 1 line
1.7.2.2
#1 lore raw

PATCH 1/1 4xx: adjust TEXT_BASE to increase U-Boot image size

Hi Wolfgang,

Quoted 6 lines · On Saturday 11 September 2010 21:43:58 Wolfgang Denk wrote:

On some boards (canyonlands, luan, sequoia) we need more room for the U-Boot image to allow for new features like the new environment code. Shift TEXT_BASE as needed.

Feel free to pull this patch directly if needed.

Thanks.

Cheers,
Stefan

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

author Applied
#2 lore raw

PATCH 1/1 4xx: adjust TEXT_BASE to increase U-Boot image size

In reply to Wolfgang Denk
Quoted 11 lines · In message <[email protected]> you wrote:

On some boards (canyonlands, luan, sequoia) we need more room for the U-Boot image to allow for new features like the new environment code. Shift TEXT_BASE as needed.

---
 board/amcc/canyonlands/config.mk |    2 +-
 board/amcc/luan/config.mk        |    2 +-
 board/amcc/sequoia/config.mk     |    6 +-----
 3 files changed, 3 insertions(+), 7 deletions(-)

Applied to "next" branch.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In general, they do what you want, unless you want consistency.
                                    - Larry Wall in the perl man page