openwrt/svn-archive/openwrt.git
10 years agokernel: add a patch to allow disabling processing of the netfilter "filter" table...
Felix Fietkau [Thu, 7 Aug 2014 19:31:18 +0000 (19:31 +0000)]
kernel: add a patch to allow disabling processing of the netfilter "filter" table for established connection packets

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42046

SVN-Revision: 42050

10 years agokernel: improve ipv4 netfilter optimization patch
Felix Fietkau [Thu, 7 Aug 2014 19:31:16 +0000 (19:31 +0000)]
kernel: improve ipv4 netfilter optimization patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42045

SVN-Revision: 42049

10 years agoodhcpd: update hostfile more often
Steven Barth [Thu, 7 Aug 2014 18:08:10 +0000 (18:08 +0000)]
odhcpd: update hostfile more often

SVN-Revision: 42043

10 years agoralink: revert r37163
John Crispin [Thu, 7 Aug 2014 12:42:26 +0000 (12:42 +0000)]
ralink: revert r37163

https://dev.openwrt.org/ticket/17071

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42036

SVN-Revision: 42039

10 years agoiptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.
Steven Barth [Thu, 7 Aug 2014 12:33:22 +0000 (12:33 +0000)]
iptables: add kmod-ipt-nf* to dependency list of iptables-mod-nf*.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 42035

10 years agonetifd: bump to latest version
Steven Barth [Thu, 7 Aug 2014 10:24:28 +0000 (10:24 +0000)]
netifd: bump to latest version

SVN-Revision: 42033

10 years agoar71xx: Add support for the WNDR3800CH
Steven Barth [Thu, 7 Aug 2014 10:00:30 +0000 (10:00 +0000)]
ar71xx: Add support for the WNDR3800CH

Apparently this is a fairly common refurb unit of the 3800 series now,
with merely the recognition string changed in the boot loader.

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
SVN-Revision: 42031

10 years agoiptables: NFLOG and NFQUEUE targets' full support
Steven Barth [Thu, 7 Aug 2014 10:00:28 +0000 (10:00 +0000)]
iptables: NFLOG and NFQUEUE targets' full support

NFLOG and NFQUEUE targets' full support for iptables.

Includes all needed kernel modules (Xtables's and Netlink's)
 and userspace libraries.
All added kernel modules can be individually disabled,
 all other new libraries get their own individual packages.

Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch>
Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at>
Reported-by: Derek LaHousse <dlahouss@mtu.edu>
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>
SVN-Revision: 42030

10 years agoocteon: add missing gpio_to_irq()
John Crispin [Thu, 7 Aug 2014 09:55:11 +0000 (09:55 +0000)]
octeon: add missing gpio_to_irq()

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r42028

SVN-Revision: 42029

10 years agoodhcpd: correct incorrect commit-id in last commit
Steven Barth [Thu, 7 Aug 2014 05:51:21 +0000 (05:51 +0000)]
odhcpd: correct incorrect commit-id in last commit

SVN-Revision: 42027

10 years agoodhcpd: skip MSRs in RAs for prefixes with same size as DP
Steven Barth [Thu, 7 Aug 2014 05:34:43 +0000 (05:34 +0000)]
odhcpd: skip MSRs in RAs for prefixes with same size as DP

SVN-Revision: 42025

10 years agoBB: mac80211: b43: update b43 to version master-2014-07-29-1
Hauke Mehrtens [Wed, 6 Aug 2014 22:02:14 +0000 (22:02 +0000)]
BB: mac80211: b43: update b43 to version master-2014-07-29-1

This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport: r41900

SVN-Revision: 42021

10 years agokernel: update bcma to version master-2014-07-29-1
Hauke Mehrtens [Wed, 6 Aug 2014 22:01:13 +0000 (22:01 +0000)]
kernel: update bcma to version master-2014-07-29-1

This is a backport of bcma from wireless-tesing/master tag master-2014-07-29-1.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport: r41899

SVN-Revision: 42020

10 years agobuild: add new option to add disabled feeds commented out to opkg.conf
John Crispin [Wed, 6 Aug 2014 18:18:49 +0000 (18:18 +0000)]
build: add new option to add disabled feeds commented out to opkg.conf

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42004

SVN-Revision: 42018

10 years agoinclude: fix detection of installed feeds
John Crispin [Wed, 6 Aug 2014 18:18:48 +0000 (18:18 +0000)]
include: fix detection of installed feeds

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42003

SVN-Revision: 42017

10 years agobuild: introduce per feed repository support
John Crispin [Wed, 6 Aug 2014 18:18:47 +0000 (18:18 +0000)]
build: introduce per feed repository support

This changeset implements a new menuconfig option to generate separate
repositories for each enabled package feed instead of one monolithic one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r42002

SVN-Revision: 42016

10 years agoiwinfo: allow scans in AP mode on nl80211
Felix Fietkau [Wed, 6 Aug 2014 17:07:35 +0000 (17:07 +0000)]
iwinfo: allow scans in AP mode on nl80211

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r42014

SVN-Revision: 42015

10 years agoar71xx: update Carambola2 platform data
Felix Fietkau [Wed, 6 Aug 2014 10:30:21 +0000 (10:30 +0000)]
ar71xx: update Carambola2 platform data

Change list:
 * Remove button info on GPIO12, there is no button there.
 * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Backport of r41993

SVN-Revision: 42013

10 years agotoolchain/musl: update to version 1.1.4
Felix Fietkau [Wed, 6 Aug 2014 10:30:20 +0000 (10:30 +0000)]
toolchain/musl: update to version 1.1.4

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41954

SVN-Revision: 42012

10 years agomac80211: refresh patch
Felix Fietkau [Wed, 6 Aug 2014 10:30:19 +0000 (10:30 +0000)]
mac80211: refresh patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41953

SVN-Revision: 42011

10 years agoath9k: disable periodic entropy gathering (keep initial) to fix some stability issues
Felix Fietkau [Wed, 6 Aug 2014 10:30:18 +0000 (10:30 +0000)]
ath9k: disable periodic entropy gathering (keep initial) to fix some stability issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41952

SVN-Revision: 42010

10 years agokernel: when using --gc-sections, add --sort-section=name to get a more stable sortin...
Felix Fietkau [Wed, 6 Aug 2014 10:30:17 +0000 (10:30 +0000)]
kernel: when using --gc-sections, add --sort-section=name to get a more stable sorting order

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41951

SVN-Revision: 42009

10 years agokernel: add a small xfrm related performance optimization
Felix Fietkau [Wed, 6 Aug 2014 10:30:14 +0000 (10:30 +0000)]
kernel: add a small xfrm related performance optimization

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41950

SVN-Revision: 42008

10 years agonetfilter: introduce xt_id match
Felix Fietkau [Wed, 6 Aug 2014 10:30:09 +0000 (10:30 +0000)]
netfilter: introduce xt_id match

This commit implements a new netfilter match "xt_id" which can be used to
attach unsigned 32bit IDs to iptables rules.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r41945

SVN-Revision: 42007

10 years agonetifd: minor fixes (thanks Hans Dedecker)
Steven Barth [Tue, 5 Aug 2014 10:03:48 +0000 (10:03 +0000)]
netifd: minor fixes (thanks Hans Dedecker)

SVN-Revision: 42001

10 years agogre: Change hostdependcy to remote endpoint tunnel address
Steven Barth [Tue, 5 Aug 2014 10:00:25 +0000 (10:00 +0000)]
gre: Change hostdependcy to remote endpoint tunnel address

Depend on the GRE tunnel peeraddr to trigger setup of the tunnel interface.
Addresses the issue reported in https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027201.html

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 41999

10 years agoMerge gre config support since netifd was bumped.
Steven Barth [Mon, 4 Aug 2014 05:57:05 +0000 (05:57 +0000)]
Merge gre config support since netifd was bumped.

SVN-Revision: 41989

10 years agoramips: add profile for easyacc wizard8800
John Crispin [Sun, 3 Aug 2014 14:32:47 +0000 (14:32 +0000)]
ramips: add profile for easyacc wizard8800

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41988

10 years agofeeds: fix old.packages up to use the version when we forked new packages
John Crispin [Sun, 3 Aug 2014 14:32:45 +0000 (14:32 +0000)]
feeds: fix old.packages up to use the version when we forked new packages

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41987

10 years agonetfid: update to latest git version
John Crispin [Sun, 3 Aug 2014 11:37:28 +0000 (11:37 +0000)]
netfid: update to latest git version

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41985

10 years agofirmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw...
John Crispin [Sun, 3 Aug 2014 11:16:02 +0000 (11:16 +0000)]
firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Backport of r41962

SVN-Revision: 41984

10 years agoramips:support Lenovo AC1200 Wireless router
John Crispin [Sun, 3 Aug 2014 11:16:00 +0000 (11:16 +0000)]
ramips:support Lenovo AC1200 Wireless router

Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.

Signed-off-by: Lintel <lintel.huang@gmail.com>
Backport of r41961

SVN-Revision: 41983

10 years agohostapd: revert bogus version that was added in r41872
John Crispin [Sun, 3 Aug 2014 11:15:59 +0000 (11:15 +0000)]
hostapd: revert bogus version that was added in r41872

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41960

SVN-Revision: 41982

10 years agorobocfg: add missing include
John Crispin [Sun, 3 Aug 2014 11:15:57 +0000 (11:15 +0000)]
robocfg: add missing include

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41959

SVN-Revision: 41981

10 years agoiputils: add missing includes, fix musl support
John Crispin [Sun, 3 Aug 2014 11:15:56 +0000 (11:15 +0000)]
iputils: add missing includes, fix musl support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41958

SVN-Revision: 41980

10 years agoigmpproxy: add missing include
John Crispin [Sun, 3 Aug 2014 11:15:54 +0000 (11:15 +0000)]
igmpproxy: add missing include

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41957

SVN-Revision: 41979

10 years agoiwcap: add missing include
John Crispin [Sun, 3 Aug 2014 11:15:53 +0000 (11:15 +0000)]
iwcap: add missing include

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41956

SVN-Revision: 41978

10 years agoiwinfo: add missing include statement
John Crispin [Sun, 3 Aug 2014 11:15:51 +0000 (11:15 +0000)]
iwinfo: add missing include statement

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41955

SVN-Revision: 41977

10 years agocns3xxx: add myself as maintainer
John Crispin [Sun, 3 Aug 2014 11:15:50 +0000 (11:15 +0000)]
cns3xxx: add myself as maintainer

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41928

SVN-Revision: 41976

10 years agopackage:grub2: fix build error on linux missing libzfs
John Crispin [Sun, 3 Aug 2014 11:15:48 +0000 (11:15 +0000)]
package:grub2: fix build error on linux missing libzfs

configure enables libzfs support on default.
This will break the build, on systems without libzfs.

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Backport of r41935

SVN-Revision: 41975

10 years agovalgrind: add x86_64 support
John Crispin [Sun, 3 Aug 2014 11:15:47 +0000 (11:15 +0000)]
valgrind: add x86_64 support

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
Backport of r41934

SVN-Revision: 41974

10 years agoramips: Fix LEDs on the Kingston MLW221
John Crispin [Sun, 3 Aug 2014 11:15:46 +0000 (11:15 +0000)]
ramips: Fix LEDs on the Kingston MLW221

LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Backport of r41933

SVN-Revision: 41973

10 years agoar71xx: oolite: the buttons are not active_low
John Crispin [Sun, 3 Aug 2014 11:15:45 +0000 (11:15 +0000)]
ar71xx: oolite: the buttons are not active_low

this caused factory resets when reboot was pressed

Signed-off-by: Brent Thomson <brentthomson@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r41932

SVN-Revision: 41972

10 years agoar71xx: add RTC feature flag to ar71xx/nand
John Crispin [Sun, 3 Aug 2014 11:15:43 +0000 (11:15 +0000)]
ar71xx: add RTC feature flag to ar71xx/nand

without this the build for NBG6716 fails due to missing packages

https://dev.openwrt.org/ticket/17325

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r41930

SVN-Revision: 41971

10 years agougps: add a minimal gps daemon
John Crispin [Sun, 3 Aug 2014 11:15:42 +0000 (11:15 +0000)]
ugps: add a minimal gps daemon

* set the system time/data
* "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r41929

SVN-Revision: 41970

10 years agobrcm47xx: 3.10: update MIPS patches with versions sent upstream
John Crispin [Sun, 3 Aug 2014 11:15:40 +0000 (11:15 +0000)]
brcm47xx: 3.10: update MIPS patches with versions sent upstream

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r41910

SVN-Revision: 41969

10 years agoprocd: update to the latest version, fixes parsing of /etc/openwrt_release
John Crispin [Sun, 3 Aug 2014 11:15:39 +0000 (11:15 +0000)]
procd: update to the latest version, fixes parsing of /etc/openwrt_release

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41891

SVN-Revision: 41968

10 years agobase-files: add extra version configuration options for OEM manufacturer info
John Crispin [Sun, 3 Aug 2014 11:15:37 +0000 (11:15 +0000)]
base-files: add extra version configuration options for OEM manufacturer info

Creates /etc/device_info which will be used to fill in information for
WPS and other protocols that need manufacturer/device information

This helps with creating OpenWrt firmware for OEM or rebranded devices.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41884

SVN-Revision: 41967

10 years agoppp: fix a buffer overrun in the ms chap code
John Crispin [Sun, 3 Aug 2014 11:15:36 +0000 (11:15 +0000)]
ppp: fix a buffer overrun in the ms chap code

https://dev.openwrt.org/ticket/17296

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r41882

SVN-Revision: 41966

10 years agomac80211: support wildcard paths when matching phys
John Crispin [Sun, 3 Aug 2014 11:15:35 +0000 (11:15 +0000)]
mac80211: support wildcard paths when matching phys

This change introduces support for wildcard patterns in "option path"
of section "wifi-device".

Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim
any usb device using the same backend type, regardless of its bus
address or phy name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r41873

SVN-Revision: 41965

10 years agoprocd: work around some docker architecture quirks
John Crispin [Sun, 3 Aug 2014 11:15:33 +0000 (11:15 +0000)]
procd: work around some docker architecture quirks

Backport of r41867

SVN-Revision: 41964

10 years agohostapd: Reintroduce Full Dynamic VLAN support
John Crispin [Sun, 3 Aug 2014 11:15:32 +0000 (11:15 +0000)]
hostapd: Reintroduce Full Dynamic VLAN support

This patch brings full dynamic vlan support to netifd that existed in hostapd.sh in Attitude Adjustment.

Signed-off-by: Joseph CG Walker <Joe@ChubbyPenguin.net>
[jow@openwrt.org: changed commit message, rebased on top of current hostapd.sh]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r41872

SVN-Revision: 41963

10 years agoau1000: fix copy pasta failure
John Crispin [Fri, 1 Aug 2014 10:36:16 +0000 (10:36 +0000)]
au1000: fix copy pasta failure

Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 41931

10 years agocns3xxx: fix building initramfs and non-initramfs together
Felix Fietkau [Fri, 1 Aug 2014 07:10:16 +0000 (07:10 +0000)]
cns3xxx: fix building initramfs and non-initramfs together

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41922

SVN-Revision: 41923

10 years agocns3xxx: update to linux 3.10
Felix Fietkau [Thu, 31 Jul 2014 23:41:26 +0000 (23:41 +0000)]
cns3xxx: update to linux 3.10

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41917

SVN-Revision: 41921

10 years agoorion: fix 3.10 kernel minor version
Felix Fietkau [Thu, 31 Jul 2014 23:41:23 +0000 (23:41 +0000)]
orion: fix 3.10 kernel minor version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41916

SVN-Revision: 41920

10 years agocns3xxx: fix initramfs build
Felix Fietkau [Thu, 31 Jul 2014 23:41:22 +0000 (23:41 +0000)]
cns3xxx: fix initramfs build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41915

SVN-Revision: 41919

10 years agoimage: only call Image/BuildKernel/Initramfs if initramfs is actually enabled
Felix Fietkau [Thu, 31 Jul 2014 23:41:21 +0000 (23:41 +0000)]
image: only call Image/BuildKernel/Initramfs if initramfs is actually enabled

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41914

SVN-Revision: 41918

10 years agoodhcp6c: Fix white space typo in dhcpv6.script
Steven Barth [Wed, 30 Jul 2014 13:18:37 +0000 (13:18 +0000)]
odhcp6c: Fix white space typo in dhcpv6.script

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 41895

10 years agonetifd: suppress fw3 warnings in dhcp script
Steven Barth [Wed, 30 Jul 2014 13:18:35 +0000 (13:18 +0000)]
netifd: suppress fw3 warnings in dhcp script

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 41894

10 years agoBB: feeds: switch management feed to 14.07 branch
Luka Perkov [Wed, 30 Jul 2014 10:41:27 +0000 (10:41 +0000)]
BB: feeds: switch management feed to 14.07 branch

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41890

10 years agoBB: feeds: switch to openwrt-routing release branch
Jo-Philipp Wich [Wed, 30 Jul 2014 10:32:17 +0000 (10:32 +0000)]
BB: feeds: switch to openwrt-routing release branch

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41889

10 years agonetifd: more race condition fixes in proto-shell
Steven Barth [Tue, 29 Jul 2014 17:25:48 +0000 (17:25 +0000)]
netifd: more race condition fixes in proto-shell

SVN-Revision: 41888

10 years agoBB feeds: switch packages feed to 14.07 branch
Steven Barth [Tue, 29 Jul 2014 14:07:20 +0000 (14:07 +0000)]
BB feeds: switch packages feed to 14.07 branch

SVN-Revision: 41886

10 years agoau1000: add AA compatible sysupgrade images
John Crispin [Tue, 29 Jul 2014 13:28:23 +0000 (13:28 +0000)]
au1000: add AA compatible sysupgrade images

Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 41883

10 years agoinclude/version.mk: set 14.07 as the default version number Signed-off-by: John Crisp...
John Crispin [Tue, 29 Jul 2014 11:06:42 +0000 (11:06 +0000)]
include/version.mk: set 14.07 as the default version number Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41881

10 years agoralink: mt7621 is still WIP and not part of the release
John Crispin [Tue, 29 Jul 2014 10:57:18 +0000 (10:57 +0000)]
ralink: mt7621 is still WIP and not part of the release

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41880

10 years agokernel: remove more subtargets with the wrong kernel version or which are marked...
John Crispin [Tue, 29 Jul 2014 10:55:37 +0000 (10:55 +0000)]
kernel: remove more subtargets with the wrong kernel version or which are marked broken

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41879

10 years agort2x00: disbale wifi on mt7620x until the lna/pna is fixed and the new eep layout...
John Crispin [Tue, 29 Jul 2014 10:51:05 +0000 (10:51 +0000)]
rt2x00: disbale wifi on mt7620x until the lna/pna is fixed and the new eep layout is supported

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41878

10 years agoBB: remove all kernel versions except for 3.10
Felix Fietkau [Tue, 29 Jul 2014 10:25:43 +0000 (10:25 +0000)]
BB: remove all kernel versions except for 3.10

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41877

10 years agoBB: remove some targets that are broken or have the wrong kernel version
Felix Fietkau [Tue, 29 Jul 2014 10:25:40 +0000 (10:25 +0000)]
BB: remove some targets that are broken or have the wrong kernel version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41876

10 years agoprocd: check output of "uci show" instead of raw config files in order to track uncom...
Felix Fietkau [Tue, 29 Jul 2014 02:20:19 +0000 (02:20 +0000)]
procd: check output of "uci show" instead of raw config files in order to track uncommitted changes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r41865

SVN-Revision: 41866

10 years agohostapd: add more missing ifdefs
Felix Fietkau [Mon, 28 Jul 2014 22:52:39 +0000 (22:52 +0000)]
hostapd: add more missing ifdefs

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41863

10 years agonetifd: more dynamic interface improvements
Steven Barth [Mon, 28 Jul 2014 20:35:53 +0000 (20:35 +0000)]
netifd: more dynamic interface improvements

SVN-Revision: 41862

10 years agobrcm63xx: replace nvram_buf with a properly initialized array
Jonas Gorski [Mon, 28 Jul 2014 15:31:37 +0000 (15:31 +0000)]
brcm63xx: replace nvram_buf with a properly initialized array

Use an empty nvram_header to tell wl that there is no nvram buf.
wl else might try to allocate huge amount of memory because the
bcm63xx's nvram does not match the expected structure and contains
random values.

Fixes the following warning on load of wl:

[    9.152000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x4c/0xc0()
[    9.160000] Modules linked in: wl(P+) wl_glue ipv6 gpio_keys_polled input_polldev button_hotplug input_core
[    9.168000] CPU: 0 PID: 366 Comm: kmodloader Tainted: P             3.10.49 #1
[    9.176000] Stack : 00000000 00000000 00000000 00000000 8034b77a 00000042 81ac9af0 c02e0000
[    9.176000]    8028bf70 802df31b 0000016e 8034af28 81ac9af0 c02e0000 c02e0000 81b39810
[    9.176000]    0000002d 8002c9d4 00000003 8002a3c8 802937a0 c02e0000 8028e528 81ab398c
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 81ab3918
[    9.176000]    ...
[    9.212000] Call Trace:
[    9.216000] [<800224b8>] show_stack+0x48/0x70
[    9.220000] [<8002a538>] warn_slowpath_common+0x78/0xa8
[    9.224000] [<8002a5f0>] warn_slowpath_null+0x18/0x24
[    9.228000] [<8008145c>] kmalloc_slab+0x4c/0xc0
[    9.236000] [<80097258>] __kmalloc+0x20/0x10c
[    9.240000] [<80e23b90>] osl_malloc+0x24/0x6c [wl]
[    9.244000] [<80e15288>] nvram_init+0x54/0x164 [wl]
[    9.252000] [<80e08668>] si_pci_fixcfg+0x60c/0x9e8 [wl]
[    9.256000]
[    9.260000] ---[ end trace b5c4dbb046cf3c83 ]---

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41861

10 years agolantiq: fix dgn3500 and td8970 wifi
John Crispin [Mon, 28 Jul 2014 15:26:41 +0000 (15:26 +0000)]
lantiq: fix dgn3500 and td8970 wifi

ath9k failed to come up due to a bad mac addr

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41860

10 years agoramips: correct typo ubsphy -> usbphy
John Crispin [Mon, 28 Jul 2014 15:26:36 +0000 (15:26 +0000)]
ramips: correct typo ubsphy -> usbphy

This appears to be a typo.

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41859

10 years agoramips: fix mode switch gpio for AsiaRF AWM eval board
John Crispin [Mon, 28 Jul 2014 15:26:32 +0000 (15:26 +0000)]
ramips: fix mode switch gpio for AsiaRF AWM eval board

Fix a typo: gpio 21 is already used for the WPS led.  Gpio 20 is the
right one (tested) for the mode switch.  Confirmed that
/sys/kernel/debug/gpio state followed the position of the switch.

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41858

10 years agoramips: add ethernet macaddr to dts for AWM003-EVB
John Crispin [Mon, 28 Jul 2014 15:26:23 +0000 (15:26 +0000)]
ramips: add ethernet macaddr to dts for AWM003-EVB

Follows the pattern of http://patchwork.openwrt.org/patch/5970/

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41857

10 years agobrcm63xx: 3.14: fix ath9k_pci_fixup
Jonas Gorski [Mon, 28 Jul 2014 11:12:25 +0000 (11:12 +0000)]
brcm63xx: 3.14: fix ath9k_pci_fixup

Since kernel commit 928bea964827 ("PCI: Delay enabling bridges until
they're needed"), pci fixups are run with bridges (e.g. the pcie port)
disabled.

This causses hangs when ath9k_pci_fixup tries to manually enable the
device to apply the register fixups.

Fix this by enabling any parent bridges before trying to access the
device itself.

Fixes boot on DSL-274XB rev F1.

Reported-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41856

10 years agohostapd: add missing ifdef
Felix Fietkau [Mon, 28 Jul 2014 10:36:51 +0000 (10:36 +0000)]
hostapd: add missing ifdef

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41855

10 years agolantiq: fix dgn3500 ethernet
John Crispin [Mon, 28 Jul 2014 08:06:40 +0000 (08:06 +0000)]
lantiq: fix dgn3500 ethernet

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41854

10 years agobrcm63xx: Add support for ADB P.DG A4001N
Jonas Gorski [Sun, 27 Jul 2014 17:44:59 +0000 (17:44 +0000)]
brcm63xx: Add support for ADB P.DG A4001N

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41852

10 years agobrcm63xx: Add support for Huawei HG520v
Jonas Gorski [Sun, 27 Jul 2014 17:44:56 +0000 (17:44 +0000)]
brcm63xx: Add support for Huawei HG520v

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41851

10 years agobrcm63xx: Add support for ZyXEL P870HW-51a v2
Jonas Gorski [Sun, 27 Jul 2014 17:44:53 +0000 (17:44 +0000)]
brcm63xx: Add support for ZyXEL P870HW-51a v2

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41850

10 years agofirmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)
Jonas Gorski [Sun, 27 Jul 2014 17:44:51 +0000 (17:44 +0000)]
firmware-utils: add new tool for fixing headers on ZyXEL devices (brcm63xx)

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41849

10 years agobrcm63xx: Add support for Comtrend VR-3025un
Jonas Gorski [Sun, 27 Jul 2014 17:44:48 +0000 (17:44 +0000)]
brcm63xx: Add support for Comtrend VR-3025un

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41848

10 years agobrcm63xx: Add support for Comtrend VR-3025u
Jonas Gorski [Sun, 27 Jul 2014 17:44:45 +0000 (17:44 +0000)]
brcm63xx: Add support for Comtrend VR-3025u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41847

10 years agoocteon: enable usb and gpio
John Crispin [Sun, 27 Jul 2014 14:52:18 +0000 (14:52 +0000)]
octeon: enable usb and gpio

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41846

10 years agoocteon: add gpio driver
John Crispin [Sun, 27 Jul 2014 14:52:12 +0000 (14:52 +0000)]
octeon: add gpio driver

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41845

10 years agoocteon: add detection for edgerouter and edgerouter-pro
John Crispin [Sun, 27 Jul 2014 14:52:07 +0000 (14:52 +0000)]
octeon: add detection for edgerouter and edgerouter-pro

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41844

10 years agoocteon: select gcc 4.6 by default
John Crispin [Sun, 27 Jul 2014 14:52:00 +0000 (14:52 +0000)]
octeon: select gcc 4.6 by default

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41843

10 years agoocteon: fix usb support on edge router pro
John Crispin [Sat, 26 Jul 2014 20:36:32 +0000 (20:36 +0000)]
octeon: fix usb support on edge router pro

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41842

10 years agoramips: add support for Kingston MLW221
John Crispin [Sat, 26 Jul 2014 20:36:22 +0000 (20:36 +0000)]
ramips: add support for Kingston MLW221

This patch adds support for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 41841

10 years agobase-files: Remove stale calls to start() in initscripts.
John Crispin [Sat, 26 Jul 2014 20:36:15 +0000 (20:36 +0000)]
base-files: Remove stale calls to start() in initscripts.

based on http://patchwork.openwrt.org/patch/5969/

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41840

10 years agoramips: ethernet mac cleanup
John Crispin [Sat, 26 Jul 2014 20:36:09 +0000 (20:36 +0000)]
ramips: ethernet mac cleanup

Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 41839

10 years agoramips: fix vlan configuration for asiarf avm003
John Crispin [Sat, 26 Jul 2014 20:36:01 +0000 (20:36 +0000)]
ramips: fix vlan configuration for asiarf avm003

The earlier r41797 change was missing this part, to enable the right
vlan configuration.

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41838

10 years agoramips: fix sysupgrade for asiarf awm003
John Crispin [Sat, 26 Jul 2014 20:35:46 +0000 (20:35 +0000)]
ramips: fix sysupgrade for asiarf awm003

Since the earlier r41797 change, the board_name for awm003 has been
miscalculated, and sysupgrade has been broken.  This seems to fix it.

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 41837

10 years agonetifd: fix a small issue in r41831
Felix Fietkau [Sat, 26 Jul 2014 14:35:15 +0000 (14:35 +0000)]
netifd: fix a small issue in r41831

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 41836

10 years agobrcm47xx: don't create named switch_vlan sections
Hauke Mehrtens [Sat, 26 Jul 2014 12:33:48 +0000 (12:33 +0000)]
brcm47xx: don't create named switch_vlan sections

It doesn't seem to be used anywhere, it's incompatible with other
targets and can be confusing. People may think they need to update
section name every time they change VLAN ID (well, even I was doing
that).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 41835