• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión66712b8b460e9ba01374ca0df8aa8bcb3137e4bb (tree)
Tiempo2014-02-07 22:14:33
AutorAlexey Brodkin <Alexey.Brodkin@syno...>
CommiterTom Rini

Log Message

arc: add Arcangel4 board support

Arcangel4 is a FPGA-based development board that is used for prototyping and
verificationof of both ARC hardware (CPUs) and software running upon CPU.

This board avaialble in 2 flavours:

  • Little-endian (arcangel4)
  • Big-endian (arcangel4-be)

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Francois Bedard <fbedard@synopsys.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>

Cambiar Resumen

Diferencia incremental

--- /dev/null
+++ b/board/synopsys/arcangel4/Makefile
@@ -0,0 +1,11 @@
1+#
2+# Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3+#
4+# SPDX-License-Identifier: GPL-2.0+
5+#
6+
7+# This board is mostly used for debugging U-Boot in simulation (ISS).
8+# The only peripheral which is used on this board is a serial port which
9+# requires no initialization except those in "include/configs/arcangel4.h".
10+# And now there's no specific initializations for this board.
11+# So this Makefile is only required for satisfaction of U-Boot build system.
--- a/boards.cfg
+++ b/boards.cfg
@@ -1230,6 +1230,8 @@ Active sparc leon3 - gaisler -
12301230 Active sparc leon3 - gaisler - gr_xc3s_1500 - -
12311231 Active sparc leon3 - gaisler - grsim - -
12321232 Active x86 x86 coreboot chromebook-x86 coreboot coreboot-x86 coreboot:SYS_TEXT_BASE=0x01110000 -
1233+Active arc arc700 - synopsys - arcangel4 - Alexey Brodkin <abrodkin@synopsys.com>
1234+Active arc arc700 - synopsys arcangel4 arcangel4-be - Alexey Brodkin <abrodkin@synopsys.com>
12331235 Orphan arm arm1136 mx31 - imx31_phycore imx31_phycore_eet imx31_phycore:IMX31_PHYCORE_EET (resigned) Guennadi Liakhovetski <g.liakhovetski@gmx.de>
12341236 Orphan arm arm1136 mx31 freescale - mx31ads - (resigned) Guennadi Liakhovetski <g.liakhovetski@gmx.de>
12351237 Orphan arm pxa - - - lubbock - (dead address) Kyle Harris <kharris@nexus-tech.net>
--- /dev/null
+++ b/include/configs/arcangel4-be.h
@@ -0,0 +1,92 @@
1+/*
2+ * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3+ *
4+ * SPDX-License-Identifier: GPL-2.0+
5+ */
6+
7+#ifndef _CONFIG_ARCANGEL4_H_
8+#define _CONFIG_ARCANGEL4_H_
9+
10+/*
11+ * CPU configuration
12+ */
13+#define CONFIG_SYS_BIG_ENDIAN
14+#define CONFIG_ARC700
15+#define CONFIG_ARC_MMU_VER 3
16+#define CONFIG_SYS_CACHELINE_SIZE 64
17+#define CONFIG_SYS_CLK_FREQ 70000000
18+#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
19+
20+/*
21+ * Board configuration
22+ */
23+#define CONFIG_SYS_GENERIC_BOARD
24+#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is in RAM already */
25+
26+#define CONFIG_ARCH_EARLY_INIT_R
27+
28+/*
29+ * Memory configuration
30+ */
31+#define CONFIG_SYS_TEXT_BASE 0x81000000
32+#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
33+
34+#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
35+#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
36+#define CONFIG_SYS_SDRAM_SIZE 0x10000000 /* 256 Mb */
37+
38+#define CONFIG_SYS_INIT_SP_ADDR \
39+ (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
40+
41+#define CONFIG_SYS_MALLOC_LEN 0x200000 /* 2 MB */
42+#define CONFIG_SYS_BOOTM_LEN 0x2000000 /* 32 MB */
43+#define CONFIG_SYS_LOAD_ADDR 0x82000000
44+
45+#define CONFIG_SYS_NO_FLASH
46+
47+/*
48+ * UART configuration
49+ *
50+ */
51+#define CONFIG_ARC_SERIAL
52+#define CONFIG_ARC_UART_BASE 0xC0FC1000
53+#define CONFIG_BAUDRATE 115200
54+
55+/*
56+ * Command line configuration
57+ */
58+#include <config_cmd_default.h>
59+
60+#define CONFIG_CMD_ELF
61+
62+#define CONFIG_OF_LIBFDT
63+
64+#define CONFIG_AUTO_COMPLETE
65+#define CONFIG_SYS_MAXARGS 16
66+
67+/*
68+ * Environment settings
69+ */
70+#define CONFIG_ENV_IS_NOWHERE
71+#define CONFIG_ENV_SIZE 0x00200 /* 512 bytes */
72+#define CONFIG_ENV_OFFSET 0
73+
74+/*
75+ * Environment configuration
76+ */
77+#define CONFIG_BOOTDELAY 3
78+#define CONFIG_BOOTFILE "uImage"
79+#define CONFIG_BOOTARGS "console=ttyARC0,115200n8"
80+#define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
81+
82+/*
83+ * Console configuration
84+ */
85+#define CONFIG_SYS_LONGHELP
86+#define CONFIG_SYS_PROMPT "arcangel4# "
87+#define CONFIG_SYS_CBSIZE 256
88+#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
89+#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
90+ sizeof(CONFIG_SYS_PROMPT) + 16)
91+
92+#endif /* _CONFIG_ARCANGEL4_H_ */
--- /dev/null
+++ b/include/configs/arcangel4.h
@@ -0,0 +1,91 @@
1+/*
2+ * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3+ *
4+ * SPDX-License-Identifier: GPL-2.0+
5+ */
6+
7+#ifndef _CONFIG_ARCANGEL4_H_
8+#define _CONFIG_ARCANGEL4_H_
9+
10+/*
11+ * CPU configuration
12+ */
13+#define CONFIG_ARC700
14+#define CONFIG_ARC_MMU_VER 3
15+#define CONFIG_SYS_CACHELINE_SIZE 64
16+#define CONFIG_SYS_CLK_FREQ 70000000
17+#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
18+
19+/*
20+ * Board configuration
21+ */
22+#define CONFIG_SYS_GENERIC_BOARD
23+#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is in RAM already */
24+
25+#define CONFIG_ARCH_EARLY_INIT_R
26+
27+/*
28+ * Memory configuration
29+ */
30+#define CONFIG_SYS_TEXT_BASE 0x81000000
31+#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
32+
33+#define CONFIG_SYS_DDR_SDRAM_BASE 0x80000000
34+#define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
35+#define CONFIG_SYS_SDRAM_SIZE 0x10000000 /* 256 Mb */
36+
37+#define CONFIG_SYS_INIT_SP_ADDR \
38+ (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE)
39+
40+#define CONFIG_SYS_MALLOC_LEN 0x200000 /* 2 MB */
41+#define CONFIG_SYS_BOOTM_LEN 0x2000000 /* 32 MB */
42+#define CONFIG_SYS_LOAD_ADDR 0x82000000
43+
44+#define CONFIG_SYS_NO_FLASH
45+
46+/*
47+ * UART configuration
48+ *
49+ */
50+#define CONFIG_ARC_SERIAL
51+#define CONFIG_ARC_UART_BASE 0xC0FC1000
52+#define CONFIG_BAUDRATE 115200
53+
54+/*
55+ * Command line configuration
56+ */
57+#include <config_cmd_default.h>
58+
59+#define CONFIG_CMD_ELF
60+
61+#define CONFIG_OF_LIBFDT
62+
63+#define CONFIG_AUTO_COMPLETE
64+#define CONFIG_SYS_MAXARGS 16
65+
66+/*
67+ * Environment settings
68+ */
69+#define CONFIG_ENV_IS_NOWHERE
70+#define CONFIG_ENV_SIZE 0x00200 /* 512 bytes */
71+#define CONFIG_ENV_OFFSET 0
72+
73+/*
74+ * Environment configuration
75+ */
76+#define CONFIG_BOOTDELAY 3
77+#define CONFIG_BOOTFILE "uImage"
78+#define CONFIG_BOOTARGS "console=ttyARC0,115200n8"
79+#define CONFIG_LOADADDR CONFIG_SYS_LOAD_ADDR
80+
81+/*
82+ * Console configuration
83+ */
84+#define CONFIG_SYS_LONGHELP
85+#define CONFIG_SYS_PROMPT "arcangel4# "
86+#define CONFIG_SYS_CBSIZE 256
87+#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
88+#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
89+ sizeof(CONFIG_SYS_PROMPT) + 16)
90+
91+#endif /* _CONFIG_ARCANGEL4_H_ */