openwrt/staging/dedeckeh.git
8 years agobrcm2708: update 4.1 patches
John Crispin [Thu, 17 Dec 2015 09:29:22 +0000 (09:29 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

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

8 years agobrcm2708-gpu-fw: update to latest version
John Crispin [Thu, 17 Dec 2015 09:28:48 +0000 (09:28 +0000)]
brcm2708-gpu-fw: update to latest version

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

8 years agocns3xxx: add GW2393 Support
John Crispin [Thu, 17 Dec 2015 09:28:42 +0000 (09:28 +0000)]
cns3xxx: add GW2393 Support

Based off of the GW2391-C, but with the following changes:
 * 4x4in to 4x5in pcb
 * flat panel connector for LED signals

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47920

8 years agocns3xxx: Fix comment
John Crispin [Thu, 17 Dec 2015 09:28:35 +0000 (09:28 +0000)]
cns3xxx: Fix comment

Original comment was wrong about which pads are being set.

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

8 years agolantiq: fix ARV7519RW22 buttons
John Crispin [Thu, 17 Dec 2015 09:28:29 +0000 (09:28 +0000)]
lantiq: fix ARV7519RW22 buttons

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

8 years agolantiq: ltq-ptm: set carrier status
John Crispin [Thu, 17 Dec 2015 09:28:21 +0000 (09:28 +0000)]
lantiq: ltq-ptm: set carrier status

Principal purpose is to prevent the error message

  ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime

which is printed at least once per second to the serial console, if the
ptm interface is not in showtime, but a processes already sends
packages over that interface. This happens for adsl as well as vdsl
over ptm.

It's pppd which sends packages over the ptm device before in showtime.
As far as I can see, pppd is started unconditionally since netif can
not gather the link status of the ptm network interface.

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

8 years agolantiq: ltq-atm: set carrier status
John Crispin [Thu, 17 Dec 2015 09:28:10 +0000 (09:28 +0000)]
lantiq: ltq-atm: set carrier status

This prevents the unconditionally start of pppd since netifd will be
triggered if the device goes into showtime. The same applies to lost
showtime as well.

In compare to the ptm driver, this changeset isn't strictly required,
since the "not in showtime" message is limited to the debug loglevel.
But it reduces the amount of ppp related messages significant.

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

8 years agolantiq: add the TDW8980 5GHz led
John Crispin [Thu, 17 Dec 2015 09:28:01 +0000 (09:28 +0000)]
lantiq: add the TDW8980 5GHz led

Still unused, but u-boot doesn't take care of the led, which results in a
permanent switched on 5GHz LED.

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

8 years agolantiq: Fix LED handling.
John Crispin [Thu, 17 Dec 2015 09:27:52 +0000 (09:27 +0000)]
lantiq: Fix LED handling.

- Use common OpenWrt blink patterns instead of custom ones
- Add preinit_regular hook
- Handle the TDW89X0 that does not have a configurable power LED

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

8 years agolantiq: Configure LED polarity for TDW8970.
John Crispin [Thu, 17 Dec 2015 09:27:46 +0000 (09:27 +0000)]
lantiq: Configure LED polarity for TDW8970.

This patch configures the correct ath9k WLAN LED polarity for the TDW8970.

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

8 years agolantiq: Configure disabled WLAN bands for TDW89X0.
John Crispin [Thu, 17 Dec 2015 09:27:40 +0000 (09:27 +0000)]
lantiq: Configure disabled WLAN bands for TDW89X0.

The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family.

The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family.

This means that the chip for both routers is 2.4 GHz only.

Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition
(at least on my TDW8970).

So this patch disables the 5 GHz band.

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

8 years agolantiq: Allow configuration of ath9k disabled bands and LED polarity from the device...
John Crispin [Thu, 17 Dec 2015 09:27:31 +0000 (09:27 +0000)]
lantiq: Allow configuration of ath9k disabled bands and LED polarity from the device tree.

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

8 years agoath9k: Allow configuration of LED polarity in platform data.
John Crispin [Thu, 17 Dec 2015 09:27:24 +0000 (09:27 +0000)]
ath9k: Allow configuration of LED polarity in platform data.

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

8 years agoath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.
John Crispin [Thu, 17 Dec 2015 09:27:18 +0000 (09:27 +0000)]
ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.

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

8 years agoramips: mt7621: fix error message when initramfs is too large
John Crispin [Thu, 17 Dec 2015 09:27:09 +0000 (09:27 +0000)]
ramips: mt7621: fix error message when initramfs is too large

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47908

8 years agoramips: remove unwanted change from patch
John Crispin [Thu, 17 Dec 2015 09:27:00 +0000 (09:27 +0000)]
ramips: remove unwanted change from patch

Remove unwanted change to irq-mips-gic.c from mt7621 support patch

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47907

8 years agoramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet
John Crispin [Thu, 17 Dec 2015 09:26:51 +0000 (09:26 +0000)]
ramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet

Zero config value for default memory region means 'memory', not
not 'disabled' according to 'Control Registers Of The Coherency
Manager' manual.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47906

8 years agoramips: mt7621: undo mips-cm probe hack to not wipe out memory regions
John Crispin [Thu, 17 Dec 2015 09:26:43 +0000 (09:26 +0000)]
ramips: mt7621: undo mips-cm probe hack to not wipe out memory regions

Since now we hopefully setup memory regions properly we no longer need this hack.

Tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47905

8 years agoramips: mt7621: setup memory region for pcie controller memory
John Crispin [Thu, 17 Dec 2015 09:26:35 +0000 (09:26 +0000)]
ramips: mt7621: setup memory region for pcie controller memory

Only compile tested since I do not have any hardware with
devices on pcie bus.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47904

8 years agoramips: mt7621: add patch to setup CM memory region for palmbus
John Crispin [Thu, 17 Dec 2015 09:26:28 +0000 (09:26 +0000)]
ramips: mt7621: add patch to setup CM memory region for palmbus

This is tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47903

8 years agoralink: update config files to build the cleaned up ethernet driver
John Crispin [Thu, 17 Dec 2015 09:26:20 +0000 (09:26 +0000)]
ralink: update config files to build the cleaned up ethernet driver

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

8 years agoralink: drop dummy profile from mt7688
John Crispin [Thu, 17 Dec 2015 09:26:09 +0000 (09:26 +0000)]
ralink: drop dummy profile from mt7688

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

8 years agoralink: fixup devicetree files to work with new ethernet driver
John Crispin [Thu, 17 Dec 2015 09:25:57 +0000 (09:25 +0000)]
ralink: fixup devicetree files to work with new ethernet driver

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

8 years agoralink: drop old ethernet driver
John Crispin [Thu, 17 Dec 2015 09:25:30 +0000 (09:25 +0000)]
ralink: drop old ethernet driver

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

8 years agoralink: add reworked ethernet driver
John Crispin [Thu, 17 Dec 2015 09:25:24 +0000 (09:25 +0000)]
ralink: add reworked ethernet driver

update to the version of the driver that is on its way upstream

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

8 years agonetifd: update to the latest version, fixes more route table issues
Felix Fietkau [Wed, 16 Dec 2015 23:15:15 +0000 (23:15 +0000)]
netifd: update to the latest version, fixes more route table issues

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

8 years agobcm53xx: print bcm47xxpart buf to debug R8000 UBI problem
Rafał Miłecki [Wed, 16 Dec 2015 09:37:16 +0000 (09:37 +0000)]
bcm53xx: print bcm47xxpart buf to debug R8000 UBI problem

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

8 years agogeneric/4.4: bump to -rc5
Imre Kaloz [Tue, 15 Dec 2015 11:20:38 +0000 (11:20 +0000)]
generic/4.4: bump to -rc5

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

8 years agonetifd: update to the latest version, fixes reload issues on routing table changes
Felix Fietkau [Tue, 15 Dec 2015 11:01:47 +0000 (11:01 +0000)]
netifd: update to the latest version, fixes reload issues on routing table changes

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

8 years agoar71xx: clean up ethernet tx queue after reset, wake queues when done - fixes hangs...
Felix Fietkau [Mon, 14 Dec 2015 20:22:09 +0000 (20:22 +0000)]
ar71xx: clean up ethernet tx queue after reset, wake queues when done - fixes hangs reported in #18922

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

8 years agolinux-atm: add wrapper for br2684ctl to defer nasX device bringup
Felix Fietkau [Mon, 14 Dec 2015 11:02:12 +0000 (11:02 +0000)]
linux-atm: add wrapper for br2684ctl to defer nasX device bringup

Fixes a race condition on netifd device bringup.

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

8 years agoinclude/netfilter.mk: fix kmod-ipt-tee build with 4.3/4.4
Felix Fietkau [Sun, 13 Dec 2015 18:33:11 +0000 (18:33 +0000)]
include/netfilter.mk: fix kmod-ipt-tee build with 4.3/4.4

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

8 years agoar71xx: Update merakinand.sh to fix sysupgrade
Felix Fietkau [Sun, 13 Dec 2015 18:05:42 +0000 (18:05 +0000)]
ar71xx: Update merakinand.sh to fix sysupgrade

Remove reliance on /lib/upgrade/nand.sh as this is called by sysupgrade,
based on felix's comments at
https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/037963.html

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47889

8 years agolantiq: ltq-vdsl-app: cleanup Makefile
Felix Fietkau [Sun, 13 Dec 2015 17:04:12 +0000 (17:04 +0000)]
lantiq: ltq-vdsl-app: cleanup Makefile

- CONFIG_IFX_CLI is unused, couldn't find any reference to this config variable
- use disable-feature instead of enable-feature=no
- reorder configure args to have depending args together
- remove configure args which set the default value
- group enable-model and configure args which enable or disable features that
  are covered by the feature set

The config.log contains the same values as before. The vdsl_cpe_control binary
has the same checksum as before.

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

8 years agolantiq: ltq-vdsl-app: re-add showtime counters support
Felix Fietkau [Sun, 13 Dec 2015 17:04:02 +0000 (17:04 +0000)]
lantiq: ltq-vdsl-app: re-add showtime counters support

The typicial feature set doesn't include "DSL PM showtime counters support"
(INCLUDE_DSL_CPE_PM_SHOWTIME_COUNTERS). This feature provides the
vdsl_cpe_control command 'pmccsg', which is used by 'dsl_control status' to get
the line uptime.

The binary size increases to 103912 byte (+4256 byte) uncompressed.

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

8 years agobase-files: drop the now unnecessary dependency on opkg/host
Felix Fietkau [Sun, 13 Dec 2015 17:03:51 +0000 (17:03 +0000)]
base-files: drop the now unnecessary dependency on opkg/host

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

8 years agobuild: add opkg host dependency
Felix Fietkau [Sun, 13 Dec 2015 17:03:40 +0000 (17:03 +0000)]
build: add opkg host dependency

fixes a missing host opkg
found by: unselect base-files, opkg

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

8 years agoramips: add missing kernel symbols
John Crispin [Sat, 12 Dec 2015 21:01:02 +0000 (21:01 +0000)]
ramips: add missing kernel symbols

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

8 years agokernel: make kmod-crypto-rng depend on kmod-crypto-hash
Felix Fietkau [Sat, 12 Dec 2015 12:02:20 +0000 (12:02 +0000)]
kernel: make kmod-crypto-rng depend on kmod-crypto-hash

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

8 years agoar71xx: add rx/tx delay definitons for qca955x's MAC
Felix Fietkau [Sat, 12 Dec 2015 11:27:51 +0000 (11:27 +0000)]
ar71xx: add rx/tx delay definitons for qca955x's MAC

This patch adds the rx/tx register offsets for the qca955x SoC.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47882

8 years agoramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)
John Crispin [Sat, 12 Dec 2015 07:38:06 +0000 (07:38 +0000)]
ramips: add support for Ubiquiti EdgeRouter X (UBNT-ERX)

This router is based on MT7621 SoC, no wifi, no usb, nand.

Works:
* Boots.
* Ethernet.
* Switch.
* Button (reset).
* Flashing OpenWrt from stock firmware.
* Upgrading OpenWrt.

Doesn't work:
* No GPIO leds. All leds are controlled by switch,
  but stock firmware was able to control them.
* SoC has crypto engine but no open driver.
* SoC has nat acceleration, but no open driver.
* This router has 2MB spi flash soldered in but MT
  nand/spi drivers do not support pin sharing,
  so it is not accessable and disabled. Stock
  firmware could read it and it was empty.
* PoE out.

Router has serial pins populated. If looking at the top
of the router, then counting from Eth sockets pins go as:
'GND, RX, TX, GND'. 3.3v, 57600.

U-boot bootloader supports tftpboot, controlled from serial.
This router has two kernel partitions: 'live' and 'backup'.
They are swapped during flashing (on both stock and OpenWrt).
Active partition is controlled by a flag in a factory partition.
U-boot has custom command to switch active kernel partition.
Kernel partitions are 'bare flash' 3MB. Stock bootloader has
no UBI support. Stock rootfs is UBIFS.

Flashing procedure.
Stock firmware uses custom kernel patch to mount squashfs
from a file that is located on UBIFS volume. This makes wiping
out this volume from within stock firmware difficult.
Instead this patch builds image that is flashable by stock firmware
and contains initrams image (with minimal set of packages
to fit into kernel partition). Once this is flashed one can reboot
into initramfs OpenWrt and use sysupgrade to flash OpenWrt including
rootfs into nand.
Note: factory image is only built if initramfs image is enabled.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47881

8 years agoramips: add support for Spansion S34ML0[24]G2 flash
John Crispin [Sat, 12 Dec 2015 07:37:53 +0000 (07:37 +0000)]
ramips: add support for Spansion S34ML0[24]G2 flash

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

8 years agoprocd: add 'platform_nand_pre_upgrade'
John Crispin [Sat, 12 Dec 2015 07:37:45 +0000 (07:37 +0000)]
procd: add 'platform_nand_pre_upgrade'

Add 'platform_nand_pre_upgrade' callback to allow platform specific
preparation right before flashinng, when already in ramdisk.

Example uses might be setting correct values for CI_{KERNPART,UBIPART}.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47879

8 years agoar71xx: add support for Cisco's MR18
John Crispin [Sat, 12 Dec 2015 06:42:29 +0000 (06:42 +0000)]
ar71xx: add support for Cisco's MR18

This patch adds support for Cisco's MR18.
Detailed instructions for the flashing the device can
be found in the OpenWrt forum thread:
<https://forum.openwrt.org/viewtopic.php?id=59248>

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47878

8 years agoralink: remove stray "+" from ethernet driver
John Crispin [Sat, 12 Dec 2015 06:42:17 +0000 (06:42 +0000)]
ralink: remove stray "+" from ethernet driver

this is what you get if you manually apply patches with c&p

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

8 years agoramips: move partition definitions out of mt7621.dtsi file
John Crispin [Sat, 12 Dec 2015 06:42:11 +0000 (06:42 +0000)]
ramips: move partition definitions out of mt7621.dtsi file

Partitions defined in parent dtsi cannot be undefined in children.
This moves partitions defined in mt7621.dtsi into board's device tree.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47876

8 years agoramips: use gic timer as clocksource for mt7621
John Crispin [Sat, 12 Dec 2015 06:42:05 +0000 (06:42 +0000)]
ramips: use gic timer as clocksource for mt7621

* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47875

8 years agoar71xx: reorganize target patches/files to make it possible to add boards without...
Felix Fietkau [Fri, 11 Dec 2015 21:12:14 +0000 (21:12 +0000)]
ar71xx: reorganize target patches/files to make it possible to add boards without adding patch files

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

8 years agoar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use...
Felix Fietkau [Fri, 11 Dec 2015 21:12:04 +0000 (21:12 +0000)]
ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use MAC1 for wlan

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

8 years agoRevert "ramips: use gic timer as clocksource for mt7621"
Felix Fietkau [Fri, 11 Dec 2015 19:22:15 +0000 (19:22 +0000)]
Revert "ramips: use gic timer as clocksource for mt7621"

This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7.

SVN-Revision: 47872

8 years agoar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address
Felix Fietkau [Fri, 11 Dec 2015 19:21:59 +0000 (19:21 +0000)]
ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address

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

8 years agokernel: crypto-aead depends on crypto-null in 4.3 as well
Felix Fietkau [Fri, 11 Dec 2015 19:21:49 +0000 (19:21 +0000)]
kernel: crypto-aead depends on crypto-null in 4.3 as well

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

8 years agotools/squashfs4: refresh patches
Felix Fietkau [Fri, 11 Dec 2015 19:21:43 +0000 (19:21 +0000)]
tools/squashfs4: refresh patches

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

8 years agobuild: for refresh, override HOST_QUILT like QUILT
Felix Fietkau [Fri, 11 Dec 2015 19:21:29 +0000 (19:21 +0000)]
build: for refresh, override HOST_QUILT like QUILT

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

8 years agoall: drop old uci-defaults.sh
Jo-Philipp Wich [Fri, 11 Dec 2015 15:26:06 +0000 (15:26 +0000)]
all: drop old uci-defaults.sh

Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

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

8 years agobrcm47xx: migrate network config to board detection framework
Jo-Philipp Wich [Fri, 11 Dec 2015 15:19:43 +0000 (15:19 +0000)]
brcm47xx: migrate network config to board detection framework

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

8 years agofirmware-utils: fix various compiler warnings
John Crispin [Fri, 11 Dec 2015 15:09:30 +0000 (15:09 +0000)]
firmware-utils: fix various compiler warnings

mostly implicit defines due to missing includes plus one const that
shouldn't be one.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47865

8 years agomktplinkfw: add missing exceeding bytes info to logs
John Crispin [Fri, 11 Dec 2015 15:08:44 +0000 (15:08 +0000)]
mktplinkfw: add missing exceeding bytes info to logs

Add the info on exceeding bytes also to the remaining log messages.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
SVN-Revision: 47864

8 years agouboot-lantiq: fix build with gcc5
John Crispin [Fri, 11 Dec 2015 15:08:34 +0000 (15:08 +0000)]
uboot-lantiq: fix build with gcc5

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

8 years agoprocd: update procd.sh to support new ujail options
John Crispin [Fri, 11 Dec 2015 15:08:19 +0000 (15:08 +0000)]
procd: update procd.sh to support new ujail options

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 47862

8 years agoprocd: bump to latest git HEAD
John Crispin [Fri, 11 Dec 2015 15:08:05 +0000 (15:08 +0000)]
procd: bump to latest git HEAD

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

8 years agoOpenSSL: Added source/old to PKG_SOURCE_URL
John Crispin [Fri, 11 Dec 2015 15:07:40 +0000 (15:07 +0000)]
OpenSSL: Added source/old to PKG_SOURCE_URL

OpenSSL moves old versions of the library from
http://www.openssl.org/source/ to
http://www.openssl.org/source/old/$version/ breaking the old links.
That behavior breaks the OpenWRT-build every time OpenSSL releases
a new version.

This patch adds http://www.openssl.org/source/old/$version/ to the
PKG_SOURCE_URL of OpenSSL to avoid breaking the build whenever
OpenSSL releases a new version.

Signed-off-by: Kevin Kirsch <ranlvor@starletp9.de>
Reviewed-by: Alexander Dahl <post@lespocky.de>
SVN-Revision: 47860

8 years agotools/squashfs: refresh patches
John Crispin [Fri, 11 Dec 2015 15:07:28 +0000 (15:07 +0000)]
tools/squashfs: refresh patches

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

8 years agotools/squashfs: add argument -fixed-time to set all timestamps
John Crispin [Fri, 11 Dec 2015 15:07:15 +0000 (15:07 +0000)]
tools/squashfs: add argument -fixed-time to set all timestamps

-fixed-time <timestamp> set mkfs-timestamp and file-mtime to this timestamp.
Reproducible builds requires the removal of all timestamp or setting all to a specific one.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47858

8 years agodnsmasq: Add option "--all-servers"
John Crispin [Fri, 11 Dec 2015 15:06:59 +0000 (15:06 +0000)]
dnsmasq: Add option "--all-servers"

Add the option "--all-servers" which forces dnsmasq to send all
queries to all servers and then take the first answer.

Signed-off-by: Andréas Gustafsson <gurgalof@gmail.com>
SVN-Revision: 47857

8 years agofirmware-utils mkmerakifw: firmware generator for MR18
John Crispin [Fri, 11 Dec 2015 15:06:45 +0000 (15:06 +0000)]
firmware-utils mkmerakifw: firmware generator for MR18

This patch adds firmware generation tool for Cisco's MR18

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
SVN-Revision: 47856

8 years agobase-file: remove /tmp/.jail (now useless)
John Crispin [Fri, 11 Dec 2015 15:06:31 +0000 (15:06 +0000)]
base-file: remove /tmp/.jail (now useless)

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 47855

8 years agobase-files: use max_brightness to set LED
John Crispin [Fri, 11 Dec 2015 15:06:11 +0000 (15:06 +0000)]
base-files: use max_brightness to set LED

LEDs which are controlled by a PWM need to use the supplied
max_brightness instead. Otherwise they might appear to be
very dim / broken.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47854

8 years agoncurses: Fix build of libncursew
John Crispin [Fri, 11 Dec 2015 15:06:01 +0000 (15:06 +0000)]
ncurses: Fix build of libncursew

Packages using libncursesw can fail to build if both libncurses and libncursesw
are not installed. Currently the ncurses.h file is installed in "usr/include/ncursesw"
directory and includes other .h files in the "usr/include" directory incorrectly.
For example: Including <ncursesw/ncurses.h> fails due to these references. These build
changes will set the correct include paths within the developer includes.

Packages that expect ncurses.h (or curses.h) in the default "usr/include" path fail
even when expecting to build with libncursesw and will need to be fixed as well. However,
they cannot be fixed until this patch is applied.

Signed-off-by: Ted Hess <thess@kitschensync.net>
SVN-Revision: 47853

8 years agokernel: Add dummy sound driver
John Crispin [Fri, 11 Dec 2015 15:05:53 +0000 (15:05 +0000)]
kernel: Add dummy sound driver

Useful when using sound players that can send to icecast, etc. without any sound device attached.

Signed-off-by: Ted Hess <thess@kitschensync.net>
SVN-Revision: 47852

8 years agolantiq: get rid of ltq-vdsl-fw
John Crispin [Fri, 11 Dec 2015 15:05:40 +0000 (15:05 +0000)]
lantiq: get rid of ltq-vdsl-fw

Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to
download a dsl firmware at runtime.

Signed-off-by: Andre Heider <a.heider@gmail.com>
SVN-Revision: 47851

8 years agolantiq: fix led setup after switch to uci-defaults-new.sh
John Crispin [Fri, 11 Dec 2015 15:05:30 +0000 (15:05 +0000)]
lantiq: fix led setup after switch to uci-defaults-new.sh

The switch to uci-defaults-new.sh revealed a bug in the former used
uci-defaults.sh, which failed to add leds with colons in the led name.

This bug isn't any longer present in uci-defaults-new.sh and therefore
all via DT defined leds will be added to /etc/config/system with their initial
on/off state, regardless whether they are already added by the board specific
led mappings.

This results for a BTHOMEHUBV5A into the following led configuration:

- soc:blue:power is added as led_power with the initial state "switched on"
- soc:blue:power is added as led_soc_blue_power with the initial state "switched off"

With the final result of a switched off power led after boot.

The only led that needs to be added is the BTHOMEHUBV5A specific dimmed led.

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

8 years agoar71xx: build image for TL-WR710N v2.1
John Crispin [Fri, 11 Dec 2015 15:05:20 +0000 (15:05 +0000)]
ar71xx: build image for TL-WR710N v2.1

This patch just extends target/linux/ar71xx/image/Makefile to build
images also for version 2.1 of TL-WR710N
patch against the latest git

Signed off by: Norbert Wegener <nw@wegener-net.de>

SVN-Revision: 47849

8 years agoar71xx: add LED driver NU801
John Crispin [Fri, 11 Dec 2015 15:04:57 +0000 (15:04 +0000)]
ar71xx: add LED driver NU801

The MR18 uses a 3-channel 16-bit PWM Constant Current Driver
for its status LED.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47848

8 years agoar71xx: Add support for Wallys DR344
John Crispin [Fri, 11 Dec 2015 15:04:47 +0000 (15:04 +0000)]
ar71xx: Add support for Wallys DR344

This patch is for Wallys DR344 support under OpenWRT

Signed-off-by: Philippe Duchein <wireless-dev@duchein.net>
SVN-Revision: 47847

8 years agoar71xx: image for AP121/16M
John Crispin [Fri, 11 Dec 2015 15:04:22 +0000 (15:04 +0000)]
ar71xx: image for AP121/16M

Build image for the AP121 reference board with 16MB flash.

Signed-off-by: Norbert Wegener <nw@wegener-net.de>
SVN-Revision: 47846

8 years agoramips: add additional support for MQmaker WiTi board
John Crispin [Fri, 11 Dec 2015 15:04:13 +0000 (15:04 +0000)]
ramips: add additional support for MQmaker WiTi board

The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram,
2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and
one 5 ghz antenna.

This is the 6th submission that adds support for XHCI in the device tree
file, along with switching the location of the 2 radio's and addition of
the kmod-i2c-mt7621 in the default packages of the profile.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
SVN-Revision: 47845

8 years agoramips: Fix support for PBR-M1 board
John Crispin [Fri, 11 Dec 2015 15:03:50 +0000 (15:03 +0000)]
ramips: Fix support for PBR-M1 board

The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it.

The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>
SVN-Revision: 47844

8 years agoramips: use gic timer as clocksource for mt7621
John Crispin [Fri, 11 Dec 2015 15:03:39 +0000 (15:03 +0000)]
ramips: use gic timer as clocksource for mt7621

* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47843

8 years agoramips: enable CPS for mt7621
John Crispin [Fri, 11 Dec 2015 15:03:27 +0000 (15:03 +0000)]
ramips: enable CPS for mt7621

Enables CPS multiprocessing instead ob obsoleted CMP for mt7621.

This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx:
* iperf shows only 50Mbits on direct gigabit connection to desktop,
* ping times jump to 5-6ms to dorectly connected desktop
* /proc/interrupts shows spurious interrups (ERR)

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47842

8 years agoramips: irq handlers do not get irq in 4.3 kernel, update patches
John Crispin [Fri, 11 Dec 2015 15:03:16 +0000 (15:03 +0000)]
ramips: irq handlers do not get irq in 4.3 kernel, update patches

This resolves compilation warnings like this:
drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_probe':
drivers/gpio/gpio-mt7621.c:328:46: warning: passing argument 2 of 'irq_set_chained_handler' from incompatible pointer type [-Wincompatible-pointer-types]
   irq_set_chained_handler(mediatek_gpio_irq, mediatek_gpio_irq_handler);

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47841

8 years agoramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values
John Crispin [Fri, 11 Dec 2015 15:03:08 +0000 (15:03 +0000)]
ramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values

Update CM_GCR_CPC_BASE_CPCBASE_{MSK,SHF} to match datasheet

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47840

8 years agoramips: fold gic patch into mt7621 support patch
John Crispin [Fri, 11 Dec 2015 15:02:55 +0000 (15:02 +0000)]
ramips: fold gic patch into mt7621 support patch

All gic patch was doing is removing code added by mt7621 support patch.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47839

8 years agoramips: backport series of patches that ensure GCRs of other CPUs are accessed properly
John Crispin [Fri, 11 Dec 2015 15:02:50 +0000 (15:02 +0000)]
ramips: backport series of patches that ensure GCRs of other CPUs are accessed properly

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47838

8 years agoramips: backport batch fixing illegal instruction when booting secodnary CPUs in...
John Crispin [Fri, 11 Dec 2015 15:02:36 +0000 (15:02 +0000)]
ramips: backport batch fixing illegal instruction when booting secodnary CPUs in CPS mode

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47837

8 years agoramips: mt7621: use symbolic names of gic interrupt settings
John Crispin [Fri, 11 Dec 2015 15:02:13 +0000 (15:02 +0000)]
ramips: mt7621: use symbolic names of gic interrupt settings

This also adds dts nodes for cpc and mc for documentation purposes

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47836

8 years agomvebu: drop support for old kernels
Imre Kaloz [Fri, 11 Dec 2015 13:38:21 +0000 (13:38 +0000)]
mvebu: drop support for old kernels

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

8 years agomvebu: armada-385-rd has been renamed to armada-388-rd upstream
Imre Kaloz [Fri, 11 Dec 2015 13:36:30 +0000 (13:36 +0000)]
mvebu: armada-385-rd has been renamed to armada-388-rd upstream

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

8 years agosunxi: fix Lamobo Banana Pi R1 detection
Jo-Philipp Wich [Fri, 11 Dec 2015 11:00:14 +0000 (11:00 +0000)]
sunxi: fix Lamobo Banana Pi R1 detection

Change the case switch to reflect the value used in the corresponding
device tree file.

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

8 years agomvebu: update and fixup 4.4 patches
Imre Kaloz [Thu, 10 Dec 2015 20:53:02 +0000 (20:53 +0000)]
mvebu: update and fixup 4.4 patches

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

8 years agoralink: bump to the target to v4.3
John Crispin [Thu, 10 Dec 2015 19:06:32 +0000 (19:06 +0000)]
ralink: bump to the target to v4.3

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

8 years agobr2684ctl: add atm-bridge disabled option
Felix Fietkau [Thu, 10 Dec 2015 14:40:55 +0000 (14:40 +0000)]
br2684ctl: add atm-bridge disabled option

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

8 years agobr2684ctl: fix config reload trigger
Felix Fietkau [Thu, 10 Dec 2015 14:40:19 +0000 (14:40 +0000)]
br2684ctl: fix config reload trigger

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

8 years agonetifd: ifup-shellscript - fix wrong usage of 'local'
Felix Fietkau [Thu, 10 Dec 2015 12:53:30 +0000 (12:53 +0000)]
netifd: ifup-shellscript - fix wrong usage of 'local'

this error was not visible until recent bump to
busybox 1.24.1 stable which introduced a warning message
when keyword 'local' is not used with a shell-function.

this does not change behavior and is a cosmetic cleanup.
fixes the following output:

root@box:~ ifup <interface>
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 362: not in a function
/sbin/ifup: local: line 1: not in a function

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

8 years agokernel/modules: fix crypto API RNG for >=4.2
Felix Fietkau [Thu, 10 Dec 2015 12:40:55 +0000 (12:40 +0000)]
kernel/modules: fix crypto API RNG for >=4.2

Since kernel 4.2, DRBG is the default crypto API RNG, replacing krng. As
DRBG is not enabled, there is no crypto API RNG available when running
kernel 4.2 or later. Because of this, IPsec SAs fail to install. In
strongSwan, this results in a vague error that is difficult to debug:

received netlink error: No such file or directory (2)

Solve this by adding DRBG to the kmod-crypto-rng package. As enabling
DRBG in the kernel config also enables the Jitterentropy RNG, include it
in kmod-crypto-rng instead of having it in a separate package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47827

8 years agopopt: remove xgettext prereq check, it is not necessary
Felix Fietkau [Thu, 10 Dec 2015 12:40:19 +0000 (12:40 +0000)]
popt: remove xgettext prereq check, it is not necessary

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

8 years agoscripts/download.pl: cleanup GNOME source location definitions
Felix Fietkau [Thu, 10 Dec 2015 12:40:08 +0000 (12:40 +0000)]
scripts/download.pl: cleanup GNOME source location definitions

Cleanup the @GNOME source download location definitions:
* remove dead and stale mirrors
* adjust to changes at directory structure
* add one new working mirror

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

8 years agotools/mm-macros: update to 0.9.9
Felix Fietkau [Thu, 10 Dec 2015 12:39:51 +0000 (12:39 +0000)]
tools/mm-macros: update to 0.9.9

Update mm-macros (mm-common) to 0.9.9.
Switch to use the @GNOME source download location.

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

8 years agobuild: fix arch used during dts compilation
Felix Fietkau [Thu, 10 Dec 2015 12:39:32 +0000 (12:39 +0000)]
build: fix arch used during dts compilation

Use kernel arch for dts compilation.
Also use Image/BuildDTB to build dts for ramips.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47823

8 years agomac80211: use the linux-firmware tree from 2015-12-07
Imre Kaloz [Thu, 10 Dec 2015 12:17:24 +0000 (12:17 +0000)]
mac80211: use the linux-firmware tree from 2015-12-07

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