openwrt/staging/stintel.git
8 years agokernel: backport yet another cosmetic ubifs patch
Daniel Golle [Mon, 18 Jul 2016 22:27:59 +0000 (00:27 +0200)]
kernel: backport yet another cosmetic ubifs patch

On UBI-enabled devices using squashfs as their rootfs an error
message like
UBIFS error (ubi0:3 pid 1): init_constants_early: too few LEBs (12), min. is 17
was thrown while probe-mounting the rootfs which later on succeeds and
thus shouldn't alert the user.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agostrace: update to version 1.12
Hauke Mehrtens [Mon, 18 Jul 2016 21:12:08 +0000 (23:12 +0200)]
strace: update to version 1.12

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agooxnas: add kmod-ledtrig-timer to default package set
Daniel Golle [Mon, 18 Jul 2016 18:05:15 +0000 (20:05 +0200)]
oxnas: add kmod-ledtrig-timer to default package set

It is needed for preinit/failsafe indications to work.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: use DHCP by default on ethernet interface (lan)
Daniel Golle [Mon, 18 Jul 2016 17:37:43 +0000 (19:37 +0200)]
oxnas: use DHCP by default on ethernet interface (lan)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: sync kernel config-4.1 with changes made to config-4.4
Daniel Golle [Mon, 18 Jul 2016 16:59:53 +0000 (18:59 +0200)]
oxnas: sync kernel config-4.1 with changes made to config-4.4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: add DTB for Akitio devices in patches-4.1
Daniel Golle [Mon, 18 Jul 2016 16:45:03 +0000 (18:45 +0200)]
oxnas: add DTB for Akitio devices in patches-4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: revert to kernel 4.1
Daniel Golle [Mon, 18 Jul 2016 16:32:48 +0000 (18:32 +0200)]
oxnas: revert to kernel 4.1

A bug resulting in the NAND not being detected by newer kernels has
kept me sleepless for months and yet I wasn't able to discover the
cause.
Bring back patches and files for 4.1 until this has been resolved.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agosamba36: disable local browse master by default
Felix Fietkau [Mon, 18 Jul 2016 10:32:10 +0000 (12:32 +0200)]
samba36: disable local browse master by default

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: fix VLAN support in full wpad builds
Felix Fietkau [Mon, 18 Jul 2016 11:36:24 +0000 (13:36 +0200)]
hostapd: fix VLAN support in full wpad builds

Suppress -DCONFIG_NO_VLAN if CONFIG_IBSS_RSN is enabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: add patch for kernel compiler flags
Josh Bendavid [Wed, 13 Jul 2016 09:20:37 +0000 (11:20 +0200)]
ipq806x: add patch for kernel compiler flags

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agoipq806x: change compiler flags to arm cortex-a15
Josh Bendavid [Wed, 13 Jul 2016 09:20:19 +0000 (11:20 +0200)]
ipq806x: change compiler flags to arm cortex-a15

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agofeeds.conf: disable the targets feed by default
Felix Fietkau [Sun, 17 Jul 2016 14:57:53 +0000 (16:57 +0200)]
feeds.conf: disable the targets feed by default

It is not actively maintained anyway

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath10k: fix stack traces from a-msdu rx reporting issues
Felix Fietkau [Sun, 17 Jul 2016 10:52:42 +0000 (12:52 +0200)]
ath10k: fix stack traces from a-msdu rx reporting issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoscripts/getver.sh: fix older git versions from printing stuff to stdout
Jonas Gorski [Sat, 16 Jul 2016 14:57:05 +0000 (16:57 +0200)]
scripts/getver.sh: fix older git versions from printing stuff to stdout

Older git versions seem output the original argument to stdout if there
is no upstream, presumably because they try to do things with it
internally. This can be prevented by passing --verify to it, which
should be safe on newer git versions.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agoramips: mt7621: add missing kernel symbol
Jo-Philipp Wich [Sat, 16 Jul 2016 11:59:06 +0000 (13:59 +0200)]
ramips: mt7621: add missing kernel symbol

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoar71xx: add software transmit timestamp support
Stephen Walker [Thu, 7 Jul 2016 00:23:15 +0000 (20:23 -0400)]
ar71xx: add software transmit timestamp support

Add software transmit timestamp and ethtool (-T) timestamp support

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
8 years agoath9k: implement temperature compensation support for AR93xx and newer
Felix Fietkau [Mon, 11 Jul 2016 09:38:15 +0000 (11:38 +0200)]
ath9k: implement temperature compensation support for AR93xx and newer

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath9k: use external reset on AR91xx and QCA955x to improve stability
Felix Fietkau [Sat, 9 Jul 2016 13:31:35 +0000 (15:31 +0200)]
ath9k: use external reset on AR91xx and QCA955x to improve stability

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: define wmac reset function for QCA955x
Felix Fietkau [Sat, 9 Jul 2016 14:12:46 +0000 (16:12 +0200)]
ar71xx: define wmac reset function for QCA955x

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: fix append-dtb race when multiple devices use the same .dts
Felix Fietkau [Thu, 14 Jul 2016 11:51:49 +0000 (13:51 +0200)]
image.mk: fix append-dtb race when multiple devices use the same .dts

Call Image/BuildDTB unconditionally to keep things consistent

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agouclibc++: fix build with gcc 6.1.0, which defaults to using C++14 ABI
Felix Fietkau [Thu, 14 Jul 2016 11:02:48 +0000 (13:02 +0200)]
uclibc++: fix build with gcc 6.1.0, which defaults to using C++14 ABI

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gcc: add 6.1.0
Syrone Wong [Wed, 13 Jul 2016 13:57:05 +0000 (21:57 +0800)]
toolchain/gcc: add 6.1.0

-fno-plt and musl-libc patches already get upstream, then dropped
in GCC 6. Other patches are almost identical compared to GCC 5.4.

Compile and run tested on ar71xx/Qihoo C301 and
mvebu/Linksys WRT1900ac v1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
8 years agotoolchain: get rid of GCC_VERSION_5 config symbol
Felix Fietkau [Thu, 14 Jul 2016 10:08:03 +0000 (12:08 +0200)]
toolchain: get rid of GCC_VERSION_5 config symbol

Replace it with !GCC_VERSION_4_8 to be more future compatible

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gcc: clean up remaining references to the old linaro version
Felix Fietkau [Thu, 14 Jul 2016 10:06:39 +0000 (12:06 +0200)]
toolchain/gcc: clean up remaining references to the old linaro version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gdb: update to version 7.11.1
Felix Fietkau [Thu, 14 Jul 2016 09:51:10 +0000 (11:51 +0200)]
toolchain/gdb: update to version 7.11.1

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gdb: reorganize patch layout
Felix Fietkau [Thu, 14 Jul 2016 09:47:36 +0000 (11:47 +0200)]
toolchain/gdb: reorganize patch layout

Use ./patches and ./patches-arc instead of version dependent patches.
We should have only one main supported version (along with the special
case for arc).

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/binutils: add 2.26.1
Syrone Wong [Wed, 13 Jul 2016 13:57:02 +0000 (21:57 +0800)]
toolchain/binutils: add 2.26.1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes/cleanup]
8 years agotools/isl: bump to 0.17.1
Syrone Wong [Wed, 13 Jul 2016 13:57:01 +0000 (21:57 +0800)]
tools/isl: bump to 0.17.1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years agoath9k: fix spectral scan on AR9285 and newer AR92xx chipsets
Felix Fietkau [Mon, 11 Jul 2016 08:38:21 +0000 (10:38 +0200)]
ath9k: fix spectral scan on AR9285 and newer AR92xx chipsets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath9k: merge a fix for the minimum CCA threshold on 5 GHz
Felix Fietkau [Mon, 11 Jul 2016 08:38:01 +0000 (10:38 +0200)]
ath9k: merge a fix for the minimum CCA threshold on 5 GHz

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotarget.mk: change CPU_CFLAGS to better suit target CPUs
Felix Fietkau [Thu, 14 Jul 2016 13:43:49 +0000 (15:43 +0200)]
target.mk: change CPU_CFLAGS to better suit target CPUs

-march forces the compiler to generate generic code, whereas -mcpu
allows it to target the specific CPU variant and use instructions that
the generic architecture may not have

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotarget.mk: rework arm architecture level detection
Felix Fietkau [Thu, 14 Jul 2016 13:41:22 +0000 (15:41 +0200)]
target.mk: rework arm architecture level detection

Use kernel config as input instead of -march CFLAGS.
With this change, -march can be dropped and replaced with more specific
optimization flags for better code generation.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: clean up redundant code related to DEVICE_DTS
Felix Fietkau [Thu, 14 Jul 2016 11:58:23 +0000 (13:58 +0200)]
image.mk: clean up redundant code related to DEVICE_DTS

It is used by a core build template, so the variable should be
initialized and added to DEVICE_VARS in the core.
Same for DEVICE_DTS_DIR

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoscripts/getver.sh: stop relying on the reboot tag
Felix Fietkau [Thu, 14 Jul 2016 11:30:54 +0000 (13:30 +0200)]
scripts/getver.sh: stop relying on the reboot tag

It may not be present when cloning a staging tree or another fork

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomac80211: fix a harmless uninitialized variable warning
Felix Fietkau [Thu, 14 Jul 2016 11:31:53 +0000 (13:31 +0200)]
mac80211: fix a harmless uninitialized variable warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoadd ath10k-ct: Candela-Tech ath10k out-of-tree driver.
Ben Greear [Wed, 13 Jul 2016 15:16:26 +0000 (08:16 -0700)]
add ath10k-ct: Candela-Tech ath10k out-of-tree driver.

This lets one use the CT ath10k driver instead of the built-in
ath10k driver from the upstream kernel (or backports).

This should be a drop-in replacement, as well as enabling
better CT firmware support.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years agobcm53xx: image: don't suppress "mv" command echoing
Rafał Miłecki [Thu, 14 Jul 2016 09:31:26 +0000 (11:31 +0200)]
bcm53xx: image: don't suppress "mv" command echoing

We call all commands normally, with standard echoing. It's useful for
debugging with V=s. Don't make lzma compression an exception, it's a bit
confusing this way.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agobcm53xx: simplify image building code
Felix Fietkau [Fri, 8 Jul 2016 12:22:29 +0000 (14:22 +0200)]
bcm53xx: simplify image building code

Use append-ubi template for ubinize, remove mkfs override

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm53xx: remove duplicate template data from the image makefile
Felix Fietkau [Fri, 8 Jul 2016 12:16:16 +0000 (14:16 +0200)]
bcm53xx: remove duplicate template data from the image makefile

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: allow devices to override the -E 5 ubinize option
Felix Fietkau [Wed, 13 Jul 2016 15:23:00 +0000 (17:23 +0200)]
image: allow devices to override the -E 5 ubinize option

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage: clean up UBI related device variable definitions
Felix Fietkau [Wed, 13 Jul 2016 15:19:00 +0000 (17:19 +0200)]
image: clean up UBI related device variable definitions

Move UBI related variable export to core, since the variables are used
by a core Build/ template

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: remove obsolete UBINIZE_OPTS variables
Felix Fietkau [Wed, 13 Jul 2016 15:11:08 +0000 (17:11 +0200)]
ipq806x: remove obsolete UBINIZE_OPTS variables

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agombedtls: fix missing mbedtls_time_t bug in mbedtls 2.3.0
Hauke Mehrtens [Thu, 14 Jul 2016 07:15:29 +0000 (09:15 +0200)]
mbedtls: fix missing mbedtls_time_t bug in mbedtls 2.3.0

This backports a commit from mbedtls current git which adds missing
include for platform.h.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agomusl: remove sh3 workaround
Hauke Mehrtens [Wed, 13 Jul 2016 10:35:18 +0000 (12:35 +0200)]
musl: remove sh3 workaround

The GCC bug 67260 is fixed upstream now, remove this workaround.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agomusl: update musl to version 1.1.15
Hauke Mehrtens [Wed, 13 Jul 2016 10:24:34 +0000 (12:24 +0200)]
musl: update musl to version 1.1.15

The removed patch is already integrated in upstream musl.
Add one additional patch which fixes a regression on mips.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agogcc: update gcc to version 5.4.0
Hauke Mehrtens [Wed, 13 Jul 2016 10:19:42 +0000 (12:19 +0200)]
gcc: update gcc to version 5.4.0

The removed patches are already integrated in upstream gcc.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agombedtls: update to version 2.3.0
Hauke Mehrtens [Wed, 13 Jul 2016 15:45:15 +0000 (17:45 +0200)]
mbedtls: update to version 2.3.0

This fixes 3 minor security problems.
SSLv3 is deactivated by default now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agopolarssl: update to version 1.3.17
Hauke Mehrtens [Wed, 13 Jul 2016 15:44:26 +0000 (17:44 +0200)]
polarssl: update to version 1.3.17

This fixes 3 minor security problems.
SSLv3 is deactivated by default now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agodosfstools: fix build on OS X
Álvaro Fernández Rojas [Wed, 13 Jul 2016 17:13:49 +0000 (19:13 +0200)]
dosfstools: fix build on OS X

- avoid using tools/include/endian.h on OS X to fix compilation.
- remove unneeded Host/Compile definition.
- refresh patches.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agouboot-envtools: add support for jjPlus JWAP230
Piotr Dymacz [Fri, 8 Jul 2016 13:19:46 +0000 (15:19 +0200)]
uboot-envtools: add support for jjPlus JWAP230

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years agoar71xx: add support for jjPlus JWAP230
Piotr Dymacz [Fri, 8 Jul 2016 13:03:00 +0000 (15:03 +0200)]
ar71xx: add support for jjPlus JWAP230

jjPlus JWAP230 is based on Qualcomm Atheros QCA9558 + QCA8337.
Short specification:

- 720/600/200 MHz (CPU/DDR/AHB)
- 2x 10/100/1000 Mbps Ethernet
- 128 MB of RAM (DDR2)
- 16 MB of FLASH
- 3T3R 2.4 GHz with external PA (SST12LP15A), up to 28 dBm
- 3x MMCX connectors
- power input: 802.3at PoE or wide range DC (36-57 V)
- optional 802.3af PSE
- 1x mini-PCIe connector with PCIe, USB buses and SIM slot
- 1x mini-PCIe connector with PCIe bus
- 1x USB type-A connector
- 6x LED, 1x button (hardware reset)
- RS232 (MAX3223) and (E)JTAG headers

Default configuration:

- WAN on eth1 (RJ45 near LEDs with PoE input)
- LAN on eth0 (RJ45 near DC jack)
- left top LED set to be status LED
- all LEDs configurable form user space

Flash instruction (do it under U-Boot, using RS232):

1. tftp 0x80060000 lede-ar71xx-generic-jwap230-squashfs-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9f050000"
5. saveenv && reset

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years agokernel/mtd: add support for EON EN25Q128
Piotr Dymacz [Fri, 8 Jul 2016 11:11:42 +0000 (13:11 +0200)]
kernel/mtd: add support for EON EN25Q128

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years agouboot-envtools: add support for Wallys DR531
Piotr Dymacz [Sun, 19 Jun 2016 21:37:37 +0000 (23:37 +0200)]
uboot-envtools: add support for Wallys DR531

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years agoar71xx: add support for Wallys DR531
Piotr Dymacz [Thu, 16 Jun 2016 16:08:03 +0000 (18:08 +0200)]
ar71xx: add support for Wallys DR531

Wallys DR531 is based on Qualcomm Atheros QCA9531 v2.
Short specification:

- 550/400/200 MHz (CPU/DDR/AHB)
- 2x 10/100 Mbps Ethernet
- 64 MB of RAM (DDR2)
- 8 MB of FLASH
- 2T2R 2.4 GHz with external PA (SE2576L), up to 30 dBm
- 2x MMCX connectors
- mini-PCIe connector with PCIe/USB buses and SIM slot
- 7x LED, 1x button, 1x optional buzzer
- UART, (E)JTAG and LED headers

Default configuration:

- WAN on eth1 (RJ45 near DC jack)
- LAN on eth0 (RJ45 near button)
- S4 LED set to be status LED
- all LEDs configurable form user space
- button configured for reset

Flash instruction (do it under U-Boot, using UART):

1. tftp 0x80060000 lede-ar71xx-generic-dr531-squashfs-sysupgrade.bin
2. erase 0x9f050000 +$filesize
3. cp.b $fileaddr 0x9f050000 $filesize
4. setenv bootcmd "bootm 0x9f050000"
5. saveenv && reset

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
8 years agosdk: Allow to configure signed pacakge lists
Daniel Dickinson [Thu, 7 Jul 2016 10:45:36 +0000 (06:45 -0400)]
sdk: Allow to configure signed pacakge lists

Add option to enable signing packages lists in SDK.

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
8 years agoar71xx: fix build error when initramfs is disabled
Felix Fietkau [Wed, 13 Jul 2016 16:34:52 +0000 (18:34 +0200)]
ar71xx: fix build error when initramfs is disabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoscripts/getver.sh: fix one more wc -l call
Jonas Gorski [Wed, 13 Jul 2016 14:56:41 +0000 (16:56 +0200)]
scripts/getver.sh: fix one more wc -l call

The revision to hash conversion was missed when fixing up the script.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agoscripts/getver.sh: try to get branch/upstream automatically
Jonas Gorski [Sat, 25 Jun 2016 13:58:35 +0000 (15:58 +0200)]
scripts/getver.sh: try to get branch/upstream automatically

Instead of assuming master is the current branch and origin the right
upstream, try to get both dynamically. If the current branch is not
tracking any upstream, use the origin of the master branch.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agokernel: update kernel 4.4 to version 4.4.15
Hauke Mehrtens [Wed, 13 Jul 2016 10:07:08 +0000 (12:07 +0200)]
kernel: update kernel 4.4 to version 4.4.15

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoar71xx: fix a legacy image porting issue
Felix Fietkau [Wed, 13 Jul 2016 11:50:03 +0000 (13:50 +0200)]
ar71xx: fix a legacy image porting issue

Get rid of remaining IMAGE_PROFILE references and move template calls
the right place

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agox64: add legacy IDE, fix VirtualBox bug #84 and Fujitsu Futro S550-2
Lucian Cristian [Mon, 11 Jul 2016 23:00:16 +0000 (02:00 +0300)]
x64: add legacy IDE, fix VirtualBox bug #84 and Fujitsu Futro S550-2

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
8 years agomac80211: disable fq until performance issues have been found and fixed
Felix Fietkau [Tue, 12 Jul 2016 10:32:54 +0000 (12:32 +0200)]
mac80211: disable fq until performance issues have been found and fixed

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agonetifd: quote vendorid and hostname variables in dhcp script
Hans Dedecker [Tue, 12 Jul 2016 12:23:58 +0000 (14:23 +0200)]
netifd: quote vendorid and hostname variables in dhcp script

Quote hostname and vendorid variables in dhcp script so they can
hold strings having white spaces

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
8 years agoath9k: explicitly clear gpio chip owner
Felix Fietkau [Mon, 11 Jul 2016 13:53:28 +0000 (15:53 +0200)]
ath9k: explicitly clear gpio chip owner

The core can set it based on the parent device on register

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath9k: remove gpio chip owner field to fix module unloading
Felix Fietkau [Mon, 11 Jul 2016 13:46:19 +0000 (15:46 +0200)]
ath9k: remove gpio chip owner field to fix module unloading

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomac80211: fix a powersave issue in the intermediate queueing code
Felix Fietkau [Mon, 11 Jul 2016 13:10:58 +0000 (15:10 +0200)]
mac80211: fix a powersave issue in the intermediate queueing code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoRevert "ath9k: switch to using mac80211 intermediate software queues"
Felix Fietkau [Mon, 11 Jul 2016 12:54:41 +0000 (14:54 +0200)]
Revert "ath9k: switch to using mac80211 intermediate software queues"

This reverts commit 31e5ed4152c4aa826641b2db6b4245a03dd553b5.
I've noticed some weird powersave related issues with this commit.
Revert until they've been fixed.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: Add upstream fix for module loading
Alexey Brodkin [Fri, 8 Jul 2016 09:57:34 +0000 (12:57 +0300)]
kernel: Add upstream fix for module loading

Instead of disabling unwinding entirely this upstream patch
just disables generation of async unwind tables.

Once the patch in question lands in stable 4.4 tree this change
essentially must be removed (otherwise patch application will fail).

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agoRevert "linux: arc: disable kernel unwinding to fix modules loading"
Alexey Brodkin [Fri, 8 Jul 2016 09:57:33 +0000 (12:57 +0300)]
Revert "linux: arc: disable kernel unwinding to fix modules loading"

This reverts commit acd41539d630688e9891003c9b51cace3e113316.

There's a fix in upstream that will at some point land in 4.4 stable as
well so we'll get rid of this hack and with the next commit will apply
upstream fix.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agolinux/archs38: Add wireless AP capabilities similarly to axs101
Alexey Brodkin [Thu, 7 Jul 2016 10:23:33 +0000 (13:23 +0300)]
linux/archs38: Add wireless AP capabilities similarly to axs101

Now when ath9k-htc USB dongle works with axs103 in OHCI mode
quite fine adding corresponding features to default configuration.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
8 years agomtd-utils: merge ubi/nand-utils into one package
John Crispin [Wed, 6 Jul 2016 08:32:07 +0000 (10:32 +0200)]
mtd-utils: merge ubi/nand-utils into one package

Signed-off-by: John Crispin <john@phrozen.org>
8 years agosamba: update smb template socket options defaults
Kevin Darbyshire-Bryant [Wed, 6 Jul 2016 10:29:34 +0000 (11:29 +0100)]
samba: update smb template socket options defaults

Removed socket options = TCP_NODELAY IPTOS_LOWDELAY

TCP_NODELAY (disables Nagle algorithm) is default since samba2.
IPTOS_LOWDELAY sets DSCP 0x10 coding (CS2)
The alternate IPTOS_THROUGHPUT sets DSCP 0x08 coding (CS1)

CS1 is a scavenger class, whilst CS2 is more OAM/interactive
(SNMP,SSH,syslog)

Using CS2 is definitely an abuse of DSCP classification, CS1 less so
however even if the ISP takes note of DSCP codings having a default that
sets traffic to CS2 is wrong.  Better to use the default Best Effort
class.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoiftop: fix mac address display
Kevin Darbyshire-Bryant [Wed, 6 Jul 2016 19:42:38 +0000 (20:42 +0100)]
iftop: fix mac address display

iftop would display portions of mac address with large ffffff prefixes.
Make if_hw_addr type consistent.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoprocd: update to latest git HEAD
John Crispin [Wed, 6 Jul 2016 21:12:33 +0000 (23:12 +0200)]
procd: update to latest git HEAD

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoigmpproxy: logging options - make work & improve
Kevin Darbyshire-Bryant [Mon, 4 Jul 2016 15:15:24 +0000 (16:15 +0100)]
igmpproxy: logging options - make work & improve

Move logging command line option to uci:
option verbose [0]/1/2 - mono-syllabic/verbose/noisy

Previously handled as 'OPTIONS' in .init script however variable
was ignored so never worked.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years agoar71xx: Fix PowerCloud CAP324 No Cloud title
Daniel Dickinson [Thu, 7 Jul 2016 08:24:03 +0000 (04:24 -0400)]
ar71xx: Fix PowerCloud CAP324 No Cloud title

CAP324 nocloud was missing (No-Cloud) in description

Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
8 years agoramips: modify audio kernel module and add dma options
Michael Lee [Wed, 6 Jul 2016 03:17:20 +0000 (11:17 +0800)]
ramips: modify audio kernel module and add dma options

* add gdma and hsdma kernel modules
* i2s support all ramips targets except rt288x
* i2s need gdma to transfer data
* add simple audio kernel module. it support device tree binding

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: Add support for D-Link DCH-M225
Michael Lee [Mon, 2 May 2016 03:57:40 +0000 (11:57 +0800)]
ramips: Add support for D-Link DCH-M225

D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash,
3.5mm audio out support. but no ethernet and usb ports.
so you must default enable wifi.

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: add MT7620 pinmux bits for mdio as refclk
Michael Lee [Wed, 20 Apr 2016 06:30:13 +0000 (14:30 +0800)]
ramips: add MT7620 pinmux bits for mdio as refclk

The MT7620 uses a 2 bit wide configuration of the mdio.

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: enable MTD_SPLIT_SEAMA_FW for mt7620
Michael Lee [Mon, 2 May 2016 03:09:50 +0000 (11:09 +0800)]
ramips: enable MTD_SPLIT_SEAMA_FW for mt7620

Signed-off-by: Michael Lee <igvtee@gmail.com>
8 years agoramips: Add support for the NixCore X1 Module
L. D. Pinney [Thu, 7 Jul 2016 00:24:52 +0000 (19:24 -0500)]
ramips: Add support for the NixCore X1 Module

The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module.

http://nixcores.com/

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: Drew Gaylo <drew@nixcores.com>
8 years agoramips: fix partition size for RT5350F-OLINUXINO
Rene Treffer [Wed, 6 Jul 2016 08:32:19 +0000 (10:32 +0200)]
ramips: fix partition size for RT5350F-OLINUXINO

The partition size is wrong, leading to out-of-disk-space even on no/moderate use.

Upstream fix from vendor: https://github.com/OLIMEX/openwrt/commit/2f25eb57edc79d33c4810d185c193be4293c434a
Suggested fix for openwrt: https://dev.openwrt.org/ticket/20321

Signed-off-by: Rene Treffer <treffer@measite.de>
8 years agoramips: fix usb phy initialisation
John Crispin [Wed, 6 Jul 2016 19:42:54 +0000 (21:42 +0200)]
ramips: fix usb phy initialisation

this broke usb20 device detection.

Signed-off-by: John Crispin <john@phrozen.org>
8 years agoar71xx: base-files: remove the now unneeded 09_fix-seama-header
Yousong Zhou [Sat, 9 Jul 2016 12:16:00 +0000 (20:16 +0800)]
ar71xx: base-files: remove the now unneeded 09_fix-seama-header

It was intended as a workaround when jffs2 eof mark was included in the
checksum calculation in seama header.  When qihoo-c301 support was
introduced the board name was not inserted into the case list (because I
was not aware of it's existence), but the issue was fixed by excluding
the jffs2 marker as part of the checksum data

Now we are at it, drop it.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agoar71xx: image: fix typo in MTDPARTS def for qihoo-c301
Yousong Zhou [Sat, 9 Jul 2016 12:15:59 +0000 (20:15 +0800)]
ar71xx: image: fix typo in MTDPARTS def for qihoo-c301

Reported-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agoar71xx: image: seama: fix making factory and sysupgrade image
Yousong Zhou [Sat, 9 Jul 2016 12:15:58 +0000 (20:15 +0800)]
ar71xx: image: seama: fix making factory and sysupgrade image

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agotools: padjffs2: add option to output padding data to stdout
Yousong Zhou [Sat, 9 Jul 2016 12:15:57 +0000 (20:15 +0800)]
tools: padjffs2: add option to output padding data to stdout

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years agoath9k: switch to using mac80211 intermediate software queues
Felix Fietkau [Fri, 8 Jul 2016 16:08:01 +0000 (18:08 +0200)]
ath9k: switch to using mac80211 intermediate software queues

Provides a nice latency reduction under load, due to mac80211's fq_codel
support.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoscripts/getver.sh: fix revision number on BSD/MacOS
Felix Fietkau [Sat, 9 Jul 2016 18:00:50 +0000 (20:00 +0200)]
scripts/getver.sh: fix revision number on BSD/MacOS

Strip leading whitespace from wc -l output

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath10k: fix a compiler warning
Felix Fietkau [Sat, 9 Jul 2016 13:00:30 +0000 (15:00 +0200)]
ath10k: fix a compiler warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath10k: fix #if vs #ifdef in led trigger patch
Felix Fietkau [Fri, 8 Jul 2016 16:51:37 +0000 (18:51 +0200)]
ath10k: fix #if vs #ifdef in led trigger patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomac80211: make package ath9k-common hidden
Felix Fietkau [Sat, 9 Jul 2016 17:37:36 +0000 (19:37 +0200)]
mac80211: make package ath9k-common hidden

It cannot be selected independently of ath9k and ath9k-htc

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobrcm2708-gpu-fw: update to latest version
Álvaro Fernández Rojas [Fri, 8 Jul 2016 07:02:27 +0000 (09:02 +0200)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agobrcm2708: update linux 4.4 patches to latest version
Álvaro Fernández Rojas [Thu, 7 Jul 2016 07:22:07 +0000 (09:22 +0200)]
brcm2708: update linux 4.4 patches to latest version

As usual these patches were extracted and rebased from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years agoscripts/getver.sh: avoid use of git rev-list --count
Jonas Gorski [Sat, 9 Jul 2016 13:01:58 +0000 (15:01 +0200)]
scripts/getver.sh: avoid use of git rev-list --count

This is not a valid option in older git version, used in e.g. RHEL6.

Reported-by: Steven Haigh <netwiz@crc.id.au>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agobrcm63xx: fix image generation with offsets/blocksizes != 64K
Jonas Gorski [Sat, 9 Jul 2016 11:10:08 +0000 (13:10 +0200)]
brcm63xx: fix image generation with offsets/blocksizes != 64K

Defer the CFE_EXTRAs evaluation to allow overriden BLOCK_SIZE and
IMAGE_OFFSET take effect, and replace the unused IMAGE_SIZE with
IMAGE_OFFSET in DEVICE_VARS.

This fixes image generation for targets using different offsets or
blocksizes.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agobrcm63xx: fix CVG834G compatible string
Jonas Gorski [Wed, 29 Jun 2016 11:05:40 +0000 (13:05 +0200)]
brcm63xx: fix CVG834G compatible string

The CVG834G claimed to be a BCM6348, but is actually BCM3368. Since we
don't test against it, this was harmless.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agoscripts/getver.sh: improve revision output
Jonas Gorski [Sat, 25 Jun 2016 12:23:30 +0000 (14:23 +0200)]
scripts/getver.sh: improve revision output

Change the revision output to r<upstream-revision>+<local commits> so
it is easier to get the base revision (and see if there are local
commits).

Example:
$ ./scripts/getver.sh
r794+3
$

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agoscripts/getver.sh: allow conversion between git hash and revision
Jonas Gorski [Sun, 5 Jun 2016 18:45:25 +0000 (20:45 +0200)]
scripts/getver.sh: allow conversion between git hash and revision

Add code allowing easy conversion between git commit ids and revisions.

Example:

$ ./scripts/getver.sh
r792
$ ./scripts/getver.sh r123
b7fc892eb56b52d25bc00578af9d1ee058dcf6b3
$ ./scrpts/getver.sh b7fc892eb56b52d25bc00578af9d1ee058dcf6b3
r123

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agoscripts/getver.sh: simplify revision calculation
Jonas Gorski [Sat, 4 Jun 2016 16:35:21 +0000 (18:35 +0200)]
scripts/getver.sh: simplify revision calculation

Use git rev-list --count to get the revision number.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>