Skip to contentSkip to conversation

ARM Add New Board GEC2410 v2

PATCH New Hui.Tang 1 participant 1 message Nov 5, 2009

Subsystems (2)
lore
Share & tools
lore

Hui.Tang

author
#0 lore raw

PATCH 1/1 ARM Add New Board GEC2410 v2

---
total: 0 errors, 0 warnings, 1249 lines checked

0001-ARM-Add-New-Board-GEC2410.patch has no obvious style problems and is ready for submission.

 MAINTAINERS                           |    4 +
 MAKEALL                               |    1 +
 Makefile                              |    7 +
 board/gec/gec2410/Makefile            |   54 ++++++
 board/gec/gec2410/README              |   85 +++++++++
 board/gec/gec2410/config.mk           |   34 ++++
 board/gec/gec2410/gec2410.c           |  313 +++++++++++++++++++++++++++++++++
 board/gec/gec2410/gec2410_mem.h       |  118 +++++++++++++
 board/gec/gec2410/lowlevel_init.S     |   93 ++++++++++
 board/gec/gec2410/u-boot-nand.lds     |   61 +++++++
 cpu/arm920t/s3c24x0/timer.c           |    3 +-
 include/configs/gec2410.h             |  249 ++++++++++++++++++++++++++
 nand_spl/board/gec/gec2410/Makefile   |  103 +++++++++++
 nand_spl/board/gec/gec2410/config.mk  |   40 +++++
 nand_spl/board/gec/gec2410/u-boot.lds |   60 +++++++
 15 files changed, 1224 insertions(+), 1 deletions(-)
 create mode 100644 board/gec/gec2410/Makefile
 create mode 100644 board/gec/gec2410/README
 create mode 100644 board/gec/gec2410/config.mk
 create mode 100644 board/gec/gec2410/gec2410.c
 create mode 100644 board/gec/gec2410/gec2410_mem.h
 create mode 100644 board/gec/gec2410/lowlevel_init.S
 create mode 100644 board/gec/gec2410/u-boot-nand.lds
 create mode 100644 include/configs/gec2410.h
 create mode 100644 nand_spl/board/gec/gec2410/Makefile
 create mode 100644 nand_spl/board/gec/gec2410/config.mk
 create mode 100644 nand_spl/board/gec/gec2410/u-boot.lds
MAINTAINERS +4 -0
index d70a9d2..6ecba41 100644
@@ -429,6 +429,10 @@ Timur Tabi <[email protected]>
 	MPC8349E-mITX	MPC8349
 	MPC8349E-mITX-GP MPC8349
 
+Hui Tang <[email protected]>
+
+	gec2410		ARM920T
+
 Erik Theisen <[email protected]>
 
 	W7OLMC		PPC4xx
MAKEALL +1 -0
index d63c5c2..fffa58a 100755
@@ -548,6 +548,7 @@ LIST_ARM9="			\
 	cp926ejs		\
 	cp946es			\
 	cp966			\
+	gec2410			\
 	imx27lite		\
 	lpd7a400		\
 	mv88f6281gtw_ge		\
Makefile +7 -0
index bcb3fe9..2de0b1d 100644
@@ -2951,6 +2951,13 @@ davinci_dm365evm_config :	unconfig
 davinci_dm6467evm_config :	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm926ejs dm6467evm davinci davinci
 
+gec2410_config	:	unconfig
+	@mkdir -p $(obj)include $(obj)board/gec/gec2410
+	@mkdir -p $(obj)nand_spl/board/gec/gec2410
+	@echo "RAM_TEXT = 0x33e00000" >> $(obj)board/gec/gec2410/config.tmp
+	@$(MKCONFIG) $(@:_config=) arm arm920t gec2410 gec s3c24x0
+	@echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
+
 imx27lite_config:	unconfig
 	@$(MKCONFIG) $(@:_config=) arm arm926ejs imx27lite logicpd mx27
 
board/gec/gec2410/Makefile new file +54 -0

54 lines not on this page · raw message

board/gec/gec2410/README new file +85 -0

85 lines not on this page · raw message

board/gec/gec2410/config.mk new file +34 -0
new file mode 100644
index 0000000..f32ee2e
@@ -0,0 +1,34 @@
+#
+# (C) Copyright 2002
+# Gary Jennejohn, DENX Software Engineering, <[email protected]>
+# David Mueller, ELSOFT AG, <[email protected]>
+#
+# GuangDong Embedded Software Center GEC2410 board with S3C2410X (ARM920T) cpu
+#
+# see http://www.gd-emb.com/sales_detail/menu-2410.html for more information on GEC2410
+#
+
+#
+# GEC2410 has 1 bank of 64 MB DRAM
+#
+# 3000'0000 to 3400'0000
+#
+# Linux-Kernel is expected to be at 3000'8000, entry 3000'8000
+# optionally with a ramdisk at 3080'0000
+#
+# we load ourself to 33e0'0000
+#
+# download area is 3300'c000
+#
+
+sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
+
+ifndef CONFIG_NAND_SPL
+TEXT_BASE = $(RAM_TEXT)
+else
+TEXT_BASE = 0
+endif
+
+LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot-nand.lds
+
+PLATFORM_CPPFLAGS += -I$(TOPDIR)/board/gec/gec2410
board/gec/gec2410/gec2410.c new file +313 -0

313 lines not on this page · raw message

board/gec/gec2410/gec2410_mem.h new file +118 -0

118 lines not on this page · raw message

board/gec/gec2410/lowlevel_init.S new file +93 -0

93 lines not on this page · raw message

board/gec/gec2410/u-boot-nand.lds new file +61 -0

61 lines not on this page · raw message

cpu/arm920t/s3c24x0/timer.c +2 -1
index 20cedd4..d463a03 100644
@@ -188,7 +188,8 @@ ulong get_tbclk(void)
 	tbclk = timer_load_val * 100;
 #elif defined(CONFIG_SBC2410X) || \
       defined(CONFIG_SMDK2410) || \
-      defined(CONFIG_VCMA9)
+      defined(CONFIG_VCMA9) || \
+      defined(CONFIG_GEC2410)
 	tbclk = CONFIG_SYS_HZ;
 #else
 #	error "tbclk not configured"
include/configs/gec2410.h new file +249 -0

249 lines not on this page · raw message

nand_spl/board/gec/gec2410/Makefile new file +103 -0

103 lines not on this page · raw message

nand_spl/board/gec/gec2410/config.mk new file +40 -0
new file mode 100644
index 0000000..7db7fd1
@@ -0,0 +1,40 @@
+#
+# (C) Copyright 2006
+# Stefan Roese, DENX Software Engineering, sr at denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#
+# GEC2410 Study Platform (gec2410) board
+
+# TEXT_BASE for SPL:
+#
+# On S3C2410 platforms the SPL is located in SRAM@0.
+#
+TEXT_BASE = 0
+
+include $(TOPDIR)/board/$(BOARDDIR)/config.mk
+
+# PAD_TO used to generate a 4kByte binary needed for the combined image
+# -> PAD_TO = TEXT_BASE + 4096
+PAD_TO	:= 0x00001000
+
+ifeq ($(debug),1)
+PLATFORM_CPPFLAGS += -DDEBUG
+endif
nand_spl/board/gec/gec2410/u-boot.lds new file +60 -0

60 lines not on this page · raw message

Signature · 1 line
1.6.0.4