1
0
فهرست منبع

activate serial console and network driver for atmel ngw100. first boot via nfs succeeds.

Waldemar Brodkorb 11 سال پیش
والد
کامیت
0c21382bb7
4فایلهای تغییر یافته به همراه19 افزوده شده و 0 حذف شده
  1. 2 0
      package/libgcc/Makefile
  2. 3 0
      target/avr32/kernel/atmel-ngw100
  3. 2 0
      target/config/Config.in.libc.default
  4. 12 0
      target/linux/config/Config.in.ethernet

+ 2 - 0
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

+ 3 - 0
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

+ 2 - 0
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

+ 12 - 0
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