openwrt/staging/robimarko.git
9 years agomt76: update to the latest version, fixes some aggregation issues
Felix Fietkau [Sun, 27 Sep 2015 22:39:53 +0000 (22:39 +0000)]
mt76: update to the latest version, fixes some aggregation issues

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

9 years agouml: fix build with gcc 5
Felix Fietkau [Sun, 27 Sep 2015 17:29:48 +0000 (17:29 +0000)]
uml: fix build with gcc 5

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

9 years agouml: update to linux 4.1
Felix Fietkau [Sun, 27 Sep 2015 17:29:38 +0000 (17:29 +0000)]
uml: update to linux 4.1

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

9 years agomac80211: backport patch setting TX power in interface info
Rafał Miłecki [Sun, 27 Sep 2015 10:25:27 +0000 (10:25 +0000)]
mac80211: backport patch setting TX power in interface info

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

9 years agobrcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch
Rafał Miłecki [Sun, 27 Sep 2015 06:53:12 +0000 (06:53 +0000)]
brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch

These were initially commited in r9285.

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

9 years agobrcm47xx: describe 160-kmap_coherent.patch
Rafał Miłecki [Sun, 27 Sep 2015 06:24:33 +0000 (06:24 +0000)]
brcm47xx: describe 160-kmap_coherent.patch

It was initially commited in r6642.

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

9 years agobrcm47xx: describe 610-pci_ide_fix.patch
Rafał Miłecki [Sun, 27 Sep 2015 06:05:53 +0000 (06:05 +0000)]
brcm47xx: describe 610-pci_ide_fix.patch

It was initially commited in r20924.

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

9 years agoigmpproxy: fix spurious restarts on interface events, pass used netdevs to procd...
Felix Fietkau [Sat, 26 Sep 2015 23:27:23 +0000 (23:27 +0000)]
igmpproxy: fix spurious restarts on interface events, pass used netdevs to procd instead

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

9 years agonetifd: update to the latest version, fixes spurious client isolation in unbridged...
Felix Fietkau [Sat, 26 Sep 2015 23:18:40 +0000 (23:18 +0000)]
netifd: update to the latest version, fixes spurious client isolation in unbridged AP configurations (#20574)

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

9 years agobcm53xx: add early support for Linksys EA6300 V1
Rafał Miłecki [Sat, 26 Sep 2015 22:57:33 +0000 (22:57 +0000)]
bcm53xx: add early support for Linksys EA6300 V1

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

9 years agobison: replace the yacc script with one that does not hardcode the path (fixes #20605)
Felix Fietkau [Sat, 26 Sep 2015 21:10:48 +0000 (21:10 +0000)]
bison: replace the yacc script with one that does not hardcode the path (fixes #20605)

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

9 years agotools/patch: enable parallel build
Felix Fietkau [Sat, 26 Sep 2015 21:10:37 +0000 (21:10 +0000)]
tools/patch: enable parallel build

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

9 years agofirewall: allow DHCPv6 traffic to/from fc00::/6 instead of fe80::/10
Jo-Philipp Wich [Fri, 25 Sep 2015 08:41:12 +0000 (08:41 +0000)]
firewall: allow DHCPv6 traffic to/from fc00::/6 instead of fe80::/10

There is no RFC requirement that DHCPv6 servers must reply with a link local
address and some ISP servers in the wild appear to using addresses in the ULA
range to send DHCPv6 offers.

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

9 years agokernel: crypto: fix ubsec_ssb.c compilation with 4.0+
Rafał Miłecki [Fri, 25 Sep 2015 04:22:13 +0000 (04:22 +0000)]
kernel: crypto: fix ubsec_ssb.c compilation with 4.0+

SSB_DEVTABLE_END was removed in 4.0 by upstream commit 673e2baaa6d9
("treewide: Remove unnecessary SSB_DEVTABLE_END macro").

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

9 years agokernel: backport some SPI layer improvements from 4.1 to 3.18, significantly improves...
Felix Fietkau [Thu, 24 Sep 2015 16:07:10 +0000 (16:07 +0000)]
kernel: backport some SPI layer improvements from 4.1 to 3.18, significantly improves flash speed on ramips

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

9 years agomt76: update to the latest version, adds performance improvements
Felix Fietkau [Thu, 24 Sep 2015 15:39:45 +0000 (15:39 +0000)]
mt76: update to the latest version, adds performance improvements

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

9 years agoath9k: fix handling of tx headroom for padding (fixes #20556)
Felix Fietkau [Thu, 24 Sep 2015 15:02:15 +0000 (15:02 +0000)]
ath9k: fix handling of tx headroom for padding (fixes #20556)

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

9 years agomac80211: fix a few issues with fast-xmit support
Felix Fietkau [Thu, 24 Sep 2015 15:02:07 +0000 (15:02 +0000)]
mac80211: fix a few issues with fast-xmit support

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

9 years agokernel: remove old "rootfs" splitter
Rafał Miłecki [Thu, 24 Sep 2015 11:19:12 +0000 (11:19 +0000)]
kernel: remove old "rootfs" splitter

A year ago I made this old splitter obsolete (see r42828), it's time to
completely remove it now. For all this time we got these warnings:
"Dedicated partitioner didn't create "rootfs_data" partition, please fill a bug report!"
and
"Support for built-in "rootfs_data" splitter will be removed, please use CONFIG_MTD_SPLIT_SQUASHFS_ROOT"
but I'm not aware of any bug reports related to that.

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

9 years agooxnas: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Thu, 24 Sep 2015 09:18:59 +0000 (09:18 +0000)]
oxnas: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently it leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows all other targets making it finally possible to change
nand_do_platform_check.

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

9 years agooxnas: drop some unused sysupgrade code
Rafał Miłecki [Thu, 24 Sep 2015 09:18:47 +0000 (09:18 +0000)]
oxnas: drop some unused sysupgrade code

First of all platform_do_upgrade_phase2 doesn't seem to be defined
anywhere. Other than that platform_do_upgrade is not likely to be ever
called. There is a call to nand_do_platform_check which triggers
nand_upgrade_stage1 call with "exit 0" in it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47038

9 years agolibnl: split libnl into smaller libraries
Felix Fietkau [Thu, 24 Sep 2015 09:08:52 +0000 (09:08 +0000)]
libnl: split libnl into smaller libraries

Some modules may require only libnl-genl, some
libnl-route and fewer would require libnl-nf.

This patch splits the entire libnl package into smaller
more granular libs that can be installed individually as required.

Also added libnl*.so symlinks for convenience.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47037

9 years agoar71xx: Add WeIO Board Support
Felix Fietkau [Thu, 24 Sep 2015 09:08:47 +0000 (09:08 +0000)]
ar71xx: Add WeIO Board Support

Add support for WeIO board (http://we-io.net).
This board is based on Carambola2 board form 8Devices.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [some cleanups]
SVN-Revision: 47036

9 years agokernel: add missing CAN related config symbol
Felix Fietkau [Thu, 24 Sep 2015 08:41:15 +0000 (08:41 +0000)]
kernel: add missing CAN related config symbol

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

9 years agoar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)
Felix Fietkau [Thu, 24 Sep 2015 08:37:50 +0000 (08:37 +0000)]
ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)

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

9 years agodropbear: add respawn param in case dropbear crashes
Felix Fietkau [Thu, 24 Sep 2015 08:37:40 +0000 (08:37 +0000)]
dropbear: add respawn param in case dropbear crashes

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47033

9 years agoimx6: disable ext2/ext3 filesystem support (ext4 is enough)
Felix Fietkau [Thu, 24 Sep 2015 08:37:35 +0000 (08:37 +0000)]
imx6: disable ext2/ext3 filesystem support (ext4 is enough)

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

9 years agouml: disable ext2/ext3 filesystem support (ext4 is enough)
Felix Fietkau [Thu, 24 Sep 2015 08:37:30 +0000 (08:37 +0000)]
uml: disable ext2/ext3 filesystem support (ext4 is enough)

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

9 years agoarm64: disable ext2/ext3 filesystem support (ext4 is enough)
Felix Fietkau [Thu, 24 Sep 2015 08:37:23 +0000 (08:37 +0000)]
arm64: disable ext2/ext3 filesystem support (ext4 is enough)

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

9 years agomxs: fixup permissions of image generation scripts
Jo-Philipp Wich [Wed, 23 Sep 2015 18:40:42 +0000 (18:40 +0000)]
mxs: fixup permissions of image generation scripts

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

9 years agokernel: add a patch to fix crashes on pppoe disconnect/reconnect
Felix Fietkau [Tue, 22 Sep 2015 11:28:28 +0000 (11:28 +0000)]
kernel: add a patch to fix crashes on pppoe disconnect/reconnect

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

9 years agopx5g-standalone: use /dev/urandom instead of havege (fixes #20216)
Felix Fietkau [Tue, 22 Sep 2015 09:06:00 +0000 (09:06 +0000)]
px5g-standalone: use /dev/urandom instead of havege (fixes #20216)

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

9 years agogcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch (fixes #20501)
Felix Fietkau [Tue, 22 Sep 2015 08:30:15 +0000 (08:30 +0000)]
gcc: fix accidentally dropped chunk of the musl gcc 5.2.0 powerpc patch (fixes #20501)

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

9 years agogcc: use qstrip template to fix syntax highlighting
Felix Fietkau [Tue, 22 Sep 2015 08:30:05 +0000 (08:30 +0000)]
gcc: use qstrip template to fix syntax highlighting

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

9 years agopackage: Remove dependencies to kmod-ipv6
Steven Barth [Mon, 21 Sep 2015 21:15:41 +0000 (21:15 +0000)]
package: Remove dependencies to kmod-ipv6

Since r46834, IPv6 support is builtin if selected. Therefor, dependencies
on kmod-ipv6 can no longer be fulfilled, since it is not a module anymore.

Signed-off-by: Arjen de Korte <arjen+openwrt@de-korte.org>
SVN-Revision: 47022

9 years agomxs: re-work SD card image generation
Zoltan Herpai [Mon, 21 Sep 2015 21:10:43 +0000 (21:10 +0000)]
mxs: re-work SD card image generation

- Duckbill uses a different partitioning approach than standard
  FSL and Olimex
- use new sdimage to integrate U-Boot into the SD card images

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

9 years agotools: add sdimage for mxs
Zoltan Herpai [Mon, 21 Sep 2015 21:08:08 +0000 (21:08 +0000)]
tools: add sdimage for mxs

This tool is used for SD card generation on Freescale i.MX23/i.MX28
platforms. These CPU's ROM need a tiny header of front of a boot stream.

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

9 years agomxs: adopt SD card generation to fixed U-Boot path
Zoltan Herpai [Mon, 21 Sep 2015 21:05:16 +0000 (21:05 +0000)]
mxs: adopt SD card generation to fixed U-Boot path

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

9 years agopackages: uboot-mxs: bless UBOOT_IMAGE with a meaning
Zoltan Herpai [Mon, 21 Sep 2015 21:04:24 +0000 (21:04 +0000)]
packages: uboot-mxs: bless UBOOT_IMAGE with a meaning

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

9 years agopackages: uboot-mxs: do no modify the U-Boot image, copy as-is
Zoltan Herpai [Mon, 21 Sep 2015 21:03:37 +0000 (21:03 +0000)]
packages: uboot-mxs: do no modify the U-Boot image, copy as-is

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

9 years agobase-files: fix ramoverlay function with kernels 3.18+
Felix Fietkau [Mon, 21 Sep 2015 17:41:07 +0000 (17:41 +0000)]
base-files: fix ramoverlay function with kernels 3.18+

Even though there are not many users left within the OpenWrt tree it seems
this function broke during the kernel 3.18 transition.

Fix it by providing a workdir as required by overlayfs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 47015

9 years agouqmi: Add qmi.sh executable bit and fix option dhcp
Felix Fietkau [Mon, 21 Sep 2015 17:40:59 +0000 (17:40 +0000)]
uqmi: Add qmi.sh executable bit and fix option dhcp

Using protocol qmi does not work since qmi.sh is not executable.
Setting option dhcp explicitely to 0 actually enables it.
This patch fixes both problems.

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

9 years agoomap: add Kernel 4.1
Felix Fietkau [Mon, 21 Sep 2015 17:40:52 +0000 (17:40 +0000)]
omap: add Kernel 4.1

tested on Beagleboard C4

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

9 years agomusl: fix build on sh3
Felix Fietkau [Mon, 21 Sep 2015 17:40:44 +0000 (17:40 +0000)]
musl: fix build on sh3

musl fails to build when compiled with gcc on sh3 (GCC target/#67260).
Work it around.

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

9 years agotools/mtd-utils: fix PKG_MIRROR_MD5SUM
Felix Fietkau [Mon, 21 Sep 2015 17:18:52 +0000 (17:18 +0000)]
tools/mtd-utils: fix PKG_MIRROR_MD5SUM

The checksum doesn't match the file on mirror2.openwrt.org.

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

9 years agoath10k: remove API v2 firmware, it is no longer needed
Felix Fietkau [Mon, 21 Sep 2015 17:18:43 +0000 (17:18 +0000)]
ath10k: remove API v2 firmware, it is no longer needed

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

9 years agopackages: uboot-mxs: place binaries in the designated path
Zoltan Herpai [Fri, 18 Sep 2015 19:29:23 +0000 (19:29 +0000)]
packages: uboot-mxs: place binaries in the designated path

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

9 years agopackages: uboot-mxs: fix I2SE Duckbill variant
Zoltan Herpai [Fri, 18 Sep 2015 19:24:38 +0000 (19:24 +0000)]
packages: uboot-mxs: fix I2SE Duckbill variant

The current patch to add Duckbill support is wrong and does not
even compile. So replace this patch with a working one.

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

9 years agoiw: restore limited event monitor functionality (#20546)
Felix Fietkau [Fri, 18 Sep 2015 13:40:03 +0000 (13:40 +0000)]
iw: restore limited event monitor functionality (#20546)

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

9 years agoarm64: switch to Kernel 4.1
Felix Fietkau [Fri, 18 Sep 2015 13:39:55 +0000 (13:39 +0000)]
arm64: switch to Kernel 4.1

- fix Kernel dts subdir location
- enable virtio networking
  we are using -M virt which supports virtio devices

changes in symbols due to make kernel_oldconfig:

- CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y : removed
fix security: upstream id: d1fd836dcf00d2028c700c7e44d2c23404062c90

- CONFIG_ARM64_CPU_SUSPEND: removed
commit id: af3cfdbf56b91785650f54e7c9a899d814b4b9fb

- CONFIG_ARM64_PGTABLE_LEVELS=3 : renamed PGTABLE_LEVELS
commit id: 9f25e6ad58e1fb3b4d441e4c55635c4598a6fa94

- CONFIG_GENERIC_CLOCKEVENTS_BUILD=y : removed upstream
commit id: 9f083b74df3a7eaa100b456f2dc195512daf728e

-# CONFIG_PREEMPT_RCU: unnecessary

unknown remove reasons:
-CONFIG_GENERIC_IOMAP=y
-# CONFIG_POWER_RESET_GPIO is not set
-# CONFIG_POWER_RESET_GPIO_RESTART is not set
-# CONFIG_POWER_RESET_LTC2952 is not set
-# CONFIG_POWER_RESET_SYSCON is not set
-# CONFIG_XEN is not set

tested and boot, networking work with qemu

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

9 years agomac80211: add missing dependency for the hermes driver (#20543)
Felix Fietkau [Fri, 18 Sep 2015 09:05:11 +0000 (09:05 +0000)]
mac80211: add missing dependency for the hermes driver (#20543)

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

9 years agokernel: fix dependencies of the sock_diag debloat patch (#20544)
Felix Fietkau [Fri, 18 Sep 2015 09:05:01 +0000 (09:05 +0000)]
kernel: fix dependencies of the sock_diag debloat patch (#20544)

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

9 years agokernel: solos-pci: Increase headroom on received packets
Felix Fietkau [Thu, 17 Sep 2015 15:38:58 +0000 (15:38 +0000)]
kernel: solos-pci: Increase headroom on received packets

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

9 years agokernel: ipv6: ip6_fragment: fix headroom tests and skb leak
Felix Fietkau [Thu, 17 Sep 2015 15:38:46 +0000 (15:38 +0000)]
kernel: ipv6: ip6_fragment: fix headroom tests and skb leak

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

9 years agofirewall: depend on kmod-ipt-conntrack (#20542)
Jo-Philipp Wich [Thu, 17 Sep 2015 15:31:45 +0000 (15:31 +0000)]
firewall: depend on kmod-ipt-conntrack (#20542)

Our ruleset requires kernel support for conntrack state matching, therfore
depend on the require kmod. Fixes #20542.

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

9 years agotools/mtd-utils: avoid linking libm statically
Jo-Philipp Wich [Thu, 17 Sep 2015 13:07:48 +0000 (13:07 +0000)]
tools/mtd-utils: avoid linking libm statically

Rework static linker flags to not link libm statically, this should fix the
build on CentOS where libm.a is not provided by the libc devel package.

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

9 years agox86/geode: enable DMI and Geos support (fixes #20512)
Felix Fietkau [Thu, 17 Sep 2015 10:15:52 +0000 (10:15 +0000)]
x86/geode: enable DMI and Geos support (fixes #20512)

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
SVN-Revision: 46986

9 years agox86: fix Geode LX timekeeping (#20531)
Felix Fietkau [Thu, 17 Sep 2015 10:15:45 +0000 (10:15 +0000)]
x86: fix Geode LX timekeeping (#20531)

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

9 years agokernel: remove lantiq specific ATM API hacks and their kernel space users (fixes...
Felix Fietkau [Thu, 17 Sep 2015 09:45:34 +0000 (09:45 +0000)]
kernel: remove lantiq specific ATM API hacks and their kernel space users (fixes #20523)

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

9 years agokernel: unbreak atm ABI for 4.0 and 4.1
John Crispin [Wed, 16 Sep 2015 12:40:40 +0000 (12:40 +0000)]
kernel: unbreak atm ABI for 4.0 and 4.1

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

9 years agobuild: do not overwrite already existing host commands
Felix Fietkau [Wed, 16 Sep 2015 12:38:16 +0000 (12:38 +0000)]
build: do not overwrite already existing host commands

This prevents a later prereq check from overwriting the installed tar
binary.

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

9 years agokernel: properly guard the lantiq atm abi hack with an ifdef
John Crispin [Wed, 16 Sep 2015 12:08:05 +0000 (12:08 +0000)]
kernel: properly guard the lantiq atm abi hack with an ifdef

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

9 years agoopkg: Extend 'opkg list' command to optionally display package size
John Crispin [Wed, 16 Sep 2015 09:37:39 +0000 (09:37 +0000)]
opkg: Extend 'opkg list' command to optionally display package size

'opkg list' command only displays the available packages' name, version and
description. It would be useful to also see the approximate size of the
available package.

This patch extends "opkg list" command with "--size" to optionally show also
the *.ipk size.
* Default behaviour is to list the available packages as earlier:
  "name - version - description"
* with "--size" the output of is "name - version - size - description".

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

9 years agomac80211: rename iwlagn to iwlwifi
John Crispin [Wed, 16 Sep 2015 09:37:27 +0000 (09:37 +0000)]
mac80211: rename iwlagn to iwlwifi

follow upstream module rename
commit 3c607d27c818cf4a5d28f2c73b18a88f8fbdfa33

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

9 years agomac80211: cleanup sort
John Crispin [Wed, 16 Sep 2015 09:37:18 +0000 (09:37 +0000)]
mac80211: cleanup sort

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

9 years agomac80211: cleanup remove net prefixes
John Crispin [Wed, 16 Sep 2015 09:37:11 +0000 (09:37 +0000)]
mac80211: cleanup remove net prefixes

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

9 years agoprereq-build: test for static zlib availability
Jo-Philipp Wich [Wed, 16 Sep 2015 08:44:53 +0000 (08:44 +0000)]
prereq-build: test for static zlib availability

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

9 years agobase-files: refactor default_postinst()
Jo-Philipp Wich [Wed, 16 Sep 2015 08:43:58 +0000 (08:43 +0000)]
base-files: refactor default_postinst()

 - Simplify user spec parsing code
 - Alias IPKG_INSTROOT to shorten code
 - Quote variables where appropriate
 - Remove a useless-use-of-cat instance
 - Suppress errors in case control or list files are missing

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

9 years agokernel 3.18/kernel 4.0/kernel 4.1: add missing symbol
John Crispin [Wed, 16 Sep 2015 08:33:25 +0000 (08:33 +0000)]
kernel 3.18/kernel 4.0/kernel 4.1: add missing symbol

deactivate NET_SCTPPROBE just like NET_TCPPROBE

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

9 years agox86: add missing symbol
John Crispin [Wed, 16 Sep 2015 08:33:18 +0000 (08:33 +0000)]
x86: add missing symbol

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

9 years agoar71xx: add support for ap152 reference board
John Crispin [Wed, 16 Sep 2015 08:33:14 +0000 (08:33 +0000)]
ar71xx: add support for ap152 reference board

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
SVN-Revision: 46972

9 years agoath79: dev-eth: fix QCA9561 set phy interface mode and mask
John Crispin [Wed, 16 Sep 2015 08:33:04 +0000 (08:33 +0000)]
ath79: dev-eth: fix QCA9561 set phy interface mode and mask

QCA9563 and QCA9561 are two series of Qualcomm SoC Dragonfly. The only different
is QCA9563 w/o internal switch. It has one GMAC with SGMII interface. But they
have the same device ID(0x1150). So they share the same codes.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
SVN-Revision: 46971

9 years agoar71xx: uci-defaults: fix ap143 to appropriate group
John Crispin [Wed, 16 Sep 2015 08:32:56 +0000 (08:32 +0000)]
ar71xx: uci-defaults: fix ap143 to appropriate group

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
SVN-Revision: 46970

9 years agolldpd: add extra respawn params
John Crispin [Wed, 16 Sep 2015 08:32:41 +0000 (08:32 +0000)]
lldpd: add extra respawn params

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46969

9 years agolldpd: conversion of init script to procd format
John Crispin [Wed, 16 Sep 2015 08:32:33 +0000 (08:32 +0000)]
lldpd: conversion of init script to procd format

And add respawn param (the main reason for this conversion).

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46968

9 years agolldpd: move /var/run creation + chmod earlier
John Crispin [Wed, 16 Sep 2015 08:32:27 +0000 (08:32 +0000)]
lldpd: move /var/run creation + chmod earlier

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46967

9 years agolldpd: remove obsolete/unsupported lldpctl call
John Crispin [Wed, 16 Sep 2015 08:32:18 +0000 (08:32 +0000)]
lldpd: remove obsolete/unsupported lldpctl call

This call is no longer supported.
Maybe a come-back for it would be to use a config /etc/lldpd.conf
or /etc/lldpd.d/<some-file>.conf

Signed-off-by: Alexandru Ardelean <aa@ocedo.com>
SVN-Revision: 46966

9 years agobase-files: add /etc/profile.d support
John Crispin [Wed, 16 Sep 2015 08:32:13 +0000 (08:32 +0000)]
base-files: add /etc/profile.d support

OpenWrt should support an optional /etc/profile.d directory like
most other Linux distributions. This allows packages to install
their own scripts into /etc/profile.d/ directory.

The file suffix should make clear, that these scripts
are (sourced) shell-snippets. If the user needs e.g. php or lua,
one must make sure that the interpreter is called.
The reverse failsafe test makes sure, that the effective returncode is 0.

A typcal usecase is the inclusion of private helpers,
special variables or aliases, which at the moment needs
patching the sourcecode and is not well maintainable.
Now the builder can simply add there files.

v1 initial work of Hendrik Lüth <hendrik@linux-nerds.de>
v2 changes regarding RFC (e.g. thomas.langer@lantiq.com)
v3 changes regarding RFC (e.g. mschiffer@universe-factory.net)
v4 keep it simple and mimic OpenWrt style

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

9 years agokernel: unbreak the atm abi
John Crispin [Wed, 16 Sep 2015 08:32:01 +0000 (08:32 +0000)]
kernel: unbreak the atm abi

the lantiq dsl hack to struct atm_trafprm broke the ABI fix this by moving
the variables to the end of the struct

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

9 years agoramips: Fix pinmux functions for MT7621
John Crispin [Wed, 16 Sep 2015 08:31:52 +0000 (08:31 +0000)]
ramips: Fix pinmux functions for MT7621

The pinctrl-rt2880 code doesn't support multiple functions with the same
name. This will result in a incorrect pinmux configuration.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 46963

9 years agoprocd: update to latest git revision
John Crispin [Wed, 16 Sep 2015 08:31:45 +0000 (08:31 +0000)]
procd: update to latest git revision

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

9 years agoar71xx: Add UBNT airGateway Pro support
John Crispin [Wed, 16 Sep 2015 08:31:40 +0000 (08:31 +0000)]
ar71xx: Add UBNT airGateway Pro support

This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro.

Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com>
SVN-Revision: 46961

9 years agofstools: update to latest git revision
John Crispin [Wed, 16 Sep 2015 08:31:24 +0000 (08:31 +0000)]
fstools: update to latest git revision

jffs2reset was following symlinks making it delete mounts for example.

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

9 years agoramips: add mt7621/3/8 support to the I2C driver
John Crispin [Wed, 16 Sep 2015 08:31:15 +0000 (08:31 +0000)]
ramips: add mt7621/3/8 support to the I2C driver

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

9 years agoramips: fix reported vendor name
John Crispin [Wed, 16 Sep 2015 08:31:10 +0000 (08:31 +0000)]
ramips: fix reported vendor name

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

9 years agoramips: add proper mt7688 detection
John Crispin [Wed, 16 Sep 2015 08:31:00 +0000 (08:31 +0000)]
ramips: add proper mt7688 detection

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

9 years agoramips: add speed and mode settings to spi-mt7621
John Crispin [Wed, 16 Sep 2015 08:30:43 +0000 (08:30 +0000)]
ramips: add speed and mode settings to spi-mt7621

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

9 years agoramips: add get_direction() callback and irq support to gpio-mt7621
John Crispin [Wed, 16 Sep 2015 08:30:17 +0000 (08:30 +0000)]
ramips: add get_direction() callback and irq support to gpio-mt7621

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

9 years agoramips: more m7628 pinmux fixes
John Crispin [Wed, 16 Sep 2015 08:30:06 +0000 (08:30 +0000)]
ramips: more m7628 pinmux fixes

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

9 years agoramips: add mt7628 pwm driver
John Crispin [Wed, 16 Sep 2015 08:29:55 +0000 (08:29 +0000)]
ramips: add mt7628 pwm driver

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

9 years agoramips: make pinctrl work on newer socs
John Crispin [Wed, 16 Sep 2015 08:29:45 +0000 (08:29 +0000)]
ramips: make pinctrl work on newer socs

newer socs have 2 mux registers

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

9 years agoramips: make the mt7628 spi driver work for both cs lines
John Crispin [Wed, 16 Sep 2015 08:29:40 +0000 (08:29 +0000)]
ramips: make the mt7628 spi driver work for both cs lines

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

9 years agoramips: make the early_printk code detect which uart is used
John Crispin [Wed, 16 Sep 2015 08:29:31 +0000 (08:29 +0000)]
ramips: make the early_printk code detect which uart is used

only tested on mt7628

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

9 years agomac80211: refresh patch
Felix Fietkau [Wed, 16 Sep 2015 07:56:47 +0000 (07:56 +0000)]
mac80211: refresh patch

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

9 years agoath9k: enable hw manual peak calibration for QCA9561
Felix Fietkau [Wed, 16 Sep 2015 07:56:41 +0000 (07:56 +0000)]
ath9k: enable hw manual peak calibration for QCA9561

This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/
2015-August/034979.html. As the peak detect calibration is set
incorrectly.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46948

9 years agoomap24xx: remove obsolete kernel 3.3 patches
Felix Fietkau [Wed, 16 Sep 2015 07:56:33 +0000 (07:56 +0000)]
omap24xx: remove obsolete kernel 3.3 patches

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

9 years agobinutils: fix name of Binutils 2.25.1
Hauke Mehrtens [Tue, 15 Sep 2015 21:58:48 +0000 (21:58 +0000)]
binutils: fix name of Binutils 2.25.1

The Binutils version 2.25.1 was not a Linaro version, but a normal
upstream Binutils version, fix the name.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Reported-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
SVN-Revision: 46946

9 years agoipq806x: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Tue, 15 Sep 2015 16:05:10 +0000 (16:05 +0000)]
ipq806x: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

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

9 years agoimx6: add platform_pre_upgrade for sysupgrade
Rafał Miłecki [Tue, 15 Sep 2015 16:05:03 +0000 (16:05 +0000)]
imx6: add platform_pre_upgrade for sysupgrade

We're in process of cleaning nand_do_platform_check. Currently is leaves
a special mark in /tmp/sysupgrade-nand-path triggering some diffent code
path in nand_upgrade_stage1. This can be a bit confusing.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

This follows ar71xx, lantiq and partially bcm53xx.

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

9 years agoppp: use more reliable way to set script environment
Steven Barth [Tue, 15 Sep 2015 14:52:47 +0000 (14:52 +0000)]
ppp: use more reliable way to set script environment

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