summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-09 12:48:08 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-30 03:44:10 +0200
commit7ed4d2a409cb24e7beef850c6b90e47f0f6b71d2 (patch)
treebc1ebdfaa9cafaab8c30fa915ff98f51a5509eee /target/config
parentc5990c364e54fae1b1d0da5f88d3cf7c9c0ba782 (diff)
add support for nds32 architecture
Verified on a FPGA board sponsored by Andes Technology. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.binutils3
-rw-r--r--target/config/Config.in.compiler3
-rw-r--r--target/config/Config.in.cpu4
-rw-r--r--target/config/Config.in.gdb5
-rw-r--r--target/config/Config.in.kernelcfg1
-rw-r--r--target/config/Config.in.kernelversion11
-rw-r--r--target/config/Config.in.runtime1
-rw-r--r--target/config/Config.in.target1
8 files changed, 28 insertions, 1 deletions
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index 3d31a774b..494aa4469 100644
--- a/target/config/Config.in.binutils
+++ b/target/config/Config.in.binutils
@@ -17,11 +17,13 @@ config ADK_TOOLCHAIN_BINUTILS_GIT
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_CRIS
+ depends on !ADK_TARGET_ARCH_NDS32
config ADK_TOOLCHAIN_BINUTILS_2_26_1
bool "2.26.1"
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_CPU_CRIS_CRISV10
config ADK_TOOLCHAIN_BINUTILS_2_25_1
@@ -31,6 +33,7 @@ config ADK_TOOLCHAIN_BINUTILS_2_25_1
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_ARCH_MOXIE
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_CPU_CRIS_CRISV10
config ADK_TOOLCHAIN_BINUTILS_2_24
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index ba41d89fb..c9d950c1d 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -33,6 +33,7 @@ config ADK_TOOLCHAIN_GCC_GIT
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_OR1K
select ADK_DISABLE_HONOUR_CFLAGS
@@ -41,6 +42,7 @@ config ADK_TOOLCHAIN_GCC_6_1_0
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_OR1K
select ADK_DISABLE_HONOUR_CFLAGS
@@ -54,6 +56,7 @@ config ADK_TOOLCHAIN_GCC_5_4_0
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_ARCH_M32R
depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_OR1K
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
depends on !(ADK_TARGET_LIB_GLIBC && ADK_TARGET_ARCH_SH)
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu
index 2b463ed33..d318a6440 100644
--- a/target/config/Config.in.cpu
+++ b/target/config/Config.in.cpu
@@ -720,7 +720,7 @@ config ADK_TARGET_CPU_MSP430
# nds32
config ADK_TARGET_CPU_NDS32
bool "nds32"
- select ADK_TARGET_WITH_NPTL
+ select ADK_TARGET_WITH_LT
select ADK_TARGET_WITH_MMU
depends on ADK_TARGET_ARCH_NDS32
@@ -1437,6 +1437,7 @@ config ADK_TARGET_GCC_CPU
default "cortex-m4" if ADK_TARGET_CPU_ARM_CORTEX_M4
default "leon" if ADK_TARGET_CPU_SPARC_LEON
default "mpcore" if ADK_TARGET_CPU_ARM_ARM11MPCORE
+ default "n13" if ADK_TARGET_CPU_NDS32
default "powerpc" if ADK_TARGET_CPU_PPC
default "powerpc64" if ADK_TARGET_CPU_PPC64_POWERPC64
default "power6" if ADK_TARGET_CPU_PPC64_POWER6
@@ -1623,6 +1624,7 @@ config ADK_TARGET_CPU_TYPE
default "mips64r6" if ADK_TARGET_CPU_MIPS64_MIPS64R6
default "mips64" if ADK_TARGET_CPU_MIPS64_LOONGSON2F
default "ppc64" if ADK_TARGET_ARCH_PPC64
+ default "nds32" if ADK_TARGET_CPU_NDS32
default "v8" if ADK_TARGET_CPU_SPARC_V8
default "v9" if ADK_TARGET_CPU_SPARC64_V9
default "leon" if ADK_TARGET_CPU_SPARC_LEON
diff --git a/target/config/Config.in.gdb b/target/config/Config.in.gdb
index a9d279044..bbde9df6c 100644
--- a/target/config/Config.in.gdb
+++ b/target/config/Config.in.gdb
@@ -4,12 +4,14 @@
choice
prompt "GNU debugger version"
default ADK_TOOLCHAIN_GDB_H8300_GIT if ADK_TARGET_ARCH_H8300
+default ADK_TOOLCHAIN_GDB_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_GDB_7_11_1
config ADK_TOOLCHAIN_GDB_GIT
bool "git"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
config ADK_TOOLCHAIN_GDB_H8300_GIT
bool "h8300-git"
@@ -19,16 +21,19 @@ config ADK_TOOLCHAIN_GDB_7_11_1
bool "7.11.1"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
config ADK_TOOLCHAIN_GDB_7_10_1
bool "7.10.1"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
config ADK_TOOLCHAIN_GDB_7_9_1
bool "7.9.1"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
config ADK_TOOLCHAIN_GDB_7_8_2
bool "7.8.2"
diff --git a/target/config/Config.in.kernelcfg b/target/config/Config.in.kernelcfg
index c1e562f7b..27a6bbf1e 100644
--- a/target/config/Config.in.kernelcfg
+++ b/target/config/Config.in.kernelcfg
@@ -23,4 +23,5 @@ config ADK_TARGET_KERNEL_DEFCONFIG
default "nsim_700_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV1
default "nsim_hs_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV2
default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
+ default "orca_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion
index 4411d78aa..b6b35d52f 100644
--- a/target/config/Config.in.kernelversion
+++ b/target/config/Config.in.kernelversion
@@ -11,15 +11,18 @@ default ADK_TARGET_KERNEL_VERSION_4_4_14
config ADK_TARGET_KERNEL_VERSION_GIT
bool "linux-git"
+ depends on !ADK_TARGET_ARCH_NDS32
config ADK_TARGET_KERNEL_VERSION_4_6_3
bool "4.6.3"
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_BOARD_BCM28XX
depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
select ADK_TARGET_KERNEL_VERSION_4_6
config ADK_TARGET_KERNEL_VERSION_4_5_7
bool "4.5.7"
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_BOARD_BCM28XX
depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
@@ -27,6 +30,7 @@ config ADK_TARGET_KERNEL_VERSION_4_5_7
config ADK_TARGET_KERNEL_VERSION_4_4_14
bool "4.4.14"
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
select ADK_TARGET_KERNEL_VERSION_4_4
@@ -37,6 +41,7 @@ config ADK_TARGET_KERNEL_VERSION_4_1_26
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
depends on !ADK_TARGET_ARCH_NIOS2
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_SYSTEM_KINETIS_K70
select ADK_TARGET_KERNEL_VERSION_4_1
@@ -46,6 +51,7 @@ config ADK_TARGET_KERNEL_VERSION_3_18_33
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_BOARD_ATH79
@@ -60,6 +66,7 @@ config ADK_TARGET_KERNEL_VERSION_3_14_72
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_BOARD_ATH79
@@ -72,6 +79,7 @@ config ADK_TARGET_KERNEL_VERSION_3_12_59
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_BOARD_ATH79
@@ -86,6 +94,7 @@ config ADK_TARGET_KERNEL_VERSION_3_10_101
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_BOARD_ATH79
@@ -115,6 +124,7 @@ config ADK_TARGET_KERNEL_VERSION_3_2_80
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_BOARD_ATH79
@@ -129,6 +139,7 @@ config ADK_TARGET_KERNEL_VERSION_2_6_32_70
depends on !ADK_TARGET_ARCH_ARC
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_H8300
+ depends on !ADK_TARGET_ARCH_NDS32
depends on !ADK_TARGET_ARCH_NIOS2
depends on !ADK_TARGET_ARCH_SPARC
depends on !ADK_TARGET_BOARD_ATH79
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 6ed3bc5b7..6657e044c 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -285,6 +285,7 @@ config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
default "9600" if ADK_TARGET_SYSTEM_FON_FON2100
default "9600" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
default "38400" if ADK_TARGET_SYSTEM_PCENGINES_WRAP
+ default "38400" if ADK_TARGET_SYSTEM_ANDES_AG101P
default "115200"
config ADK_RUNTIME_KBD_LAYOUT
diff --git a/target/config/Config.in.target b/target/config/Config.in.target
index ec72d1b44..5fef2270e 100644
--- a/target/config/Config.in.target
+++ b/target/config/Config.in.target
@@ -8,5 +8,6 @@ config ADK_TARGET_CMDLINE
default "kinetis_platform=k70-som" if ADK_TARGET_SYSTEM_KINETIS_K70
default "metag_da.console_poll=1" if ADK_TARGET_SYSTEM_QEMU_METAG
default "earlycon=uart8250,mmio32,0x9d050020,115200n8 console=ttyS0,115200n8" if ADK_TARGET_CPU_XTENSA_DE212
+ default "earlyprintk=uart8250-32bit,0x99600000" if ADK_TARGET_SYSTEM_ANDES_AG101P
default ""