openwrt/staging/mkresin.git
10 years agoar71xx: add user-space support for the EnGenius EAP300 v2 board
Gabor Juhos [Mon, 14 Jul 2014 21:30:28 +0000 (21:30 +0000)]
ar71xx: add user-space support for the EnGenius EAP300 v2 board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41659

10 years agoar71xx: add kernel support for the EnGenius EAP300 v2 board
Gabor Juhos [Mon, 14 Jul 2014 21:30:26 +0000 (21:30 +0000)]
ar71xx: add kernel support for the EnGenius EAP300 v2 board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41658

10 years agotoolchain/gcc: pass proper flags for arm hard float build
Luka Perkov [Mon, 14 Jul 2014 20:28:53 +0000 (20:28 +0000)]
toolchain/gcc: pass proper flags for arm hard float build

This fixes eglibc build failure. More information about the bug can be found on
the link below.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61796

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

10 years agokernel: fix kmod-igb dependencies
John Crispin [Mon, 14 Jul 2014 18:43:12 +0000 (18:43 +0000)]
kernel: fix kmod-igb dependencies

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

10 years agolantiq: vgv7519 add missing wps label to dts
John Crispin [Mon, 14 Jul 2014 18:43:02 +0000 (18:43 +0000)]
lantiq: vgv7519 add missing wps label to dts

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

10 years agoramips: basic support for Planex MZK-750DHP
John Crispin [Mon, 14 Jul 2014 17:10:39 +0000 (17:10 +0000)]
ramips: basic support for Planex MZK-750DHP

some gpios are still missing.

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

10 years agoramips: squelch mdio debugging info on rt2880 ethernet
John Crispin [Mon, 14 Jul 2014 17:05:40 +0000 (17:05 +0000)]
ramips: squelch mdio debugging info on rt2880 ethernet

Use pr_debug rather than pr_info since it is only relevant
for debugging.

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 41653

10 years agoar71xx: add profile and build image for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:37 +0000 (16:03 +0000)]
ar71xx: add profile and build image for the Tube2H board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41652

10 years agopackage/uboot-envtools: add support for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:36 +0000 (16:03 +0000)]
package/uboot-envtools: add support for the Tube2H board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41651

10 years agoar71xx: add user-space support for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:35 +0000 (16:03 +0000)]
ar71xx: add user-space support for the Tube2H board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41650

10 years agoar71xx: add kernel support for the Tube2H board
Gabor Juhos [Mon, 14 Jul 2014 16:03:34 +0000 (16:03 +0000)]
ar71xx: add kernel support for the Tube2H board

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41649

10 years agomark the default WRT1900AC image "factory"
Imre Kaloz [Mon, 14 Jul 2014 15:02:38 +0000 (15:02 +0000)]
mark the default WRT1900AC image "factory"

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41648

10 years agohandle sysupgrade tar files on the WRT1900AC
Imre Kaloz [Mon, 14 Jul 2014 15:00:36 +0000 (15:00 +0000)]
handle sysupgrade tar files on the WRT1900AC

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41647

10 years agoallow overriding the kernel partition's name
Imre Kaloz [Mon, 14 Jul 2014 14:53:15 +0000 (14:53 +0000)]
allow overriding the kernel partition's name

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41646

10 years agokernel: remove stray " from igp module title
Jonas Gorski [Mon, 14 Jul 2014 14:39:00 +0000 (14:39 +0000)]
kernel: remove stray " from igp module title

Fixes #17108.

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

10 years agoodhcpd: disable packet socket if unneeded to preserve performance
Steven Barth [Mon, 14 Jul 2014 13:39:03 +0000 (13:39 +0000)]
odhcpd: disable packet socket if unneeded to preserve performance

SVN-Revision: 41644

10 years agoar71xx: fix ALFA NETWORK's name
Gabor Juhos [Mon, 14 Jul 2014 11:10:00 +0000 (11:10 +0000)]
ar71xx: fix ALFA NETWORK's name

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41643

10 years agoar71xx: add profile and build image for the EnGenius ESR900
Gabor Juhos [Mon, 14 Jul 2014 10:25:53 +0000 (10:25 +0000)]
ar71xx: add profile and build image for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5715/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41642

10 years agoar71xx: add user-space support for the EnGenius ESR900
Gabor Juhos [Mon, 14 Jul 2014 10:25:51 +0000 (10:25 +0000)]
ar71xx: add user-space support for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41641

10 years agoar71xx: add kernel support for the EnGenius ESR900
Gabor Juhos [Mon, 14 Jul 2014 10:25:51 +0000 (10:25 +0000)]
ar71xx: add kernel support for the EnGenius ESR900

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5714/
[juhosg:
  - drop nvram.c modifications,
  - create a separate kernel patch,
  - use ath79_setup_qca955x_eth_cfg helper,
  - merge esr900_{010,common}_setup functions,
  - statically init AR8327 pad configurations,
  - use pr_err instead of printk]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41640

10 years agobase-files: strip quotes from the MAC address in macaddr_canonicalize()
Gabor Juhos [Mon, 14 Jul 2014 10:25:49 +0000 (10:25 +0000)]
base-files: strip quotes from the MAC address in macaddr_canonicalize()

Extracted from http://patchwork.openwrt.org/patch/5716/

Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41639

10 years agolantiq: detect board in preinit state
John Crispin [Mon, 14 Jul 2014 07:38:52 +0000 (07:38 +0000)]
lantiq: detect board in preinit state

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

10 years agokernel: add igb kernel module
John Crispin [Mon, 14 Jul 2014 07:38:48 +0000 (07:38 +0000)]
kernel: add igb kernel module

Added igb kernel module which supports a variety of Intel GigE PCIe devices

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 41637

10 years agoar71xx: add support for nanostation m xw
John Crispin [Mon, 14 Jul 2014 07:38:43 +0000 (07:38 +0000)]
ar71xx: add support for nanostation m xw

SVN-Revision: 41636

10 years agoar8216: add new phyid 0x004dd043 (ar8326)
John Crispin [Mon, 14 Jul 2014 07:38:39 +0000 (07:38 +0000)]
ar8216: add new phyid 0x004dd043 (ar8326)

Used in ubiquity nanostation xw boards

SVN-Revision: 41635

10 years agoramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board
John Crispin [Mon, 14 Jul 2014 07:38:32 +0000 (07:38 +0000)]
ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board

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

10 years agoramips: extract mac address from flash on WHR-600D board
John Crispin [Mon, 14 Jul 2014 07:38:28 +0000 (07:38 +0000)]
ramips: extract mac address from flash on WHR-600D board

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

10 years agoramips: extract default lan_mac from eth0
John Crispin [Mon, 14 Jul 2014 07:38:23 +0000 (07:38 +0000)]
ramips: extract default lan_mac from eth0

The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.

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

10 years agouse the full boardname for the wrt1900ac image
Imre Kaloz [Sun, 13 Jul 2014 22:15:03 +0000 (22:15 +0000)]
use the full boardname for the wrt1900ac image

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41631

10 years agoadd sysupgrade support
Imre Kaloz [Sun, 13 Jul 2014 22:12:56 +0000 (22:12 +0000)]
add sysupgrade support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41630

10 years agoupdate wrt1900ac dts
Imre Kaloz [Sun, 13 Jul 2014 22:11:43 +0000 (22:11 +0000)]
update wrt1900ac dts

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41629

10 years agowe already have a get_magic_long() in common.sh for sysupgrade, don't break it
Imre Kaloz [Sun, 13 Jul 2014 20:51:17 +0000 (20:51 +0000)]
we already have a get_magic_long() in common.sh for sysupgrade, don't break it

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41628

10 years agoar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards
Gabor Juhos [Sun, 13 Jul 2014 19:44:00 +0000 (19:44 +0000)]
ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41627

10 years agoar71xx: add profile and build image for EnGenius ESR1750
Gabor Juhos [Sun, 13 Jul 2014 19:43:59 +0000 (19:43 +0000)]
ar71xx: add profile and build image for EnGenius ESR1750

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41626

10 years agoar71xx: add user-space support for EnGenius ESR1750
Gabor Juhos [Sun, 13 Jul 2014 19:43:58 +0000 (19:43 +0000)]
ar71xx: add user-space support for EnGenius ESR1750

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41625

10 years agoar71xx: add kernel support for EnGenius ESR1750
Gabor Juhos [Sun, 13 Jul 2014 19:43:57 +0000 (19:43 +0000)]
ar71xx: add kernel support for EnGenius ESR1750

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
[juhosg:
  - fix coding style in mach-esr1750.c,
  - rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41624

10 years agoar71xx: add a helper function for setting up ETH_CFG register on QCA955x
Gabor Juhos [Sun, 13 Jul 2014 19:43:56 +0000 (19:43 +0000)]
ar71xx: add a helper function for setting up ETH_CFG register on QCA955x

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5839/
[juhosg: fix coding style]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41623

10 years agoar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
Gabor Juhos [Sun, 13 Jul 2014 19:43:54 +0000 (19:43 +0000)]
ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5838/
[juhosg:
  - fix coding style,
  - check the first and the last character of the MAC string
    instead of using the strchr() function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41622

10 years agoar71xx: add profile and build image for GL.iNet v1
Gabor Juhos [Sun, 13 Jul 2014 18:21:09 +0000 (18:21 +0000)]
ar71xx: add profile and build image for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41621

10 years agofirmware-utils/mktplinkfw: add support for GL.iNet v1
Gabor Juhos [Sun, 13 Jul 2014 18:21:08 +0000 (18:21 +0000)]
firmware-utils/mktplinkfw: add support for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41620

10 years agoar71xx: add user-space support for GL.iNet v1
Gabor Juhos [Sun, 13 Jul 2014 18:21:06 +0000 (18:21 +0000)]
ar71xx: add user-space support for GL.iNet v1

Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5652/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41619

10 years agoar71xx: add kernel support for GL-Inet V1 boards/routers
Gabor Juhos [Sun, 13 Jul 2014 18:21:04 +0000 (18:21 +0000)]
ar71xx: add kernel support for GL-Inet V1 boards/routers

The GL-Connect GL.iNet v1 router is basically a TP-Link TL-WR703N with
more DRAM/Flash, 2x Ethernet ports and console/GPIO header in the same
small form-factor:
<http://www.gl-inet.com/w/?lang=en>

Moreover, the manufacturer is promoting the OpenWrt usage to replace
the original firmware and proposing patches against both AA and trunk:
<http://www.gl-inet.com/w/?p=398&lang=en>

This is a clean up of the original manufacturer GPLv2 patch by alzhao,
proposed to the list by Mark Janssen.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5273/
[juhosg:
  - remove user-space and image generation support, will be included
    from other patches,
  - fix coding style and drop superfluous comment in mach-gl-inet.c,
  - rename and refresh kernel patch,
  - adjust subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41618

10 years agoar71xx: Support for Mikrotik RB2011UiAS
Gabor Juhos [Sun, 13 Jul 2014 16:25:58 +0000 (16:25 +0000)]
ar71xx: Support for Mikrotik RB2011UiAS

The RB2011UiAS is almost exactly the same as the RB2011UAS, which is
already supported. Hardware-wise, it adds a passive power injector on
Eth10. Software-wise, Routerboot passes a different board name on the
kernel command line. Hence the need for a patch.

Not yet working:

* touchscreen: doesn't work on RB2011UAS either. The touchscreen itself
  seems to be driven by an ADS7843-compatible IC, but figuring out which
  GPIO pins it's connected to is work for the future.
* control of power injector: remains off. Probably also GPIO-controlled.

Signed-off-by: Soren Harward <stharward@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5841/
[juhosg: rename and refresh the kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41617

10 years agoar71xx: select correct Kconfig symbol in the Mikrotik SXT Lite patch
Gabor Juhos [Sun, 13 Jul 2014 16:25:57 +0000 (16:25 +0000)]
ar71xx: select correct Kconfig symbol in the Mikrotik SXT Lite patch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41616

10 years agoar71xx: refresh patches
Gabor Juhos [Sun, 13 Jul 2014 16:25:56 +0000 (16:25 +0000)]
ar71xx: refresh patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41615

10 years agokernel: sort Kconfig options in kernel configs
Gabor Juhos [Sun, 13 Jul 2014 16:25:54 +0000 (16:25 +0000)]
kernel: sort Kconfig options in kernel configs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 41614

10 years agobase-files: adjust the default netfilter tcp established connection timeout as per...
Felix Fietkau [Sun, 13 Jul 2014 10:24:34 +0000 (10:24 +0000)]
base-files: adjust the default netfilter tcp established connection timeout as per RFC 5382 (#17098)

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

10 years agoar71xx: add support for TP-LINK TL-WA860RE v1
John Crispin [Sun, 13 Jul 2014 10:03:41 +0000 (10:03 +0000)]
ar71xx: add support for TP-LINK TL-WA860RE v1

New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

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

10 years agolantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other...
John Crispin [Sun, 13 Jul 2014 07:17:54 +0000 (07:17 +0000)]
lantiq: configure uboot-envtools on BTHOMEHUBV2B and make it work correctly on other lantiq boards

Generate the configuration file for uboot-envtools
on BTHOMEHUBV2B. Adds the specific parameters for the
BTHOMEHUBV2B and also fixes an incorrect path which
would have affected other lantiq boards as well
(currently only the GIGASX76X).

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41597

10 years agoar71xx: added support for TL-WA830RE V2
John Crispin [Sun, 13 Jul 2014 07:12:22 +0000 (07:12 +0000)]
ar71xx: added support for TL-WA830RE V2

Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>
SVN-Revision: 41596

10 years agob43-tools: b43-fwsquash.py: manually remove LP-PHY 16 support
Hauke Mehrtens [Sat, 12 Jul 2014 15:41:50 +0000 (15:41 +0000)]
b43-tools: b43-fwsquash.py: manually remove LP-PHY 16 support

I have never seen a LP-PHY with core rev 16 or higher, but the ucode
will be included, because we need LP-PHY 13 and 15 and N-PHY core rev
16. Comment out the code for now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41595

10 years agobrcm47xx: deactivate ssb and old phy code for new devices
Hauke Mehrtens [Sat, 12 Jul 2014 15:39:31 +0000 (15:39 +0000)]
brcm47xx: deactivate ssb and old phy code for new devices

This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41594

10 years agomac80211: b43: backport b43 patches from wireless testing
Hauke Mehrtens [Sat, 12 Jul 2014 15:37:34 +0000 (15:37 +0000)]
mac80211: b43: backport b43 patches from wireless testing

This brings b43 up to wireless-testing/master master-2014-07-10

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41593

10 years agob43-tools: b43-fwsquash.py: add new firmware files
Hauke Mehrtens [Sat, 12 Jul 2014 14:56:21 +0000 (14:56 +0000)]
b43-tools: b43-fwsquash.py: add new firmware files

This adds support for new firmware files from b43 and selects the ucode
based on the PHY type now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41592

10 years agobrcm63xx: update irq affinity code to latest version
Jonas Gorski [Sat, 12 Jul 2014 12:31:47 +0000 (12:31 +0000)]
brcm63xx: update irq affinity code to latest version

Reduces code size a bit and sets affinity to boot cpu by default.

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

10 years agobrcm63xx: base-files: order board names alphabetically
Jonas Gorski [Sat, 12 Jul 2014 12:31:45 +0000 (12:31 +0000)]
brcm63xx: base-files: order board names alphabetically

Restore alphatetical order in uci-defaults scripts and brcm63xx.sh

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

10 years agobrcm63xx: Use leds script for Huawei HG556a and improve profile
Jonas Gorski [Sat, 12 Jul 2014 12:31:43 +0000 (12:31 +0000)]
brcm63xx: Use leds script for Huawei HG556a and improve profile

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

10 years agobrcm63xx: Fix HW553 support
Jonas Gorski [Sat, 12 Jul 2014 12:31:39 +0000 (12:31 +0000)]
brcm63xx: Fix HW553 support

- adsl and lan leds are swapped.
- internetkey is labeled as hspa.
- enable status led and reset button for failsafe.
- use new leds script.
- fix switch configuration.
- remove enet0 from board_info.
- add profile.

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

10 years agobrcm63xx: Use model name for Comtrend AR-5381u
Jonas Gorski [Sat, 12 Jul 2014 12:31:35 +0000 (12:31 +0000)]
brcm63xx: Use model name for Comtrend AR-5381u

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

10 years agobrcm63xx: Use model name for Comtrend AR-5387un
Jonas Gorski [Sat, 12 Jul 2014 12:31:33 +0000 (12:31 +0000)]
brcm63xx: Use model name for Comtrend AR-5387un

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

10 years agobrcm63xx: Use model name for ADB P.DG A4001N1
Jonas Gorski [Sat, 12 Jul 2014 12:31:30 +0000 (12:31 +0000)]
brcm63xx: Use model name for ADB P.DG A4001N1

This patch also makes use of the new leds script.

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

10 years agoramips: add support for WR8305RT board
John Crispin [Sat, 12 Jul 2014 06:54:03 +0000 (06:54 +0000)]
ramips: add support for WR8305RT board

Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41584

10 years agobrcm2708: Use uci-defaults for network config
John Crispin [Sat, 12 Jul 2014 06:50:21 +0000 (06:50 +0000)]
brcm2708: Use uci-defaults for network config

By using uci-defaults force_link is enabled, which fixes some link issues if ethernet cable isn't connected when LAN is initialized.

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

10 years agokernel: update 3.14 to 3.14.12
Luka Perkov [Fri, 11 Jul 2014 13:28:44 +0000 (13:28 +0000)]
kernel: update 3.14 to 3.14.12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

found 2 more

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Run lantiq_board_detect from lantiq_board_name and lantiq_board_model.

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

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41567

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

Enables SysupgradeNAND for BTHOMEHUBV2B.

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

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

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41566

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

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

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

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41565

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

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

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

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
SVN-Revision: 41564

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

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

Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 41563

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

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

Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 41562

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

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

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

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

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

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

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

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

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

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

Reported-by: Jeppe Ledet-Pedersen <jlp@steinwurf.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
SVN-Revision: 41557

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

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

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

10 years agoenable handling of the wan led on the WRT1900AC
Imre Kaloz [Thu, 10 Jul 2014 10:19:06 +0000 (10:19 +0000)]
enable handling of the wan led on the WRT1900AC

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 41555

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

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

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

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

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

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

Signed-off-by: Claudio Leite <leitec@staticky.com>
SVN-Revision: 41552

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41548

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

Ticket: #14406

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

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

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

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 41546