summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-11 20:35:37 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-11 20:35:44 -0600
commit0c21382bb7270c6b7e34c2b43ccdb71c8853db44 (patch)
treefb30473db3979e8b294c6854231d78d732d226cd
parenta30f7fe5d730525af5daa6801f0b4d2f29025bd1 (diff)
activate serial console and network driver for atmel ngw100. first boot via nfs succeeds.
-rw-r--r--package/libgcc/Makefile2
-rw-r--r--target/avr32/kernel/atmel-ngw1003
-rw-r--r--target/config/Config.in.libc.default2
-rw-r--r--target/linux/config/Config.in.ethernet12
4 files changed, 19 insertions, 0 deletions
diff --git a/package/libgcc/Makefile b/package/libgcc/Makefile
index f91bf152c..9db9a9fa7 100644
--- a/package/libgcc/Makefile
+++ b/package/libgcc/Makefile
@@ -34,6 +34,7 @@ INSTALL_STYLE:= manual
libgcc-install:
$(INSTALL_DIR) ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH)
+ifeq ($(ADK_TARGET_ARCH_AVR32),)
ifeq ($(ADK_TARGET_UCLINUX),)
ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
ifeq ($(ADK_TARGET_ARCH_SH),y)
@@ -45,5 +46,6 @@ else
endif
endif
endif
+endif
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/target/avr32/kernel/atmel-ngw100 b/target/avr32/kernel/atmel-ngw100
index 9ddc7e27b..78e810594 100644
--- a/target/avr32/kernel/atmel-ngw100
+++ b/target/avr32/kernel/atmel-ngw100
@@ -4,3 +4,6 @@ CONFIG_CPU_AT32AP700X=y
CONFIG_CPU_AT32AP7000=y
CONFIG_BOARD_ATNGW100_COMMON=y
CONFIG_BOARD_ATNGW100_MKI=y
+CONFIG_SERIAL_ATMEL=y
+CONFIG_SERIAL_ATMEL_CONSOLE=y
+CONFIG_SERIAL_ATMEL_PDC=y
diff --git a/target/config/Config.in.libc.default b/target/config/Config.in.libc.default
index cfc1a87e3..66c959571 100644
--- a/target/config/Config.in.libc.default
+++ b/target/config/Config.in.libc.default
@@ -32,6 +32,8 @@ config ADK_LIBC_VERSION
config ADK_TARGET_WITH_NPTL
boolean
+ default n if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_AVR32
+ default n if ADK_TARGET_LIB_UCLIBC && ADK_TARGET_ARCH_AVR32
default n if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_CRIS
default n if ADK_TARGET_LIB_UCLIBC && ADK_TARGET_ARCH_CRIS
default n if ADK_TARGET_LIB_UCLIBC_NG && ADK_TARGET_ARCH_M68K
diff --git a/target/linux/config/Config.in.ethernet b/target/linux/config/Config.in.ethernet
index 2b40db25b..a82396313 100644
--- a/target/linux/config/Config.in.ethernet
+++ b/target/linux/config/Config.in.ethernet
@@ -1,6 +1,9 @@
menu "Ethernet network devices support"
# vendor stuff
+config ADK_KERNEL_NET_CADENCE
+ bool
+
config ADK_KERNEL_NET_VENDOR_AMD
bool
@@ -233,6 +236,15 @@ config ADK_KERNEL_IBMVETH
help
IBM ethernet driver
+config ADK_KERNEL_MACB
+ tristate "Atmel NGW100 network driver"
+ select ADK_KERNEL_NET_CADENCE
+ depends on ADK_TARGET_SYSTEM_ATMEL_NGW100
+ default y if ADK_TARGET_SYSTEM_ATMEL_NGW100
+ default n
+ help
+ Atmel NGW100 network driver
+
config ADK_KERNEL_SKY2
tristate "Marvell Yukon SKY2 driver"
select ADK_KERNEL_NETDEV_1000