openwrt/svn-archive/archive.git
7 years ago[include] autotools.mk: fix autoreconf in subdirectories, thanks field_it for spottin...
Jo-Philipp Wich [Fri, 20 Jan 2012 21:31:03 +0000 (21:31 +0000)]
[include] autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this

SVN-Revision: 29835

7 years ago[tools] quilt: some more relocatable fixes for quilt-internal scripts
Jo-Philipp Wich [Fri, 20 Jan 2012 17:54:43 +0000 (17:54 +0000)]
[tools] quilt: some more relocatable fixes for quilt-internal scripts

SVN-Revision: 29834

7 years ago[package] openssl: update to v1.0.0g (CVE-2012-0050)
Jo-Philipp Wich [Fri, 20 Jan 2012 17:36:30 +0000 (17:36 +0000)]
[package] openssl: update to v1.0.0g (CVE-2012-0050)

SVN-Revision: 29832

7 years ago[tools] bison: make yacc wrapper relocatable
Jo-Philipp Wich [Fri, 20 Jan 2012 17:30:38 +0000 (17:30 +0000)]
[tools] bison: make yacc wrapper relocatable

SVN-Revision: 29831

7 years ago[toolsÂ] autoconf: make bin/autoconf relocatable as well
Jo-Philipp Wich [Fri, 20 Jan 2012 17:17:04 +0000 (17:17 +0000)]
[toolsÂ] autoconf: make bin/autoconf relocatable as well

SVN-Revision: 29830

7 years ago[tools] quilt: make relocatable, search resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 17:11:37 +0000 (17:11 +0000)]
[tools] quilt: make relocatable, search resources relative to STAGING_DIR

SVN-Revision: 29829

7 years ago[tools] automake: further relocation fixes
Jo-Philipp Wich [Fri, 20 Jan 2012 15:19:22 +0000 (15:19 +0000)]
[tools] automake: further relocation fixes

SVN-Revision: 29828

7 years ago[tools] autoconf: further relocation fixes
Jo-Philipp Wich [Fri, 20 Jan 2012 15:19:06 +0000 (15:19 +0000)]
[tools] autoconf: further relocation fixes

SVN-Revision: 29827

7 years ago[tools] libtool: make relocatable, search resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 14:51:44 +0000 (14:51 +0000)]
[tools] libtool: make relocatable, search resources relative to STAGING_DIR

SVN-Revision: 29826

7 years ago[package] remove empty br2684ctl
Jo-Philipp Wich [Fri, 20 Jan 2012 12:59:20 +0000 (12:59 +0000)]
[package] remove empty br2684ctl

SVN-Revision: 29825

7 years agoramips: sysupgrade for ESR-9753
Gabor Juhos [Fri, 20 Jan 2012 10:49:26 +0000 (10:49 +0000)]
ramips: sysupgrade for ESR-9753

This patch add sysupgrade for Engenius ESR-9753

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
SVN-Revision: 29824

7 years ago[tools] autoconf: make relocatable by searching resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 02:56:08 +0000 (02:56 +0000)]
[tools] autoconf: make relocatable by searching resources relative to STAGING_DIR

SVN-Revision: 29821

7 years ago[tools] automake: make relocatable by searching resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 02:55:55 +0000 (02:55 +0000)]
[tools] automake: make relocatable by searching resources relative to STAGING_DIR

SVN-Revision: 29820

7 years agokernel: fix OCF for linux 3.2
Jonas Gorski [Thu, 19 Jan 2012 19:51:54 +0000 (19:51 +0000)]
kernel: fix OCF for linux 3.2

Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

SVN-Revision: 29818

7 years ago[package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplu...
Jo-Philipp Wich [Thu, 19 Jan 2012 15:37:47 +0000 (15:37 +0000)]
[package] base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com>

SVN-Revision: 29806

7 years ago[buildroot] abort built in prereq target if there is no site config file for the...
Jo-Philipp Wich [Thu, 19 Jan 2012 12:19:28 +0000 (12:19 +0000)]
[buildroot] abort built in prereq target if there is no site config file for the current target

SVN-Revision: 29798

7 years agopackage: kernel: fix files for blowfish and pcimcia-rsrc
Jonas Gorski [Thu, 19 Jan 2012 08:25:26 +0000 (08:25 +0000)]
package: kernel: fix files for blowfish and pcimcia-rsrc

Based on a patch from Philip Prindeville.

SVN-Revision: 29797

7 years ago[include] site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu...
Jo-Philipp Wich [Thu, 19 Jan 2012 03:10:27 +0000 (03:10 +0000)]
[include] site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain

SVN-Revision: 29794

7 years ago[adm5120] add missing kernel symbols
Jo-Philipp Wich [Thu, 19 Jan 2012 01:57:22 +0000 (01:57 +0000)]
[adm5120] add missing kernel symbols

SVN-Revision: 29790

7 years ago[package] busybox: fix previous commit, make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 defau...
Jo-Philipp Wich [Thu, 19 Jan 2012 01:50:53 +0000 (01:50 +0000)]
[package] busybox: fix previous commit, make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 default to CONFIG_IPV6, not depend on it

SVN-Revision: 29789

7 years ago[package] busybox: make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 depend on CONFIG_IPV6
Jo-Philipp Wich [Thu, 19 Jan 2012 01:33:53 +0000 (01:33 +0000)]
[package] busybox: make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 depend on CONFIG_IPV6

SVN-Revision: 29788

7 years agoMake the grub timeout configurable on x86 targets
Jo-Philipp Wich [Thu, 19 Jan 2012 01:14:45 +0000 (01:14 +0000)]
Make the grub timeout configurable on x86 targets

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
SVN-Revision: 29786

7 years agox86/config-3.2: add linux-3.2 symbols for x86
Jo-Philipp Wich [Thu, 19 Jan 2012 00:31:39 +0000 (00:31 +0000)]
x86/config-3.2: add linux-3.2 symbols for x86

The following symbols are missing for x86, in sorted order.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 29783

7 years ago[scripts] ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
Jo-Philipp Wich [Thu, 19 Jan 2012 00:03:52 +0000 (00:03 +0000)]
[scripts] ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS

SVN-Revision: 29782

7 years ago[scripts] ext-toolchain.sh: fix typo
Jo-Philipp Wich [Thu, 19 Jan 2012 00:01:54 +0000 (00:01 +0000)]
[scripts] ext-toolchain.sh: fix typo

SVN-Revision: 29781

7 years ago[scripts] ext-toolchain.sh: add option to write .config
Jo-Philipp Wich [Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)]
[scripts] ext-toolchain.sh: add option to write .config
Add a new --config option to generate a .config from a given toolchain,
this allows for easy integration of external toolchains, e.g.

  ./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros

to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.

SVN-Revision: 29780

7 years ago[package] mtd: external toolchains usually do not know about MTDREFRESH, so search...
Jo-Philipp Wich [Wed, 18 Jan 2012 19:22:14 +0000 (19:22 +0000)]
[package] mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain

SVN-Revision: 29779

7 years ago[package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs...
Jo-Philipp Wich [Wed, 18 Jan 2012 19:05:48 +0000 (19:05 +0000)]
[package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain

SVN-Revision: 29778

7 years ago[package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved...
Jo-Philipp Wich [Wed, 18 Jan 2012 19:00:53 +0000 (19:00 +0000)]
[package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain

SVN-Revision: 29777

7 years agopackages: kernel: add usb-common.ko to usb package for kernel >= 3.2
Hauke Mehrtens [Wed, 18 Jan 2012 17:13:23 +0000 (17:13 +0000)]
packages: kernel: add usb-common.ko to usb package for kernel >= 3.2

SVN-Revision: 29776

7 years ago[package] openssl: fix syntax error in OpenWrt Makefile
Jo-Philipp Wich [Wed, 18 Jan 2012 14:48:16 +0000 (14:48 +0000)]
[package] openssl: fix syntax error in OpenWrt Makefile

SVN-Revision: 29774

7 years ago[kernel] fix thinko in 102-ehci_hcd_ignore_oc patch
Florian Fainelli [Wed, 18 Jan 2012 07:56:02 +0000 (07:56 +0000)]
[kernel] fix thinko in 102-ehci_hcd_ignore_oc patch

SVN-Revision: 29773

7 years ago[scripts] ext-toolchain.sh: properly handle toolchains without sysroot support
Jo-Philipp Wich [Wed, 18 Jan 2012 04:03:15 +0000 (04:03 +0000)]
[scripts] ext-toolchain.sh: properly handle toolchains without sysroot support

SVN-Revision: 29772

7 years ago[package] openssl: don't fail with empty TARGET_LDFLAGS
Jo-Philipp Wich [Wed, 18 Jan 2012 03:54:09 +0000 (03:54 +0000)]
[package] openssl: don't fail with empty TARGET_LDFLAGS

SVN-Revision: 29770

7 years ago[scripts] ext-toolchain.sh:
Jo-Philipp Wich [Wed, 18 Jan 2012 03:32:30 +0000 (03:32 +0000)]
[scripts] ext-toolchain.sh:
- use GCC's own idea of the target name (-dumpmachine)
- display help if called without args
- add copyright foo
- remove some leftover flag handling code

SVN-Revision: 29769

7 years ago[toolchain] invoke patch-specs.sh in the gcc/final install stage.
Jo-Philipp Wich [Wed, 18 Jan 2012 03:15:22 +0000 (03:15 +0000)]
[toolchain] invoke patch-specs.sh in the gcc/final install stage.
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from
TARGET_LDFLAGS and TARGET_CPPFLAGS.

SVN-Revision: 29768

7 years ago[scripts] add patch-specs.sh, a utility for modifying GCC specs
Jo-Philipp Wich [Wed, 18 Jan 2012 03:11:45 +0000 (03:11 +0000)]
[scripts] add patch-specs.sh, a utility for modifying GCC specs
The patch-specs.sh utility dumps the GCC specs of a given toolchain
and modifies them to always include $STAGING_DIR in the link and
compiler command lines, this makes most -I and -L flags unnecessary
and lets the compiler automatically find libraries and headers in
the staging dir, also solves the majority of -rpath issues.

SVN-Revision: 29767

7 years ago[buildroot] use ext-toolchain.sh to integrate external toolchains
Jo-Philipp Wich [Wed, 18 Jan 2012 03:08:09 +0000 (03:08 +0000)]
[buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or
CONFIG_IPV6 are enabled but not supported by the toolchain.

SVN-Revision: 29766

7 years ago[scripts] add ext-toolchain.sh, a utility for external toolchains
Jo-Philipp Wich [Wed, 18 Jan 2012 03:03:24 +0000 (03:03 +0000)]
[scripts] add ext-toolchain.sh, a utility for external toolchains
The ext-toolchain.sh utility script implements various external toolchain tasks:
  * Testing of available features, like c++, soft-float or ipv6 support
  * Finding the libc implementation (uclibc or eglibc/glibc)
  * Inferring the GNU target name
  * Finding shared objects for packaging (libc, libpthread, ...)
  * Finding executables for packaging (ldd, gdbserver, ...)
  * Generating wrapper scripts for toolchain commands

SVN-Revision: 29765

7 years ago[lantiq] gigaset 76x
John Crispin [Tue, 17 Jan 2012 12:10:35 +0000 (12:10 +0000)]
[lantiq] gigaset 76x

* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 29763

7 years agoramips: Rework ramips_eth to not require irqsave locking anymore
John Crispin [Tue, 17 Jan 2012 11:23:11 +0000 (11:23 +0000)]
ramips: Rework ramips_eth to not require irqsave locking anymore

Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 29762

7 years agort2x00: add a patch to avoid excessive memmove() on packet contents to improve perfor...
Felix Fietkau [Mon, 16 Jan 2012 08:14:27 +0000 (08:14 +0000)]
rt2x00: add a patch to avoid excessive memmove() on packet contents to improve performance (patch by Helmut Schaa)

SVN-Revision: 29760

7 years agobrcm47xx: add support for kernel 3.2
Hauke Mehrtens [Sun, 15 Jan 2012 21:18:34 +0000 (21:18 +0000)]
brcm47xx: add support for kernel 3.2

SVN-Revision: 29756

7 years agobrcm47xx: run kernel_oldconfig
Hauke Mehrtens [Sun, 15 Jan 2012 14:53:32 +0000 (14:53 +0000)]
brcm47xx: run kernel_oldconfig

SVN-Revision: 29755

7 years agotools: clean up Makefiles / make ccache work
John Crispin [Sun, 15 Jan 2012 11:43:13 +0000 (11:43 +0000)]
tools: clean up Makefiles / make ccache work

SVN-Revision: 29754

7 years ago[target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard
Imre Kaloz [Sat, 14 Jan 2012 23:02:56 +0000 (23:02 +0000)]
[target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard

SVN-Revision: 29753

7 years ago[package/mac80211]: build and package the wl12xx driver
Imre Kaloz [Sat, 14 Jan 2012 22:56:22 +0000 (22:56 +0000)]
[package/mac80211]: build and package the wl12xx driver

SVN-Revision: 29751

7 years ago[generic/3.2]: fixup arm xz support with recent changes
Imre Kaloz [Sat, 14 Jan 2012 22:55:04 +0000 (22:55 +0000)]
[generic/3.2]: fixup arm xz support with recent changes

SVN-Revision: 29750

7 years ago[generic/3.2]: add missing symbols
Imre Kaloz [Sat, 14 Jan 2012 22:53:28 +0000 (22:53 +0000)]
[generic/3.2]: add missing symbols

SVN-Revision: 29749

7 years ago[toolchain/gcc]: upgrade to latest linaro releases
Imre Kaloz [Sat, 14 Jan 2012 22:52:40 +0000 (22:52 +0000)]
[toolchain/gcc]: upgrade to latest linaro releases

SVN-Revision: 29748

7 years agokernel: disable bridge igmp snooping in 3.2 as well
Felix Fietkau [Sat, 14 Jan 2012 14:57:03 +0000 (14:57 +0000)]
kernel: disable bridge igmp snooping in 3.2 as well

SVN-Revision: 29747

7 years agoath9k: fix handling of the KeyMiss flag for received packets - fixes connection stabi...
Felix Fietkau [Sat, 14 Jan 2012 13:50:30 +0000 (13:50 +0000)]
ath9k: fix handling of the KeyMiss flag for received packets - fixes connection stability issues with crypto enabled

SVN-Revision: 29745

7 years agokernel: disable bridge igmp snooping by default to avoid multicast issues
Felix Fietkau [Sat, 14 Jan 2012 13:50:25 +0000 (13:50 +0000)]
kernel: disable bridge igmp snooping by default to avoid multicast issues

SVN-Revision: 29744

7 years agolibnl-tiny: export unl_genl_multicast_id()
Felix Fietkau [Sat, 14 Jan 2012 13:50:21 +0000 (13:50 +0000)]
libnl-tiny: export unl_genl_multicast_id()

SVN-Revision: 29743

7 years agokernel: ppc40x: ppc44x: add missing kernel config symbol
Jonas Gorski [Sat, 14 Jan 2012 12:04:17 +0000 (12:04 +0000)]
kernel: ppc40x: ppc44x: add missing kernel config symbol

SVN-Revision: 29742

7 years agobroadcom-diag: add support for some new devices
Hauke Mehrtens [Fri, 13 Jan 2012 20:21:15 +0000 (20:21 +0000)]
broadcom-diag: add support for some new devices

There is still no Ethernet driver for these devices in trunk.

Thanks George Kashperko for the patch.

SVN-Revision: 29735

7 years agobrcm47xx: update usb driver
Hauke Mehrtens [Fri, 13 Jan 2012 20:11:23 +0000 (20:11 +0000)]
brcm47xx: update usb driver

Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.

SVN-Revision: 29734

7 years ago[generic] rtl8366: fix rtl8366_smi_detect() after r29677
Jo-Philipp Wich [Fri, 13 Jan 2012 19:17:58 +0000 (19:17 +0000)]
[generic] rtl8366: fix rtl8366_smi_detect() after r29677

SVN-Revision: 29732

7 years agobrcm63xx: add support for linux 3.2
Jonas Gorski [Fri, 13 Jan 2012 14:59:50 +0000 (14:59 +0000)]
brcm63xx: add support for linux 3.2

SVN-Revision: 29731

7 years agokernel: add support for linux 3.2.1
Jonas Gorski [Fri, 13 Jan 2012 14:55:07 +0000 (14:55 +0000)]
kernel: add support for linux 3.2.1

SVN-Revision: 29730

7 years agopackage: iptables: fix compilation with linux 3.2
Jonas Gorski [Fri, 13 Jan 2012 14:49:19 +0000 (14:49 +0000)]
package: iptables: fix compilation with linux 3.2

SVN-Revision: 29729

7 years agomac80211: current revisions build with 3.2
Jonas Gorski [Fri, 13 Jan 2012 14:47:30 +0000 (14:47 +0000)]
mac80211: current revisions build with 3.2

SVN-Revision: 29728

7 years agokernel: backport overlayfs v11 to 3.0 and 2.6.39
Jonas Gorski [Fri, 13 Jan 2012 14:42:53 +0000 (14:42 +0000)]
kernel: backport overlayfs v11 to 3.0 and 2.6.39

Should fix whiteout issues and missing files when using extroot.

SVN-Revision: 29727

7 years agokernel: update linux 3.1 to 3.1.9
Jonas Gorski [Fri, 13 Jan 2012 14:38:28 +0000 (14:38 +0000)]
kernel: update linux 3.1 to 3.1.9

SVN-Revision: 29726

7 years agokernel: update linux 3.0 to 3.0.17
Jonas Gorski [Fri, 13 Jan 2012 14:10:44 +0000 (14:10 +0000)]
kernel: update linux 3.0 to 3.0.17

SVN-Revision: 29725

7 years ago[package] iwinfo: plug memory leak in nl80211 backend, nl80211_close() did not put...
Jo-Philipp Wich [Fri, 13 Jan 2012 00:54:25 +0000 (00:54 +0000)]
[package] iwinfo: plug memory leak in nl80211 backend, nl80211_close() did not put the family pointer

SVN-Revision: 29723

7 years agogcc: always explicitly link against libstdc++, fixes build errors on some hosts that...
Felix Fietkau [Thu, 12 Jan 2012 10:15:20 +0000 (10:15 +0000)]
gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)

SVN-Revision: 29721

7 years agolibnl-tiny: fix a potential memleak in an error path
Felix Fietkau [Thu, 12 Jan 2012 10:15:18 +0000 (10:15 +0000)]
libnl-tiny: fix a potential memleak in an error path

SVN-Revision: 29720

7 years agoar8216: use vlan configuration for connecting ports (forced to be untagged) even...
Felix Fietkau [Thu, 12 Jan 2012 10:15:11 +0000 (10:15 +0000)]
ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured
this makes enable_vlan=0 practical for vlan passthrough

SVN-Revision: 29719

7 years agoar8216: do not strip vlan tags when running with vlan_enable=0
Felix Fietkau [Thu, 12 Jan 2012 10:15:08 +0000 (10:15 +0000)]
ar8216: do not strip vlan tags when running with vlan_enable=0

SVN-Revision: 29718

7 years agoar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
Gabor Juhos [Wed, 11 Jan 2012 18:00:50 +0000 (18:00 +0000)]
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c

SVN-Revision: 29713

7 years ago[brcm63xx] Remove invalid LED GPIO from GW6200 board definition. GPIO 35 isn't inten...
Daniel Dickinson [Wed, 11 Jan 2012 13:47:48 +0000 (13:47 +0000)]
[brcm63xx] Remove invalid LED GPIO from GW6200 board definition.  GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.

SVN-Revision: 29712

7 years agoar71xx: disable ath79 in order to get rid of Kconfig warnings
Gabor Juhos [Wed, 11 Jan 2012 09:14:19 +0000 (09:14 +0000)]
ar71xx: disable ath79 in order to get rid of Kconfig warnings

SVN-Revision: 29711

7 years agoar71xx: pb44_spi: add shutdown handler
Gabor Juhos [Wed, 11 Jan 2012 09:14:18 +0000 (09:14 +0000)]
ar71xx: pb44_spi: add shutdown handler

This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29710

7 years agoar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
Gabor Juhos [Wed, 11 Jan 2012 09:14:17 +0000 (09:14 +0000)]
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove

SVN-Revision: 29709

7 years agoar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
Gabor Juhos [Wed, 11 Jan 2012 09:14:15 +0000 (09:14 +0000)]
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers

SVN-Revision: 29708

7 years agoar71xx: ar71xx_spi: add shutdown handler
Gabor Juhos [Wed, 11 Jan 2012 09:14:14 +0000 (09:14 +0000)]
ar71xx: ar71xx_spi: add shutdown handler

This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29707

7 years agoar71xx: ar71xx_spi: save and restore regs from probe/remove
Gabor Juhos [Wed, 11 Jan 2012 09:14:13 +0000 (09:14 +0000)]
ar71xx: ar71xx_spi: save and restore regs from probe/remove

SVN-Revision: 29706

7 years agoar71xx: ar71xx_wdt: add shutdown handler
Gabor Juhos [Wed, 11 Jan 2012 09:14:11 +0000 (09:14 +0000)]
ar71xx: ar71xx_wdt: add shutdown handler

SVN-Revision: 29705

7 years ago[include] cmake.mk: fix passing of LDFLAGS
Jo-Philipp Wich [Mon, 9 Jan 2012 05:42:04 +0000 (05:42 +0000)]
[include] cmake.mk: fix passing of LDFLAGS

SVN-Revision: 29701

7 years ago[include] make prepare_kernel_conf target depend on quilt instead of sed. Preparing...
Jo-Philipp Wich [Sun, 8 Jan 2012 16:52:41 +0000 (16:52 +0000)]
[include] make prepare_kernel_conf target depend on quilt instead of sed. Preparing the source tree requires quilt and installing quilt implies installing sed.

SVN-Revision: 29697

7 years ago[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:49:20 +0000 (15:49 +0000)]
[scripts] metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"

SVN-Revision: 29695

7 years ago[package] pptp: remove support for underlying ipproto, it is adviced since a while...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:41:34 +0000 (15:41 +0000)]
[package] pptp: remove support for underlying ipproto, it is adviced since a while that pptp should be declared as separate interface alognside wan - in this configuration the ipproto will cause stray udhcpc errors due to not existent interfaces, so remove it

SVN-Revision: 29694

7 years ago[package] cyassl: use patch-libtool pkg fixup
Jo-Philipp Wich [Sun, 8 Jan 2012 15:39:42 +0000 (15:39 +0000)]
[package] cyassl: use patch-libtool pkg fixup

SVN-Revision: 29693

7 years agozlib: fix duplicate function declarations for largefile support
Felix Fietkau [Sun, 8 Jan 2012 15:39:11 +0000 (15:39 +0000)]
zlib: fix duplicate function declarations for largefile support

SVN-Revision: 29690

7 years ago[toolchain] introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOL...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:34:23 +0000 (15:34 +0000)]
[toolchain] introduce a USE_EXTERNAL_LIBC symbol which gets selected by EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN
Currently we always assume uClibc if an external toolchain is used, this breaks for non-uClibc toolchains or
even vanilla uClibc ones since they do not share the external librpc semantics as OpenWrt. Solve the problem
by defining an abstract "EXTERNAL_LIBC" which packages might or might not depend on.

SVN-Revision: 29689

7 years ago[package] base-files: implement a --force option for sysupgrade to override image...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:30:37 +0000 (15:30 +0000)]
[package] base-files: implement a --force option for sysupgrade to override image checks, useful to upgrade old ar71xx installations to current trunk ones

SVN-Revision: 29688

7 years ago[package] firewall: add support for "local" port forwards which target an internal...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:29:24 +0000 (15:29 +0000)]
[package] firewall: add support for "local" port forwards which target an internal address on the router itself

SVN-Revision: 29687

7 years agoinclude: calculate md5sum over sorted kernel config symbol list and incorperate it...
Jo-Philipp Wich [Sun, 8 Jan 2012 15:23:11 +0000 (15:23 +0000)]
include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version.
The aim of this change is to invalidate kmods which are built against a different kernel config on the opkg metadata level. Manual copying and insmod of custom
*.ko files, e.g. for development purpose, is still possible.

SVN-Revision: 29686

7 years agoath9k: merge a channel change fix from linux-wireless
Felix Fietkau [Sat, 7 Jan 2012 20:54:33 +0000 (20:54 +0000)]
ath9k: merge a channel change fix from linux-wireless

SVN-Revision: 29684

7 years agoar71xx: refresh patches
Gabor Juhos [Sat, 7 Jan 2012 19:36:43 +0000 (19:36 +0000)]
ar71xx: refresh patches

SVN-Revision: 29683

7 years agoar71xx: add a profile and build images for the TL-WR2543N/ND
Gabor Juhos [Sat, 7 Jan 2012 19:36:42 +0000 (19:36 +0000)]
ar71xx: add a profile and build images for the TL-WR2543N/ND

SVN-Revision: 29682

7 years agofirware-utils/mktplinkfw: add TL-WR2543N/ND support
Gabor Juhos [Sat, 7 Jan 2012 19:36:40 +0000 (19:36 +0000)]
firware-utils/mktplinkfw: add TL-WR2543N/ND support

SVN-Revision: 29681

7 years agoar71xx: add initial support for the TL-WR2543N/ND board
Gabor Juhos [Sat, 7 Jan 2012 19:36:35 +0000 (19:36 +0000)]
ar71xx: add initial support for the TL-WR2543N/ND board

The WLAN LEDs are not working yet.

SVN-Revision: 29680

7 years agoar71xx: allow to specify max read size for m25p80
Gabor Juhos [Sat, 7 Jan 2012 19:36:33 +0000 (19:36 +0000)]
ar71xx: allow to specify max read size for m25p80

Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

SVN-Revision: 29679

7 years agogeneric: add driver for the RTL8367R/M switches
Gabor Juhos [Sat, 7 Jan 2012 19:36:31 +0000 (19:36 +0000)]
generic: add driver for the RTL8367R/M switches

SVN-Revision: 29678

7 years agogeneric: rtl8366: preparing for RTL8367 support
Gabor Juhos [Sat, 7 Jan 2012 19:36:30 +0000 (19:36 +0000)]
generic: rtl8366: preparing for RTL8367 support

* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

SVN-Revision: 29677

7 years agogeneric: rtl8366_smi: add timeout message
Gabor Juhos [Sat, 7 Jan 2012 19:36:25 +0000 (19:36 +0000)]
generic: rtl8366_smi: add timeout message

SVN-Revision: 29676

7 years agoar71xx: local mac support on the wndr3700
Gabor Juhos [Sat, 7 Jan 2012 17:24:44 +0000 (17:24 +0000)]
ar71xx: local mac support on the wndr3700

The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>
SVN-Revision: 29675

7 years agogeneric: improve MIPS kexec support
Gabor Juhos [Sat, 7 Jan 2012 16:29:16 +0000 (16:29 +0000)]
generic: improve MIPS kexec support

It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

SVN-Revision: 29674