openwrt/staging/rmilecki.git
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

10 years agoiwinfo: add AR9580 with new subsystem device ID and QCA9880 with no subsystem vendor...
John Crispin [Mon, 6 Oct 2014 04:53:04 +0000 (04:53 +0000)]
iwinfo: add AR9580 with new subsystem device ID and QCA9880 with no subsystem vendor/device IDs

The AR9580 with the new ID can be found in the EnGenius ESR900 and the
QCA9880 without any subsystem IDs can be found in the EnGenius ESR1750.

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42793

10 years agoar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)
John Crispin [Mon, 6 Oct 2014 04:52:57 +0000 (04:52 +0000)]
ar71xx: add support for TP-LINK TL-WR847N v8 (clone of TL-WR841N/ND v8)

Signed-off-by: Jaehoon You <teslamint@gmail.com>
SVN-Revision: 42792

10 years agokernel: add rtc-ds1307 module support
John Crispin [Mon, 6 Oct 2014 04:52:51 +0000 (04:52 +0000)]
kernel: add rtc-ds1307 module support

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

10 years agokernel: add ledtrig-transient module support
John Crispin [Mon, 6 Oct 2014 04:52:44 +0000 (04:52 +0000)]
kernel: add ledtrig-transient module support

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

10 years agoramips: D-Link DIR-810L: make led naming consistent with other boards
John Crispin [Mon, 6 Oct 2014 04:52:36 +0000 (04:52 +0000)]
ramips: D-Link DIR-810L: make led naming consistent with other boards

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

10 years agoralink: Add missing code to free GPIO on Ralink SoC
John Crispin [Mon, 6 Oct 2014 04:52:26 +0000 (04:52 +0000)]
ralink: Add missing code to free GPIO on Ralink SoC

Signed-off-by: schildt@ibr.cs.tu-bs.de
Acked-by: info@gerhard-bertelsmann.de
SVN-Revision: 42788

10 years agohostapd: read missing parameter for dynamic VLANs
John Crispin [Mon, 6 Oct 2014 04:52:21 +0000 (04:52 +0000)]
hostapd: read missing parameter for dynamic VLANs

In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming
parameter is not read while setting up the config, so it always
defaults to 1.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
SVN-Revision: 42787

10 years agoar71xx: add LED defaults for the EnGenius ESR1750
John Crispin [Mon, 6 Oct 2014 04:52:13 +0000 (04:52 +0000)]
ar71xx: add LED defaults for the EnGenius ESR1750

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
SVN-Revision: 42786

10 years agoramips: Support for RAMIPS based Tripmate HT-TM02 board
John Crispin [Mon, 6 Oct 2014 04:52:07 +0000 (04:52 +0000)]
ramips: Support for RAMIPS based Tripmate HT-TM02 board

Provides support for the Tripmate HT-TM02 personal router including LEDs and
reset button. “Mode” switch is not supported. New profile includes full set
of packages required to enable LEDs, USB, and LUCI. Patches were applied
against trunk snapshot r42649. Functionality has been tested in AP, basic wifi
client, wifi router, and routed client modes - all good.

Signed-off-by: Ron Curry <wingspinner@gmail.com>
SVN-Revision: 42785

10 years agofirmware-utils: add NEXX factory image support
John Crispin [Mon, 6 Oct 2014 04:52:01 +0000 (04:52 +0000)]
firmware-utils: add NEXX factory image support

This patch adds support to encode and decode images for certain types of
NEXX routers.

SVN-Revision: 42784

10 years agosysupgrade: preserve symlinks in backups
John Crispin [Mon, 6 Oct 2014 04:51:56 +0000 (04:51 +0000)]
sysupgrade: preserve symlinks in backups

Signed-off-by: Catalin Patulea <catalinp@google.com>
SVN-Revision: 42783

10 years agoar71xx: fix reset button gpio for OM2P/OM2P-HS
John Crispin [Mon, 6 Oct 2014 04:51:51 +0000 (04:51 +0000)]
ar71xx: fix reset button gpio for OM2P/OM2P-HS

A typo in the definition for the OM2P reset button disabled its functionality
in OpenWrt. The actual button for these two devices is "1" and not "11".

Signed-off-by: Oren Poleg <oren@poleg.org>
[sven@open-mesh.org: added a commit subject+message]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 42782

10 years agobuild: remove useless quote stripping for KERNELNAME, add fallback for it in the...
Felix Fietkau [Sun, 5 Oct 2014 20:17:23 +0000 (20:17 +0000)]
build: remove useless quote stripping for KERNELNAME, add fallback for it in the kernel build command line

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

10 years agotargets: remove useless quotes around KERNELNAME
Felix Fietkau [Sun, 5 Oct 2014 20:17:19 +0000 (20:17 +0000)]
targets: remove useless quotes around KERNELNAME

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

10 years agolantiq: remove the useless ltqtapi.mk include file
Felix Fietkau [Sun, 5 Oct 2014 18:58:47 +0000 (18:58 +0000)]
lantiq: remove the useless ltqtapi.mk include file

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

10 years agogcc: remove version 4.8.0
Felix Fietkau [Sun, 5 Oct 2014 18:40:43 +0000 (18:40 +0000)]
gcc: remove version 4.8.0

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

10 years agobinutils: remove old versions
Felix Fietkau [Sun, 5 Oct 2014 18:40:38 +0000 (18:40 +0000)]
binutils: remove old versions

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

10 years agosunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.
Zoltan Herpai [Sun, 5 Oct 2014 17:32:36 +0000 (17:32 +0000)]
sunxi: re-add rootfs build when no profile is set, fixes #17980, thanks.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42775

10 years agoiproute2: add conflict for ip with ip-full
Felix Fietkau [Sun, 5 Oct 2014 17:13:34 +0000 (17:13 +0000)]
iproute2: add conflict for ip with ip-full

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

10 years agobuild: make sure modules are modposted after initramfs image is built
Felix Fietkau [Sun, 5 Oct 2014 16:58:16 +0000 (16:58 +0000)]
build: make sure modules are modposted after initramfs image is built

Otherwise the modpost steps for individual modules that are compiled
manually (using make package/<name_of_module>/install) will give warning
of missing symbols when that module depends other modules.

This is caused by the Module.symvers file not containing any symbols
anymore of external modules when the initramfs image is built without
specifically giving the modules target.

Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl>
SVN-Revision: 42773

10 years agohostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant
Felix Fietkau [Sun, 5 Oct 2014 16:41:50 +0000 (16:41 +0000)]
hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicant

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

10 years agobuild: propagate package conflicts to opkg metadata
Felix Fietkau [Sun, 5 Oct 2014 16:41:38 +0000 (16:41 +0000)]
build: propagate package conflicts to opkg metadata

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

10 years agobuild: add support for declaring package CONFLICTS which only affect selecting built...
Felix Fietkau [Sun, 5 Oct 2014 16:41:33 +0000 (16:41 +0000)]
build: add support for declaring package CONFLICTS which only affect selecting built-in packages

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

10 years agoFix broken implementation of NOEXECSTACK flag for MIPS architectures for gcc-linaro-4.8
Felix Fietkau [Sun, 5 Oct 2014 15:21:30 +0000 (15:21 +0000)]
Fix broken implementation of NOEXECSTACK flag for MIPS architectures for gcc-linaro-4.8

This patch ensures that libgcc_s.so properly honours the NOEXECSTACK flag
for MIPS builds, when gcc-linaro-4.8 or 4.9 is the chosen C compiler.

Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 42769

10 years agoath10k: update firmware to the latest version
Felix Fietkau [Sun, 5 Oct 2014 14:59:59 +0000 (14:59 +0000)]
ath10k: update firmware to the latest version

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

10 years agogcc: gcc 4.9.x disable libsanitize
Felix Fietkau [Sun, 5 Oct 2014 14:59:45 +0000 (14:59 +0000)]
gcc: gcc 4.9.x disable libsanitize

gcc 4.9.x enables building of libsanitize

- libsanitize needs some headers that are not available
  in uclibc (netrom/netrom.h)

according to buildroot project:
- build fail with musl
- need wordexp with uclibc which increases uclibc size
http://git.buildroot.net/buildroot/commit/?id=5f4d658d888b539de9a6247ae5b1a0999de5d4ec
http://git.buildroot.net/buildroot/commit/?id=554e29e267e6b36a0fd78c82cbad2c82d939eb7f

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

10 years agomac80211_hwsim: select 802.11n support for hostapd
Felix Fietkau [Sun, 5 Oct 2014 11:50:42 +0000 (11:50 +0000)]
mac80211_hwsim: select 802.11n support for hostapd

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