* [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch
@ 2010-07-26 15:17 matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board matthias.fuchs at esd.eu
2010-08-09 14:03 ` [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch Stefan Roese
0 siblings, 2 replies; 6+ messages in thread
From: matthias.fuchs at esd.eu @ 2010-07-26 15:17 UTC (permalink / raw)
To: u-boot
From: Matthias Fuchs <matthias.fuchs@esd.eu>
Fix building various esd boards in u-boot-testing repo's
hastable branch.
Matthias Fuchs (3):
ppc4xx: Fix building of AR405 board
ppc4xx: Fix building of CANBT board
ppc4xx: Fix building of PMC440 board
board/esd/ar405/config.mk | 9 +--------
board/esd/canbt/config.mk | 8 +-------
board/esd/pmc440/config.mk | 2 +-
include/configs/AR405.h | 10 +++++-----
include/configs/CANBT.h | 6 +++---
include/configs/PMC440.h | 8 ++++----
6 files changed, 15 insertions(+), 28 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board
2010-07-26 15:17 [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch matthias.fuchs at esd.eu
@ 2010-07-26 15:17 ` matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board matthias.fuchs at esd.eu
2010-08-08 22:55 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board Wolfgang Denk
2010-08-09 14:03 ` [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch Stefan Roese
1 sibling, 2 replies; 6+ messages in thread
From: matthias.fuchs at esd.eu @ 2010-07-26 15:17 UTC (permalink / raw)
To: u-boot
From: Matthias Fuchs <matthias.fuchs@esd.eu>
Update image size after addition of new environment handling.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
---
board/esd/ar405/config.mk | 9 +--------
include/configs/AR405.h | 10 +++++-----
2 files changed, 6 insertions(+), 13 deletions(-)
diff --git a/board/esd/ar405/config.mk b/board/esd/ar405/config.mk
index 3e8baf6..da7c107 100644
--- a/board/esd/ar405/config.mk
+++ b/board/esd/ar405/config.mk
@@ -20,11 +20,4 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
-
-#
-# esd AR405 boards
-#
-
-#TEXT_BASE = 0xFFFE0000
-#TEXT_BASE = 0xFFFD0000
-TEXT_BASE = 0xFFFC0000
+TEXT_BASE = 0xFFFA0000
diff --git a/include/configs/AR405.h b/include/configs/AR405.h
index 52ead43..45c64c2 100644
--- a/include/configs/AR405.h
+++ b/include/configs/AR405.h
@@ -175,9 +175,9 @@
* Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
*/
#define CONFIG_SYS_SDRAM_BASE 0x00000000
-#define CONFIG_SYS_FLASH_BASE 0xFFFC0000
-#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
-#define CONFIG_SYS_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Monitor */
+#define CONFIG_SYS_FLASH_BASE CONFIG_SYS_MONITOR_BASE
+#define CONFIG_SYS_MONITOR_BASE TEXT_BASE
+#define CONFIG_SYS_MONITOR_LEN (~(TEXT_BASE) + 1)
#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */
/*
@@ -209,11 +209,11 @@
#define CONFIG_SYS_FLASH_EMPTY_INFO /* print 'E' for empty sector on flinfo */
#define CONFIG_ENV_IS_IN_FLASH 1
-#define CONFIG_ENV_ADDR 0xFFFB0000 /* Address of Environment Sector*/
+#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE)
#define CONFIG_ENV_SECT_SIZE 0x10000 /* see README - env sector total size */
#define CONFIG_ENV_SIZE 0x04000 /* Size of Environment */
-#define CONFIG_ENV_ADDR_REDUND 0xFFFA0000
+#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR - CONFIG_ENV_SECT_SIZE)
#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
/*
--
1.6.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board
2010-07-26 15:17 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board matthias.fuchs at esd.eu
@ 2010-07-26 15:17 ` matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 3/3] ppc4xx: Fix building of PMC440 board matthias.fuchs at esd.eu
2010-08-08 22:55 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board Wolfgang Denk
1 sibling, 1 reply; 6+ messages in thread
From: matthias.fuchs at esd.eu @ 2010-07-26 15:17 UTC (permalink / raw)
To: u-boot
From: Matthias Fuchs <matthias.fuchs@esd.eu>
Update image size after addition of new environment handling.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
---
board/esd/canbt/config.mk | 8 +-------
include/configs/CANBT.h | 6 +++---
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/board/esd/canbt/config.mk b/board/esd/canbt/config.mk
index 80076cd..ae855dc 100644
--- a/board/esd/canbt/config.mk
+++ b/board/esd/canbt/config.mk
@@ -20,10 +20,4 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
-
-#
-# esd ADCIOP boards
-#
-
-TEXT_BASE = 0xFFFE0000
-#TEXT_BASE = 0xFFFD0000
+TEXT_BASE = 0xFFFC0000
diff --git a/include/configs/CANBT.h b/include/configs/CANBT.h
index cdba81d..115a6f9 100644
--- a/include/configs/CANBT.h
+++ b/include/configs/CANBT.h
@@ -120,9 +120,9 @@
* Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
*/
#define CONFIG_SYS_SDRAM_BASE 0x00000000
-#define CONFIG_SYS_FLASH_BASE 0xFFFE0000
-#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
-#define CONFIG_SYS_MONITOR_LEN (128 * 1024) /* Reserve 128 kB for Monitor */
+#define CONFIG_SYS_FLASH_BASE CONFIG_SYS_MONITOR_BASE
+#define CONFIG_SYS_MONITOR_BASE TEXT_BASE
+#define CONFIG_SYS_MONITOR_LEN (~(TEXT_BASE) + 1)
#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */
/*
--
1.6.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 3/3] ppc4xx: Fix building of PMC440 board
2010-07-26 15:17 ` [U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board matthias.fuchs at esd.eu
@ 2010-07-26 15:17 ` matthias.fuchs at esd.eu
0 siblings, 0 replies; 6+ messages in thread
From: matthias.fuchs at esd.eu @ 2010-07-26 15:17 UTC (permalink / raw)
To: u-boot
From: Matthias Fuchs <matthias.fuchs@esd.eu>
Update image size and default environment
after addition of new environment handling.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
---
board/esd/pmc440/config.mk | 2 +-
include/configs/PMC440.h | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/esd/pmc440/config.mk b/board/esd/pmc440/config.mk
index 91e65ec..6e9f735 100644
--- a/board/esd/pmc440/config.mk
+++ b/board/esd/pmc440/config.mk
@@ -23,7 +23,7 @@
sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
ifndef TEXT_BASE
-TEXT_BASE = 0xFFFA0000
+TEXT_BASE = 0xFFF90000
endif
PLATFORM_CPPFLAGS += -DCONFIG_440=1
diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h
index c2fb56c..3c19f52 100644
--- a/include/configs/PMC440.h
+++ b/include/configs/PMC440.h
@@ -53,7 +53,7 @@
* Base addresses -- Note these are effective addresses where the
* actual resources get mapped (not physical addresses)
*----------------------------------------------------------------------*/
-#define CONFIG_SYS_MONITOR_LEN (384 * 1024) /* Reserve 384 kB for Monitor */
+#define CONFIG_SYS_MONITOR_LEN (~(TEXT_BASE) + 1)
#define CONFIG_SYS_MALLOC_LEN (1024 * 1024) /* Reserve 256 kB for malloc() */
#define CONFIG_PRAM 0 /* use pram variable to overwrite */
@@ -61,7 +61,7 @@
#define CONFIG_SYS_BOOT_BASE_ADDR 0xf0000000
#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* _must_ be 0 */
#define CONFIG_SYS_FLASH_BASE 0xfc000000 /* start of FLASH */
-#define CONFIG_SYS_MONITOR_BASE TEXT_BASE
+#define CONFIG_SYS_MONITOR_BASE TEXT_BASE
#define CONFIG_SYS_NAND_ADDR 0xd0000000 /* NAND Flash */
#define CONFIG_SYS_OCM_BASE 0xe0010000 /* ocm */
#define CONFIG_SYS_OCM_DATA_ADDR CONFIG_SYS_OCM_BASE
@@ -301,8 +301,8 @@
"fdt_addr_r=800000\0" \
"fpga=fpga loadb 0 ${fpga_addr}\0" \
"load=tftp 200000 /tftpboot/pmc440/u-boot.bin\0" \
- "update=protect off fffa0000 ffffffff;era fffa0000 ffffffff;" \
- "cp.b 200000 fffa0000 60000\0" \
+ "update=protect off fff90000 ffffffff;era fff90000 ffffffff;" \
+ "cp.b 200000 fff90000 70000\0" \
""
#define CONFIG_BOOTDELAY 3 /* autoboot after 3 seconds */
--
1.6.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board
2010-07-26 15:17 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board matthias.fuchs at esd.eu
@ 2010-08-08 22:55 ` Wolfgang Denk
1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2010-08-08 22:55 UTC (permalink / raw)
To: u-boot
Hallo Stefan,
In message <12801574953946-git-send-email-matthias.fuchs@esd.eu> Matthias Fuchs wrote:
> From: Matthias Fuchs <matthias.fuchs@esd.eu>
>
> Update image size after addition of new environment handling.
>
> Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
> ---
> board/esd/ar405/config.mk | 9 +--------
> include/configs/AR405.h | 10 +++++-----
> 2 files changed, 6 insertions(+), 13 deletions(-)
Ping... See
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/81737/focus=81738
Best regards,
Wolfgang Denk
--
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
Do you suppose the reason the ends of the `Intel Inside' logo don't
match up is that it was drawn on a Pentium?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch
2010-07-26 15:17 [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board matthias.fuchs at esd.eu
@ 2010-08-09 14:03 ` Stefan Roese
1 sibling, 0 replies; 6+ messages in thread
From: Stefan Roese @ 2010-08-09 14:03 UTC (permalink / raw)
To: u-boot
On Monday 26 July 2010 17:17:50 matthias.fuchs at esd.eu wrote:
> From: Matthias Fuchs <matthias.fuchs@esd.eu>
>
> Fix building various esd boards in u-boot-testing repo's
> hastable branch.
>
> Matthias Fuchs (3):
> ppc4xx: Fix building of AR405 board
> ppc4xx: Fix building of CANBT board
> ppc4xx: Fix building of PMC440 board
>
> board/esd/ar405/config.mk | 9 +--------
> board/esd/canbt/config.mk | 8 +-------
> board/esd/pmc440/config.mk | 2 +-
> include/configs/AR405.h | 10 +++++-----
> include/configs/CANBT.h | 6 +++---
> include/configs/PMC440.h | 8 ++++----
> 6 files changed, 15 insertions(+), 28 deletions(-)
Whole patch-series: Applied to u-boot-ppc4xx/master. 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-08-09 14:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 15:17 [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board matthias.fuchs at esd.eu
2010-07-26 15:17 ` [U-Boot] [PATCH 3/3] ppc4xx: Fix building of PMC440 board matthias.fuchs at esd.eu
2010-08-08 22:55 ` [U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board Wolfgang Denk
2010-08-09 14:03 ` [U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox