librecmc/librecmc.git
9 years agoar71xx: detect GL.iNet model
John Crispin [Tue, 17 Mar 2015 09:43:13 +0000 (09:43 +0000)]
ar71xx: detect GL.iNet model

There are two versions of the GL.iNet, the 6408A and the 6416A. The only
difference is the flash size.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44860

9 years agoigmpproxy: Multiple downlink interfaces fix.
John Crispin [Tue, 17 Mar 2015 09:43:07 +0000 (09:43 +0000)]
igmpproxy: Multiple downlink interfaces fix.

from Erik Tews <erik@datenzone.de>

This patch has two effects. First, the quickleave feature/behaviour is
disabled for all groups that are used on more than one interface. The
idea of quickleave is to leave a group fast and later figure out whether
there is still somebody interested in that group. For groups used on
more than one interface, it is already known that there is still
somebody interested in that group.

Second, when a leave is received for a group that is used on more than
one interface, igmpproxy sends queries on all interface to discover
remeining listeners for that group. Previously these queries were only
send on the interface the leave was received on, so that listeners on
the other interfaces were not discovered and the group might be left on
the upstream router incorrectly.

This patch can be improved by sending the queries only on the interface
the leave was received on and adapting the algorithm in
internAgeRoute(...) in rttable.c in a way that only one interface is
actually processed and all other interfaces of the route are silently
assumed to be still active.

Signed-off-by: Erik Tews <erik@datenzone.de>
SVN-Revision: 44859

9 years agoltq-hcd: remove ar10 and vr9 support
John Crispin [Tue, 17 Mar 2015 09:43:01 +0000 (09:43 +0000)]
ltq-hcd: remove ar10 and vr9 support

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

9 years agolantiq: make xrx200 targets use the upstream dwc2 driver
John Crispin [Tue, 17 Mar 2015 09:42:56 +0000 (09:42 +0000)]
lantiq: make xrx200 targets use the upstream dwc2 driver

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

9 years agokernel: add a few more missing config symbols
Felix Fietkau [Tue, 17 Mar 2015 07:24:51 +0000 (07:24 +0000)]
kernel: add a few more missing config symbols

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

9 years agobrcm47xx: support SPROM/NVRAM prefixes
Rafał Miłecki [Tue, 17 Mar 2015 07:07:17 +0000 (07:07 +0000)]
brcm47xx: support SPROM/NVRAM prefixes

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

9 years agobrcm47xx: rename (and refresh) MTD patch for safety "nvram" partition
Rafał Miłecki [Tue, 17 Mar 2015 07:07:00 +0000 (07:07 +0000)]
brcm47xx: rename (and refresh) MTD patch for safety "nvram" partition

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

9 years agobrcm47xx: switch to 3.18
Rafał Miłecki [Mon, 16 Mar 2015 23:05:43 +0000 (23:05 +0000)]
brcm47xx: switch to 3.18

Tested on BCM5357B0, BCM47186B0 and BCM4706.

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

9 years agobcm53xx: switch to 3.18
Rafał Miłecki [Mon, 16 Mar 2015 22:24:56 +0000 (22:24 +0000)]
bcm53xx: switch to 3.18

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

9 years agox86: refresh kvm_guest kernel config
Felix Fietkau [Mon, 16 Mar 2015 21:17:45 +0000 (21:17 +0000)]
x86: refresh kvm_guest kernel config

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

9 years agokernel: add missing config symbol
Felix Fietkau [Mon, 16 Mar 2015 21:17:41 +0000 (21:17 +0000)]
kernel: add missing config symbol

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

9 years agox86: enable rtl8139 ethernet support for geode by default
Felix Fietkau [Mon, 16 Mar 2015 21:00:14 +0000 (21:00 +0000)]
x86: enable rtl8139 ethernet support for geode by default

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

9 years agobrcm63xx: switch maintainer
Florian Fainelli [Mon, 16 Mar 2015 19:51:17 +0000 (19:51 +0000)]
brcm63xx: switch maintainer

Make Jonas the maintainer of brcm63xx.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 44848

9 years agogeode: set target to Geode GX1 to support older chips
Felix Fietkau [Mon, 16 Mar 2015 18:10:17 +0000 (18:10 +0000)]
geode: set target to Geode GX1 to support older chips

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

9 years agobrcm63xx: use consistent gpio chip labeling for OF/non-OF
Jonas Gorski [Mon, 16 Mar 2015 13:37:38 +0000 (13:37 +0000)]
brcm63xx: use consistent gpio chip labeling for OF/non-OF

Ensure gpio chips are always labeled the same; this allows simplifying
any arch setup gpio lookups.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44846

9 years agoltq-adsl-mei: fix bugs in linux 3.18 compatiblity change
Felix Fietkau [Mon, 16 Mar 2015 13:05:49 +0000 (13:05 +0000)]
ltq-adsl-mei: fix bugs in linux 3.18 compatiblity change

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

9 years agoltq-adsl: fix bugs in linux 3.18 compatiblity change
Felix Fietkau [Mon, 16 Mar 2015 13:05:42 +0000 (13:05 +0000)]
ltq-adsl: fix bugs in linux 3.18 compatiblity change

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

9 years agopackages: more (e)glibc fixes after r44701
Nicolas Thill [Mon, 16 Mar 2015 12:32:22 +0000 (12:32 +0000)]
packages: more (e)glibc fixes after r44701

_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44843

9 years agopackages: some (e)glibc fixes after r44701
Nicolas Thill [Mon, 16 Mar 2015 12:25:06 +0000 (12:25 +0000)]
packages: some (e)glibc fixes after r44701

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44842

9 years agobrcm63xx: switch to 3.18
Jonas Gorski [Mon, 16 Mar 2015 11:53:22 +0000 (11:53 +0000)]
brcm63xx: switch to 3.18

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44841

9 years agobrcm63xx: call brcm63xx_detect explicitly
Jonas Gorski [Mon, 16 Mar 2015 11:53:14 +0000 (11:53 +0000)]
brcm63xx: call brcm63xx_detect explicitly

Now that we have converted all users of global variables to use
brcm63xx_board_name, we can savely convert the implicit call to detect
in brcm63xx.sh to a single, explicit call in preinit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44840

9 years agobrcm63xx: move preinit ifname detection to the preinit script
Jonas Gorski [Mon, 16 Mar 2015 11:53:06 +0000 (11:53 +0000)]
brcm63xx: move preinit ifname detection to the preinit script

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44839

9 years agobrcm63xx: remove obsolete brcm63xx_has_reset_button
Jonas Gorski [Mon, 16 Mar 2015 11:52:57 +0000 (11:52 +0000)]
brcm63xx: remove obsolete brcm63xx_has_reset_button

r37000 made button kmods loaded from generic code, so we don't use
it anymore for deciding to load them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44838

9 years agobrcm63xx: set status leds from within diag.sh
Jonas Gorski [Mon, 16 Mar 2015 11:52:49 +0000 (11:52 +0000)]
brcm63xx: set status leds from within diag.sh

Instead of setting them up on invocation of brcm63xx_detect, set them
when calling diag.sh based.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44837

9 years agobrcm63xx: switch to board_name based configuration
Jonas Gorski [Mon, 16 Mar 2015 11:52:42 +0000 (11:52 +0000)]
brcm63xx: switch to board_name based configuration

Board IDs are not unique, so in preparation for depricating them, always
use board_name for any (default) configuration decisions.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44836

9 years agobrcm63xx: add missing board_ids to legacy_detect
Jonas Gorski [Mon, 16 Mar 2015 11:52:35 +0000 (11:52 +0000)]
brcm63xx: add missing board_ids to legacy_detect

These boards do not have a corresponding dts file yet.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44835

9 years agobrcm63xx: add device tree based board detection
Jonas Gorski [Mon, 16 Mar 2015 11:52:26 +0000 (11:52 +0000)]
brcm63xx: add device tree based board detection

Use the device tree model property for detecting the board instead
of board id from nvram if present.

Since we can now directly detect the DVA-G3810BN, we can remove the
extra check for it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44834

9 years agobrcm63xx: populate /tmp/sysinfo
Jonas Gorski [Mon, 16 Mar 2015 11:52:20 +0000 (11:52 +0000)]
brcm63xx: populate /tmp/sysinfo

Take full board name from devicetree, if present. Provide a method
for retrieving the board name.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44833

9 years agobrcm63xx: base-files: rename board_name to board_id
Jonas Gorski [Mon, 16 Mar 2015 11:52:16 +0000 (11:52 +0000)]
brcm63xx: base-files: rename board_name to board_id

Rename board_name to board_id to prepare for using board_name as a
proper name for the board.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44832

9 years agobrcm63xx: Add DGND3700 v1 / DGND3800B support
Jonas Gorski [Mon, 16 Mar 2015 11:52:10 +0000 (11:52 +0000)]
brcm63xx: Add DGND3700 v1 / DGND3800B support

This adds support for the Netgear DGND3700 v1 and DGND3800B.

DGND3700 v1 and DGND3800B are exactly the same router, only one difference,
the factory firmware. This patch produces two factory firmwares for each router.

The router includes an onboard NAND flash for extra storage. NAND is currently
not supported in bcm63xx, so no code added for this part. The NOR flash (32MB)
is enough for storing an openwrt firmware.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: Add back commit message from v1]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44831

9 years agobuildroot: make it easier to build all kmods
Jonas Gorski [Mon, 16 Mar 2015 11:51:54 +0000 (11:51 +0000)]
buildroot: make it easier to build all kmods

Split out kmods from ALL to make it easier to create local builds that
are compatible kmod-wise with releases.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44830

9 years agonetlogic: bump to 3.18
John Crispin [Mon, 16 Mar 2015 10:58:43 +0000 (10:58 +0000)]
netlogic: bump to 3.18

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

9 years agomvebu: drop linux 3.14 support
Felix Fietkau [Mon, 16 Mar 2015 08:29:42 +0000 (08:29 +0000)]
mvebu: drop linux 3.14 support

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

9 years agokernel: add missing MTD_SPLIT_FIT_FW symbol
John Crispin [Mon, 16 Mar 2015 08:05:42 +0000 (08:05 +0000)]
kernel: add missing MTD_SPLIT_FIT_FW symbol

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

9 years agojson-c: merge an upstream fix for a compiler warning (fixes #19187)
Felix Fietkau [Mon, 16 Mar 2015 07:54:55 +0000 (07:54 +0000)]
json-c: merge an upstream fix for a compiler warning (fixes #19187)

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

9 years agocmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074)
Felix Fietkau [Mon, 16 Mar 2015 07:51:45 +0000 (07:51 +0000)]
cmake: include external toolchain directory in CMAKE_FIND_ROOT_PATH (fixes #19074)

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

9 years agosunxi: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:41:24 +0000 (07:41 +0000)]
sunxi: drop 3.14 support

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

9 years agoadm5120: drop 3.8 and 3.14 support
John Crispin [Mon, 16 Mar 2015 07:41:19 +0000 (07:41 +0000)]
adm5120: drop 3.8 and 3.14 support

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

9 years agoar7: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:41:10 +0000 (07:41 +0000)]
ar7: drop 3.14 support

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

9 years agoixp4xx: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:41:05 +0000 (07:41 +0000)]
ixp4xx: drop 3.14 support

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

9 years agoocteon: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:59 +0000 (07:40 +0000)]
octeon: drop 3.14 support

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

9 years agooxnas: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:54 +0000 (07:40 +0000)]
oxnas: drop 3.14 support

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

9 years agompc85xx: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:47 +0000 (07:40 +0000)]
mpc85xx: drop 3.14 support

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

9 years agocns3xxx: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:41 +0000 (07:40 +0000)]
cns3xxx: drop 3.14 support

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

9 years agoau1000: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:19 +0000 (07:40 +0000)]
au1000: drop 3.14 support

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

9 years agoar71xx: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:09 +0000 (07:40 +0000)]
ar71xx: drop 3.14 support

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

9 years agorealview: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:40:02 +0000 (07:40 +0000)]
realview: drop 3.14 support

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

9 years agomalta: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:39:57 +0000 (07:39 +0000)]
malta: drop 3.14 support

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

9 years agolantiq: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:39:52 +0000 (07:39 +0000)]
lantiq: drop 3.14 support

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

9 years agoralink: drop 3.14 support
John Crispin [Mon, 16 Mar 2015 07:39:46 +0000 (07:39 +0000)]
ralink: drop 3.14 support

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

9 years agox86: refresh kernel patches
Felix Fietkau [Mon, 16 Mar 2015 07:12:31 +0000 (07:12 +0000)]
x86: refresh kernel patches

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

9 years agox86: merge all geode based subtargets into one
Felix Fietkau [Mon, 16 Mar 2015 07:05:30 +0000 (07:05 +0000)]
x86: merge all geode based subtargets into one

Build all geode platform drivers into the kernel
Remove kmod-* packages for these drivers

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

9 years agomac80211: include brcmfmac USB firmware only if support was enabled
Rafał Miłecki [Mon, 16 Mar 2015 07:04:28 +0000 (07:04 +0000)]
mac80211: include brcmfmac USB firmware only if support was enabled

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

9 years agomac80211: add option for USB support in brcmfmac
Rafał Miłecki [Mon, 16 Mar 2015 06:52:26 +0000 (06:52 +0000)]
mac80211: add option for USB support in brcmfmac

This makes it consistent with other buses configuration.

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

9 years agomac80211: update wiki URLs
Rafał Miłecki [Mon, 16 Mar 2015 06:39:10 +0000 (06:39 +0000)]
mac80211: update wiki URLs

linuxwireless.org was moved to wireless.wiki.kernel.org and it RO now

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

9 years agox86: remove 3.14 support
Felix Fietkau [Mon, 16 Mar 2015 05:57:04 +0000 (05:57 +0000)]
x86: remove 3.14 support

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

9 years agokernel: remove linux 3.13 support
Felix Fietkau [Mon, 16 Mar 2015 05:52:02 +0000 (05:52 +0000)]
kernel: remove linux 3.13 support

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

9 years agoomap: remove old kernel versions
Felix Fietkau [Mon, 16 Mar 2015 05:51:56 +0000 (05:51 +0000)]
omap: remove old kernel versions

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

9 years agoomap: update to linux 3.18, it has been tested by at least one builder and 3.13 has...
Felix Fietkau [Mon, 16 Mar 2015 05:51:52 +0000 (05:51 +0000)]
omap: update to linux 3.18, it has been tested by at least one builder and 3.13 has not been built by buildbot in a long time

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

9 years agokernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Felix Fietkau [Mon, 16 Mar 2015 05:16:14 +0000 (05:16 +0000)]
kernel: port missing ubi EOF marker support patch to 3.19 and 4.0

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

9 years agokernel: fix duplicate use of patch number 490
Felix Fietkau [Mon, 16 Mar 2015 05:16:07 +0000 (05:16 +0000)]
kernel: fix duplicate use of patch number 490

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

9 years agokernel: add a few missing config symbols for 3.18+
Felix Fietkau [Mon, 16 Mar 2015 04:47:28 +0000 (04:47 +0000)]
kernel: add a few missing config symbols for 3.18+

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

9 years agokernel: add missing description for GRO optimization patch
Felix Fietkau [Mon, 16 Mar 2015 04:19:09 +0000 (04:19 +0000)]
kernel: add missing description for GRO optimization patch

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

9 years agokernel: skip GRO for packets bridged to other hosts
Felix Fietkau [Sun, 15 Mar 2015 20:32:09 +0000 (20:32 +0000)]
kernel: skip GRO for packets bridged to other hosts

Eliminates excessive skb copying when bridging from LAN to WLAN on
ramips.

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

9 years agorules.mk: add newline definition
John Crispin [Sun, 15 Mar 2015 19:47:46 +0000 (19:47 +0000)]
rules.mk: add newline definition

To be used for stuff like $(subst $(space),$(newline),$(SOME_VAR))

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 44796

9 years agoar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions
John Crispin [Sun, 15 Mar 2015 19:39:47 +0000 (19:39 +0000)]
ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions

While the switch positions aren't explicitly labeled as on and off, we've heard
complaints about them being wrong. This patch changes the handling to match the
stock firmware.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 44795

9 years agoipq806x: fix AP148 boot from NOR
John Crispin [Sun, 15 Mar 2015 19:39:41 +0000 (19:39 +0000)]
ipq806x: fix AP148 boot from NOR

This patch allows AP148 to boot from NOR flash.

As we're using a FIT image as kernel (which includes kernel bin + DTB)
we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT
image and automatically split the "firmware" partition into 2 MTD parts
(kernel + rootfs).

The rootfs will then be parsed and split between rootfs + rootfs_data,
as usual.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44794

9 years agoipq806x: add ap148 bootargs to DT
John Crispin [Sun, 15 Mar 2015 19:39:33 +0000 (19:39 +0000)]
ipq806x: add ap148 bootargs to DT

Only one bootargs is really needed: the tty port. All the other
information will use the OpenWrt mechanisms.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44793

9 years agokernel: mtdsplit: add support for FIT image
John Crispin [Sun, 15 Mar 2015 19:39:27 +0000 (19:39 +0000)]
kernel: mtdsplit: add support for FIT image

If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44792

9 years agoFix (invert/revert) Hornet-UB WPS LED state
John Crispin [Sun, 15 Mar 2015 19:25:48 +0000 (19:25 +0000)]
Fix (invert/revert) Hornet-UB WPS LED state

My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.

The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>
SVN-Revision: 44791

9 years agomac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)
Felix Fietkau [Sun, 15 Mar 2015 17:51:16 +0000 (17:51 +0000)]
mac80211: add missing dependency for brcmfmac with SDIO support enabled (fixes #19184)

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

9 years agonetifd: dhcp: install host route to gateway (#19182)
Jo-Philipp Wich [Sun, 15 Mar 2015 14:48:18 +0000 (14:48 +0000)]
netifd: dhcp: install host route to gateway (#19182)

Certain DHCP servers push a gateway outside of the assigned interface subnet,
to support those situations install a host route towards the gateway.

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

9 years agob53: global config is part of the management page, not the control page
Jonas Gorski [Sun, 15 Mar 2015 14:19:28 +0000 (14:19 +0000)]
b53: global config is part of the management page, not the control page

It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44788

9 years agobrcm63xx: brcm63xxpart: fix buffer overrun in of parser
Jonas Gorski [Sun, 15 Mar 2015 14:19:22 +0000 (14:19 +0000)]
brcm63xx: brcm63xxpart: fix buffer overrun in of parser

We never account for the added partitions from the tag parser, so
allocated two partioness less than needed. This can cause issues when
the memory gets reused before the mtd code can actually add the
partitions.

Fixes oopses like:
[    0.920000] mtd: device 2 (rootfs) set to be root filesystem
[    0.924000] 1 squashfs-split partitions found on MTD device rootfs
[    0.932000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.940000] 0x000000010000-0x0000003f0000 : "linux"
[    0.948000] CPU 0 Unable to handle kernel paging request at virtual address 00010203, epc == 8028ddf8, ra == 801ad5d4
[    0.956000] Oops[#1]:
[    0.956000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.8 #22
[    0.956000] task: 8181da78 ti: 8181e000 task.ti: 8181e000
[    0.956000] $ 0   : 00000000 10008f00 00010203 81049e40
[    0.956000] $ 4   : 00010203 000000d0 00000000 000000fd
[    0.956000] $ 8   : 00000000 80015490 00000000 80370000
[    0.956000] $12   : 00000000 00000001 00000000 2f736269
[    0.956000] $16   : 00010203 000000d0 8007bde0 81482000
[    0.956000] $20   : 00000000 00000004 81481f80 803c4b78
[    0.956000] $24   : 00000000 00000000
[    0.956000] $28   : 8181e000 8181fbe8 80b20000 801ad5d4
[    0.956000] Hi    : 00000000
[    0.956000] Lo    : 00000000
[    0.956000] epc   : 8028ddf8 strlen+0x4/0x20
[    0.956000]     Not tainted
[    0.956000] ra    : 801ad5d4 kstrdup+0x30/0x84
[    0.956000] Status: 10008f03 KERNEL EXL IE
[    0.956000] Cause : 00800008
[    0.956000] BadVA : 00010203
[    0.956000] PrId  : 0002a010 (Broadcom BMIPS4350)
[    0.956000] Modules linked in:
[    0.956000] Process swapper/0 (pid: 1, threadinfo=8181e000, task=8181da78, tls=00000000)
[    0.956000] Stack : 8148aa00 803c4bcc 00000000 801cd9d0 00000000 8148a400 818a1400 003f0000
          81482000 8007bde0 8148aa00 800ac78c 8148aa00 00000004 8037ae30 8181fc4c
          8148aa00 803bc074 803c0000 80074b84 00000000 00010000 00000004 ffffffff
          8037ae30 00000004 8148aa00 00000004 803c4b80 818a1400 803c0000 00000005
          81481f80 80074ce0 8181fc84 00000005 81879800 8008ece4 00000000 003f0000
          ...
[    0.956000] Call Trace:
[    0.956000] [<8028ddf8>] strlen+0x4/0x20
[    0.956000] [<801ad5d4>] kstrdup+0x30/0x84
[    0.956000] [<8007bde0>] allocate_partition+0x58/0x93c
[    0.956000] [<80074ce0>] add_mtd_partitions+0x90/0x144
[    0.956000] [<801cc228>] mtd_device_parse_register+0x78/0xcc
[    0.956000] [<801e7870>] of_flash_probe+0x658/0x728
[    0.956000] [<80216ee0>] platform_drv_probe+0x24/0x60
[    0.956000] [<801221f4>] driver_probe_device+0xcc/0x214
[    0.956000] [<800466f8>] __driver_attach+0x7c/0xb4
[    0.956000] [<800c38bc>] bus_for_each_dev+0x94/0xa4
[    0.956000] [<800c35e4>] bus_add_driver+0x104/0x1ec
[    0.956000] [<80122400>] driver_register+0xac/0x100
[    0.956000] [<80113a5c>] do_one_initcall+0x148/0x204
[    0.956000] [<803cbd1c>] kernel_init_freeable+0x168/0x220
[    0.956000] [<800157bc>] kernel_init+0x10/0x114
[    0.956000] [<800108a8>] ret_from_kernel_thread+0x14/0x1c
[    0.956000]
[    0.956000]
Code: 03e00008  27bd0028  00801021 <8043000010600003  00000000  080a377e  24420001  03e00008
[    1.192000] ---[ end trace 9d89ccbcae27fe40 ]---
[    1.200000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.200000]
[    1.200000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44787

9 years agomodules: add depenency on usb-gadget for dwc2 also on brcm63xx
Jonas Gorski [Sun, 15 Mar 2015 14:19:14 +0000 (14:19 +0000)]
modules: add depenency on usb-gadget for dwc2 also on brcm63xx

Bcm63xx supports usb gadget, so dwc2 will default do dual mode.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44786

9 years agobrcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+
Jonas Gorski [Sun, 15 Mar 2015 14:19:10 +0000 (14:19 +0000)]
brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+

Fix the module path for linux 3.18+.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44785

9 years agobrcm63xx: fix 6368 cpu1 reg typo
Jonas Gorski [Sun, 15 Mar 2015 14:19:07 +0000 (14:19 +0000)]
brcm63xx: fix 6368 cpu1 reg typo

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

9 years agotoolchain: remove leftovers from old llvm-gcc experiments
Felix Fietkau [Sun, 15 Mar 2015 12:03:01 +0000 (12:03 +0000)]
toolchain: remove leftovers from old llvm-gcc experiments

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

9 years agoscripts/feeds: add support for uninstalling targets
Felix Fietkau [Sun, 15 Mar 2015 11:08:10 +0000 (11:08 +0000)]
scripts/feeds: add support for uninstalling targets

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

9 years agoscripts/feeds: add support for installing targets
Felix Fietkau [Sun, 15 Mar 2015 11:08:05 +0000 (11:08 +0000)]
scripts/feeds: add support for installing targets

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

9 years agoscripts/metadata.pm: save target makefile names
Felix Fietkau [Sun, 15 Mar 2015 11:08:01 +0000 (11:08 +0000)]
scripts/metadata.pm: save target makefile names

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

9 years agoscripts/feeds: get rid of redundant feed cache copy
Felix Fietkau [Sun, 15 Mar 2015 11:07:57 +0000 (11:07 +0000)]
scripts/feeds: get rid of redundant feed cache copy

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

9 years agoscripts/feeds: remove useless install_method abstraction
Felix Fietkau [Sun, 15 Mar 2015 11:07:52 +0000 (11:07 +0000)]
scripts/feeds: remove useless install_method abstraction

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

9 years agoscripts/feeds: add support for searching for targets
Felix Fietkau [Sun, 15 Mar 2015 11:07:44 +0000 (11:07 +0000)]
scripts/feeds: add support for searching for targets

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

9 years agoscripts/metadata.pl: move parse_target_metadata() to metadata.pm
Felix Fietkau [Sun, 15 Mar 2015 11:07:40 +0000 (11:07 +0000)]
scripts/metadata.pl: move parse_target_metadata() to metadata.pm

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

9 years agoscripts/feeds: scan for target metadata
Felix Fietkau [Sun, 15 Mar 2015 11:07:34 +0000 (11:07 +0000)]
scripts/feeds: scan for target metadata

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

9 years agobuild: use different grep strings for scanning package vs target metadata
Felix Fietkau [Sun, 15 Mar 2015 11:07:29 +0000 (11:07 +0000)]
build: use different grep strings for scanning package vs target metadata

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

9 years agoscripts/feeds: remove a few trailing tabs
Felix Fietkau [Sun, 15 Mar 2015 11:06:50 +0000 (11:06 +0000)]
scripts/feeds: remove a few trailing tabs

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

9 years agouhttpd: make generating SSL keys more reliable against interrupted boots
Felix Fietkau [Sun, 15 Mar 2015 10:32:10 +0000 (10:32 +0000)]
uhttpd: make generating SSL keys more reliable against interrupted boots

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

9 years agolantiq: add a better fix to strip FCS from ethernet packets on XRX200
Felix Fietkau [Sun, 15 Mar 2015 09:47:34 +0000 (09:47 +0000)]
lantiq: add a better fix to strip FCS from ethernet packets on XRX200

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

9 years agoltq-vdsl-fw: fix md5sum for new firmware
Felix Fietkau [Sun, 15 Mar 2015 07:57:55 +0000 (07:57 +0000)]
ltq-vdsl-fw: fix md5sum for new firmware

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

9 years agolantiq: enable atm-esi by default for xrx200
Felix Fietkau [Sun, 15 Mar 2015 07:57:51 +0000 (07:57 +0000)]
lantiq: enable atm-esi by default for xrx200

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

9 years agoath9k: disable TPC support for now until bugs have been found and fixed
Felix Fietkau [Sun, 15 Mar 2015 07:10:38 +0000 (07:10 +0000)]
ath9k: disable TPC support for now until bugs have been found and fixed

SVN-Revision: 44768

9 years agoltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes #19160)
Felix Fietkau [Sun, 15 Mar 2015 06:51:45 +0000 (06:51 +0000)]
ltq-vdsl-fw: update firmware cutter URL for newer Speedport firmware (fixes #19160)

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

9 years agotoolchain: r44701 accidentially removed the uclibc default when TOOLCHAINOPTS is set
John Crispin [Sun, 15 Mar 2015 06:35:18 +0000 (06:35 +0000)]
toolchain: r44701 accidentially removed the uclibc default when TOOLCHAINOPTS is set

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

9 years agokernel: enable open by fhandle syscalls
John Crispin [Sun, 15 Mar 2015 06:35:13 +0000 (06:35 +0000)]
kernel: enable open by fhandle syscalls

This is needed by many services to function properly and as
all modern distributions got it enabled, it starts to be a
de-facto standard, i.e. user-space starts to silently depend
on it.

This also pulls in EXPORTFS, however, the kernel binary size
increases only a little.
On ARM systems comes down to 800 bytes uncompressed and about
200 bytes compressed size.
On MIPS systems it's about 1.2 kB size increase of the LZMA
compressed kernel.

v2: use menuconfig option instead of just enabling the option

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44765

9 years agobrcm2708: fix mkdosfs command line options order
Felix Fietkau [Sun, 15 Mar 2015 05:18:50 +0000 (05:18 +0000)]
brcm2708: fix mkdosfs command line options order

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44764

9 years agodosfstools: fix build on OS X
Felix Fietkau [Sun, 15 Mar 2015 05:18:45 +0000 (05:18 +0000)]
dosfstools: fix build on OS X

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44763

9 years agodosfstools: update to v3.0.27
Felix Fietkau [Sun, 15 Mar 2015 05:18:40 +0000 (05:18 +0000)]
dosfstools: update to v3.0.27

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44762

9 years agoscripts: fix ubinize-image on OS X
Felix Fietkau [Sun, 15 Mar 2015 05:12:11 +0000 (05:12 +0000)]
scripts: fix ubinize-image on OS X

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44761