openwrt.git
9 years agokernel: update 3.14 to 3.14.12
luka [Fri, 11 Jul 2014 13:28:44 +0000 (13:28 +0000)]
kernel: update 3.14 to 3.14.12

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41582 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove 3.12 support since none of the targets is using it
luka [Thu, 10 Jul 2014 22:37:28 +0000 (22:37 +0000)]
kernel: remove 3.12 support since none of the targets is using it

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41581 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimagebuilder: x86 fails to build inside the imagebuilder
blogic [Thu, 10 Jul 2014 22:02:31 +0000 (22:02 +0000)]
imagebuilder: x86 fails to build inside the imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41580 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: add support for Zbtlink WA05 router
blogic [Thu, 10 Jul 2014 22:02:28 +0000 (22:02 +0000)]
ramips: add support for Zbtlink WA05 router

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41579 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimx6: put kernel and dtb into rootfs by default
blogic [Thu, 10 Jul 2014 22:02:24 +0000 (22:02 +0000)]
imx6: put kernel and dtb into rootfs by default

this will make the rc1 images boot with the default config.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41578 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: disable EEE by default on AR8327 to fix stability issues (#14597)
nbd [Thu, 10 Jul 2014 21:11:02 +0000 (21:11 +0000)]
ar8216: disable EEE by default on AR8327 to fix stability issues (#14597)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41577 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: switch back to uClibc for octeon, it actually works now
nbd [Thu, 10 Jul 2014 20:48:31 +0000 (20:48 +0000)]
toolchain: switch back to uClibc for octeon, it actually works now

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41576 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: fix edgerouter pro ethernet device probe order
nbd [Thu, 10 Jul 2014 20:44:03 +0000 (20:44 +0000)]
octeon: fix edgerouter pro ethernet device probe order

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41575 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/linux/*: more dead package cleanups
blogic [Thu, 10 Jul 2014 20:15:50 +0000 (20:15 +0000)]
target/linux/*: more dead package cleanups

found 2 more

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41574 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouClibc: fix copy&pasted typo in the stat fix
nbd [Thu, 10 Jul 2014 20:14:58 +0000 (20:14 +0000)]
uClibc: fix copy&pasted typo in the stat fix

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41573 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: add basic board detection for UBNT EdgeRouter PRO
nbd [Thu, 10 Jul 2014 20:14:54 +0000 (20:14 +0000)]
octeon: add basic board detection for UBNT EdgeRouter PRO

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41572 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/linux/*: more dead package cleanups
blogic [Thu, 10 Jul 2014 20:05:43 +0000 (20:05 +0000)]
target/linux/*: more dead package cleanups

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41571 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouClibc: add a whole bunch of mips64 related fixes
nbd [Thu, 10 Jul 2014 19:28:45 +0000 (19:28 +0000)]
uClibc: add a whole bunch of mips64 related fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41570 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogcc: backport a fix for issues with accessing weak data references
nbd [Thu, 10 Jul 2014 19:28:40 +0000 (19:28 +0000)]
gcc: backport a fix for issues with accessing weak data references

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41569 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: backport a few upstream fixes
nbd [Thu, 10 Jul 2014 19:28:37 +0000 (19:28 +0000)]
octeon: backport a few upstream fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41568 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: generate /tmp/sysinfo/lantiq_board_name if missing
blogic [Thu, 10 Jul 2014 19:16:43 +0000 (19:16 +0000)]
lantiq: generate /tmp/sysinfo/lantiq_board_name if missing

Run lantiq_board_detect from lantiq_board_name and lantiq_board_model.

This was the one thing missing from r41474 for sysupgrade board
detection to work properly.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41567 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq: enable SysupgradeNAND for BTHOMEHUBV2B
blogic [Thu, 10 Jul 2014 19:16:39 +0000 (19:16 +0000)]
lantiq: enable SysupgradeNAND for BTHOMEHUBV2B

Enables SysupgradeNAND for BTHOMEHUBV2B.

Depends on the following patches:
http://patchwork.openwrt.org/patch/5817/
http://patchwork.openwrt.org/patch/5848/
http://patchwork.openwrt.org/patch/5851/

Many thanks everyone for your help the last couple of days.

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41566 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agolantiq xway: disable gluebi and enable ubiblock
blogic [Thu, 10 Jul 2014 19:16:35 +0000 (19:16 +0000)]
lantiq xway: disable gluebi and enable ubiblock

Disables gluebi and enables ubiblock on lantiq xway. Squashfs
images on nand use ubifs instead of jffs2 for the overlay.

I'll leave the equivalent patch for xrx200 to someone who has a
board to test.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41565 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: correctly identify ubifs in tar file
blogic [Thu, 10 Jul 2014 19:16:31 +0000 (19:16 +0000)]
procd: correctly identify ubifs in tar file

A missing path prevents the rootfs type contained in a SysupgradeNAND
tar file from being determined correctly.

This fixes it, and also corrects a minor spelling mistake.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41564 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosysupgrade: Enable killing of all processes under upgraded
blogic [Thu, 10 Jul 2014 19:16:27 +0000 (19:16 +0000)]
sysupgrade: Enable killing of all processes under upgraded

If the sysupgrade scripts is called under upgraded, it will not kill all
other processes as it should to avoid interference by locked filesystem.
This patch checks the parent and if it is upgraded, it kills all.

Signed-off-by: André Valentin <avalentin@marcant.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41563 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: nbg6716: extract ath10k wifi board.bin
blogic [Thu, 10 Jul 2014 19:16:23 +0000 (19:16 +0000)]
ar71xx: nbg6716: extract ath10k wifi board.bin

With help of this script the ath10k board.bin settings are loaded from
flash and saved to the ath10k firmware directory. The driver reads it
later in the boot process.

Signed-off-by: André Valentin <avalentin@marcant.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41562 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: wpa does not exist, use wpad-mini instead
blogic [Thu, 10 Jul 2014 19:16:19 +0000 (19:16 +0000)]
ralink: wpa does not exist, use wpad-mini instead

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41561 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotarget/linux/*: kmod-fs-ext{2,3} RIP
blogic [Thu, 10 Jul 2014 19:16:15 +0000 (19:16 +0000)]
target/linux/*: kmod-fs-ext{2,3} RIP

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41560 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: only default eglibc for octeon and not all of mips64
blogic [Thu, 10 Jul 2014 19:16:09 +0000 (19:16 +0000)]
toolchain: only default eglibc for octeon and not all of mips64

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41559 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: fix segfault introduced by latest update
jow [Thu, 10 Jul 2014 16:44:20 +0000 (16:44 +0000)]
firewall: fix segfault introduced by latest update

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41558 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: Fix config variable name for dtim_period
nbd [Thu, 10 Jul 2014 12:29:27 +0000 (12:29 +0000)]
mac80211: Fix config variable name for dtim_period

The vif option dtim_period was accidently renamed dtim_interval in r38988
("netifd: add wireless configuration support and port mac80211 to the new
framework"). This is wrong and makes the dtim_period/dtim_interval a dead
option because the rest of the config generation code still uses dtim_period.

Reported-by: Jeppe Ledet-Pedersen <jlp@steinwurf.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41557 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: fix regressions introduced after latest ubus rework
jow [Thu, 10 Jul 2014 10:21:17 +0000 (10:21 +0000)]
firewall: fix regressions introduced after latest ubus rework

The commit 92281eb747b56e748b7c3d754055919c23befdd4 broke fw3_ubus_addresses() so that
no addresses where returned at all, this caused fw3 to not emit NAT reflection rules
anymore.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41556 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[mvebu]: enable handling of the wan led on the WRT1900AC
kaloz [Thu, 10 Jul 2014 10:19:06 +0000 (10:19 +0000)]
[mvebu]: enable handling of the wan led on the WRT1900AC

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41555 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: revert an upstream linux-stable commit that is causing usb regressions on...
nbd [Wed, 9 Jul 2014 10:11:23 +0000 (10:11 +0000)]
kernel: revert an upstream linux-stable commit that is causing usb regressions on some brcm47xx and ar71xx devices

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41554 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: 3.13: refresh patches
luka [Tue, 8 Jul 2014 23:27:45 +0000 (23:27 +0000)]
kernel: 3.13: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41553 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: ledtrig-netdev: use netdev_notifier_info
luka [Tue, 8 Jul 2014 23:27:44 +0000 (23:27 +0000)]
kernel: ledtrig-netdev: use netdev_notifier_info

Since kernel 3.11, the third parameter passed to notifier_call()
is of type struct netdev_notifier_info. This patch fixes an oops
when setting a netdev LED trigger.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41552 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 3.14 to 3.14.11
luka [Tue, 8 Jul 2014 22:44:34 +0000 (22:44 +0000)]
kernel: update 3.14 to 3.14.11

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41551 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: fixup patches borked by allowing too much fuzz
jogo [Tue, 8 Jul 2014 12:27:55 +0000 (12:27 +0000)]
brcm63xx: fixup patches borked by allowing too much fuzz

Move defines and board_info structs back to their proper locations so
(de-)selecting SOC support won't break the build.

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41550 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoqos-scripts: remove maxsize options and packet size based reclassify from the default...
nbd [Tue, 8 Jul 2014 11:19:51 +0000 (11:19 +0000)]
qos-scripts: remove maxsize options and packet size based reclassify from the default config

They should be unnecessary with fq_codel, and simplifying rules helps
with performance

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41549 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: make reboot a more reliable
hauke [Mon, 7 Jul 2014 20:12:40 +0000 (20:12 +0000)]
brcm47xx: make reboot a more reliable

A reboot is issued by setting the watchdog timer to a low value, when
the value is decreased from 1 to 0 by the hardware the system will
reboot. Setting this value to 1 does not work every time, it is a
little bit more reliable when setting it to 3. This timer runs with
some MHz or KHz so nobody will notice the increased waiting.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41548 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: add buttons support for Netgear WNR3500L
hauke [Mon, 7 Jul 2014 19:14:22 +0000 (19:14 +0000)]
brcm47xx: add buttons support for Netgear WNR3500L

Ticket: #14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41547 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: remove unneeded images from generic target
hauke [Mon, 7 Jul 2014 17:47:24 +0000 (17:47 +0000)]
brcm47xx: remove unneeded images from generic target

broadcom-wl now builds in the mips74k profile, so remove these chips
from the generic profile.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41546 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: assign first increased mac address to internal wifi core
hauke [Mon, 7 Jul 2014 17:38:54 +0000 (17:38 +0000)]
broadcom-wl: assign first increased mac address to internal wifi core

When the original mac addresses are not valid assign the first one to
the internal wifi core, this matches the manufacture mac address in
most cases. In addition refresh the patches.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41545 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorb532: remove broken mark
nbd [Mon, 7 Jul 2014 08:52:06 +0000 (08:52 +0000)]
rb532: remove broken mark

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41544 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorb532: add wan interface
nbd [Mon, 7 Jul 2014 08:52:02 +0000 (08:52 +0000)]
rb532: add wan interface

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41543 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorb532: fix jffs2 images
nbd [Mon, 7 Jul 2014 08:51:59 +0000 (08:51 +0000)]
rb532: fix jffs2 images

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41542 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorb532: really fix squashfs images
nbd [Mon, 7 Jul 2014 08:51:55 +0000 (08:51 +0000)]
rb532: really fix squashfs images

The previous attempt (r40717) to fix squashfx made the system bootable but
overlayfs remained broken.
This enables block2mtd again using the right partition number and naming
and adds MTD_ROOTFS_SPLIT option.
However onboard rootfs partition name had to be renamed to place overlay on
CF instead of onboard NAND.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41541 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: disable mips16 support, fixes build
nbd [Mon, 7 Jul 2014 08:29:35 +0000 (08:29 +0000)]
broadcom-wl: disable mips16 support, fixes build

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41540 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: do not build kernel modules by default
hauke [Sun, 6 Jul 2014 22:34:24 +0000 (22:34 +0000)]
kernel: do not build kernel modules by default

No config option should be set to m in the default config, because
there is also some script needed which picks the module up into the
image and that is missing this way. Always create a kmod when building
a module.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41539 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agompc83xx: add support for kernel 3.10
hauke [Sun, 6 Jul 2014 22:23:53 +0000 (22:23 +0000)]
mpc83xx: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41538 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agompc52xx: add support for kernel 3.10
hauke [Sun, 6 Jul 2014 22:05:09 +0000 (22:05 +0000)]
mpc52xx: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41537 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoau1000: add support for kernel 3.10
hauke [Sun, 6 Jul 2014 18:20:59 +0000 (18:20 +0000)]
au1000: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41534 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 3.14 to 3.14.10
luka [Sun, 6 Jul 2014 18:10:49 +0000 (18:10 +0000)]
kernel: update 3.14 to 3.14.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41533 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar7: enable the low-memory feature flag
jogo [Sun, 6 Jul 2014 18:09:30 +0000 (18:09 +0000)]
ar7: enable the low-memory feature flag

Most ar7 devices have only 16 MiB RAM, so select low_mem to give them
a chance to work.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41532 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogemini: add support for kernel 3.10
hauke [Sun, 6 Jul 2014 17:51:14 +0000 (17:51 +0000)]
gemini: add support for kernel 3.10

This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41531 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: legacy: take over old devices images
hauke [Sun, 6 Jul 2014 17:21:37 +0000 (17:21 +0000)]
brcm47xx: image: legacy: take over old devices images

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41530 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: mips74k: take over some device images
hauke [Sun, 6 Jul 2014 17:14:29 +0000 (17:14 +0000)]
brcm47xx: image: mips74k: take over some device images

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41529 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: image: prepare for using mips74k subtarget
hauke [Sun, 6 Jul 2014 17:14:06 +0000 (17:14 +0000)]
brcm47xx: image: prepare for using mips74k subtarget

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41528 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix bcm4705 rebooting when initializing the switch.
hauke [Sun, 6 Jul 2014 13:45:43 +0000 (13:45 +0000)]
brcm47xx: fix bcm4705 rebooting when initializing the switch.

When the Ethernet controller is powered down and someone wants to
access the mdio bus like the witch driver (b53) the system crashed if
PCI_D3hot was set before. This patch deactivates this power sawing mode
when a switch driver is in use.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41527 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob53: hardcode reset GPIO for Linksys WRT300N 1.1
hauke [Sun, 6 Jul 2014 11:40:51 +0000 (11:40 +0000)]
b53: hardcode reset GPIO for Linksys WRT300N 1.1

According to the thread https://forum.openwrt.org/viewtopic.php?id=48281
b53 uses GPIO 7:
[    4.470000] b53_common: [DBG] b53_switch_reset_gpio using 7
and causes device to self-reboot. GPIO 8 was found in CFE boot log:
"Reset switch via GPIO 8 ..."

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41526 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosamba36: update to minor version 3.6.24
hauke [Sun, 6 Jul 2014 11:23:13 +0000 (11:23 +0000)]
samba36: update to minor version 3.6.24

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41525 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: b43: add support for firmware 784.2
hauke [Sun, 6 Jul 2014 10:58:14 +0000 (10:58 +0000)]
mac80211: b43: add support for firmware 784.2

This adds firmware 784.2 for b43 as an option.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41524 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: update linux-firmware
hauke [Sun, 6 Jul 2014 10:34:34 +0000 (10:34 +0000)]
mac80211: update linux-firmware

This updates linux-firmware to version
7f388b4885cf64d6b7833612052d20d4197af96f from 2014-06-04.
In addition it adds new firmware for Intel, Broadcom and Realtek devices.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41523 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocns21xx: make patch apply again
hauke [Sat, 5 Jul 2014 23:36:05 +0000 (23:36 +0000)]
cns21xx: make patch apply again

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41522 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing config options
hauke [Sat, 5 Jul 2014 23:35:36 +0000 (23:35 +0000)]
kernel: add missing config options

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41521 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: add LEDs for Netgear WNR3500L
hauke [Sat, 5 Jul 2014 23:25:26 +0000 (23:25 +0000)]
brcm47xx: add LEDs for Netgear WNR3500L

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

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41520 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: improve setting leddc
hauke [Sat, 5 Jul 2014 23:24:41 +0000 (23:24 +0000)]
broadcom-wl: improve setting leddc

Use leddc value from other routers and improve the script.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41519 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: fix led support
hauke [Sat, 5 Jul 2014 22:55:40 +0000 (22:55 +0000)]
broadcom-wl: fix led support

Some devices have an nvram setting, which make broadcom-wl turn of the
led all the time. When the driver is switched on and we find such a
setting we replace it with a better value.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41518 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: make it possible to unregister the adm switch
hauke [Sat, 5 Jul 2014 21:35:15 +0000 (21:35 +0000)]
brcm47xx: make it possible to unregister the adm switch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41517 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix LEDs on WRTSL54GS
hauke [Sat, 5 Jul 2014 19:40:15 +0000 (19:40 +0000)]
brcm47xx: fix LEDs on WRTSL54GS

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

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41516 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: increase fallback mac addresses by one
hauke [Sat, 5 Jul 2014 19:36:49 +0000 (19:36 +0000)]
brcm47xx: increase fallback mac addresses by one

Now the mac address is increased by two for the first fallback mac
address. It could be that the address increased should be used for the
wan port.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41515 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobroadcom-wl: fixup mac addresses.
hauke [Sat, 5 Jul 2014 19:23:40 +0000 (19:23 +0000)]
broadcom-wl: fixup mac addresses.

Some series of devices are using the same mac address, which causes
conflicts for these devices we generate a new mac address based on the
base address. This patch adds this functionality to braodcom-wl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41514 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.
hauke [Sat, 5 Jul 2014 15:04:50 +0000 (15:04 +0000)]
brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.

The address prefix 00:90:4C is used by Broadcom in their initial
configuration. When a mac address with the prefix 00:90:4C is used
all devices from the same series are sharing the same mac address.
To prevent mac address collisions we replace them with a mac address
based on the base address.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41513 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: get switch name from swconfig first
hauke [Sat, 5 Jul 2014 12:15:03 +0000 (12:15 +0000)]
brcm47xx: get switch name from swconfig first

Without this patch the switch config for the adm switch did not worked,
because hey are not names eth0.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41512 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoadm6996: the GPIO interface for the adm6996l does not support switch statistics.
hauke [Sat, 5 Jul 2014 12:13:56 +0000 (12:13 +0000)]
adm6996: the GPIO interface for the adm6996l does not support switch statistics.

This patch deactivates the statistics, adds a missing lock
initialization and fixes a waring.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41511 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoscripts/abs2rel.pl: remove, it is unused
nbd [Fri, 4 Jul 2014 12:11:40 +0000 (12:11 +0000)]
scripts/abs2rel.pl: remove, it is unused

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41510 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosamba36: disable acl support to avoid picking up a dependency on libacl (#16988)
nbd [Fri, 4 Jul 2014 11:42:57 +0000 (11:42 +0000)]
samba36: disable acl support to avoid picking up a dependency on libacl (#16988)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41509 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosamba36: do not pick up libattr as a dependency
nbd [Fri, 4 Jul 2014 09:55:14 +0000 (09:55 +0000)]
samba36: do not pick up libattr as a dependency

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41508 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target
blogic [Fri, 4 Jul 2014 08:28:40 +0000 (08:28 +0000)]
ar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41507 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: disable AUDIT
jogo [Fri, 4 Jul 2014 08:23:19 +0000 (08:23 +0000)]
brcm63xx: disable AUDIT

Reduces kernel size by about 24k (6k compressed).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41506 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: MIPS: RC32434: fix broken PCI resource initialization
blogic [Fri, 4 Jul 2014 06:33:00 +0000 (06:33 +0000)]
ar71xx: MIPS: RC32434: fix broken PCI resource initialization

https://patchwork.linux-mips.org/patch/6940/

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41505 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the release
nbd [Fri, 4 Jul 2014 06:23:57 +0000 (06:23 +0000)]
build: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the release

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41504 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorpcd: fix parsing of executable plugin output
jow [Thu, 3 Jul 2014 22:21:04 +0000 (22:21 +0000)]
rpcd: fix parsing of executable plugin output

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41502 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: add LEDs for Asus RT-N15U and update RT-N66U
hauke [Thu, 3 Jul 2014 21:41:33 +0000 (21:41 +0000)]
brcm47xx: add LEDs for Asus RT-N15U and update RT-N66U

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41501 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: migrate basic network settings from old releases
hauke [Thu, 3 Jul 2014 21:40:59 +0000 (21:40 +0000)]
brcm47xx: migrate basic network settings from old releases

Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41500 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing config option
hauke [Thu, 3 Jul 2014 20:22:33 +0000 (20:22 +0000)]
kernel: add missing config option

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41499 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubus: update to the latest version, fixes compile error regressions
nbd [Thu, 3 Jul 2014 18:57:47 +0000 (18:57 +0000)]
ubus: update to the latest version, fixes compile error regressions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41496 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorealview: set LAN interface to be in DHCP
florian [Thu, 3 Jul 2014 17:19:10 +0000 (17:19 +0000)]
realview: set LAN interface to be in DHCP

Realview is mostly used as a QEMU development platform, which will provide a
built-in DHCP server to NAT or bridge the connection outside of the emulated
environment.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41495 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorealview: disable SWP emulation
florian [Thu, 3 Jul 2014 17:18:58 +0000 (17:18 +0000)]
realview: disable SWP emulation

This is not needed since our toolchain produces the expected binaries for the
target CPU.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41494 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agowrt55agv2-spidevs: fix compile issues
blogic [Thu, 3 Jul 2014 11:56:56 +0000 (11:56 +0000)]
wrt55agv2-spidevs: fix compile issues

i think this breakage was introduced when linux moved to uapi header

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41493 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubus: update to the latest version, increases maximum message size and adds a few...
nbd [Thu, 3 Jul 2014 10:49:41 +0000 (10:49 +0000)]
ubus: update to the latest version, increases maximum message size and adds a few fixes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41492 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: fix issue with parsing network options
jow [Thu, 3 Jul 2014 09:21:44 +0000 (09:21 +0000)]
firewall: fix issue with parsing network options

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41491 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorc.common: when reloading a service using procd, fall back to calling start instead...
nbd [Thu, 3 Jul 2014 06:21:49 +0000 (06:21 +0000)]
rc.common: when reloading a service using procd, fall back to calling start instead of restart

This avoids unnecessary service restarts

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41490 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: update regulatory database to master-2014-06-13
hauke [Wed, 2 Jul 2014 22:27:32 +0000 (22:27 +0000)]
mac80211: update regulatory database to master-2014-06-13

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41489 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: add CONFIG_LEDS_GPIO_REGISTER
hauke [Wed, 2 Jul 2014 22:07:46 +0000 (22:07 +0000)]
brcm47xx: add CONFIG_LEDS_GPIO_REGISTER

CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41488 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: refresh patches
hauke [Wed, 2 Jul 2014 22:03:03 +0000 (22:03 +0000)]
brcm47xx: refresh patches

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41487 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: backport BCM47XX Linksys WRT54G series patches
hauke [Wed, 2 Jul 2014 21:54:59 +0000 (21:54 +0000)]
brcm47xx: backport BCM47XX Linksys WRT54G series patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41486 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiwinfo: fix string format for country code
hauke [Wed, 2 Jul 2014 21:43:17 +0000 (21:43 +0000)]
iwinfo: fix string format for country code

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41485 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agob43-tools: update to version 019
hauke [Wed, 2 Jul 2014 20:52:50 +0000 (20:52 +0000)]
b43-tools: update to version 019

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41484 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoigmpproxy: automatically add firewall rules for multicast routing based on the curren...
nbd [Wed, 2 Jul 2014 19:18:23 +0000 (19:18 +0000)]
igmpproxy: automatically add firewall rules for multicast routing based on the current config

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41483 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: add a shell helper function to emit a config.change event
nbd [Wed, 2 Jul 2014 19:18:20 +0000 (19:18 +0000)]
procd: add a shell helper function to emit a config.change event

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41482 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: add shell functions to add instance data
nbd [Wed, 2 Jul 2014 19:18:16 +0000 (19:18 +0000)]
procd: add shell functions to add instance data

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41481 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: update to the latest version, adds support for fetching firewall rules...
nbd [Wed, 2 Jul 2014 19:18:13 +0000 (19:18 +0000)]
firewall: update to the latest version, adds support for fetching firewall rules from procd

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41480 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiptables: refresh patches
nbd [Wed, 2 Jul 2014 19:18:09 +0000 (19:18 +0000)]
iptables: refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41479 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, adds support for dumping per-instance service...
nbd [Wed, 2 Jul 2014 19:18:05 +0000 (19:18 +0000)]
procd: update to the latest version, adds support for dumping per-instance service data with an optional type filter

also fixes a crash on stopping a service with triggers after reloading it

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41478 3c298f89-4303-0410-b956-a3cf2f4a3e73