openwrt/staging/ansuel.git
10 years agoar71xx: Add support for MikroTik RB951Ui-2HnD
Gabor Juhos [Thu, 20 Feb 2014 17:07:51 +0000 (17:07 +0000)]
ar71xx: Add support for MikroTik RB951Ui-2HnD

I noticed that the patch at http://patchwork.openwrt.org/patch/4017/
for adding support for the MikroTik RouterBOARD 951Ui-2HnD had been
abandoned because it wasn't generated and sent to the mailing list
correctly and doesn't apply as a result.  I have cleaned up this patch.

When testing this on real hardware, I also noticed that wireless didn't
work, so this patch fixes that as well.

This patch applies cleanly to SVN 39392.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Patchwork: http://patchwork.openwrt.org/patch/4773/
[juhosg:
  - drop the 'rb951ui_wlan_init' function and rework the code to
    use the recently introduced rb95x_wlan_init function instead,
  - fix GPIO number of the port5 LED,
  - rename LEDs according to the standard LED naming conventions,
    and use 'rb' prefix in the names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39641

10 years agokernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP cases
Gabor Juhos [Thu, 20 Feb 2014 17:07:44 +0000 (17:07 +0000)]
kernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP cases

This is a backport of code to improve the quality of fq_codel
hashing for 3.10 for some encapsulated protocols.

Not needed in 3.11 and later.

Patch-by: Dave Taht <dave.taht@bufferbloat.net>
Patchwork: http://patchwork.openwrt.org/patch/4902/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39640

10 years agoimx6: drop upstream rejected patch
Luka Perkov [Thu, 20 Feb 2014 14:01:28 +0000 (14:01 +0000)]
imx6: drop upstream rejected patch

http://article.gmane.org/gmane.linux.drivers.i2c/17891

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

10 years agogcc: prevent the use of LDRD/STRD on ARMv5TE
Felix Fietkau [Wed, 19 Feb 2014 19:20:10 +0000 (19:20 +0000)]
gcc: prevent the use of LDRD/STRD on ARMv5TE

These instructions are for 64-bit load/store. On ARMv5TE, the CPU
requires addresses to be aligned to 64-bit. When misaligned, behavior is
undefined (effectively either loads the same word twice on LDRD, or
corrupts surrounding memory on STRD).

On ARMv6 and newer, unaligned access is safe.

Removing these instructions for ARMv5TE is necessary, because GCC
ignores alignment information in pointers and does unsafe optimizations
that have shown up as bugs in various places.

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

10 years agoar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 board
Gabor Juhos [Wed, 19 Feb 2014 12:15:35 +0000 (12:15 +0000)]
ar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 board

Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4850/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39637

10 years agoar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board
Gabor Juhos [Wed, 19 Feb 2014 12:15:34 +0000 (12:15 +0000)]
ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 board

Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4849/
[juhosg:
  - use the Archer C7 specific LED setup instead of adding
    identical code]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39636

10 years agoar71xx: add kernel support for the TP-Link TL-WDR4900 v2.0 board
Gabor Juhos [Wed, 19 Feb 2014 12:15:32 +0000 (12:15 +0000)]
ar71xx: add kernel support for the TP-Link TL-WDR4900 v2.0 board

Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4848/
[juhosg:
  - rename and refresh kernel patch,
  - merge the board setup code into mach-archer-c7.c and drop
    mach-tl-wdr49000-v2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39635

10 years agosunxi: move a lost CONFIG_CHARGER symbol to generic
Nicolas Thill [Wed, 19 Feb 2014 00:17:19 +0000 (00:17 +0000)]
sunxi: move a lost CONFIG_CHARGER symbol to generic

SVN-Revision: 39634

10 years agotarget/sunxi: make REGMAP built-in (used by REGULATOR)
Nicolas Thill [Tue, 18 Feb 2014 22:29:56 +0000 (22:29 +0000)]
target/sunxi: make REGMAP built-in (used by REGULATOR)

SVN-Revision: 39633

10 years agotarget/uml: update README
Nicolas Thill [Tue, 18 Feb 2014 22:16:04 +0000 (22:16 +0000)]
target/uml: update README

invoking uml is now simplier, not need to setup console & serial

SVN-Revision: 39632

10 years agotoolchain: update build steps doc
Nicolas Thill [Tue, 18 Feb 2014 22:15:58 +0000 (22:15 +0000)]
toolchain: update build steps doc

SVN-Revision: 39631

10 years agomac80211: disable libertas-sd on uml target
Nicolas Thill [Tue, 18 Feb 2014 22:15:52 +0000 (22:15 +0000)]
mac80211: disable libertas-sd on uml target

SVN-Revision: 39630

10 years agouboot-envtools: pass target cflags
Nicolas Thill [Tue, 18 Feb 2014 22:11:24 +0000 (22:11 +0000)]
uboot-envtools: pass target cflags

SVN-Revision: 39629

10 years agoodhcp6c: readd userclass and vendorclass
Steven Barth [Tue, 18 Feb 2014 18:30:47 +0000 (18:30 +0000)]
odhcp6c: readd userclass and vendorclass

SVN-Revision: 39628

10 years agokernel: refresh configs with kconfig.pl
Gabor Juhos [Tue, 18 Feb 2014 17:34:18 +0000 (17:34 +0000)]
kernel: refresh configs with kconfig.pl

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

10 years agoar71xx: fix unaligned access hacks for tcp timestamps
Gabor Juhos [Tue, 18 Feb 2014 17:34:17 +0000 (17:34 +0000)]
ar71xx: fix unaligned access hacks for tcp timestamps

This missing bit of the hack saves hugely on instruction traps
on tcp connections to ar71xx based routers.

Patch-by: Dave Taht <dave.taht@bufferbloat.net>
Patchwork: http://patchwork.openwrt.org/patch/4905/
[juhosg: adjust subject, refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39626

10 years agoar71xx: WNR2200: fix mounting root fs problem
Gabor Juhos [Tue, 18 Feb 2014 17:34:16 +0000 (17:34 +0000)]
ar71xx: WNR2200: fix mounting root fs problem

Solves ticket #14356 <https://dev.openwrt.org/ticket/14356>

Without this patch, UART output will show only 4 partitions:
  [    0.740000] 4 cmdlinepart partitions found on MTD device spi0.0
  [    0.750000] Creating 4 MTD partitions on "spi0.0":
  [    0.750000] 0x000000000000-0x000000050000 : "u-boot"
  [    0.760000] 0x000000050000-0x000000070000 : "u-boot-env"
  [    0.770000] 0x000000070000-0x0000007f0000 : "firmware"
  [    0.790000] 0x0000007f0000-0x000000800000 : "art"
and then linux complains :VFS: Cannot open root device "(null)"

With this patch, UART out will show 7 partitions:
  [    0.740000] 4 cmdlinepart partitions found on MTD device spi0.0
  [    0.750000] Creating 4 MTD partitions on "spi0.0":
  [    0.750000] 0x000000000000-0x000000040000 : "u-boot"
  [    0.760000] 0x000000040000-0x000000050000 : "u-boot-env"
  [    0.770000] 0x000000050000-0x0000007f0000 : "firmware"
  [    0.780000] 2 netgear-fw partitions found on MTD device firmware
  [    0.780000] 0x000000050000-0x00000014b440 : "kernel"
  [    0.790000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  [    0.800000] 0x00000014b440-0x0000007f0000 : "rootfs"
  [    0.810000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  [    0.820000] mtd: device 4 (rootfs) set to be root filesystem
  [    0.830000] 1 squashfs-split partitions found on MTD device rootfs
  [    0.830000] 0x000000340000-0x0000007f0000 : "rootfs_data"
  [    0.840000] 0x0000007f0000-0x000000800000 : "art"

This patch is tested against r39502 of trunk.

Signed-off-by: Jonathan Chang <changcs@santos.ee.ntu.edu.tw>
Patchwork: http://patchwork.openwrt.org/patch/4870/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39625

10 years agoodhcp6c: add validation rules to proto handler
John Crispin [Tue, 18 Feb 2014 13:34:16 +0000 (13:34 +0000)]
odhcp6c: add validation rules to proto handler

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

10 years agorelayd: add uci validation
John Crispin [Tue, 18 Feb 2014 13:34:12 +0000 (13:34 +0000)]
relayd: add uci validation

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

10 years agomac80211: add validation rules
John Crispin [Tue, 18 Feb 2014 13:34:08 +0000 (13:34 +0000)]
mac80211: add validation rules

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

10 years agonetifd: add validation support
John Crispin [Tue, 18 Feb 2014 13:34:04 +0000 (13:34 +0000)]
netifd: add validation support

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

10 years agohostapd: add validation rules to wireless handler
John Crispin [Tue, 18 Feb 2014 13:33:59 +0000 (13:33 +0000)]
hostapd: add validation rules to wireless handler

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

10 years agoppp: add validation rules to proto handler
John Crispin [Tue, 18 Feb 2014 13:33:56 +0000 (13:33 +0000)]
ppp: add validation rules to proto handler

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

10 years agocomgt: add validation rules to proto handler
John Crispin [Tue, 18 Feb 2014 13:33:52 +0000 (13:33 +0000)]
comgt: add validation rules to proto handler

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

10 years agofirewall3: update init.d script to make use of procd
John Crispin [Tue, 18 Feb 2014 13:33:47 +0000 (13:33 +0000)]
firewall3: update init.d script to make use of procd

add validation data

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

10 years agoubox: logd did not register its config.reload trigger properly
John Crispin [Tue, 18 Feb 2014 13:33:43 +0000 (13:33 +0000)]
ubox: logd did not register its config.reload trigger properly

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

10 years agobase-files: split /etc/init.d/boot into 2 files
John Crispin [Tue, 18 Feb 2014 13:33:40 +0000 (13:33 +0000)]
base-files: split /etc/init.d/boot into 2 files

this allows us to bind a procd trigger to system.@system[-1]

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

10 years agonetifd: update to latest git head
John Crispin [Tue, 18 Feb 2014 13:33:36 +0000 (13:33 +0000)]
netifd: update to latest git head

this adds support for proto and wireless handler adding uci validation rules

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

10 years agoprocd: update to latest git head
John Crispin [Tue, 18 Feb 2014 13:33:32 +0000 (13:33 +0000)]
procd: update to latest git head

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

10 years agoprocd: the helper script did not export all functions properly
John Crispin [Tue, 18 Feb 2014 13:33:29 +0000 (13:33 +0000)]
procd: the helper script did not export all functions properly

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

10 years agoralink: add support for na930
John Crispin [Tue, 18 Feb 2014 13:33:25 +0000 (13:33 +0000)]
ralink: add support for na930

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

10 years agoralink: add gpio_uartf mux group
John Crispin [Tue, 18 Feb 2014 13:33:20 +0000 (13:33 +0000)]
ralink: add gpio_uartf mux group

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

10 years agoralink: fix the gpio mode mapping
John Crispin [Tue, 18 Feb 2014 13:33:16 +0000 (13:33 +0000)]
ralink: fix the gpio mode mapping

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

10 years agoauthsae: update to latest version
John Crispin [Tue, 18 Feb 2014 13:33:13 +0000 (13:33 +0000)]
authsae: update to latest version

Signed-off-by: Stefan May <smay@4finger.net>
SVN-Revision: 39608

10 years agoopenssl: fix up PKG_DEPENDS. there are 2 missing CONFIG_ prefixe
John Crispin [Tue, 18 Feb 2014 13:33:08 +0000 (13:33 +0000)]
openssl: fix up PKG_DEPENDS. there are 2 missing CONFIG_ prefixe

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

10 years agouci: update to latest version, adds preparation for validation support and blobmsg...
Felix Fietkau [Tue, 18 Feb 2014 12:27:11 +0000 (12:27 +0000)]
uci: update to latest version, adds preparation for validation support and blobmsg int64 support

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

10 years agoodhcp6c: send reconfigure-accept again to be compliant
Steven Barth [Mon, 17 Feb 2014 20:31:21 +0000 (20:31 +0000)]
odhcp6c: send reconfigure-accept again to be compliant

SVN-Revision: 39605

10 years agoodhcpd: Fix RA interval + add support for prefixes > 64 and < 97
Steven Barth [Mon, 17 Feb 2014 20:30:29 +0000 (20:30 +0000)]
odhcpd: Fix RA interval + add support for prefixes > 64 and < 97

SVN-Revision: 39604

10 years ago3.13: revert r39601 as the symbol is already there
Zoltan Herpai [Mon, 17 Feb 2014 11:49:34 +0000 (11:49 +0000)]
3.13: revert r39601 as the symbol is already there

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

10 years ago3.13: add missing NF_TABLES symbol - until someone packages it
Zoltan Herpai [Mon, 17 Feb 2014 10:57:11 +0000 (10:57 +0000)]
3.13: add missing NF_TABLES symbol - until someone packages it

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

10 years ago3.13: add missing symbol
Zoltan Herpai [Mon, 17 Feb 2014 10:20:53 +0000 (10:20 +0000)]
3.13: add missing symbol

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

10 years agocmake: upgrade to 2.8.12.2
Luka Perkov [Sun, 16 Feb 2014 21:51:10 +0000 (21:51 +0000)]
cmake: upgrade to 2.8.12.2

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

10 years agonetifd: work around dangling prefix kernel-routes (fixes #14963)
Steven Barth [Sun, 16 Feb 2014 11:20:22 +0000 (11:20 +0000)]
netifd: work around dangling prefix kernel-routes (fixes #14963)

SVN-Revision: 39597

10 years agokirkwood: dockstar: remove sata from packages
Luka Perkov [Sun, 16 Feb 2014 00:14:29 +0000 (00:14 +0000)]
kirkwood: dockstar: remove sata from packages

The dockstar doesn't have any sata ports.

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

10 years agokirkwood: add support for Seagate GoFlexNet
Luka Perkov [Sun, 16 Feb 2014 00:14:27 +0000 (00:14 +0000)]
kirkwood: add support for Seagate GoFlexNet

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

10 years agouboot-kirkwood: add support for Seagate GoFlexNet
Luka Perkov [Sun, 16 Feb 2014 00:14:26 +0000 (00:14 +0000)]
uboot-kirkwood: add support for Seagate GoFlexNet

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39594

10 years agokirkwood: update support for dockstar
Luka Perkov [Sat, 15 Feb 2014 23:53:10 +0000 (23:53 +0000)]
kirkwood: update support for dockstar

The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot
environment if OpenWrt's uboot package is used. In order to flash the image run
following commands in uboot shell:

nand erase 0x200000 0xfe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by: Alexander Couzens <lynxis@fe80.eu>
CC: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39593

10 years agokirkwood: update support for ib62x0
Luka Perkov [Sat, 15 Feb 2014 23:53:09 +0000 (23:53 +0000)]
kirkwood: update support for ib62x0

The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot
environment if OpenWrt's uboot package is used. In order to flash the image run
following commands in uboot shell:

nand erase 0x200000 0xfe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-ib62x0-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39592

10 years agokirkwood: update support for iconnect
Luka Perkov [Sat, 15 Feb 2014 23:53:08 +0000 (23:53 +0000)]
kirkwood: update support for iconnect

Previous patch was pushed due to false user report. While at it fix alphabetic
ordering.

The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot
environment if OpenWrt's uboot package is used. In order to flash the image run
following commands in uboot shell:

nand erase 0x200000 0x1fe00000
ubi part root ; ubi remove rootfs ; ubi create rootfs
tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39591

10 years agouboot-kirkwood: update to 2013.10
Luka Perkov [Sat, 15 Feb 2014 23:53:07 +0000 (23:53 +0000)]
uboot-kirkwood: update to 2013.10

Tested on:

 * Cloud Engines Pogoplug E02
 * RaidSonic ICY BOX IB-NAS62x0
 * Iomega Iconnect

Some users are avoiding to replace their bootloader, because of that add
support for second stage u-boot image. Having ubifs capable bootloader is
required in order to boot current OpenWrt trunk.

Sample ib62x0 commands for running second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
bootm 0x800000

Sample ib62x0 commands for flashing second stage bootloader:

tftpboot 0x800000 uboot-kirkwood-ib62x0_second_stage/openwrt-kirkwood-ib62x0_second_stage-u-boot.img
nand erase 0x100000 0x100000 ; nand write 0x800000 0x100000 0x${filesize}
nand read 0x800000 0x100000 0x100000 ; bootm 0x800000

While at it include parallel build support, use alphabetic order of the boards
and introduce common OpenWrt configuration.

Signed-off-by: Luka Perkov <luka@openwrt.org>
Tested-by (on ib62x0): Luka Perkov <luka@openwrt.org>
Tested-by (on dockstar): Alexander Couzens <lynxis@fe80.eu>
Tested-by (on iconnect): Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Felix Kaechele <heffer@fedoraproject.org>
CC: Wojciech Dubowik <wojciech.dubowik@neratec.com>
CC: Alexander Couzens <lynxis@fe80.eu>
CC: Daniel Engberg <daniel.engberg@pyret.net>
CC: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39590

10 years agokernel: rtl8306: update reset function
Luka Perkov [Sat, 15 Feb 2014 22:54:35 +0000 (22:54 +0000)]
kernel: rtl8306: update reset function

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 39589

10 years agolantiq: fix typo in pinctl driver
Luka Perkov [Sat, 15 Feb 2014 22:54:34 +0000 (22:54 +0000)]
lantiq: fix typo in pinctl driver

Signed-off-by: Antonios Vamporakis <ant@area128.com>
SVN-Revision: 39588

10 years agolantiq: fix PCI problems on ARV4510PW
Luka Perkov [Sat, 15 Feb 2014 22:54:32 +0000 (22:54 +0000)]
lantiq: fix PCI problems on ARV4510PW

Some ARV4510PW units seem to have unstable PCI due to missing pull-up
resistors. This patch makes sure that the GPIO lines are driven properly.

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

10 years agonetifd: fix source-routing breaking 6in4 + others
Steven Barth [Fri, 14 Feb 2014 21:21:44 +0000 (21:21 +0000)]
netifd: fix source-routing breaking 6in4 + others

6in4 historically allowed an ip6addr without a mask however the newly
introduced source-routing segfaulted in this scenario (#14958 + #14858).

Fixes include: "Fix ubus route src mask printing" and
"Disable netlink auto ack" (thanks to Hans Dedecker)

SVN-Revision: 39586

10 years agouse the default package set
Imre Kaloz [Fri, 14 Feb 2014 10:09:07 +0000 (10:09 +0000)]
use the default package set

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

10 years agoar71xx: fix mtdpartsize macro in image Makefile (#14961)
Jo-Philipp Wich [Thu, 13 Feb 2014 21:19:00 +0000 (21:19 +0000)]
ar71xx: fix mtdpartsize macro in image Makefile (#14961)

The mtdpartsize macro triggers shell errors on various Linux distributions
when the partname argument $(1) does not appear within the partmap $(2).

Change the sed pattern to only emit anything if a successful substitution
occured and only evaluate the arithmetic expression if something was printed
by the sed program.

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

10 years agoupgrade 3.13 targets to 3.13.2, refresh patches
Imre Kaloz [Thu, 13 Feb 2014 13:27:14 +0000 (13:27 +0000)]
upgrade 3.13 targets to 3.13.2, refresh patches

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

10 years agoupgrade 3.12 to 3.12.10
Imre Kaloz [Thu, 13 Feb 2014 12:57:36 +0000 (12:57 +0000)]
upgrade 3.12 to 3.12.10

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

10 years agochange image generation logic
Imre Kaloz [Thu, 13 Feb 2014 10:43:32 +0000 (10:43 +0000)]
change image generation logic

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

10 years agohandle "neon" fpu type
Imre Kaloz [Wed, 12 Feb 2014 15:43:14 +0000 (15:43 +0000)]
handle "neon" fpu type

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

10 years agohandle some CONFIG_TARGET_ROOTFS_INCLUDE_ foo
Imre Kaloz [Wed, 12 Feb 2014 15:38:08 +0000 (15:38 +0000)]
handle some CONFIG_TARGET_ROOTFS_INCLUDE_ foo

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

10 years agocopy initramfs zImage to the bin dir as well
Imre Kaloz [Wed, 12 Feb 2014 10:51:46 +0000 (10:51 +0000)]
copy initramfs zImage to the bin dir as well

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

10 years agogenerate ubifs images
Imre Kaloz [Wed, 12 Feb 2014 10:48:33 +0000 (10:48 +0000)]
generate ubifs images

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

10 years agoodhcp6c: remove source-restriction from local routes again (broke relaying)
Steven Barth [Wed, 12 Feb 2014 08:54:43 +0000 (08:54 +0000)]
odhcp6c: remove source-restriction from local routes again (broke relaying)

SVN-Revision: 39575

10 years agoimx6: drop 3.12 support
Luka Perkov [Wed, 12 Feb 2014 00:46:02 +0000 (00:46 +0000)]
imx6: drop 3.12 support

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

10 years agoimx6: add initial 3.13 support
Luka Perkov [Wed, 12 Feb 2014 00:46:00 +0000 (00:46 +0000)]
imx6: add initial 3.13 support

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

10 years agomac80211: send wpa frames through the WMM voice queue - improves connection reliability
Felix Fietkau [Tue, 11 Feb 2014 15:00:55 +0000 (15:00 +0000)]
mac80211: send wpa frames through the WMM voice queue - improves connection reliability

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

10 years agoath9k: add p2p client mode support powersave patches
Felix Fietkau [Tue, 11 Feb 2014 15:00:51 +0000 (15:00 +0000)]
ath9k: add p2p client mode support powersave patches

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

10 years agortl8187: fix crashes on mips caused by misaligned DMA and cache issues
Felix Fietkau [Tue, 11 Feb 2014 15:00:36 +0000 (15:00 +0000)]
rtl8187: fix crashes on mips caused by misaligned DMA and cache issues

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

10 years agomvebu: enable NAND controller support
Luka Perkov [Tue, 11 Feb 2014 02:16:04 +0000 (02:16 +0000)]
mvebu: enable NAND controller support

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
SVN-Revision: 39569

10 years agomvebu: add support for the Armada XP GP board (DB-MV784MP-GP)
Luka Perkov [Tue, 11 Feb 2014 02:07:47 +0000 (02:07 +0000)]
mvebu: add support for the Armada XP GP board (DB-MV784MP-GP)

This Armada XP GP board from Marvell comes with:

* 2GB DDR3 DIMM
* 1GB NAND flash (8-bit interface)
* 16MB NOR flash (16-bot interrface)
* 16MB SPI flash
* SDIO module
* 3 PCIe
* 1 SATA link
* 2 USB EHCI
* 1 internal SSD
* 4 Ethernet Gigabit
* 1 RS232 port over USB

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
SVN-Revision: 39568

10 years agomvebu: update kernel config
Luka Perkov [Tue, 11 Feb 2014 02:07:46 +0000 (02:07 +0000)]
mvebu: update kernel config

The config-3.10 doesn't specify the configuration of the backported PCI
features, and the Marvell EBU Device Bus Controller, this will prevent
a clean compile. This patch enables these features to archive a clean compile
without having to specify the state of these configuration after starting to
compile.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
SVN-Revision: 39567

10 years agomvebu: backport mainline patches from kernel 3.13
Luka Perkov [Tue, 11 Feb 2014 02:07:44 +0000 (02:07 +0000)]
mvebu: backport mainline patches from kernel 3.13

This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.12, and Linux v3.13.
This work mainly covers:

* Finishes work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c)
  between the PXA family, and the Armada family.
* timer initialization update, and access function for the Armada family.
* Generic IRQ handling backporting.
* Some bug fixes.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39566

10 years agomvebu: backport mainline patches from kernel 3.12
Luka Perkov [Tue, 11 Feb 2014 02:07:41 +0000 (02:07 +0000)]
mvebu: backport mainline patches from kernel 3.12

This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12.
This work mainly covers:

* Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c)
  between the PXA family,and the Armada family.
* Further updates to the mvebu MBus.
* Work and ground work for enabling MSI on the Armada family.
* some phy / mdio bus initialization related work.
* Device tree binding documentation update.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39565

10 years agomvebu: backport mainline patches from kernel 3.11
Luka Perkov [Tue, 11 Feb 2014 02:07:38 +0000 (02:07 +0000)]
mvebu: backport mainline patches from kernel 3.11

This is a backport of the patches accepted to the Linux mainline related to
mvebu SoC (Armada XP and Armada 370) between Linux v3.10, and Linux v3.11.
This work mainly covers:

* Enabling USB storage, and PCI to mvebu_defconfig.
* Add support for NOR flash.
* Some PCI device tree related updates, and bus parsing.
* Adding Armada XP & 370 PCI driver, and update some clock gating
  specifics.
* Introduce Marvell EBU Device Bus driver.
* Enaling USB in the armada*.dts.
* Enabling, and updating the mvebu-mbus.
* Some SATA and Ethernet related fixes.

Signed-off-by: Seif Mazareeb <seif.mazareeb@gmail.com>
CC: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39564

10 years agokernel: fix kmod-usb-phy-nop
Hauke Mehrtens [Mon, 10 Feb 2014 20:30:24 +0000 (20:30 +0000)]
kernel: fix kmod-usb-phy-nop

phy-generic.ko was renamed and moved from kernel version to version.
kernel <= 3.9: nop-usb-xceiv.ko
kernel >= 3.10 && <= 3.11: phy-nop.ko
kernel >= 3.12: phy-generic.ko

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

10 years agokernel: fix kmod-usb-net-smsc95xx
Hauke Mehrtens [Mon, 10 Feb 2014 20:12:13 +0000 (20:12 +0000)]
kernel: fix kmod-usb-net-smsc95xx

smsc95xx.ko depends on crc16.ko on kernel >= 3.8
There was an additional kmod-usb-net-smsc95xx definition in the mxs
target code which conflicted with the one in the common area.

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

10 years agokeep initramfs the default for us
Imre Kaloz [Mon, 10 Feb 2014 15:30:01 +0000 (15:30 +0000)]
keep initramfs the default for us

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

10 years agophy-omap-control.ko is already part of a different package
Imre Kaloz [Mon, 10 Feb 2014 15:29:11 +0000 (15:29 +0000)]
phy-omap-control.ko is already part of a different package

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

10 years agoadditional omap/musb related fixes
Imre Kaloz [Mon, 10 Feb 2014 14:40:27 +0000 (14:40 +0000)]
additional omap/musb related fixes

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

10 years agofixup ethernet gadget, disable EEM support
Imre Kaloz [Mon, 10 Feb 2014 14:38:22 +0000 (14:38 +0000)]
fixup ethernet gadget, disable EEM support

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

10 years agodon't build in usb stuff
Imre Kaloz [Mon, 10 Feb 2014 14:35:20 +0000 (14:35 +0000)]
don't build in usb stuff

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

10 years agopackage the driver for smsc95xx chips
Imre Kaloz [Mon, 10 Feb 2014 14:34:08 +0000 (14:34 +0000)]
package the driver for smsc95xx chips

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

10 years agoadd additional omap related changes
Imre Kaloz [Sun, 9 Feb 2014 17:08:33 +0000 (17:08 +0000)]
add additional omap related changes

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

10 years agoadditional musb fixups
Imre Kaloz [Sun, 9 Feb 2014 16:14:30 +0000 (16:14 +0000)]
additional musb fixups

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

10 years agomusb depends on usb-gadget support
Imre Kaloz [Sun, 9 Feb 2014 14:24:28 +0000 (14:24 +0000)]
musb depends on usb-gadget support

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

10 years agouse musb in PIO mode, as DMA support is platform dependent
Imre Kaloz [Sun, 9 Feb 2014 14:08:10 +0000 (14:08 +0000)]
use musb in PIO mode, as DMA support is platform dependent

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

10 years agoadd more musb symbols
Imre Kaloz [Sun, 9 Feb 2014 14:02:59 +0000 (14:02 +0000)]
add more musb symbols

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

10 years agofix logic error on fpu cflags selection
Imre Kaloz [Sun, 9 Feb 2014 13:46:16 +0000 (13:46 +0000)]
fix logic error on fpu cflags selection

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

10 years agomake musb available for omap as well
Imre Kaloz [Sun, 9 Feb 2014 13:36:10 +0000 (13:36 +0000)]
make musb available for omap as well

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

10 years agorename Kconfig symbol to the current one
Imre Kaloz [Sun, 9 Feb 2014 13:02:17 +0000 (13:02 +0000)]
rename Kconfig symbol to the current one

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

10 years agomove some omap24xx modules to the generic Makefile
Imre Kaloz [Sun, 9 Feb 2014 13:01:00 +0000 (13:01 +0000)]
move some omap24xx modules to the generic Makefile

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

10 years agokernel: add kmod-usb-net-kalmia
Hauke Mehrtens [Sat, 8 Feb 2014 16:54:44 +0000 (16:54 +0000)]
kernel: add kmod-usb-net-kalmia

This patch adds a new kernel module for Samsung USB LTE modems.

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

10 years agokernel: XHCI PCI quirks for kernel 3.12 and 3.13
Hauke Mehrtens [Sat, 8 Feb 2014 16:32:37 +0000 (16:32 +0000)]
kernel: XHCI PCI quirks for kernel 3.12 and 3.13

This adds empty definitions for the PCI quirks functions when they
should not be included in the kernel.
This is based on a patch by Daniel <daniel@makrotopia.org>

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

10 years agokernel: fix bridge compilation on kernel 3.13
Hauke Mehrtens [Sat, 8 Feb 2014 15:36:03 +0000 (15:36 +0000)]
kernel: fix bridge compilation on kernel 3.13

The int brnf_call_ebtables in the header should be extern, otherwise
every object file gets its own int and they will conflict when linking
the binary.

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

10 years agokernel: negate kernel version dependencies to fix config for new kernel versions
Hauke Mehrtens [Sat, 8 Feb 2014 15:34:12 +0000 (15:34 +0000)]
kernel: negate kernel version dependencies to fix config for new kernel versions

This fixes some problems on kernel 3.13 and also removes the reference to LINUX_3_7.

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

10 years agokernel: add missing config symbol for 3.13.
Hauke Mehrtens [Sat, 8 Feb 2014 15:31:57 +0000 (15:31 +0000)]
kernel: add missing config symbol for 3.13.

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

10 years agomac80211: add led_trigger_blink{_oneshot}()
Hauke Mehrtens [Sat, 8 Feb 2014 12:19:22 +0000 (12:19 +0000)]
mac80211: add led_trigger_blink{_oneshot}()

When led support is deactivated in the kernel and
CPTCFG_BACKPORT_BUILD_LEDS is set mac80211 references
led_trigger_blink_oneshot() but it is not declared anywhere.

This fixes the following build error:
net/mac80211/led.c: In function 'ieee80211_led_rx':
net/mac80211/led.c:25:2: error: implicit declaration of function 'led_trigger_blink_oneshot' [-Werror=implicit-function-declaration]

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

10 years agomvebu: remove forced module config
Jonas Gorski [Sat, 8 Feb 2014 11:47:33 +0000 (11:47 +0000)]
mvebu: remove forced module config

These should either be disabled or not present in the config, else
they might cause build issues because of unexpected unpackaged
modules, as it is the case for LEDS_CLASS.

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

10 years agoacx-mac80211: really fix the build
Hauke Mehrtens [Sat, 8 Feb 2014 11:30:20 +0000 (11:30 +0000)]
acx-mac80211: really fix the build

The fix in r39482 was wrong.

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