openwrt/staging/stintel.git
10 years agoar71xx: fix seama factory type image generation.
John Crispin [Tue, 14 Oct 2014 12:21:41 +0000 (12:21 +0000)]
ar71xx: fix seama factory type image generation.

Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the
computation of image's MD5 checksum as part of the seama header.  But
OpenWrt will erase blocks including and after the marker thus
invalidating the checksum after the first boot.

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

10 years agoar71xx: qihoo-c301: reset imageNtrynum after each successful boot.
John Crispin [Tue, 14 Oct 2014 12:21:36 +0000 (12:21 +0000)]
ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.

Qihoo C301 has 2 flash chips of which one is used as primary and the
other is used as backup.  OEM U-Boot will try to boot an activeregion N
with imageNstatus=0 and imageNtrynum <= imagemaxtry.  If such a region
is found, bootloader will try to increment imageNtrynum and boot it.

This patch tries to reset imageNtrynum after each successful boot (if
the boot process reaches the execution of /etc/init.d/done).

root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9
00000000  9e f3 63 91 61 63 74 69  76 65 72 65 67 69 6f 6e  |..c.activeregion|
00000010  3d 31 00 69 6d 61 67 65  31 73 74 61 74 75 73 3d  |=1.image1status=|
00000020  30 00 69 6d 61 67 65 32  73 74 61 74 75 73 3d 30  |0.image2status=0|
00000030  00 69 6d 61 67 65 32 74  72 79 6e 75 6d 3d 30 00  |.image2trynum=0.|
00000040  69 6d 61 67 65 6d 61 78  74 72 79 3d 33 00 69 6d  |imagemaxtry=3.im|
00000050  61 67 65 31 74 72 79 6e  75 6d 3d 30 00 00 00 00  |age1trynum=0....|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

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

10 years agoudev/Config.in: help format, and fix spelling mistake
John Crispin [Tue, 14 Oct 2014 12:21:24 +0000 (12:21 +0000)]
udev/Config.in: help format, and fix spelling mistake

Formatting and spelling fixes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 42913

10 years agotarget/toolchain/Config.in: Clarify packaging of toolchain.
John Crispin [Tue, 14 Oct 2014 12:21:16 +0000 (12:21 +0000)]
target/toolchain/Config.in: Clarify packaging of toolchain.

Change the "help" info to emphasize that this option refers
specifically to packaging the toolchain that would be built anyway.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
SVN-Revision: 42912

10 years agoscripts: fix wrong usage of '==' operator
John Crispin [Tue, 14 Oct 2014 12:21:11 +0000 (12:21 +0000)]
scripts: fix wrong usage of '==' operator

[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
SVN-Revision: 42911

10 years agorb532: switch to 3.14 and ath5k
John Crispin [Tue, 14 Oct 2014 11:32:57 +0000 (11:32 +0000)]
rb532: switch to 3.14 and ath5k

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

10 years agogeneric: fix yaffs compilation on 3.14
John Crispin [Tue, 14 Oct 2014 11:32:48 +0000 (11:32 +0000)]
generic: fix yaffs compilation on 3.14

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

10 years agorb532: add 3.14 support
John Crispin [Tue, 14 Oct 2014 11:32:43 +0000 (11:32 +0000)]
rb532: add 3.14 support

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

10 years agolantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable pcie by dts
John Crispin [Tue, 14 Oct 2014 11:04:25 +0000 (11:04 +0000)]
lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable pcie by dts

Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 42907

10 years agoar71xx: Fix LED definitions for the DRAGINO2 board
John Crispin [Tue, 14 Oct 2014 10:33:07 +0000 (10:33 +0000)]
ar71xx: Fix LED definitions for the DRAGINO2 board

This patch fixes LED definitions for the DRAGINO2 board.

1. It renames the Router/USB led to System, as it is now marked "SYS" on the board.
2. It gives control of the LAN and WAN leds and some other GPIOs to Linux.
3. It fixes the active_low property for the LAN and WAN leds.
4. It sets up WLAN, LAN and WAN leds in the UCI defaults.
5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 42897

10 years agompc85xx: use wpad-mini in WDR4900 profile instead of wpad
John Crispin [Tue, 14 Oct 2014 10:30:56 +0000 (10:30 +0000)]
mpc85xx: use wpad-mini in WDR4900 profile instead of wpad

This change makes the profile of WDR4900 more consistent with other router
specific profiles.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
SVN-Revision: 42896

10 years agobcm53xx: fix hangs in PCIe2 host driver
Rafał Miłecki [Tue, 14 Oct 2014 08:06:15 +0000 (08:06 +0000)]
bcm53xx: fix hangs in PCIe2 host driver

Accessing CFG regs with no card present results in SoC hang.

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

10 years agobcm53xx: add temp bcma workaround that allows debugging
Rafał Miłecki [Tue, 14 Oct 2014 05:31:54 +0000 (05:31 +0000)]
bcm53xx: add temp bcma workaround that allows debugging

This way we will get logs if case of hang/crash in bcma or related code.

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

10 years agoat91: fix at91-adc dependencies
John Crispin [Mon, 13 Oct 2014 19:45:31 +0000 (19:45 +0000)]
at91: fix at91-adc dependencies

Error reported by buildbot:
Package kmod-at91-adc is missing dependencies for the following libraries:
input-core.ko

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 42893

10 years agoralink: Build 8M image for 7Links PX-4885
John Crispin [Mon, 13 Oct 2014 19:41:36 +0000 (19:41 +0000)]
ralink: Build 8M image for 7Links PX-4885

7Links PX-4885 (clones) can also be purchased with 8MB flash.
Creating images for these routers, use dtsi for common part

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 42892

10 years agoscripts/feeds: handle missing/broken feeds better
John Crispin [Mon, 13 Oct 2014 19:41:27 +0000 (19:41 +0000)]
scripts/feeds: handle missing/broken feeds better

pts/feeds update -a" can fail rather silently for feeds using git, as
the script does not pause when updating a feed fails. Instead it prints the
error message and calmly continues to the next feed. It is very easy to
overlook update errors with the feeds updated first, as their text scrolls
rapidly away from the screen.

This behaviour has not been a big problem with svn feeds, as svn update stops
with a conflict message and interactively forces the user to resolve or
postpone the conflict. In any case the svn error is noticed by the user.

Majority of the feeds use now git, so this silent failure can affect users
doing private builds in an increasing amount.

Below is an example of update failing and script continuing:

perus@v1404:/Openwrt/barrier$ ./scripts/feeds update -a
Updating feed 'packages' from
'https://github.com/openwrt/packages.git;for-14.07' ...
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 17 (delta 10), reused 8 (delta 1)
Unpacking objects: 100% (17/17), done.
 From https://github.com/openwrt/packages
62031da..dc26009  for-14.07  -> origin/for-14.07
Updating 62031da..dc26009
error: Your local changes to the following files would be overwritten by merge:
utils/collectd/Makefile
Please, commit your changes or stash them before you can merge.
Aborting
failed.
Updating feed 'luci' from 'http://git.openwrt.org/project/luci.git;luci-0.12' ...
Already up-to-date.
Create index file './feeds/luci.index'
Updating feed 'routing' from
'https://github.com/openwrt-routing/packages.git;for-14.07' ...
...

The script prints "failed.", but does not break the updating process. The
"update_feed" function returns an error code 1, but that value is not checked
in the "update" function, which continues to the next feed.
Return 1 as error:
​https://dev.openwrt.org/browser/trunk/scripts/feeds#L547
Call to update_feed without any error monitoring:
​https://dev.openwrt.org/browser/trunk/scripts/feeds#L585

The included patch makes the feeds script to stop updating after failing to
update a feed.

The script continues to the refresh_config step despite a possible failure in
updating, so the stopping action just prevents the other feeds from updating
and makes the error more clearly visible.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 42891

10 years agofstools: update to latest git HEAD
John Crispin [Mon, 13 Oct 2014 19:41:16 +0000 (19:41 +0000)]
fstools: update to latest git HEAD

this adds support for overlayfs v23

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

10 years agobrcm47xx: image: create initramfs TRX nodictionary images
Rafał Miłecki [Mon, 13 Oct 2014 05:53:33 +0000 (05:53 +0000)]
brcm47xx: image: create initramfs TRX nodictionary images

Signed-off-by: Stephen Parry <sgparry@mainscreen.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42889

10 years agox86: remove old soekris config hacks, install a more appropriate default /etc/config...
Felix Fietkau [Sun, 12 Oct 2014 20:25:30 +0000 (20:25 +0000)]
x86: remove old soekris config hacks, install a more appropriate default /etc/config/network with lan+wan

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

10 years agoprocd: fix initial nand sysupgrade
Felix Fietkau [Sun, 12 Oct 2014 15:50:15 +0000 (15:50 +0000)]
procd: fix initial nand sysupgrade

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

10 years agoprocd: fix parsing of the has_env parameter
Felix Fietkau [Sun, 12 Oct 2014 15:50:01 +0000 (15:50 +0000)]
procd: fix parsing of the has_env parameter

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

10 years agomac80211: remove NO-IR from channel 36-48
Felix Fietkau [Sun, 12 Oct 2014 15:49:38 +0000 (15:49 +0000)]
mac80211: remove NO-IR from channel 36-48

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

10 years agoimage.mk: remove legacy target rules
Felix Fietkau [Sun, 12 Oct 2014 15:01:08 +0000 (15:01 +0000)]
image.mk: remove legacy target rules

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

10 years agoimage.mk: parallelize cpio.gz and tar.gz filesystem build
Felix Fietkau [Sun, 12 Oct 2014 15:01:01 +0000 (15:01 +0000)]
image.mk: parallelize cpio.gz and tar.gz filesystem build

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

10 years agoimage.mk: split off jffs2-raw images into a separate make target to improve parallel...
Felix Fietkau [Sun, 12 Oct 2014 15:00:55 +0000 (15:00 +0000)]
image.mk: split off jffs2-raw images into a separate make target to improve parallel build time

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

10 years agoimage.mk: clean up and parallelize mkfs calls
Felix Fietkau [Sun, 12 Oct 2014 15:00:49 +0000 (15:00 +0000)]
image.mk: clean up and parallelize mkfs calls

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

10 years agoprereq.mk: only define .NOTPARALLEL when processing prereq checks
Felix Fietkau [Sun, 12 Oct 2014 15:00:41 +0000 (15:00 +0000)]
prereq.mk: only define .NOTPARALLEL when processing prereq checks

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

10 years agokernel-build.mk: add .NOTPARALLEL
Felix Fietkau [Sun, 12 Oct 2014 15:00:19 +0000 (15:00 +0000)]
kernel-build.mk: add .NOTPARALLEL

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

10 years agotools/mtd-utils: fix a segfault in parsing the device table
Felix Fietkau [Sun, 12 Oct 2014 15:00:15 +0000 (15:00 +0000)]
tools/mtd-utils: fix a segfault in parsing the device table

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

10 years agoimage.mk: call mkfs/prepare for the image builder
Felix Fietkau [Sun, 12 Oct 2014 15:00:11 +0000 (15:00 +0000)]
image.mk: call mkfs/prepare for the image builder

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

10 years agoimage.mk: reduce code duplication, move prepare to a separate make target
Felix Fietkau [Sun, 12 Oct 2014 15:00:07 +0000 (15:00 +0000)]
image.mk: reduce code duplication, move prepare to a separate make target

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

10 years agoimage.mk: remove the unnecessary .NOTPARALLEL flag
Felix Fietkau [Sun, 12 Oct 2014 15:00:03 +0000 (15:00 +0000)]
image.mk: remove the unnecessary .NOTPARALLEL flag

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

10 years agonetifd: Make mtu configurable of dynamic 6rd tunnel interface
Steven Barth [Sun, 12 Oct 2014 12:27:21 +0000 (12:27 +0000)]
netifd: Make mtu configurable of dynamic 6rd tunnel interface

Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script.
In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput

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

10 years agoodhcp6c: fix parse errors with some dhcpv6 servers
Steven Barth [Sun, 12 Oct 2014 12:18:33 +0000 (12:18 +0000)]
odhcp6c: fix parse errors with some dhcpv6 servers

SVN-Revision: 42869

10 years agoralink: various i2c related fixes
John Crispin [Fri, 10 Oct 2014 08:56:53 +0000 (08:56 +0000)]
ralink: various i2c related fixes

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

10 years agoramips: add support for Nexx WT1520
John Crispin [Fri, 10 Oct 2014 08:56:43 +0000 (08:56 +0000)]
ramips: add support for Nexx WT1520

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 42867

10 years agocomgt: add ncm proto support
John Crispin [Fri, 10 Oct 2014 08:56:33 +0000 (08:56 +0000)]
comgt: add ncm proto support

This will not work for all board/dongle combinations until we hit 3.17.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 42866

10 years agofeeds: switch LuCI to Github repo
Jo-Philipp Wich [Thu, 9 Oct 2014 21:27:26 +0000 (21:27 +0000)]
feeds: switch LuCI to Github repo

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

10 years agobcm53xx: prepare to support Asus RT-N18U
Rafał Miłecki [Thu, 9 Oct 2014 16:36:51 +0000 (16:36 +0000)]
bcm53xx: prepare to support Asus RT-N18U

DT file doesn't include any GPIOs yet, but let's add it as we got some
interest in this device on IRC.

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

10 years agobcm53xx: add support for Buffalo WZR-1750DHP
Rafał Miłecki [Thu, 9 Oct 2014 16:36:05 +0000 (16:36 +0000)]
bcm53xx: add support for Buffalo WZR-1750DHP

Let's generate a simple TRX file as we can't get encrypted one.

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

10 years agomac80211: remove error from detect script
Felix Fietkau [Thu, 9 Oct 2014 09:04:24 +0000 (09:04 +0000)]
mac80211: remove error from detect script

Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42861

10 years agoppp: add unconditional autoipv6-trigger
Steven Barth [Thu, 9 Oct 2014 07:38:25 +0000 (07:38 +0000)]
ppp: add unconditional autoipv6-trigger

SVN-Revision: 42860

10 years agoppp: remove ugly ipv6-workaround
Steven Barth [Thu, 9 Oct 2014 07:35:28 +0000 (07:35 +0000)]
ppp: remove ugly ipv6-workaround

This is not needed after all:

Omitting option ipv6 or setting it to 'auto' will
fire up a dhcpv6 subprotocol (this was added).

Setting ipv6 to 1 will only cause the IPv6 link to
be brought up and an accompanying dhcpv6 or static
interface with ifname @wan can be used to configure addresses.

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42859

10 years agokernel: add missing symbols for 3.14
Steven Barth [Thu, 9 Oct 2014 07:18:07 +0000 (07:18 +0000)]
kernel: add missing symbols for 3.14

spotted by buildbot brcm2708:
http://buildbot.openwrt.org:8010/builders/brcm2708/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 42858

10 years agodropbear: ensure the interface has an ip-address
Steven Barth [Thu, 9 Oct 2014 07:16:35 +0000 (07:16 +0000)]
dropbear: ensure the interface has an ip-address

Use network_get_ipaddrs_all to get all ip-addresses of an interface. If the
function fails, the interface does not exists or has not any suiteable ip
addresses assigned.

Use the returned ip-address(es) to construct the dropbear listen address.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 42857

10 years agobase-files: add network_get_ipaddrs_all()
Steven Barth [Thu, 9 Oct 2014 07:16:29 +0000 (07:16 +0000)]
base-files: add network_get_ipaddrs_all()

Return all IPv4 and IPv6 addresses.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 42856

10 years agoautoconf: bump version to 2.69
Steven Barth [Thu, 9 Oct 2014 07:16:22 +0000 (07:16 +0000)]
autoconf: bump version to 2.69

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

10 years agoppp: allow auto-detecting and creation of ipv6 subinterface
Steven Barth [Wed, 8 Oct 2014 20:37:15 +0000 (20:37 +0000)]
ppp: allow auto-detecting and creation of ipv6 subinterface

this makes ipv6 with ppp a bit more comfortable

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42854

10 years agoodhcp6c: fix typo in last commit
Steven Barth [Wed, 8 Oct 2014 15:27:17 +0000 (15:27 +0000)]
odhcp6c: fix typo in last commit

SVN-Revision: 42852

10 years agoodhcp6c: don't assign addresses or prefixes prematurely
Steven Barth [Wed, 8 Oct 2014 15:16:19 +0000 (15:16 +0000)]
odhcp6c: don't assign addresses or prefixes prematurely

SVN-Revision: 42850

10 years agomac80211: add a few upstream ath9k / mac80211 fixes
Felix Fietkau [Wed, 8 Oct 2014 15:09:53 +0000 (15:09 +0000)]
mac80211: add a few upstream ath9k / mac80211 fixes

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

10 years agonetwork: Unbind DHCPv6 from underlying interfaces
Steven Barth [Wed, 8 Oct 2014 13:08:05 +0000 (13:08 +0000)]
network: Unbind DHCPv6 from underlying interfaces

This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42848

10 years agocns3xxx: Adopt irq_domain support for cns3xxx gpio driver
Felix Fietkau [Wed, 8 Oct 2014 10:28:10 +0000 (10:28 +0000)]
cns3xxx: Adopt irq_domain support for cns3xxx gpio driver

Have gpio driver adopt irqdomain support so that there are
non-overlapping allocations of irq numbers mapped to gpio's.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 42844

10 years agoodhcp6c: ensure signal-safety of signal handlers
Steven Barth [Wed, 8 Oct 2014 09:58:40 +0000 (09:58 +0000)]
odhcp6c: ensure signal-safety of signal handlers

SVN-Revision: 42841

10 years agoinclude/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)
John Crispin [Wed, 8 Oct 2014 08:01:39 +0000 (08:01 +0000)]
include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)

I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 42840

10 years agolldp: make use of new USERID syntax
John Crispin [Wed, 8 Oct 2014 08:01:33 +0000 (08:01 +0000)]
lldp: make use of new USERID syntax

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

10 years agobase-files: extend USERID:=syntax
John Crispin [Wed, 8 Oct 2014 08:01:28 +0000 (08:01 +0000)]
base-files: extend USERID:=syntax

it is now possible to inlie the uid and gid in the syntax

USERID:=username=uid:group=gid:group2=gid2:...

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

10 years agowwan: add a generic 3g/4g proto
John Crispin [Wed, 8 Oct 2014 08:01:20 +0000 (08:01 +0000)]
wwan: add a generic 3g/4g proto

this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need
for a stick and setup uci automagically

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

10 years agocomgt: split directip support into its own package
John Crispin [Wed, 8 Oct 2014 08:00:55 +0000 (08:00 +0000)]
comgt: split directip support into its own package

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

10 years agouqmi: dont use proto_block_restart
John Crispin [Wed, 8 Oct 2014 08:00:45 +0000 (08:00 +0000)]
uqmi: dont use proto_block_restart

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

10 years agouqmi: make the proto depend on the usb driver
John Crispin [Wed, 8 Oct 2014 08:00:21 +0000 (08:00 +0000)]
uqmi: make the proto depend on the usb driver

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

10 years agoumbim: dont use proto_block_restart
John Crispin [Wed, 8 Oct 2014 08:00:17 +0000 (08:00 +0000)]
umbim: dont use proto_block_restart

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

10 years agoumbim: work out the ifname instead of relying on it being in uci
John Crispin [Wed, 8 Oct 2014 08:00:07 +0000 (08:00 +0000)]
umbim: work out the ifname instead of relying on it being in uci

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

10 years agoprocd: handle hotplug events for the usbmisc subsystem
John Crispin [Wed, 8 Oct 2014 08:00:01 +0000 (08:00 +0000)]
procd: handle hotplug events for the usbmisc subsystem

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

10 years agocns3xxx: fix shared PCI interrupt mapping
Felix Fietkau [Tue, 7 Oct 2014 10:37:48 +0000 (10:37 +0000)]
cns3xxx: fix shared PCI interrupt mapping

This patch originally failed to combine INTA/B/C/D onto a single ARM CPU
interrupt. Instead, it mapped INTA/B/C and excluded D. This patch
corrects the issue by mapping all four interrupts to the single ARM CPU
interrupt. The original intent of the patch still holds as the newer PCB
take advantage of isolated interrupts. This fix only applies to older
PCB's that do not route INTA/B/C/D to unique external ARM CPU
interrupts.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 42830

10 years agocns3xxx: fix register for enabling MMC/SD pins
Felix Fietkau [Tue, 7 Oct 2014 10:37:09 +0000 (10:37 +0000)]
cns3xxx: fix register for enabling MMC/SD pins

also fixes a GPIO related regression from the upgrade to 3.10

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

10 years agokernel: move old "rootfs" splitter into separated file
Rafał Miłecki [Tue, 7 Oct 2014 07:35:17 +0000 (07:35 +0000)]
kernel: move old "rootfs" splitter into separated file

This will simplify removing it in the future.

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

10 years agobcm53xx: add Netgear R6300 V2 LEDs and buttons
Rafał Miłecki [Mon, 6 Oct 2014 21:33:17 +0000 (21:33 +0000)]
bcm53xx: add Netgear R6300 V2 LEDs and buttons

Thanks tusc (our forum user) for checking GPIOs.

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

10 years agoprocd: r42814 added a bad git version
John Crispin [Mon, 6 Oct 2014 20:27:31 +0000 (20:27 +0000)]
procd: r42814 added a bad git version

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

10 years agoat91: remove support for TQMa9263
John Crispin [Mon, 6 Oct 2014 20:08:40 +0000 (20:08 +0000)]
at91: remove support for TQMa9263

This board is EOL, we should not bother anymore with it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42825

10 years agolantiq - vgv7519: load rt5362 eeprom from bootloader param patition
John Crispin [Mon, 6 Oct 2014 20:08:30 +0000 (20:08 +0000)]
lantiq - vgv7519: load rt5362 eeprom from bootloader param patition

SVN-Revision: 42824

10 years agolantiq - vgv7519: enable pci bus
John Crispin [Mon, 6 Oct 2014 20:08:18 +0000 (20:08 +0000)]
lantiq - vgv7519: enable pci bus

SVN-Revision: 42823

10 years agolantiq - vgv7519: remove spi_cs4, since the board use this line for something else
John Crispin [Mon, 6 Oct 2014 20:08:11 +0000 (20:08 +0000)]
lantiq - vgv7519: remove spi_cs4, since the board use this line for something else

SVN-Revision: 42822

10 years agolantiq - vgv7519: fix open-drain configuration for stp
John Crispin [Mon, 6 Oct 2014 20:08:04 +0000 (20:08 +0000)]
lantiq - vgv7519: fix open-drain configuration for stp

SVN-Revision: 42821

10 years agolantiq - vgv7519: add pci-rst entry into dts
John Crispin [Mon, 6 Oct 2014 20:07:56 +0000 (20:07 +0000)]
lantiq - vgv7519: add pci-rst entry into dts

SVN-Revision: 42820

10 years agolantiq - vgv7519: remove exin definition copied from dev-board dts
John Crispin [Mon, 6 Oct 2014 20:07:45 +0000 (20:07 +0000)]
lantiq - vgv7519: remove exin definition copied from dev-board dts

SVN-Revision: 42819

10 years agolantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for...
John Crispin [Mon, 6 Oct 2014 20:07:30 +0000 (20:07 +0000)]
lantiq - vgv7519: we don't have pcie bus so we don't need the reset device tree for this board

SVN-Revision: 42818

10 years agolantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for...
John Crispin [Mon, 6 Oct 2014 20:07:19 +0000 (20:07 +0000)]
lantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 for pci handling

SVN-Revision: 42817

10 years agolantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio...
John Crispin [Mon, 6 Oct 2014 20:07:04 +0000 (20:07 +0000)]
lantiq - vgv7519: fix gphy led configuration (this set correct alt function to gpio and let peripherials on pci bus to comes up)

SVN-Revision: 42816

10 years agolantiq: fix some alt function on pinctrl-xway
John Crispin [Mon, 6 Oct 2014 20:06:51 +0000 (20:06 +0000)]
lantiq: fix some alt function on pinctrl-xway

SVN-Revision: 42815

10 years agoprocd: update to latest git HEAD
John Crispin [Mon, 6 Oct 2014 20:06:41 +0000 (20:06 +0000)]
procd: update to latest git HEAD

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

10 years agoubox: update to latest git head
John Crispin [Mon, 6 Oct 2014 20:06:26 +0000 (20:06 +0000)]
ubox: update to latest git head

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

10 years agofstools: update to latest git
John Crispin [Mon, 6 Oct 2014 20:06:15 +0000 (20:06 +0000)]
fstools: update to latest git

adds support for /dev/vd* virtual io

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

10 years agoocteon: add patches which are not upstreamed yet
John Crispin [Mon, 6 Oct 2014 20:06:06 +0000 (20:06 +0000)]
octeon: add patches which are not upstreamed yet

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

10 years agoocteon: remove kmod-ath9k from default packages
John Crispin [Mon, 6 Oct 2014 20:05:52 +0000 (20:05 +0000)]
octeon: remove kmod-ath9k from default packages

Looks like the targets are Ubiquiti routers which don't come with any wireless cards.

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

10 years agoocteon: prepare elf kernel image and md5sum for usb copying
John Crispin [Mon, 6 Oct 2014 20:05:39 +0000 (20:05 +0000)]
octeon: prepare elf kernel image and md5sum for usb copying

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

10 years agoocteon: fix serial console for 3.14 kernel
John Crispin [Mon, 6 Oct 2014 20:05:29 +0000 (20:05 +0000)]
octeon: fix serial console for 3.14 kernel

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

10 years agoralink: various i2c fixes
John Crispin [Mon, 6 Oct 2014 20:05:13 +0000 (20:05 +0000)]
ralink: various i2c fixes

the driver did not handle all states correctly causing a deadlock of the i2c hw block.

Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it>
SVN-Revision: 42807

10 years agokernel: add some warnings to the old (built-in) rootfs splitter
Rafał Miłecki [Mon, 6 Oct 2014 15:07:54 +0000 (15:07 +0000)]
kernel: add some warnings to the old (built-in) rootfs splitter

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

10 years agokernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT
Rafał Miłecki [Mon, 6 Oct 2014 14:02:06 +0000 (14:02 +0000)]
kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOT

This enables dedicated "rootfs" splitter by default. We still keep
CONFIG_MTD_SPLIT_SQUASHFS_ROOT, so the old (built-in) splitter will be
used as a fallback in case of problems.
Once we decide the dedicated partitioner works stable, we should remove
the old one completely.

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

10 years agokernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT
Rafał Miłecki [Mon, 6 Oct 2014 13:49:11 +0000 (13:49 +0000)]
kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLIT

We want to remove that old (built-in) splitter at some point.

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

10 years agoodhcp6c: add route-workaround for broken IPv6-ISPs
Steven Barth [Mon, 6 Oct 2014 11:19:33 +0000 (11:19 +0000)]
odhcp6c: add route-workaround for broken IPv6-ISPs

Some ISP seem to only do stateful DHCPv6 and not sending RAs.
This is technically broken because plain DHCPv6 doesn't carry routes.

We work around here by faking a default route to the DHCPv6 server
if we do not receive a useful RA from the ISP.

This workaround can be turned off with: option fakeroutes 0

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42803

10 years agonftables: bump to 2014-09-30, disable gmp
Steven Barth [Mon, 6 Oct 2014 06:24:53 +0000 (06:24 +0000)]
nftables: bump to 2014-09-30, disable gmp

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42802

10 years agobase-files: make postinst script run inside a subshell
John Crispin [Mon, 6 Oct 2014 05:55:35 +0000 (05:55 +0000)]
base-files: make postinst script run inside a subshell

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

10 years agolibnftnl: bump to 2014-10-02
Steven Barth [Mon, 6 Oct 2014 05:30:36 +0000 (05:30 +0000)]
libnftnl: bump to 2014-10-02

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42799

10 years agolantiq: led name has changed from adsl -> dsl
John Crispin [Mon, 6 Oct 2014 05:18:52 +0000 (05:18 +0000)]
lantiq: led name has changed from adsl -> dsl

make the notify script aware of this.

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

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

10 years agoar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7
John Crispin [Mon, 6 Oct 2014 04:53:34 +0000 (04:53 +0000)]
ar71xx: correctly detect hardware revision on TP-LINK Archer C5 and C7

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

10 years agoar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection
John Crispin [Mon, 6 Oct 2014 04:53:25 +0000 (04:53 +0000)]
ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection

[ ] conditions should use = instead of == for string equality.

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

10 years agoar71xx: simplify TP-LINK model detection
John Crispin [Mon, 6 Oct 2014 04:53:20 +0000 (04:53 +0000)]
ar71xx: simplify TP-LINK model detection

All TP-LINK machine names begin with "TP-LINK", so there's no need to check for
more specific model names. This also allows adding new models like the Archer
series more easily.

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

10 years agoFix build when TAR_OPTIONS env variable is set
John Crispin [Mon, 6 Oct 2014 04:53:14 +0000 (04:53 +0000)]
Fix build when TAR_OPTIONS env variable is set

The build system sets a make variable TAR_OPTIONS to the unpacking
command, i.e. "-xf -". Now if an environment variable with the same
name is set, the make variable is automatically exported to the
environment. The make variable is added to the tar command in the
makefile, and tar adds the environment variable. This results in a
command like "tar -c /some/dir -xf - -xf -" which of course doesn't
work. It is also difficult to spot as the second "-xf -" is not
visible on the command line.
I suggest this is fixed by unexporting TAR_OPTIONS as I see no use
of the evironment variable, and it is changed from the original
value anyway.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
SVN-Revision: 42794