diff options
| author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-19 13:14:06 +0000 | 
|---|---|---|
| committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-12-19 13:14:06 +0000 | 
| commit | 0a679eefa60bbc9082da79457cb5a355efa7d88c (patch) | |
| tree | 5a5d3853178957010f4ce118bdb7bef5b96462f9 | |
| parent | d24f4397f1e2e8d831ef8f683a9fbe39aed6c31c (diff) | |
upgrade to 2.6.19.1, fix Gateway 7001 patch and enable image generation for ixp4xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5856 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rwxr-xr-x | scripts/arm-magic.sh | 38 | ||||
| -rw-r--r-- | target/linux/aruba-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/au1000-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/brcm-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/brcm63xx-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/ixp4xx-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/ixp4xx-2.6/config | 166 | ||||
| -rw-r--r-- | target/linux/ixp4xx-2.6/image/Makefile | 2 | ||||
| -rw-r--r-- | target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch | 234 | ||||
| -rw-r--r-- | target/linux/ixp4xx-2.6/patches/900-no_loader_workaround.patch | 19 | ||||
| -rw-r--r-- | target/linux/magicbox-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/rb532-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/rdc-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/sibyte-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/uml-2.6/Makefile | 4 | ||||
| -rw-r--r-- | target/linux/x86-2.6/Makefile | 4 | 
16 files changed, 324 insertions, 179 deletions
| diff --git a/scripts/arm-magic.sh b/scripts/arm-magic.sh new file mode 100755 index 000000000..3ac5e79b9 --- /dev/null +++ b/scripts/arm-magic.sh @@ -0,0 +1,38 @@ +#!/usr/bin/env bash +# +#   Empty/wrong machtype-workaround generator +# +#   Copyright (C) 2006 Imre Kaloz <kaloz@openwrt.org> +#   based on linux/arch/arm/boot/compressed/head-xscale.S +# +#   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 + +# NOTE: for now it's for only IXP4xx in big endian mode + +# list of supported boards, in "boardname machtypeid" format +for board in "avila 526" "gateway7001 731" "nslu2 597" "nas100d 865" +do +  set -- $board +  if [ "$2" -lt "256" ]; then +    # we have a low machtypeid, we just need a "mov" (e3a) +    echo -en "\xe3\xa0\x10\x$(printf %x\\n $2)" > $BIN_DIR/openwrt-$1-2.6-zImage +  else +    # we have a high machtypeid, we need a "mov" (e3a) and an "orr" (e38) +    hexid=$(printf %x\\n $2) +    echo -en "\xe3\xa0\x10\x$(echo $hexid|cut -b "2 3")\xe3\x81\x1c\x$(echo $hexid|cut -b 1)" > $BIN_DIR/openwrt-$1-2.6-zImage +  fi +    # generate the image +    cat $BIN_DIR/openwrt-ixp4xx-2.6-zImage >> $BIN_DIR/openwrt-$1-2.6-zImage +done diff --git a/target/linux/aruba-2.6/Makefile b/target/linux/aruba-2.6/Makefile index 992f51c70..989f321b0 100644 --- a/target/linux/aruba-2.6/Makefile +++ b/target/linux/aruba-2.6/Makefile @@ -15,9 +15,9 @@ define Target/Description  	Build firmware images for Aruba boards  endef -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  DEFAULT_PACKAGES += kmod-madwifi diff --git a/target/linux/au1000-2.6/Makefile b/target/linux/au1000-2.6/Makefile index 4daf61b37..4b20032f9 100644 --- a/target/linux/au1000-2.6/Makefile +++ b/target/linux/au1000-2.6/Makefile @@ -16,9 +16,9 @@ define Target/Description  	(e.g. 4G-Systems Mesh/Access Cube ...)  endef -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk diff --git a/target/linux/brcm-2.6/Makefile b/target/linux/brcm-2.6/Makefile index 162c45e86..c30e150f4 100644 --- a/target/linux/brcm-2.6/Makefile +++ b/target/linux/brcm-2.6/Makefile @@ -20,9 +20,9 @@ define Target/Description  	with TFTP client too.  endef -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  DEFAULT_PACKAGES += kmod-switch diff --git a/target/linux/brcm63xx-2.6/Makefile b/target/linux/brcm63xx-2.6/Makefile index 81a401380..4757eff89 100644 --- a/target/linux/brcm63xx-2.6/Makefile +++ b/target/linux/brcm63xx-2.6/Makefile @@ -16,9 +16,9 @@ define Target/Description  	(e.g. Inventel Livebox, Siemens SE515)  endef -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk diff --git a/target/linux/ixp4xx-2.6/Makefile b/target/linux/ixp4xx-2.6/Makefile index 3c995bf79..1d08708a3 100644 --- a/target/linux/ixp4xx-2.6/Makefile +++ b/target/linux/ixp4xx-2.6/Makefile @@ -14,9 +14,9 @@ FEATURES:=jffs2  define Target/Description  endef -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  $(eval $(call BuildKernel)) diff --git a/target/linux/ixp4xx-2.6/config b/target/linux/ixp4xx-2.6/config index 8c5f593d7..57dde8929 100644 --- a/target/linux/ixp4xx-2.6/config +++ b/target/linux/ixp4xx-2.6/config @@ -1,14 +1,20 @@  #  # Automatically generated make config: don't edit -# Linux kernel version: 2.6.17 -# Fri Oct 27 13:36:15 2006 +# Linux kernel version: 2.6.19 +# Tue Dec 19 12:52:50 2006  #  CONFIG_ARM=y +CONFIG_GENERIC_TIME=y  CONFIG_MMU=y +CONFIG_GENERIC_HARDIRQS=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y  CONFIG_RWSEM_GENERIC_SPINLOCK=y  CONFIG_GENERIC_HWEIGHT=y  CONFIG_GENERIC_CALIBRATE_DELAY=y  CONFIG_VECTORS_BASE=0xffff0000 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"  #  # Code maturity level options @@ -24,17 +30,21 @@ CONFIG_LOCALVERSION=""  CONFIG_LOCALVERSION_AUTO=y  # CONFIG_SWAP is not set  CONFIG_SYSVIPC=y +# CONFIG_IPC_NS is not set  # CONFIG_POSIX_MQUEUE is not set  CONFIG_BSD_PROCESS_ACCT=y  # CONFIG_BSD_PROCESS_ACCT_V3 is not set -CONFIG_SYSCTL=y +# CONFIG_TASKSTATS is not set +# CONFIG_UTS_NS is not set  # CONFIG_AUDIT is not set  # CONFIG_IKCONFIG is not set  # CONFIG_RELAY is not set  CONFIG_INITRAMFS_SOURCE="" -CONFIG_UID16=y  CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL=y  CONFIG_EMBEDDED=y +CONFIG_UID16=y +CONFIG_SYSCTL_SYSCALL=y  # CONFIG_KALLSYMS is not set  CONFIG_HOTPLUG=y  CONFIG_PRINTK=y @@ -45,10 +55,11 @@ CONFIG_FUTEX=y  CONFIG_EPOLL=y  # CONFIG_SHMEM is not set  CONFIG_SLAB=y +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_RT_MUTEXES=y  CONFIG_TINY_SHMEM=y  CONFIG_BASE_SMALL=0  # CONFIG_SLOB is not set -CONFIG_OBSOLETE_INTERMODULE=y  #  # Loadable module support @@ -63,6 +74,7 @@ CONFIG_MODULE_UNLOAD=y  #  # Block layer  # +CONFIG_BLOCK=y  # CONFIG_BLK_DEV_IO_TRACE is not set  # @@ -81,18 +93,27 @@ CONFIG_DEFAULT_IOSCHED="deadline"  #  # System Type  # +# CONFIG_ARCH_AAEC2000 is not set +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_AT91 is not set  # CONFIG_ARCH_CLPS7500 is not set  # CONFIG_ARCH_CLPS711X is not set  # CONFIG_ARCH_CO285 is not set  # CONFIG_ARCH_EBSA110 is not set  # CONFIG_ARCH_EP93XX is not set  # CONFIG_ARCH_FOOTBRIDGE is not set -# CONFIG_ARCH_INTEGRATOR is not set -# CONFIG_ARCH_IOP3XX is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_IMX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set  CONFIG_ARCH_IXP4XX=y  # CONFIG_ARCH_IXP2000 is not set  # CONFIG_ARCH_IXP23XX is not set  # CONFIG_ARCH_L7200 is not set +# CONFIG_ARCH_PNX4008 is not set  # CONFIG_ARCH_PXA is not set  # CONFIG_ARCH_RPC is not set  # CONFIG_ARCH_SA1100 is not set @@ -100,12 +121,6 @@ CONFIG_ARCH_IXP4XX=y  # CONFIG_ARCH_SHARK is not set  # CONFIG_ARCH_LH7A40X is not set  # CONFIG_ARCH_OMAP is not set -# CONFIG_ARCH_VERSATILE is not set -# CONFIG_ARCH_REALVIEW is not set -# CONFIG_ARCH_IMX is not set -# CONFIG_ARCH_H720X is not set -# CONFIG_ARCH_AAEC2000 is not set -# CONFIG_ARCH_AT91RM9200 is not set  CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y  # @@ -115,15 +130,16 @@ CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y  #  # IXP4xx Platforms  # -# CONFIG_MACH_NSLU2 is not set -# CONFIG_ARCH_AVILA is not set +CONFIG_MACH_NSLU2=y +CONFIG_ARCH_AVILA=y  # CONFIG_ARCH_ADI_COYOTE is not set  CONFIG_MACH_GATEWAY7001=y  # CONFIG_ARCH_IXDP425 is not set  # CONFIG_MACH_IXDPG425 is not set  # CONFIG_MACH_IXDP465 is not set  # CONFIG_ARCH_PRPMC1100 is not set -# CONFIG_MACH_NAS100D is not set +CONFIG_MACH_NAS100D=y +CONFIG_ARCH_IXDP4XX=y  # CONFIG_MACH_GTWX5715 is not set  # @@ -141,12 +157,15 @@ CONFIG_CPU_32v5=y  CONFIG_CPU_ABRT_EV5T=y  CONFIG_CPU_CACHE_VIVT=y  CONFIG_CPU_TLB_V4WBI=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y  #  # Processor Features  #  # CONFIG_ARM_THUMB is not set  CONFIG_CPU_BIG_ENDIAN=y +# CONFIG_CPU_DCACHE_DISABLE is not set  CONFIG_XSCALE_PMU=y  # @@ -175,6 +194,7 @@ CONFIG_FLATMEM=y  CONFIG_FLAT_NODE_MEM_MAP=y  # CONFIG_SPARSEMEM_STATIC is not set  CONFIG_SPLIT_PTLOCK_CPUS=4096 +# CONFIG_RESOURCES_64BIT is not set  CONFIG_ALIGNMENT_TRAP=y  # @@ -224,6 +244,7 @@ CONFIG_PACKET_MMAP=y  CONFIG_UNIX=y  CONFIG_XFRM=y  CONFIG_XFRM_USER=m +# CONFIG_XFRM_SUB_POLICY is not set  CONFIG_NET_KEY=m  CONFIG_INET=y  CONFIG_IP_MULTICAST=y @@ -244,13 +265,12 @@ CONFIG_INET_ESP=m  CONFIG_INET_IPCOMP=m  CONFIG_INET_XFRM_TUNNEL=m  CONFIG_INET_TUNNEL=m +CONFIG_INET_XFRM_MODE_TRANSPORT=y +CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y  CONFIG_INET_DIAG=m  CONFIG_INET_TCP_DIAG=m  CONFIG_TCP_CONG_ADVANCED=y - -# -# TCP congestion control -#  CONFIG_TCP_CONG_BIC=m  CONFIG_TCP_CONG_CUBIC=m  CONFIG_TCP_CONG_WESTWOOD=y @@ -259,6 +279,15 @@ CONFIG_TCP_CONG_HTCP=m  # CONFIG_TCP_CONG_HYBLA is not set  CONFIG_TCP_CONG_VEGAS=m  # CONFIG_TCP_CONG_SCALABLE is not set +# CONFIG_TCP_CONG_LP is not set +# CONFIG_TCP_CONG_VENO is not set +# CONFIG_DEFAULT_BIC is not set +# CONFIG_DEFAULT_CUBIC is not set +# CONFIG_DEFAULT_HTCP is not set +# CONFIG_DEFAULT_VEGAS is not set +CONFIG_DEFAULT_WESTWOOD=y +# CONFIG_DEFAULT_RENO is not set +CONFIG_DEFAULT_TCP_CONG="westwood"  #  # IP: Virtual Server Configuration @@ -270,9 +299,17 @@ CONFIG_IPV6=m  CONFIG_INET6_AH=m  CONFIG_INET6_ESP=m  CONFIG_INET6_IPCOMP=m +# CONFIG_IPV6_MIP6 is not set  CONFIG_INET6_XFRM_TUNNEL=m  CONFIG_INET6_TUNNEL=m +CONFIG_INET6_XFRM_MODE_TRANSPORT=m +CONFIG_INET6_XFRM_MODE_TUNNEL=m +CONFIG_INET6_XFRM_MODE_BEET=m +# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set +CONFIG_IPV6_SIT=m  # CONFIG_IPV6_TUNNEL is not set +# CONFIG_IPV6_MULTIPLE_TABLES is not set +# CONFIG_NETWORK_SECMARK is not set  CONFIG_NETFILTER=y  # CONFIG_NETFILTER_DEBUG is not set  CONFIG_BRIDGE_NETFILTER=y @@ -286,6 +323,7 @@ CONFIG_NETFILTER_NETLINK=m  CONFIG_NETFILTER_XTABLES=y  CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m  # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set +# CONFIG_NETFILTER_XT_TARGET_DSCP is not set  CONFIG_NETFILTER_XT_TARGET_MARK=m  # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set  # CONFIG_NETFILTER_XT_MATCH_COMMENT is not set @@ -293,6 +331,7 @@ CONFIG_NETFILTER_XT_TARGET_MARK=m  CONFIG_NETFILTER_XT_MATCH_CONNMARK=y  CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m  # CONFIG_NETFILTER_XT_MATCH_DCCP is not set +# CONFIG_NETFILTER_XT_MATCH_DSCP is not set  CONFIG_NETFILTER_XT_MATCH_ESP=m  CONFIG_NETFILTER_XT_MATCH_HELPER=m  # CONFIG_NETFILTER_XT_MATCH_LENGTH is not set @@ -303,9 +342,11 @@ CONFIG_NETFILTER_XT_MATCH_POLICY=m  CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m  # CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set  # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set +# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set  # CONFIG_NETFILTER_XT_MATCH_REALM is not set  # CONFIG_NETFILTER_XT_MATCH_SCTP is not set  CONFIG_NETFILTER_XT_MATCH_STATE=y +# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set  # CONFIG_NETFILTER_XT_MATCH_STRING is not set  CONFIG_NETFILTER_XT_MATCH_TCPMSS=y @@ -333,7 +374,6 @@ CONFIG_IP_NF_MATCH_TOS=m  # CONFIG_IP_NF_MATCH_TIME is not set  # CONFIG_IP_NF_MATCH_RECENT is not set  # CONFIG_IP_NF_MATCH_ECN is not set -# CONFIG_IP_NF_MATCH_DSCP is not set  CONFIG_IP_NF_MATCH_AH=m  CONFIG_IP_NF_MATCH_TTL=m  CONFIG_IP_NF_MATCH_OWNER=m @@ -362,7 +402,6 @@ CONFIG_IP_NF_NAT_SIP=m  CONFIG_IP_NF_MANGLE=y  CONFIG_IP_NF_TARGET_TOS=m  # CONFIG_IP_NF_TARGET_ECN is not set -# CONFIG_IP_NF_TARGET_DSCP is not set  # CONFIG_IP_NF_TARGET_TTL is not set  # CONFIG_IP_NF_TARGET_CLUSTERIP is not set  # CONFIG_IP_NF_RAW is not set @@ -417,7 +456,6 @@ CONFIG_LLC=y  # CONFIG_ATALK is not set  # CONFIG_X25 is not set  # CONFIG_LAPB is not set -# CONFIG_NET_DIVERT is not set  # CONFIG_ECONET is not set  # CONFIG_WAN_ROUTER is not set @@ -491,6 +529,7 @@ CONFIG_WIRELESS_EXT=y  CONFIG_STANDALONE=y  CONFIG_PREVENT_FIRMWARE_BUILD=y  CONFIG_FW_LOADER=y +# CONFIG_SYS_HYPERVISOR is not set  #  # Connector - unified userspace <-> kernelspace linker @@ -520,6 +559,7 @@ CONFIG_MTD_BLOCK=y  # CONFIG_NFTL is not set  # CONFIG_INFTL is not set  # CONFIG_RFD_FTL is not set +# CONFIG_SSFDC is not set  #  # RAM/ROM/Flash chip drivers @@ -620,6 +660,7 @@ CONFIG_BLK_DEV_LOOP=m  #  # CONFIG_RAID_ATTRS is not set  CONFIG_SCSI=m +# CONFIG_SCSI_NETLINK is not set  CONFIG_SCSI_PROC_FS=y  # @@ -640,12 +681,13 @@ CONFIG_BLK_DEV_SD=m  # CONFIG_SCSI_LOGGING is not set  # -# SCSI Transport Attributes +# SCSI Transports  #  # CONFIG_SCSI_SPI_ATTRS is not set  # CONFIG_SCSI_FC_ATTRS is not set  # CONFIG_SCSI_ISCSI_ATTRS is not set  # CONFIG_SCSI_SAS_ATTRS is not set +# CONFIG_SCSI_SAS_LIBSAS is not set  #  # SCSI low-level drivers @@ -658,20 +700,23 @@ CONFIG_BLK_DEV_SD=m  # CONFIG_SCSI_AIC7XXX is not set  # CONFIG_SCSI_AIC7XXX_OLD is not set  # CONFIG_SCSI_AIC79XX is not set +# CONFIG_SCSI_AIC94XX is not set  # CONFIG_SCSI_DPT_I2O is not set +# CONFIG_SCSI_ARCMSR is not set  # CONFIG_MEGARAID_NEWGEN is not set  # CONFIG_MEGARAID_LEGACY is not set  # CONFIG_MEGARAID_SAS is not set -# CONFIG_SCSI_SATA is not set +# CONFIG_SCSI_HPTIOP is not set  # CONFIG_SCSI_DMX3191D is not set  # CONFIG_SCSI_FUTURE_DOMAIN is not set  # CONFIG_SCSI_IPS is not set  # CONFIG_SCSI_INITIO is not set  # CONFIG_SCSI_INIA100 is not set +# CONFIG_SCSI_STEX is not set  # CONFIG_SCSI_SYM53C8XX_2 is not set -# CONFIG_SCSI_IPR is not set  # CONFIG_SCSI_QLOGIC_1280 is not set  # CONFIG_SCSI_QLA_FC is not set +# CONFIG_SCSI_QLA_ISCSI is not set  # CONFIG_SCSI_LPFC is not set  # CONFIG_SCSI_DC395x is not set  # CONFIG_SCSI_DC390T is not set @@ -679,6 +724,11 @@ CONFIG_BLK_DEV_SD=m  # CONFIG_SCSI_DEBUG is not set  # +# Serial ATA (prod) and Parallel ATA (experimental) drivers +# +# CONFIG_ATA is not set + +#  # Multi-device support (RAID and LVM)  #  # CONFIG_MD is not set @@ -733,7 +783,8 @@ CONFIG_NET_ETHERNET=y  CONFIG_MII=y  CONFIG_IXP4XX_QMGR=m  CONFIG_IXP4XX_NPE=m -CONFIG_IXP4XX_FW_LOAD=y +CONFIG_IXP4XX_NPE_FW_LOAD=y +CONFIG_IXP4XX_NPE_FW_MTD=y  CONFIG_IXP4XX_MAC=m  # CONFIG_HAPPYMEAL is not set  # CONFIG_SUNGEM is not set @@ -784,6 +835,7 @@ CONFIG_NET_PCI=y  # CONFIG_VIA_VELOCITY is not set  # CONFIG_TIGON3 is not set  # CONFIG_BNX2 is not set +# CONFIG_QLA3XXX is not set  #  # Ethernet (10000 Mbit) @@ -791,6 +843,7 @@ CONFIG_NET_PCI=y  # CONFIG_CHELSIO_T1 is not set  # CONFIG_IXGB is not set  # CONFIG_S2IO is not set +# CONFIG_MYRI10GE is not set  #  # Token Ring devices @@ -816,7 +869,9 @@ CONFIG_IPW2100_MONITOR=y  # CONFIG_IPW2100_DEBUG is not set  CONFIG_IPW2200=m  CONFIG_IPW2200_MONITOR=y -# CONFIG_IPW_QOS is not set +# CONFIG_IPW2200_RADIOTAP is not set +# CONFIG_IPW2200_PROMISCUOUS is not set +# CONFIG_IPW2200_QOS is not set  # CONFIG_IPW2200_DEBUG is not set  # CONFIG_HERMES is not set  # CONFIG_ATMEL is not set @@ -825,6 +880,7 @@ CONFIG_IPW2200_MONITOR=y  # Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support  #  # CONFIG_PRISM54 is not set +# CONFIG_USB_ZD1201 is not set  CONFIG_HOSTAP=m  CONFIG_HOSTAP_FIRMWARE=y  CONFIG_HOSTAP_FIRMWARE_NVRAM=y @@ -838,13 +894,12 @@ CONFIG_NET_WIRELESS=y  CONFIG_WAN=y  # CONFIG_DSCC4 is not set  # CONFIG_LANMEDIA is not set -# CONFIG_SYNCLINK_SYNCPPP is not set  CONFIG_HDLC=m -CONFIG_HDLC_RAW=y +CONFIG_HDLC_RAW=m  # CONFIG_HDLC_RAW_ETH is not set -CONFIG_HDLC_CISCO=y -CONFIG_HDLC_FR=y -CONFIG_HDLC_PPP=y +CONFIG_HDLC_CISCO=m +CONFIG_HDLC_FR=m +CONFIG_HDLC_PPP=m  #  # X.25/LAPB support is disabled @@ -935,6 +990,8 @@ CONFIG_IXP4XX_WATCHDOG=y  # USB-based Watchdog Cards  #  # CONFIG_USBPCWATCHDOG is not set +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_IXP4XX=y  # CONFIG_NVRAM is not set  # CONFIG_DTLK is not set  # CONFIG_R3964 is not set @@ -950,7 +1007,6 @@ CONFIG_IXP4XX_WATCHDOG=y  # TPM devices  #  # CONFIG_TCG_TPM is not set -# CONFIG_TELCLOCK is not set  #  # I2C support @@ -973,12 +1029,16 @@ CONFIG_IXP4XX_WATCHDOG=y  #  CONFIG_HWMON=y  # CONFIG_HWMON_VID is not set +# CONFIG_SENSORS_ABITUGURU is not set  # CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_VT1211 is not set  # CONFIG_HWMON_DEBUG_CHIP is not set  #  # Misc devices  # +# CONFIG_SGI_IOC4 is not set +# CONFIG_TIFM_CORE is not set  #  # LED devices @@ -997,7 +1057,6 @@ CONFIG_HWMON=y  # Multimedia devices  #  # CONFIG_VIDEO_DEV is not set -CONFIG_VIDEO_V4L2=y  #  # Digital Video Broadcasting Devices @@ -1008,7 +1067,9 @@ CONFIG_VIDEO_V4L2=y  #  # Graphics support  # +CONFIG_FIRMWARE_EDID=y  # CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set  #  # Sound @@ -1038,6 +1099,7 @@ CONFIG_USB_BANDWIDTH=y  CONFIG_USB_EHCI_HCD=m  # CONFIG_USB_EHCI_SPLIT_ISO is not set  # CONFIG_USB_EHCI_ROOT_HUB_TT is not set +# CONFIG_USB_EHCI_TT_NEWSCHED is not set  # CONFIG_USB_ISP116X_HCD is not set  CONFIG_USB_OHCI_HCD=m  # CONFIG_USB_OHCI_BIG_ENDIAN is not set @@ -1068,6 +1130,7 @@ CONFIG_USB_STORAGE=m  # CONFIG_USB_STORAGE_SDDR55 is not set  # CONFIG_USB_STORAGE_JUMPSHOT is not set  # CONFIG_USB_STORAGE_ALAUDA is not set +# CONFIG_USB_STORAGE_KARMA is not set  # CONFIG_USB_LIBUSUAL is not set  # @@ -1092,8 +1155,8 @@ CONFIG_USB_STORAGE=m  # CONFIG_USB_KAWETH is not set  # CONFIG_USB_PEGASUS is not set  # CONFIG_USB_RTL8150 is not set +# CONFIG_USB_USBNET_MII is not set  # CONFIG_USB_USBNET is not set -# CONFIG_USB_ZD1201 is not set  # CONFIG_USB_MON is not set  # @@ -1110,17 +1173,21 @@ CONFIG_USB_STORAGE=m  #  # CONFIG_USB_EMI62 is not set  # CONFIG_USB_EMI26 is not set +# CONFIG_USB_ADUTUX is not set  # CONFIG_USB_AUERSWALD is not set  # CONFIG_USB_RIO500 is not set  # CONFIG_USB_LEGOTOWER is not set  # CONFIG_USB_LCD is not set  # CONFIG_USB_LED is not set +# CONFIG_USB_CYPRESS_CY7C63 is not set  # CONFIG_USB_CYTHERM is not set -# CONFIG_USB_PHIDGETKIT is not set -# CONFIG_USB_PHIDGETSERVO is not set +# CONFIG_USB_PHIDGET is not set  # CONFIG_USB_IDMOUSE is not set +# CONFIG_USB_FTDI_ELAN is not set +# CONFIG_USB_APPLEDISPLAY is not set  # CONFIG_USB_SISUSBVGA is not set  # CONFIG_USB_LD is not set +# CONFIG_USB_TRANCEVIBRATOR is not set  # CONFIG_USB_TEST is not set  # @@ -1155,6 +1222,7 @@ CONFIG_EXT3_FS=m  CONFIG_EXT3_FS_XATTR=y  # CONFIG_EXT3_FS_POSIX_ACL is not set  # CONFIG_EXT3_FS_SECURITY is not set +# CONFIG_EXT4DEV_FS is not set  CONFIG_JBD=m  # CONFIG_JBD_DEBUG is not set  CONFIG_FS_MBCACHE=m @@ -1162,11 +1230,13 @@ CONFIG_FS_MBCACHE=m  # CONFIG_JFS_FS is not set  # CONFIG_FS_POSIX_ACL is not set  # CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set  # CONFIG_OCFS2_FS is not set  CONFIG_MINI_FO=m  # CONFIG_MINIX_FS is not set  # CONFIG_ROMFS_FS is not set  CONFIG_INOTIFY=y +CONFIG_INOTIFY_USER=y  # CONFIG_QUOTA is not set  CONFIG_DNOTIFY=y  # CONFIG_AUTOFS_FS is not set @@ -1197,11 +1267,13 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"  # Pseudo filesystems  #  CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y  CONFIG_DEVFS_FS=y  CONFIG_DEVFS_MOUNT=y  # CONFIG_DEVFS_DEBUG is not set  CONFIG_SYSFS=y  CONFIG_TMPFS=y +# CONFIG_TMPFS_POSIX_ACL is not set  # CONFIG_HUGETLB_PAGE is not set  CONFIG_RAMFS=y  # CONFIG_CONFIGFS_FS is not set @@ -1221,6 +1293,7 @@ CONFIG_JFFS2_FS=y  CONFIG_JFFS2_FS_DEBUG=0  CONFIG_JFFS2_FS_WRITEBUFFER=y  # CONFIG_JFFS2_SUMMARY is not set +# CONFIG_JFFS2_FS_XATTR is not set  # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set  CONFIG_JFFS2_ZLIB=y  CONFIG_JFFS2_RTIME=y @@ -1254,7 +1327,9 @@ CONFIG_SUNRPC=m  # CONFIG_SMB_FS is not set  CONFIG_CIFS=m  # CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set  # CONFIG_CIFS_XATTR is not set +# CONFIG_CIFS_DEBUG2 is not set  # CONFIG_CIFS_EXPERIMENTAL is not set  # CONFIG_NCP_FS is not set  # CONFIG_CODA_FS is not set @@ -1324,7 +1399,7 @@ CONFIG_NLS_DEFAULT="iso8859-1"  # CONFIG_NLS_ISO8859_15 is not set  # CONFIG_NLS_KOI8_R is not set  # CONFIG_NLS_KOI8_U is not set -# CONFIG_NLS_UTF8 is not set +CONFIG_NLS_UTF8=m  #  # Profiling support @@ -1335,13 +1410,15 @@ CONFIG_NLS_DEFAULT="iso8859-1"  # Kernel hacking  #  # CONFIG_PRINTK_TIME is not set +CONFIG_ENABLE_MUST_CHECK=y  # CONFIG_MAGIC_SYSRQ is not set +# CONFIG_UNUSED_SYMBOLS is not set  # CONFIG_DEBUG_KERNEL is not set  CONFIG_LOG_BUF_SHIFT=14  # CONFIG_DEBUG_BUGVERBOSE is not set  # CONFIG_DEBUG_FS is not set  CONFIG_FRAME_POINTER=y -# CONFIG_UNWIND_INFO is not set +# CONFIG_HEADERS_CHECK is not set  # CONFIG_DEBUG_USER is not set  # @@ -1354,6 +1431,10 @@ CONFIG_FRAME_POINTER=y  # Cryptographic options  #  CONFIG_CRYPTO=y +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_BLKCIPHER=m +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_MANAGER=y  CONFIG_CRYPTO_HMAC=y  # CONFIG_CRYPTO_NULL is not set  # CONFIG_CRYPTO_MD4 is not set @@ -1363,6 +1444,8 @@ CONFIG_CRYPTO_SHA1=m  # CONFIG_CRYPTO_SHA512 is not set  # CONFIG_CRYPTO_WP512 is not set  # CONFIG_CRYPTO_TGR192 is not set +CONFIG_CRYPTO_ECB=m +CONFIG_CRYPTO_CBC=m  CONFIG_CRYPTO_DES=m  # CONFIG_CRYPTO_BLOWFISH is not set  # CONFIG_CRYPTO_TWOFISH is not set @@ -1387,8 +1470,9 @@ CONFIG_CRYPTO_MICHAEL_MIC=m  # Library routines  #  # CONFIG_CRC_CCITT is not set -# CONFIG_CRC16 is not set +CONFIG_CRC16=m  CONFIG_CRC32=y  # CONFIG_LIBCRC32C is not set  CONFIG_ZLIB_INFLATE=y  CONFIG_ZLIB_DEFLATE=y +CONFIG_PLIST=y diff --git a/target/linux/ixp4xx-2.6/image/Makefile b/target/linux/ixp4xx-2.6/image/Makefile index 23a064433..79979ec78 100644 --- a/target/linux/ixp4xx-2.6/image/Makefile +++ b/target/linux/ixp4xx-2.6/image/Makefile @@ -15,6 +15,8 @@ endef  define Image/BuildKernel  	cp $(LINUX_DIR)/arch/arm/boot/zImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-zImage +#	$(shell BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/arm-magic.sh) +	BIN_DIR=$(BIN_DIR) $(TOPDIR)/scripts/arm-magic.sh  endef  define Image/Build diff --git a/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch b/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch index 49aefdab1..6d2f52114 100644 --- a/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch +++ b/target/linux/ixp4xx-2.6/patches/200-gateway_7001.patch @@ -1,7 +1,7 @@ -diff -Nur linux-2.6.17/arch/arm/boot/compressed/head-xscale.S linux-2.6.17-owrt/arch/arm/boot/compressed/head-xscale.S ---- linux-2.6.17/arch/arm/boot/compressed/head-xscale.S	2006-09-11 12:29:51.000000000 +0200 -+++ linux-2.6.17-owrt/arch/arm/boot/compressed/head-xscale.S	2006-09-11 12:30:03.000000000 +0200 -@@ -47,6 +47,11 @@ +diff -Nur linux-2.6.19/arch/arm/boot/compressed/head-xscale.S linux-2.6.19-owrt/arch/arm/boot/compressed/head-xscale.S +--- linux-2.6.19/arch/arm/boot/compressed/head-xscale.S	2006-11-29 22:57:37.000000000 +0100 ++++ linux-2.6.19-owrt/arch/arm/boot/compressed/head-xscale.S	2006-12-19 13:17:38.000000000 +0100 +@@ -46,6 +46,11 @@                  orr     r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00)   #endif @@ -13,10 +13,104 @@ diff -Nur linux-2.6.17/arch/arm/boot/compressed/head-xscale.S linux-2.6.17-owrt/   #ifdef CONFIG_ARCH_IXP2000   		mov	r1, #-1   		mov	r0, #0xd6000000 -diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/gateway7001-pci.c linux-2.6.17-owrt/arch/arm/mach-ixp4xx/gateway7001-pci.c ---- linux-2.6.17/arch/arm/mach-ixp4xx/gateway7001-pci.c	1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.17-owrt/arch/arm/mach-ixp4xx/gateway7001-pci.c	2006-09-11 12:30:03.000000000 +0200 -@@ -0,0 +1,67 @@ +diff -Nur linux-2.6.19/arch/arm/mach-ixp4xx/coyote-setup.c linux-2.6.19-owrt/arch/arm/mach-ixp4xx/coyote-setup.c +--- linux-2.6.19/arch/arm/mach-ixp4xx/coyote-setup.c	2006-11-29 22:57:37.000000000 +0100 ++++ linux-2.6.19-owrt/arch/arm/mach-ixp4xx/coyote-setup.c	2006-12-19 13:17:38.000000000 +0100 +@@ -1,9 +1,10 @@ + /* +  * arch/arm/mach-ixp4xx/coyote-setup.c +  * +- * Board setup for ADI Engineering and IXDGP425 boards ++ * Board setup for ADI Engineering, IXDGP425 and Gateway 7001 boards +  * +  * Copyright (C) 2003-2005 MontaVista Software, Inc. ++ * Copyright (C) 2006 Imre Kaloz <Kaloz@openwrt.org> +  * +  * Author: Deepak Saxena <dsaxena@plexity.net> +  */ +@@ -73,9 +74,57 @@ + 	.resource	= &coyote_uart_resource, + }; +  ++/* MACs */ ++static struct resource res_mac0 = { ++	.start		= IXP4XX_EthB_BASE_PHYS, ++	.end		= IXP4XX_EthB_BASE_PHYS + 0x1ff, ++	.flags          = IORESOURCE_MEM, ++}; ++ ++static struct resource res_mac1 = { ++	.start		= IXP4XX_EthC_BASE_PHYS, ++	.end		= IXP4XX_EthC_BASE_PHYS + 0x1ff, ++	.flags          = IORESOURCE_MEM, ++}; ++ ++static struct mac_plat_info plat_mac0 = { ++	.npe_id		= 1, ++	.phy_id		= 0, ++	.eth_id		= 0, ++	.rxq_id		= 27, ++	.txq_id		= 24, ++}; ++ ++static struct mac_plat_info plat_mac1 = { ++	.npe_id		= 2, ++	.phy_id		= 1, ++	.eth_id		= 1, ++	.rxq_id		= 28, ++	.txq_id		= 25, ++}; ++ ++static struct platform_device mac0 = { ++	.name           = "ixp4xx_mac", ++	.id             = 0, ++	.dev.platform_data = &plat_mac0, ++	.num_resources  = 1, ++	.resource       = &res_mac0, ++}; ++ ++static struct platform_device mac1 = { ++	.name           = "ixp4xx_mac", ++	.id             = 1, ++	.dev.platform_data = &plat_mac1, ++	.num_resources  = 1, ++	.resource       = &res_mac1, ++}; ++ ++ + static struct platform_device *coyote_devices[] __initdata = { + 	&coyote_flash, +-	&coyote_uart ++	&coyote_uart, ++	&mac0, ++	&mac1 + }; +  + static void __init coyote_init(void) +@@ -111,6 +160,19 @@ + MACHINE_END + #endif +  ++#ifdef CONFIG_MACH_GATEWAY7001 ++MACHINE_START(GATEWAY7001, "Gateway 7001") ++	/* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ ++	.phys_io	= IXP4XX_PERIPHERAL_BASE_PHYS, ++	.io_pg_offst	= ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, ++	.map_io		= ixp4xx_map_io, ++	.init_irq	= ixp4xx_init_irq, ++	.timer		= &ixp4xx_timer, ++	.boot_params	= 0x0100, ++	.init_machine	= coyote_init, ++MACHINE_END ++#endif ++ + /* +  * IXDPG425 is identical to Coyote except for which serial port +  * is connected. +diff -Nur linux-2.6.19/arch/arm/mach-ixp4xx/gateway7001-pci.c linux-2.6.19-owrt/arch/arm/mach-ixp4xx/gateway7001-pci.c +--- linux-2.6.19/arch/arm/mach-ixp4xx/gateway7001-pci.c	1970-01-01 01:00:00.000000000 +0100 ++++ linux-2.6.19-owrt/arch/arm/mach-ixp4xx/gateway7001-pci.c	2006-12-19 13:18:18.000000000 +0100 +@@ -0,0 +1,68 @@  +/*  + * arch/arch/mach-ixp4xx/gateway7001-pci.c  + * @@ -39,6 +133,7 @@ diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/gateway7001-pci.c linux-2.6.17-owrt/  +#include <linux/kernel.h>  +#include <linux/pci.h>  +#include <linux/init.h> ++#include <linux/irq.h>  +  +#include <asm/mach-types.h>  +#include <asm/hardware.h> @@ -84,9 +179,9 @@ diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/gateway7001-pci.c linux-2.6.17-owrt/  +}  +  +subsys_initcall(gateway7001_pci_init); -diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/Kconfig linux-2.6.17-owrt/arch/arm/mach-ixp4xx/Kconfig ---- linux-2.6.17/arch/arm/mach-ixp4xx/Kconfig	2006-09-11 12:29:51.000000000 +0200 -+++ linux-2.6.17-owrt/arch/arm/mach-ixp4xx/Kconfig	2006-09-11 12:30:03.000000000 +0200 +diff -Nur linux-2.6.19/arch/arm/mach-ixp4xx/Kconfig linux-2.6.19-owrt/arch/arm/mach-ixp4xx/Kconfig +--- linux-2.6.19/arch/arm/mach-ixp4xx/Kconfig	2006-11-29 22:57:37.000000000 +0100 ++++ linux-2.6.19-owrt/arch/arm/mach-ixp4xx/Kconfig	2006-12-19 13:17:38.000000000 +0100  @@ -33,6 +33,14 @@   	  Engineering Coyote Gateway Reference Platform. For more   	  information on this platform, see <file:Documentation/arm/IXP4xx>. @@ -101,19 +196,20 @@ diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/Kconfig linux-2.6.17-owrt/arch/arm/m  +   config ARCH_IXDP425   	bool "IXDP425" - 	select PCI -diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/Makefile linux-2.6.17-owrt/arch/arm/mach-ixp4xx/Makefile ---- linux-2.6.17/arch/arm/mach-ixp4xx/Makefile	2006-09-11 12:29:51.000000000 +0200 -+++ linux-2.6.17-owrt/arch/arm/mach-ixp4xx/Makefile	2006-09-11 12:30:03.000000000 +0200 -@@ -11,4 +11,5 @@ - obj-$(CONFIG_MACH_GTWX5715)	+= gtwx5715-pci.o gtwx5715-setup.o - obj-$(CONFIG_MACH_NSLU2)	+= nslu2-pci.o nslu2-setup.o nslu2-power.o - obj-$(CONFIG_MACH_NAS100D)	+= nas100d-pci.o nas100d-setup.o nas100d-power.o + 	help +diff -Nur linux-2.6.19/arch/arm/mach-ixp4xx/Makefile linux-2.6.19-owrt/arch/arm/mach-ixp4xx/Makefile +--- linux-2.6.19/arch/arm/mach-ixp4xx/Makefile	2006-11-29 22:57:37.000000000 +0100 ++++ linux-2.6.19-owrt/arch/arm/mach-ixp4xx/Makefile	2006-12-19 13:17:38.000000000 +0100 +@@ -20,5 +20,6 @@ + obj-$(CONFIG_MACH_GTWX5715)	+= gtwx5715-setup.o + obj-$(CONFIG_MACH_NSLU2)	+= nslu2-setup.o nslu2-power.o + obj-$(CONFIG_MACH_NAS100D)	+= nas100d-setup.o nas100d-power.o  +obj-$(CONFIG_MACH_GATEWAY7001)	+= gateway7001-pci.o coyote-setup.o -diff -Nur linux-2.6.17/include/asm-arm/arch-ixp4xx/uncompress.h linux-2.6.17-owrt/include/asm-arm/arch-ixp4xx/uncompress.h ---- linux-2.6.17/include/asm-arm/arch-ixp4xx/uncompress.h	2006-09-11 12:29:51.000000000 +0200 -+++ linux-2.6.17-owrt/include/asm-arm/arch-ixp4xx/uncompress.h	2006-09-11 12:31:21.000000000 +0200 + obj-$(CONFIG_PCI)		+= $(obj-pci-$(CONFIG_PCI)) common-pci.o +diff -Nur linux-2.6.19/include/asm-arm/arch-ixp4xx/uncompress.h linux-2.6.19-owrt/include/asm-arm/arch-ixp4xx/uncompress.h +--- linux-2.6.19/include/asm-arm/arch-ixp4xx/uncompress.h	2006-11-29 22:57:37.000000000 +0100 ++++ linux-2.6.19-owrt/include/asm-arm/arch-ixp4xx/uncompress.h	2006-12-19 13:17:38.000000000 +0100  @@ -38,9 +38,9 @@   static __inline__ void __arch_decomp_setup(unsigned long arch_id)   { @@ -126,97 +222,3 @@ diff -Nur linux-2.6.17/include/asm-arm/arch-ixp4xx/uncompress.h linux-2.6.17-owr   		uart_base = (volatile u32*) IXP4XX_UART2_BASE_PHYS;   	else   		uart_base = (volatile u32*) IXP4XX_UART1_BASE_PHYS; -diff -Nur linux-2.6.17/arch/arm/mach-ixp4xx/coyote-setup.c linux-2.6.17-owrt/arch/arm/mach-ixp4xx/coyote-setup.c ---- linux-2.6.17/arch/arm/mach-ixp4xx/coyote-setup.c	2006-09-11 12:29:51.000000000 +0200 -+++ linux-2.6.17-owrt/arch/arm/mach-ixp4xx/coyote-setup.c	2006-09-11 12:37:51.000000000 +0200 -@@ -1,9 +1,10 @@ - /* -  * arch/arm/mach-ixp4xx/coyote-setup.c -  * -- * Board setup for ADI Engineering and IXDGP425 boards -+ * Board setup for ADI Engineering, IXDGP425 and Gateway 7001 boards -  * -  * Copyright (C) 2003-2005 MontaVista Software, Inc. -+ * Copyright (C) 2006 Imre Kaloz <Kaloz@openwrt.org> -  * -  * Author: Deepak Saxena <dsaxena@plexity.net> -  */ -@@ -73,9 +74,57 @@ - 	.resource	= &coyote_uart_resource, - }; -  -+/* MACs */ -+static struct resource res_mac0 = { -+	.start		= IXP4XX_EthB_BASE_PHYS, -+	.end		= IXP4XX_EthB_BASE_PHYS + 0x1ff, -+	.flags          = IORESOURCE_MEM, -+}; -+ -+static struct resource res_mac1 = { -+	.start		= IXP4XX_EthC_BASE_PHYS, -+	.end		= IXP4XX_EthC_BASE_PHYS + 0x1ff, -+	.flags          = IORESOURCE_MEM, -+}; -+ -+static struct mac_plat_info plat_mac0 = { -+	.npe_id		= 1, -+	.phy_id		= 0, -+	.eth_id		= 0, -+	.rxq_id		= 27, -+	.txq_id		= 24, -+}; -+ -+static struct mac_plat_info plat_mac1 = { -+	.npe_id		= 2, -+	.phy_id		= 1, -+	.eth_id		= 1, -+	.rxq_id		= 28, -+	.txq_id		= 25, -+}; -+ -+static struct platform_device mac0 = { -+	.name           = "ixp4xx_mac", -+	.id             = 0, -+	.dev.platform_data = &plat_mac0, -+	.num_resources  = 1, -+	.resource       = &res_mac0, -+}; -+ -+static struct platform_device mac1 = { -+	.name           = "ixp4xx_mac", -+	.id             = 1, -+	.dev.platform_data = &plat_mac1, -+	.num_resources  = 1, -+	.resource       = &res_mac1, -+}; -+ -+ - static struct platform_device *coyote_devices[] __initdata = { - 	&coyote_flash, --	&coyote_uart -+	&coyote_uart, -+	&mac0, -+	&mac1 - }; -  - static void __init coyote_init(void) -@@ -111,6 +160,19 @@ - MACHINE_END - #endif -  -+#ifdef CONFIG_MACH_GATEWAY7001 -+MACHINE_START(GATEWAY7001, "Gateway 7001") -+	/* Maintainer: Imre Kaloz <kaloz@openwrt.org> */ -+	.phys_io	= IXP4XX_PERIPHERAL_BASE_PHYS, -+	.io_pg_offst	= ((IXP4XX_PERIPHERAL_BASE_VIRT) >> 18) & 0xfffc, -+	.map_io		= ixp4xx_map_io, -+	.init_irq	= ixp4xx_init_irq, -+	.timer		= &ixp4xx_timer, -+	.boot_params	= 0x0100, -+	.init_machine	= coyote_init, -+MACHINE_END -+#endif -+ - /* -  * IXDPG425 is identical to Coyote except for which serial port -  * is connected. diff --git a/target/linux/ixp4xx-2.6/patches/900-no_loader_workaround.patch b/target/linux/ixp4xx-2.6/patches/900-no_loader_workaround.patch new file mode 100644 index 000000000..f84f15b09 --- /dev/null +++ b/target/linux/ixp4xx-2.6/patches/900-no_loader_workaround.patch @@ -0,0 +1,19 @@ +diff -Nur linux-2.6.19/arch/arm/boot/compressed/head-xscale.S linux-2.6.19-owrt/arch/arm/boot/compressed/head-xscale.S +--- linux-2.6.19/arch/arm/boot/compressed/head-xscale.S	2006-12-19 12:56:21.000000000 +0100 ++++ linux-2.6.19-owrt/arch/arm/boot/compressed/head-xscale.S	2006-12-19 12:58:15.000000000 +0100 +@@ -41,6 +41,7 @@ + 		mov	r7, #MACH_TYPE_COTULLA_IDP + #endif +  ++/* let the arm-magic.sh script do the dirty work + #ifdef  CONFIG_MACH_GTWX5715 +                mov     r7, #(MACH_TYPE_GTWX5715 & 0xff) +                orr     r7, r7, #(MACH_TYPE_GTWX5715 & 0xff00) +@@ -50,6 +51,7 @@ +                mov     r7, #(MACH_TYPE_GATEWAY7001 & 0xff) +                orr     r7, r7, #(MACH_TYPE_GATEWAY7001 & 0xff00) + #endif ++ */ +  + #ifdef CONFIG_ARCH_IXP2000 + 		mov	r1, #-1 diff --git a/target/linux/magicbox-2.6/Makefile b/target/linux/magicbox-2.6/Makefile index 2c6e17ff4..0dcc1e7c1 100644 --- a/target/linux/magicbox-2.6/Makefile +++ b/target/linux/magicbox-2.6/Makefile @@ -11,9 +11,9 @@ BOARD:=magicbox  BOARDNAME:=Magicbox  FEATURES:=jffs2 -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  $(eval $(call BuildKernel)) diff --git a/target/linux/rb532-2.6/Makefile b/target/linux/rb532-2.6/Makefile index 3766cf9a0..ae28b87af 100644 --- a/target/linux/rb532-2.6/Makefile +++ b/target/linux/rb532-2.6/Makefile @@ -11,9 +11,9 @@ BOARD:=rb532  BOARDNAME:=Mikrotik RouterBoard 532  FEATURES:=jffs2 -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  $(eval $(call BuildKernel)) diff --git a/target/linux/rdc-2.6/Makefile b/target/linux/rdc-2.6/Makefile index e38565931..3fbd700c3 100644 --- a/target/linux/rdc-2.6/Makefile +++ b/target/linux/rdc-2.6/Makefile @@ -16,9 +16,9 @@ define Target/Description          (e.g. Airlink101 AR525W)  endef -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk diff --git a/target/linux/sibyte-2.6/Makefile b/target/linux/sibyte-2.6/Makefile index 644927d19..2dd590c5a 100644 --- a/target/linux/sibyte-2.6/Makefile +++ b/target/linux/sibyte-2.6/Makefile @@ -11,9 +11,9 @@ BOARD:=sibyte  BOARDNAME:=SiByte MIPS  FEATURES:=broken -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  $(eval $(call BuildKernel)) diff --git a/target/linux/uml-2.6/Makefile b/target/linux/uml-2.6/Makefile index 0fa8ab233..ff2297f3c 100644 --- a/target/linux/uml-2.6/Makefile +++ b/target/linux/uml-2.6/Makefile @@ -10,9 +10,9 @@ ARCH:=i386  BOARD:=uml  BOARDNAME:=User Mode Linux -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk  $(eval $(call BuildKernel)) diff --git a/target/linux/x86-2.6/Makefile b/target/linux/x86-2.6/Makefile index c7835bd48..f7e3fa837 100644 --- a/target/linux/x86-2.6/Makefile +++ b/target/linux/x86-2.6/Makefile @@ -11,9 +11,9 @@ BOARD:=x86  BOARDNAME:=x86  FEATURES:=jffs2 ext2 -LINUX_VERSION:=2.6.19 +LINUX_VERSION:=2.6.19.1  LINUX_RELEASE:=1 -LINUX_KERNEL_MD5SUM:=443c265b57e87eadc0c677c3acc37e20 +LINUX_KERNEL_MD5SUM:=2ab08fdfddc00e09b3d5bc7397d3c8be  include $(INCLUDE_DIR)/kernel-build.mk | 
