openwrt/staging/jow.git
10 years agoath9k: fix issues with 5/10 mhz channel bandwidth (#14916)
Felix Fietkau [Sat, 22 Feb 2014 13:43:48 +0000 (13:43 +0000)]
ath9k: fix issues with 5/10 mhz channel bandwidth (#14916)

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

10 years agoath9k: fix issues that have been plaguing some powersave clients since the tx queuein...
Felix Fietkau [Sat, 22 Feb 2014 13:01:11 +0000 (13:01 +0000)]
ath9k: fix issues that have been plaguing some powersave clients since the tx queueing rework (#14092)

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

10 years agoath9k: show more reset causes in debugfs
Felix Fietkau [Sat, 22 Feb 2014 13:01:07 +0000 (13:01 +0000)]
ath9k: show more reset causes in debugfs

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

10 years agomac80211: merge some upstream fixes
Felix Fietkau [Sat, 22 Feb 2014 13:01:04 +0000 (13:01 +0000)]
mac80211: merge some upstream fixes

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

10 years agoath9k: enable u-apsd support
Felix Fietkau [Sat, 22 Feb 2014 13:01:00 +0000 (13:01 +0000)]
ath9k: enable u-apsd support

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

10 years agoath9k: add a tx locking fix
Felix Fietkau [Sat, 22 Feb 2014 13:00:55 +0000 (13:00 +0000)]
ath9k: add a tx locking fix

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

10 years agob53: Make b53_switch_init static
Jonas Gorski [Sat, 22 Feb 2014 11:16:58 +0000 (11:16 +0000)]
b53: Make b53_switch_init static

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4869/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39683

10 years agob53: Add BCM53128 switch support
Jonas Gorski [Sat, 22 Feb 2014 11:16:56 +0000 (11:16 +0000)]
b53: Add BCM53128 switch support

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4867/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39682

10 years agobrcm63xx: fix RG100A/DB120 usb port number
Jonas Gorski [Sat, 22 Feb 2014 11:16:52 +0000 (11:16 +0000)]
brcm63xx: fix RG100A/DB120 usb port number

Set usbh ports to 2 to fix #15007.

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

10 years agobrcm63xx: fix number of usb ports for HW556 variants
Jonas Gorski [Sat, 22 Feb 2014 11:16:50 +0000 (11:16 +0000)]
brcm63xx: fix number of usb ports for HW556 variants

Don't only fix up the fallback board, but also all three variants.

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

10 years agobrcm63xx: add initial support for BCM963268BU_P300 reference board
Jonas Gorski [Sat, 22 Feb 2014 11:16:48 +0000 (11:16 +0000)]
brcm63xx: add initial support for BCM963268BU_P300 reference board

Only netboot tested, so no images or now.
GbE ports are only working in FE mode, and leds do not work.

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

10 years agobrcm63xx: add VW6339GU support
Jonas Gorski [Sat, 22 Feb 2014 11:16:46 +0000 (11:16 +0000)]
brcm63xx: add VW6339GU support

Completely untested except for booting from network; wan port
only works in 10/HD, lan1 only in 100/FD.

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

10 years agobrcm63xx: fix number of switch ports for BCM63168/63268
Jonas Gorski [Sat, 22 Feb 2014 11:16:44 +0000 (11:16 +0000)]
brcm63xx: fix number of switch ports for BCM63168/63268

BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268
has two additional RGMII ports, making it 8.
Fix this by checking the chip variant and applying an appropriate
limit.

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

10 years agobrcm63xx: F@ST2504n board support (image, base-files)
Jonas Gorski [Sat, 22 Feb 2014 11:16:42 +0000 (11:16 +0000)]
brcm63xx: F@ST2504n board support (image, base-files)

Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4730/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39676

10 years agobrcm63xx: F@ST2504n board support
Jonas Gorski [Sat, 22 Feb 2014 11:16:40 +0000 (11:16 +0000)]
brcm63xx: F@ST2504n board support

Signed-off-by: Max Staudt <openwrt.max@enpas.org>
Patchwork: http://patchwork.openwrt.org/patch/4729/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39675

10 years agobrcm63xx: add support for Asmax AR 1004g router
Jonas Gorski [Sat, 22 Feb 2014 11:16:38 +0000 (11:16 +0000)]
brcm63xx: add support for Asmax AR 1004g router

Support for Asmax AR 1004g router

Signed-off-by: Adrian Feliks <mexit@o2.pl>
Patchwork: http://patchwork.openwrt.org/patch/4464/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39674

10 years agobrcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router
Jonas Gorski [Sat, 22 Feb 2014 11:16:35 +0000 (11:16 +0000)]
brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router

This adds profile and build image for Sagemcom F@st2704, using b43
driver.
For WiFi to work properly BCMA fallback SPROM support patch must
be applied (http://git.io/z1Ki8A).

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4212/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39673

10 years agobrcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router
Jonas Gorski [Sat, 22 Feb 2014 11:16:33 +0000 (11:16 +0000)]
brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL router

This adds userspace support for Sagemcom F@st 2704 router.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4215/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39672

10 years agobrcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router
Jonas Gorski [Sat, 22 Feb 2014 11:16:30 +0000 (11:16 +0000)]
brcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL router

This adds kernel support support for Sagemcom F@st 2704 wireless ADSL
router.
It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+
modem equipped with 64 MiB RAM and 8 MiB flash.

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4266/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 39671

10 years agokernel: add missing depends on kmod-mii
Hauke Mehrtens [Fri, 21 Feb 2014 22:57:39 +0000 (22:57 +0000)]
kernel: add missing depends on kmod-mii

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

10 years agokexec-tools: disable lzma support
Hauke Mehrtens [Fri, 21 Feb 2014 20:06:41 +0000 (20:06 +0000)]
kexec-tools: disable lzma support

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

10 years agoodhcpd: fix wrong address pool being advertised
Steven Barth [Fri, 21 Feb 2014 18:02:25 +0000 (18:02 +0000)]
odhcpd: fix wrong address pool being advertised

SVN-Revision: 39651

10 years agothe root password should be empty for real, like before
Imre Kaloz [Fri, 21 Feb 2014 10:39:14 +0000 (10:39 +0000)]
the root password should be empty for real, like before

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

10 years agofirewall: fix validation constraints
Jo-Philipp Wich [Fri, 21 Feb 2014 00:22:23 +0000 (00:22 +0000)]
firewall: fix validation constraints

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

10 years agonetifd: fix validation constraints
Jo-Philipp Wich [Fri, 21 Feb 2014 00:17:04 +0000 (00:17 +0000)]
netifd: fix validation constraints

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

10 years agofirewall: fix several ipset integration issues (#15016)
Jo-Philipp Wich [Thu, 20 Feb 2014 23:20:10 +0000 (23:20 +0000)]
firewall: fix several ipset integration issues (#15016)

- Do not consider bitmap storage for IPv6 family sets
- Move ipset family parameter before any additional option
- Only emit family parameter for hash sets
- Do not allow IPv6 iprange for IPv4 sets and vice versa

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

10 years ago6in4: add support for he.net updatekey
Steven Barth [Thu, 20 Feb 2014 21:36:15 +0000 (21:36 +0000)]
6in4: add support for he.net updatekey

SVN-Revision: 39646

10 years agoimx6: update Ventana dts
Luka Perkov [Thu, 20 Feb 2014 17:26:10 +0000 (17:26 +0000)]
imx6: update Ventana dts

Update the Ventana device-tree to match upstream:
 - Add IMX6Q/IMX6DL variants for GW54xx/GW53xx/GW52xx/GW51xx
 - align pinctrl with upstream
 - consolidate multiple patches into one

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

10 years agoimx6: enable IMX6 watchdog
Luka Perkov [Thu, 20 Feb 2014 17:26:08 +0000 (17:26 +0000)]
imx6: enable IMX6 watchdog

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

10 years agoar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss
Gabor Juhos [Thu, 20 Feb 2014 17:07:56 +0000 (17:07 +0000)]
ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss

When the RB91x device uses a GbE link the connection
suffers from packet loss:

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  20 packets transmitted, 9 packets received, 55% packet loss
  round-trip min/avg/max = 4.570/4.815/4.999 ms

Using a different PLL value fixes the issue.

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  100 packets transmitted, 100 packets received, 0% packet loss
  round-trip min/avg/max = 4.449/5.413/13.870 ms

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

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