Skip to contentSkip to conversation

arm: A320: Add support for Faraday A320 evaluation board

PATCH RESEND Superseded ratbert.chuang at gmail.com 1 participant 2 messages Sep 2, 2009 – Sep 10, 2009

Subsystems (2)

v6 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND v6 2/2 arm: A320: Add support for Faraday A320 evaluation board

From: Po-Yu Chuang <[email protected]>

This patch adds support for A320 evaluation board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch.

---
 MAINTAINERS                           |    4 +
 MAKEALL                               |    1 +
 Makefile                              |    3 +
 board/faraday/a320evb/Makefile        |   51 ++++++++
 board/faraday/a320evb/a320evb.c       |   73 +++++++++++
 board/faraday/a320evb/config.mk       |   35 +++++
 board/faraday/a320evb/lowlevel_init.S |  118 +++++++++++++++++
 cpu/arm920t/a320/Makefile             |   47 +++++++
 cpu/arm920t/a320/ftsmc020.c           |   51 ++++++++
 cpu/arm920t/a320/reset.S              |   22 ++++
 cpu/arm920t/a320/timer.c              |  193 ++++++++++++++++++++++++++++
 include/asm-arm/arch-a320/a320.h      |   35 +++++
 include/asm-arm/arch-a320/ftpmu010.h  |  190 ++++++++++++++++++++++++++++
 include/asm-arm/arch-a320/ftsdmc020.h |  103 +++++++++++++++
 include/asm-arm/arch-a320/ftsmc020.h  |   79 ++++++++++++
 include/asm-arm/arch-a320/fttmr010.h  |   73 +++++++++++
 include/configs/a320evb.h             |  222 +++++++++++++++++++++++++++++++++
 17 files changed, 1300 insertions(+), 0 deletions(-)
 create mode 100644 board/faraday/a320evb/Makefile
 create mode 100644 board/faraday/a320evb/a320evb.c
 create mode 100644 board/faraday/a320evb/config.mk
 create mode 100644 board/faraday/a320evb/lowlevel_init.S
 create mode 100644 cpu/arm920t/a320/Makefile
 create mode 100644 cpu/arm920t/a320/ftsmc020.c
 create mode 100644 cpu/arm920t/a320/reset.S
 create mode 100644 cpu/arm920t/a320/timer.c
 create mode 100644 include/asm-arm/arch-a320/a320.h
 create mode 100644 include/asm-arm/arch-a320/ftpmu010.h
 create mode 100644 include/asm-arm/arch-a320/ftsdmc020.h
 create mode 100644 include/asm-arm/arch-a320/ftsmc020.h
 create mode 100644 include/asm-arm/arch-a320/fttmr010.h
 create mode 100644 include/configs/a320evb.h
MAINTAINERS +4 -0
index 79873f3..aa54bdb 100644
@@ -533,6 +533,10 @@ Rick Bronson <[email protected]>
 
 	AT91RM9200DK	at91rm9200
 
+Po-Yu Chuang <[email protected]>
+
+	a320evb		FA526 (ARM920T-like) (a320 SoC)
+
 George G. Davis <[email protected]>
 
 	assabet		SA1100
MAKEALL +1 -0
index 5882ceb..7c742b6 100755
@@ -505,6 +505,7 @@ LIST_ARM7="		\
 #########################################################################
 
 LIST_ARM9="			\
+	a320evb			\
 	ap920t			\
 	ap922_XA10		\
 	ap926ejs		\
Makefile +3 -0
index c9d315a..a3fb0b8 100644
@@ -2661,6 +2661,9 @@ shannon_config	:	unconfig
 ## ARM92xT Systems
 #########################################################################
 
+a320evb_config	:	unconfig
+	@$(MKCONFIG) $(@:_config=) arm arm920t a320evb faraday a320
+
 #########################################################################
 ## Atmel AT91RM9200 Systems
 #########################################################################
board/faraday/a320evb/Makefile new file +51 -0

51 lines not on this page · raw message

board/faraday/a320evb/a320evb.c new file +73 -0

73 lines not on this page · raw message

board/faraday/a320evb/config.mk new file +35 -0
new file mode 100644
index 0000000..aa25b98
@@ -0,0 +1,35 @@
+#
+# (C) Copyright 2009 Faraday Technology
+# Po-Yu Chuang <[email protected]>
+#
+# 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
+#
+
+# Faraday A320 board with FA526/FA626TE/ARM926EJ-S cpus
+#
+# see http://www.faraday-tech.com/ for more information
+
+# A320 has 1 bank of 64 MB DRAM
+#
+# 1000'0000 to 1400'0000
+#
+# Linux-Kernel is expected to be at 1000'8000, entry 1000'8000
+#
+# we load ourself to 13f8'0000
+#
+# download area is 1200'0000
+
+TEXT_BASE = 0x13f80000
board/faraday/a320evb/lowlevel_init.S new file +118 -0

118 lines not on this page · raw message

cpu/arm920t/a320/Makefile new file +47 -0

47 lines not on this page · raw message

cpu/arm920t/a320/ftsmc020.c new file +51 -0

51 lines not on this page · raw message

cpu/arm920t/a320/reset.S new file +22 -0
new file mode 100644
index 0000000..12ca527
@@ -0,0 +1,22 @@
+/*
+ * (C) Copyright 2009 Faraday Technology
+ * Po-Yu Chuang <[email protected]>
+ *
+ * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+.global reset_cpu
+reset_cpu:
+	b	reset_cpu
cpu/arm920t/a320/timer.c new file +193 -0

193 lines not on this page · raw message

include/asm-arm/arch-a320/a320.h new file +35 -0
new file mode 100644
index 0000000..5c0a097
@@ -0,0 +1,35 @@
+/*
+ * (C) Copyright 2009 Faraday Technology
+ * Po-Yu Chuang <[email protected]>
+ *
+ * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef __A320_H
+#define __A320_H
+
+/*
+ * Hardware register bases
+ */
+#define CONFIG_FTSMC020_BASE	0x90200000	/* Static Memory Controller */
+#define CONFIG_DEBUG_LED	0x902ffffc	/* Debug LED */
+#define CONFIG_FTSDMC020_BASE	0x90300000	/* SDRAM Controller */
+#define CONFIG_FTMAC100_BASE	0x90900000	/* Ethernet */
+#define CONFIG_FTPMU010_BASE	0x98100000	/* Power Management Unit */
+#define CONFIG_FTTMR010_BASE	0x98400000	/* Timer */
+#define CONFIG_FTRTC010_BASE	0x98600000	/* Real Time Clock*/
+
+#endif	/* __A320_H */
+
include/asm-arm/arch-a320/ftpmu010.h new file +190 -0

190 lines not on this page · raw message

include/asm-arm/arch-a320/ftsdmc020.h new file +103 -0

103 lines not on this page · raw message

include/asm-arm/arch-a320/ftsmc020.h new file +79 -0

79 lines not on this page · raw message

include/asm-arm/arch-a320/fttmr010.h new file +73 -0

73 lines not on this page · raw message

include/configs/a320evb.h new file +222 -0

222 lines not on this page · raw message

Signature · 1 line
1.6.3.3
#1 lore raw

PATCH RESEND v6 2/2 arm: A320: Add support for Faraday A320 evaluation board

Hello,

2009/9/2 <[email protected]>:

Quoted 25 lines

From: Po-Yu Chuang <[email protected]>

This patch adds support for A320 evaluation board from Faraday. This board uses FA526 processor by default and has 512kB and 32MB NOR flash, 64M RAM. FA526 is an ARMv4 processor and uses the ARM920T source in this patch.

---

?MAINTAINERS ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?4 +
?MAKEALL ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? | ? ?1 +
?Makefile ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| ? ?3 +
?board/faraday/a320evb/Makefile ? ? ? ?| ? 51 ++++++++
?board/faraday/a320evb/a320evb.c ? ? ? | ? 73 +++++++++++
?board/faraday/a320evb/config.mk ? ? ? | ? 35 +++++
?board/faraday/a320evb/lowlevel_init.S | ?118 +++++++++++++++++
?cpu/arm920t/a320/Makefile ? ? ? ? ? ? | ? 47 +++++++
?cpu/arm920t/a320/ftsmc020.c ? ? ? ? ? | ? 51 ++++++++
?cpu/arm920t/a320/reset.S ? ? ? ? ? ? ?| ? 22 ++++
?cpu/arm920t/a320/timer.c ? ? ? ? ? ? ?| ?193 ++++++++++++++++++++++++++++
?include/asm-arm/arch-a320/a320.h ? ? ?| ? 35 +++++
?include/asm-arm/arch-a320/ftpmu010.h ?| ?190 ++++++++++++++++++++++++++++
?include/asm-arm/arch-a320/ftsdmc020.h | ?103 +++++++++++++++
?include/asm-arm/arch-a320/ftsmc020.h ?| ? 79 ++++++++++++
?include/asm-arm/arch-a320/fttmr010.h ?| ? 73 +++++++++++
?include/configs/a320evb.h ? ? ? ? ? ? | ?222 +++++++++++++++++++++++++++++++++
Quoted 15 lines

?17 files changed, 1300 insertions(+), 0 deletions(-) ?create mode 100644 board/faraday/a320evb/Makefile ?create mode 100644 board/faraday/a320evb/a320evb.c ?create mode 100644 board/faraday/a320evb/config.mk ?create mode 100644 board/faraday/a320evb/lowlevel_init.S ?create mode 100644 cpu/arm920t/a320/Makefile ?create mode 100644 cpu/arm920t/a320/ftsmc020.c ?create mode 100644 cpu/arm920t/a320/reset.S ?create mode 100644 cpu/arm920t/a320/timer.c ?create mode 100644 include/asm-arm/arch-a320/a320.h ?create mode 100644 include/asm-arm/arch-a320/ftpmu010.h ?create mode 100644 include/asm-arm/arch-a320/ftsdmc020.h ?create mode 100644 include/asm-arm/arch-a320/ftsmc020.h ?create mode 100644 include/asm-arm/arch-a320/fttmr010.h ?create mode 100644 include/configs/a320evb.h

Is there any comment about these patches?

The patches was resent 9 days ago and there is not any response. I wonder if there was something wrong on my mail server. Please tell me if these patches are lost. Thank you.

best regards,
Po-Yu Chuang