From 5c105d9f3fd086aff195d3849dcf847d6b0bd927 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 5 Oct 2012 10:12:53 +0000 Subject: branch Attitude Adjustment git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33625 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/at91/9260/base-files/etc/config/network | 20 + .../linux/at91/9260/base-files/etc/config/system | 9 + .../9260/base-files/etc/init.d/custom-user-startup | 22 + target/linux/at91/9260/config-default | 12 + .../at91/9260/profiles/000-flexibity-minimal.mk | 18 + .../linux/at91/9260/profiles/001-flexibity-xwrt.mk | 26 + .../linux/at91/9260/profiles/002-flexibity-luci.mk | 26 + target/linux/at91/9260/target.mk | 16 + target/linux/at91/9263/config-default | 21 + target/linux/at91/9263/target.mk | 11 + target/linux/at91/9g20/config-default | 7 + target/linux/at91/9g20/target.mk | 12 + target/linux/at91/Makefile | 25 + target/linux/at91/base-files/etc/config/firewall | 6 + target/linux/at91/base-files/etc/config/network | 20 + target/linux/at91/config-default | 199 ++ .../at91/files/arch/arm/mach-at91/board-tqma9263.c | 219 ++ target/linux/at91/files/drivers/misc/at91-adc.c | 355 +++ target/linux/at91/files/drivers/misc/at91_adc.h | 62 + target/linux/at91/files/drivers/mtd/at91part.c | 120 + target/linux/at91/image/Config.in | 37 + target/linux/at91/image/Makefile | 38 + target/linux/at91/image/dfboot/Makefile | 35 + target/linux/at91/image/dfboot/src/Makefile | 94 + target/linux/at91/image/dfboot/src/_udivsi3.S | 77 + target/linux/at91/image/dfboot/src/_umodsi3.S | 88 + target/linux/at91/image/dfboot/src/asm_isr.S | 75 + target/linux/at91/image/dfboot/src/asm_mci_isr.S | 75 + target/linux/at91/image/dfboot/src/at45.c | 595 ++++ target/linux/at91/image/dfboot/src/com.c | 368 +++ target/linux/at91/image/dfboot/src/com.h | 28 + target/linux/at91/image/dfboot/src/config.h | 17 + target/linux/at91/image/dfboot/src/cstartup_ram.S | 144 + target/linux/at91/image/dfboot/src/dataflash.c | 208 ++ target/linux/at91/image/dfboot/src/dataflash.h | 181 ++ target/linux/at91/image/dfboot/src/div0.c | 28 + .../at91/image/dfboot/src/elf32-littlearm.lds | 19 + .../at91/image/dfboot/src/embedded_services.h | 500 ++++ .../image/dfboot/src/include/AT91C_MCI_Device.h | 379 +++ .../at91/image/dfboot/src/include/AT91RM9200.h | 2745 ++++++++++++++++++ .../at91/image/dfboot/src/include/AT91RM9200.inc | 2437 ++++++++++++++++ .../at91/image/dfboot/src/include/AT91RM9200_inc.h | 2401 ++++++++++++++++ target/linux/at91/image/dfboot/src/include/led.h | 49 + .../at91/image/dfboot/src/include/lib_AT91RM9200.h | 2978 ++++++++++++++++++++ target/linux/at91/image/dfboot/src/init.c | 165 ++ target/linux/at91/image/dfboot/src/jump.S | 4 + target/linux/at91/image/dfboot/src/led.c | 103 + target/linux/at91/image/dfboot/src/main.c | 811 ++++++ target/linux/at91/image/dfboot/src/main.h | 43 + target/linux/at91/image/dfboot/src/mci_device.c | 743 +++++ target/linux/at91/image/dfboot/src/stdio.h | 18 + target/linux/at91/image/u-boot/Makefile | 51 + .../at91/image/u-boot/patches/100-netusg20.patch | 574 ++++ .../at91/image/u-boot/patches/200-clock.patch | 24 + target/linux/at91/image/u-boot/ubclient/Makefile | 15 + target/linux/at91/image/u-boot/ubclient/ubpar.c | 135 + target/linux/at91/modules.mk | 68 + .../linux/at91/patches/700-tqma9263-support.patch | 25 + .../at91/patches/805-free_some_portc_pins.patch | 11 + ...AT91-Add-external-RTC-for-Flexibity-board.patch | 35 + ...-AT91-flexibity-default-leds-to-heartbeat.patch | 60 + 61 files changed, 17687 insertions(+) create mode 100644 target/linux/at91/9260/base-files/etc/config/network create mode 100644 target/linux/at91/9260/base-files/etc/config/system create mode 100644 target/linux/at91/9260/base-files/etc/init.d/custom-user-startup create mode 100644 target/linux/at91/9260/config-default create mode 100644 target/linux/at91/9260/profiles/000-flexibity-minimal.mk create mode 100644 target/linux/at91/9260/profiles/001-flexibity-xwrt.mk create mode 100644 target/linux/at91/9260/profiles/002-flexibity-luci.mk create mode 100644 target/linux/at91/9260/target.mk create mode 100644 target/linux/at91/9263/config-default create mode 100644 target/linux/at91/9263/target.mk create mode 100644 target/linux/at91/9g20/config-default create mode 100644 target/linux/at91/9g20/target.mk create mode 100644 target/linux/at91/Makefile create mode 100644 target/linux/at91/base-files/etc/config/firewall create mode 100644 target/linux/at91/base-files/etc/config/network create mode 100644 target/linux/at91/config-default create mode 100644 target/linux/at91/files/arch/arm/mach-at91/board-tqma9263.c create mode 100644 target/linux/at91/files/drivers/misc/at91-adc.c create mode 100644 target/linux/at91/files/drivers/misc/at91_adc.h create mode 100644 target/linux/at91/files/drivers/mtd/at91part.c create mode 100644 target/linux/at91/image/Config.in create mode 100644 target/linux/at91/image/Makefile create mode 100644 target/linux/at91/image/dfboot/Makefile create mode 100644 target/linux/at91/image/dfboot/src/Makefile create mode 100644 target/linux/at91/image/dfboot/src/_udivsi3.S create mode 100644 target/linux/at91/image/dfboot/src/_umodsi3.S create mode 100644 target/linux/at91/image/dfboot/src/asm_isr.S create mode 100644 target/linux/at91/image/dfboot/src/asm_mci_isr.S create mode 100644 target/linux/at91/image/dfboot/src/at45.c create mode 100644 target/linux/at91/image/dfboot/src/com.c create mode 100644 target/linux/at91/image/dfboot/src/com.h create mode 100644 target/linux/at91/image/dfboot/src/config.h create mode 100644 target/linux/at91/image/dfboot/src/cstartup_ram.S create mode 100644 target/linux/at91/image/dfboot/src/dataflash.c create mode 100644 target/linux/at91/image/dfboot/src/dataflash.h create mode 100644 target/linux/at91/image/dfboot/src/div0.c create mode 100644 target/linux/at91/image/dfboot/src/elf32-littlearm.lds create mode 100644 target/linux/at91/image/dfboot/src/embedded_services.h create mode 100644 target/linux/at91/image/dfboot/src/include/AT91C_MCI_Device.h create mode 100644 target/linux/at91/image/dfboot/src/include/AT91RM9200.h create mode 100644 target/linux/at91/image/dfboot/src/include/AT91RM9200.inc create mode 100644 target/linux/at91/image/dfboot/src/include/AT91RM9200_inc.h create mode 100644 target/linux/at91/image/dfboot/src/include/led.h create mode 100644 target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h create mode 100644 target/linux/at91/image/dfboot/src/init.c create mode 100644 target/linux/at91/image/dfboot/src/jump.S create mode 100644 target/linux/at91/image/dfboot/src/led.c create mode 100644 target/linux/at91/image/dfboot/src/main.c create mode 100644 target/linux/at91/image/dfboot/src/main.h create mode 100644 target/linux/at91/image/dfboot/src/mci_device.c create mode 100644 target/linux/at91/image/dfboot/src/stdio.h create mode 100644 target/linux/at91/image/u-boot/Makefile create mode 100644 target/linux/at91/image/u-boot/patches/100-netusg20.patch create mode 100644 target/linux/at91/image/u-boot/patches/200-clock.patch create mode 100644 target/linux/at91/image/u-boot/ubclient/Makefile create mode 100644 target/linux/at91/image/u-boot/ubclient/ubpar.c create mode 100644 target/linux/at91/modules.mk create mode 100644 target/linux/at91/patches/700-tqma9263-support.patch create mode 100644 target/linux/at91/patches/805-free_some_portc_pins.patch create mode 100644 target/linux/at91/patches/900-AT91-Add-external-RTC-for-Flexibity-board.patch create mode 100644 target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch (limited to 'target/linux/at91') diff --git a/target/linux/at91/9260/base-files/etc/config/network b/target/linux/at91/9260/base-files/etc/config/network new file mode 100644 index 000000000..5800a0bff --- /dev/null +++ b/target/linux/at91/9260/base-files/etc/config/network @@ -0,0 +1,20 @@ + +config 'interface' 'loopback' + option 'ifname' 'lo' + option 'proto' 'static' + option 'ipaddr' '127.0.0.1' + option 'netmask' '255.0.0.0' + +config 'interface' 'cfg' + option 'ifname' 'usb0' + option 'proto' 'static' + option 'netmask' '255.255.255.0' + option 'gateway' '192.168.119.1' + option 'ipaddr' '192.168.119.2' + +config 'interface' 'lan' + option 'ifname' 'wlan0' + option 'proto' 'dhcp' + +#config 'interface' 'wan' +# option diff --git a/target/linux/at91/9260/base-files/etc/config/system b/target/linux/at91/9260/base-files/etc/config/system new file mode 100644 index 000000000..ba7e87c62 --- /dev/null +++ b/target/linux/at91/9260/base-files/etc/config/system @@ -0,0 +1,9 @@ +config 'system' + option 'timezone' 'UTC' + option 'hostname' 'flexibity' + +config timeserver ntp + list server 0.openwrt.pool.ntp.org + list server 1.openwrt.pool.ntp.org + list server 2.openwrt.pool.ntp.org + list server 3.openwrt.pool.ntp.org diff --git a/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup b/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup new file mode 100644 index 000000000..dc9f77c98 --- /dev/null +++ b/target/linux/at91/9260/base-files/etc/init.d/custom-user-startup @@ -0,0 +1,22 @@ +#!/bin/sh /etc/rc.common +START=90 +# place your own startup commands here +# +# REMEMBER: You *MUST* place an '&' after launching programs you +# that are to continue running in the background. +# +# i.e. +# BAD: upnpd +# GOOD: upnpd & +# +# Failure to do this will result in the startup process halting +# on this file and the diagnostic light remaining on (at least +# for WRT54G(s) models). +# + +# coldplug USB devices +udevtrigger & + +# wait for coldplug and re-generate wireless config +#wifi detect > /etc/config/wireless & + diff --git a/target/linux/at91/9260/config-default b/target/linux/at91/9260/config-default new file mode 100644 index 000000000..b15515792 --- /dev/null +++ b/target/linux/at91/9260/config-default @@ -0,0 +1,12 @@ +CONFIG_ARCH_AT91SAM9260=y +# CONFIG_MACH_AFEB9260 is not set +# CONFIG_MACH_AT91SAM9260EK is not set +# CONFIG_MACH_CAM60 is not set +# CONFIG_MACH_CPU9260 is not set +CONFIG_MACH_FLEXIBITY=y +CONFIG_MACH_NO_WESTBRIDGE=y +# CONFIG_MACH_QIL_A9260 is not set +# CONFIG_MACH_SAM9_L9260 is not set +# CONFIG_MACH_SNAPPER_9260 is not set +# CONFIG_MACH_USB_A9260 is not set + diff --git a/target/linux/at91/9260/profiles/000-flexibity-minimal.mk b/target/linux/at91/9260/profiles/000-flexibity-minimal.mk new file mode 100644 index 000000000..f8e7a6514 --- /dev/null +++ b/target/linux/at91/9260/profiles/000-flexibity-minimal.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 20011-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/flexibity-minimal + NAME:=Flexibity Connect (minimal) + PACKAGES:= +endef + +define Profile/flexibity-minimal/Description + Minimal packages set for the Flexibity Connect device. +endef + +$(eval $(call Profile,flexibity-minimal)) + diff --git a/target/linux/at91/9260/profiles/001-flexibity-xwrt.mk b/target/linux/at91/9260/profiles/001-flexibity-xwrt.mk new file mode 100644 index 000000000..b1c526929 --- /dev/null +++ b/target/linux/at91/9260/profiles/001-flexibity-xwrt.mk @@ -0,0 +1,26 @@ +# +# Copyright (C) 2011-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/flexibity-xwrt + NAME:=Flexibity Connect (XWrt) + PACKAGES:=bridge block-mount modprobe dnsmasq hotplug2 udev webif webif-applications webif-flexibity \ + syslog-ng sudo transmission-web miniupnpd nmap-ssl ip ntpclient ntpdate chat crda e169-stats genl hostapd-utils \ + iw madwimax netcat portmap ppp ppp-mod-pppoe pptp tcpdump usb-modem usb-modem-huawei-e175x usb-modem-huawei-eg162 \ + usb-modem-nokia-5800 wpa-cli wpa-supplicant motion badblocks blkid cifsmount disktype dosfsck dosfslabel e2fsprogs \ + fuse-utils mkdosfs nfs-utils ntfs-3g ntfs-3g-utils reiserfsprogs resize2fs sysfsutils tune2fs uuidgen certtool \ + gnutls-utils picocom setterm unrar unzip sqlite3-cli alsa-utils anyremote bluez-utils bzip2 comgt crypto-tools \ + file flock gdbserver gnupg gpioctl gsm-utils gzip huaweiaktbbo hwclock i2c-tools input-utils ldd lsof mdadm \ + module-init-tools mount-utils openssl-util procps psmisc px5g screen strace stress sysstat uboot-envtools \ + usb-modeswitch usb-modeswitch-data usbutils lua +endef + +define Profile/flexibity-xwrt/Description + Complete packages set for the Flexibity Connect device (XWrt). +endef + +$(eval $(call Profile,flexibity-xwrt)) + diff --git a/target/linux/at91/9260/profiles/002-flexibity-luci.mk b/target/linux/at91/9260/profiles/002-flexibity-luci.mk new file mode 100644 index 000000000..433239be6 --- /dev/null +++ b/target/linux/at91/9260/profiles/002-flexibity-luci.mk @@ -0,0 +1,26 @@ +# +# Copyright (C) 2011-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/flexibity-luci + NAME:=Flexibity Connect (LuCI) + PACKAGES:=bridge block-mount modprobe dnsmasq hotplug2 udev luci-flexibity \ + syslog-ng sudo transmission-web miniupnpd nmap-ssl ip ntpclient ntpdate chat crda e169-stats genl hostapd-utils \ + iw madwimax netcat portmap ppp ppp-mod-pppoe pptp tcpdump usb-modem usb-modem-huawei-e175x usb-modem-huawei-eg162 \ + usb-modem-nokia-5800 wpa-cli wpa-supplicant motion badblocks blkid cifsmount disktype dosfsck dosfslabel e2fsprogs \ + fuse-utils mkdosfs nfs-utils ntfs-3g ntfs-3g-utils reiserfsprogs resize2fs sysfsutils tune2fs uuidgen certtool \ + gnutls-utils picocom setterm unrar unzip sqlite3-cli alsa-utils anyremote bluez-utils bzip2 comgt crypto-tools \ + file flock gdbserver gnupg gpioctl gsm-utils gzip huaweiaktbbo hwclock i2c-tools input-utils ldd lsof mdadm \ + module-init-tools mount-utils openssl-util procps psmisc px5g screen strace stress sysstat uboot-envtools \ + usb-modeswitch usb-modeswitch-data usbutils lua +endef + +define Profile/flexibity-luci/Description + Complete packages set for the Flexibity Connect device with LuCI. +endef + +$(eval $(call Profile,flexibity-luci)) + diff --git a/target/linux/at91/9260/target.mk b/target/linux/at91/9260/target.mk new file mode 100644 index 000000000..91a1d7504 --- /dev/null +++ b/target/linux/at91/9260/target.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2011 Flexibity +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +SUBTARGET:=9260 +BOARDNAME:=AT91SAM9260 Based board + +define Target/Description + Build images for AT91SAM9260 based board, supported board: + * Flexibity Connect +endef + diff --git a/target/linux/at91/9263/config-default b/target/linux/at91/9263/config-default new file mode 100644 index 000000000..15ec97c87 --- /dev/null +++ b/target/linux/at91/9263/config-default @@ -0,0 +1,21 @@ +CONFIG_ARCH_AT91SAM9263=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set +CONFIG_CRC16=y +CONFIG_HAVE_FB_ATMEL=y +CONFIG_I2C=y +# CONFIG_I2C_AT91 is not set +CONFIG_I2C_BOARDINFO=y +CONFIG_JBD2=y +# CONFIG_MACH_AT91SAM9263EK is not set +# CONFIG_MACH_NEOCORE926 is not set +CONFIG_MACH_TQMA9263=y +# CONFIG_MACH_USB_A9263 is not set +CONFIG_MTD_NAND=y +CONFIG_MTD_NAND_ATMEL=y +CONFIG_MTD_NAND_ATMEL_ECC_HW=y +# CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set +# CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set +CONFIG_MTD_NAND_ECC=y +# CONFIG_MTD_SM_COMMON is not set +# CONFIG_USB_FUNCTIONFS is not set +CONFIG_AT91_EARLY_DBGU1=y diff --git a/target/linux/at91/9263/target.mk b/target/linux/at91/9263/target.mk new file mode 100644 index 000000000..fba20877e --- /dev/null +++ b/target/linux/at91/9263/target.mk @@ -0,0 +1,11 @@ +# +# Copyright (C) 2011-2012 OpenWrt.org +# + +SUBTARGET:=9263 +BOARDNAME:=AT91SAM9263 Based board + +define Target/Description + Build images for AT91SAM9263 based board, supported board: + * TQ Components TQMa9263 +endef diff --git a/target/linux/at91/9g20/config-default b/target/linux/at91/9g20/config-default new file mode 100644 index 000000000..c2967762d --- /dev/null +++ b/target/linux/at91/9g20/config-default @@ -0,0 +1,7 @@ +CONFIG_ARCH_AT91SAM9G20=y +CONFIG_MACH_AT91SAM9G20EK=y +# CONFIG_MACH_AT91SAM9G20EK_2MMC is not set +CONFIG_MACH_ACMENETUSFOXG20=y +CONFIG_MACH_STAMP9G20=y +CONFIG_MACH_STAMP9G20_EVB=y +# CONFIG_MTD_AT91_DATAFLASH_CARD is not set diff --git a/target/linux/at91/9g20/target.mk b/target/linux/at91/9g20/target.mk new file mode 100644 index 000000000..626436e6a --- /dev/null +++ b/target/linux/at91/9g20/target.mk @@ -0,0 +1,12 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# + +SUBTARGET:=9g20 +BOARDNAME:=AT91SAM9g20 Based board + +define Target/Description + Build images for AT91SAM9g20 based board, supported board: + * Acmesystems NetusG20 + * Taskit Stamp9G20 Evaluation Board +endef diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile new file mode 100644 index 000000000..3c7d85bda --- /dev/null +++ b/target/linux/at91/Makefile @@ -0,0 +1,25 @@ +# +# Copyright (C) 2006-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +ARCH:=arm +BOARD:=at91 +MAINTAINER:=Claudio Mignanti +BOARDNAME:=Atmel AT91 +FEATURES:=squashfs jffs2 targz ext2 usb +CFLAGS:=-Os -pipe -march=armv5te -mtune=arm926ej-s -fno-caller-saves +SUBTARGETS:=9g20 9260 9263 + +LINUX_VERSION:=3.3.8 +DEVICE_TYPE= + +include $(INCLUDE_DIR)/target.mk + +DEFAULT_PACKAGES+= kmod-usb-ohci +KERNELNAME:="uImage" + +$(eval $(call BuildTarget)) diff --git a/target/linux/at91/base-files/etc/config/firewall b/target/linux/at91/base-files/etc/config/firewall new file mode 100644 index 000000000..f9c860e3d --- /dev/null +++ b/target/linux/at91/base-files/etc/config/firewall @@ -0,0 +1,6 @@ +config defaults + option syn_flood 1 + option input ACCEPT + option output ACCEPT + option forward REJECT + diff --git a/target/linux/at91/base-files/etc/config/network b/target/linux/at91/base-files/etc/config/network new file mode 100644 index 000000000..2aecfb9eb --- /dev/null +++ b/target/linux/at91/base-files/etc/config/network @@ -0,0 +1,20 @@ +config interface loopback + option ifname lo + option proto static + option ipaddr 127.0.0.1 + option netmask 255.0.0.0 + +config interface lan + option ifname eth0 + option type none + option proto static + option ipaddr 192.168.1.1 + option netmask 255.255.255.0 + +config interface debug + option ifname usb0 + option type none + option proto static + option ipaddr 172.18.0.18 + option netmash 255.255.255.0 + diff --git a/target/linux/at91/config-default b/target/linux/at91/config-default new file mode 100644 index 000000000..c30edb458 --- /dev/null +++ b/target/linux/at91/config-default @@ -0,0 +1,199 @@ +CONFIG_ALIGNMENT_TRAP=y +CONFIG_ARCH_AT91=y +# CONFIG_ARCH_AT91CAP9 is not set +# CONFIG_ARCH_AT91RM9200 is not set +# CONFIG_ARCH_AT91SAM9260 is not set +# CONFIG_ARCH_AT91SAM9261 is not set +# CONFIG_ARCH_AT91SAM9263 is not set +# CONFIG_ARCH_AT91SAM9G10 is not set +# CONFIG_ARCH_AT91SAM9G20 is not set +# CONFIG_ARCH_AT91SAM9G45 is not set +# CONFIG_ARCH_AT91SAM9RL is not set +# CONFIG_ARCH_AT91X40 is not set +CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_ARCH_NR_GPIO=0 +CONFIG_ARCH_REQUIRE_GPIOLIB=y +# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set +# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set +CONFIG_ARCH_SUSPEND_POSSIBLE=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set +CONFIG_ARM=y +# CONFIG_ARM_CPU_SUSPEND is not set +CONFIG_ARM_L1_CACHE_SHIFT=5 +CONFIG_ARM_NR_BANKS=8 +CONFIG_ARM_THUMB=y +# CONFIG_AT91SAM9X_WATCHDOG is not set +CONFIG_AT91_EARLY_DBGU0=y +# CONFIG_AT91_EARLY_USART0 is not set +# CONFIG_AT91_EARLY_USART1 is not set +# CONFIG_AT91_EARLY_USART2 is not set +# CONFIG_AT91_EARLY_USART3 is not set +# CONFIG_AT91_EARLY_USART4 is not set +# CONFIG_AT91_EARLY_USART5 is not set +CONFIG_AT91_PMC_UNIT=y +CONFIG_AT91_PROGRAMMABLE_CLOCKS=y +CONFIG_AT91_SAM9_ALT_RESET=y +CONFIG_AT91_TIMER_HZ=100 +# CONFIG_ATMEL_PWM is not set +# CONFIG_ATMEL_SSC is not set +# CONFIG_ATMEL_TCLIB is not set +CONFIG_BCMA_POSSIBLE=y +# CONFIG_BLK_DEV is not set +# CONFIG_BLK_DEV_INITRD is not set +# CONFIG_CACHE_L2X0 is not set +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_CLKDEV_LOOKUP=y +CONFIG_CPU_32v5=y +CONFIG_CPU_ABRT_EV5TJ=y +CONFIG_CPU_ARM926T=y +# CONFIG_CPU_CACHE_ROUND_ROBIN is not set +CONFIG_CPU_CACHE_VIVT=y +CONFIG_CPU_COPY_V4WB=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y +# CONFIG_CPU_DCACHE_WRITETHROUGH is not set +# CONFIG_CPU_ICACHE_DISABLE is not set +CONFIG_CPU_PABRT_LEGACY=y +CONFIG_CPU_TLB_V4WBI=y +CONFIG_CPU_USE_DOMAINS=y +CONFIG_CRC16=y +CONFIG_DEBUG_BUGVERBOSE=y +# CONFIG_DEBUG_USER is not set +CONFIG_DEVPTS_MULTIPLE_INSTANCES=y +# CONFIG_DW_WATCHDOG is not set +CONFIG_EXT4_FS=y +CONFIG_FRAME_POINTER=y +CONFIG_FS_MBCACHE=y +CONFIG_GENERIC_ATOMIC64=y +CONFIG_GENERIC_BUG=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_GENERIC_GPIO=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GPIOLIB=y +CONFIG_GPIO_DEVICE=y +CONFIG_GPIO_SYSFS=y +# CONFIG_HAMRADIO is not set +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_HAS_DMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAVE_AOUT=y +CONFIG_HAVE_ARCH_KGDB=y +CONFIG_HAVE_ARCH_PFN_VALID=y +CONFIG_HAVE_AT91_DBGU0=y +CONFIG_HAVE_AT91_USART3=y +CONFIG_HAVE_AT91_USART4=y +CONFIG_HAVE_AT91_USART5=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_HAVE_GENERIC_HARDIRQS=y +CONFIG_HAVE_IRQ_WORK=y +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_HAVE_KERNEL_XZ=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_NET_MACB=y +CONFIG_HAVE_OPROFILE=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_SPARSE_IRQ=y +# CONFIG_ISDN is not set +CONFIG_JBD2=y +CONFIG_KTIME_SCALAR=y +# CONFIG_LEDS is not set +# CONFIG_LEDS_ATMEL_PWM is not set +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_MACB is not set +# CONFIG_MACH_ACMENETUSFOXG20 is not set +# CONFIG_MACH_AT91SAM9G20EK is not set +# CONFIG_MACH_AT91SAM_DT is not set +# CONFIG_MACH_CPU9G20 is not set +# CONFIG_MACH_GSIA18S is not set +# CONFIG_MACH_PCONTROL_G20 is not set +# CONFIG_MACH_PORTUXG20 is not set +# CONFIG_MACH_SNAPPER_9260 is not set +# CONFIG_MACH_STAMP9G20 is not set +# CONFIG_MACH_USB_A9G20 is not set +CONFIG_MDIO_BOARDINFO=y +# CONFIG_MFD_T7L66XB is not set +# CONFIG_MII is not set +CONFIG_MMC=y +CONFIG_MMC_AT91=y +# CONFIG_MMC_ATMELMCI is not set +CONFIG_MMC_BLOCK=y +CONFIG_MTD_DATAFLASH=y +# CONFIG_MTD_DATAFLASH_OTP is not set +# CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set +CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_NEED_PER_CPU_KM=y +CONFIG_NLS=y +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_PAGE_OFFSET=0xC0000000 +# CONFIG_PCI_SYSCALL is not set +CONFIG_PERF_USE_VMALLOC=y +CONFIG_PHYLIB=y +CONFIG_PHYS_OFFSET=0x0 +# CONFIG_PREEMPT_RCU is not set +CONFIG_RTC_CLASS=y +# CONFIG_RTC_DRV_AT91SAM9 is not set +# CONFIG_RTC_DRV_CMOS is not set +# CONFIG_SCSI_DMA is not set +# CONFIG_SERIAL_8250 is not set +CONFIG_SERIAL_ATMEL=y +CONFIG_SERIAL_ATMEL_CONSOLE=y +CONFIG_SERIAL_ATMEL_PDC=y +# CONFIG_SERIAL_ATMEL_TTYAT is not set +CONFIG_SPI=y +CONFIG_SPI_ATMEL=y +CONFIG_SPI_MASTER=y +CONFIG_SPI_SPIDEV=y +CONFIG_SPLIT_PTLOCK_CPUS=999999 +# CONFIG_STAGING is not set +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_UID16=y +# CONFIG_USB_ARCH_HAS_EHCI is not set +# CONFIG_USB_ARCH_HAS_XHCI is not set +CONFIG_USB_AT91=y +# CONFIG_USB_CDC_COMPOSITE is not set +CONFIG_USB_COMMON=y +CONFIG_USB_ETH=y +# CONFIG_USB_ETH_EEM is not set +CONFIG_USB_ETH_RNDIS=y +# CONFIG_USB_FILE_STORAGE is not set +# CONFIG_USB_FUNCTIONFS is not set +# CONFIG_USB_FUSB300 is not set +CONFIG_USB_GADGET=y +# CONFIG_USB_GADGETFS is not set +# CONFIG_USB_GADGET_DEBUG_FILES is not set +# CONFIG_USB_GADGET_DEBUG_FS is not set +CONFIG_USB_GADGET_VBUS_DRAW=2 +# CONFIG_USB_G_DBGP is not set +# CONFIG_USB_G_HID is not set +# CONFIG_USB_G_NCM is not set +# CONFIG_USB_G_PRINTER is not set +# CONFIG_USB_G_SERIAL is not set +# CONFIG_USB_M66592 is not set +# CONFIG_USB_MV_UDC is not set +# CONFIG_USB_NET2272 is not set +# CONFIG_USB_R8A66597 is not set +CONFIG_USB_SUPPORT=y +# CONFIG_USB_ZERO is not set +CONFIG_VECTORS_BASE=0xffff0000 +# CONFIG_VFP is not set +# CONFIG_WLAN is not set +CONFIG_XZ_DEC=y +CONFIG_ZBOOT_ROM_BSS=0 +CONFIG_ZBOOT_ROM_TEXT=0 +CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/at91/files/arch/arm/mach-at91/board-tqma9263.c b/target/linux/at91/files/arch/arm/mach-at91/board-tqma9263.c new file mode 100644 index 000000000..cae1fe935 --- /dev/null +++ b/target/linux/at91/files/arch/arm/mach-at91/board-tqma9263.c @@ -0,0 +1,219 @@ +/* + * Copyright (C) 2008 I2SE GmbH + * Copyright (C) 2010 IEQualize GmbH + * Copyright (C) 2010-2011 Michael Heimpold + * + * 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 + */ + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include + +#include