openwrt.git
10 years agohostapd: fix basic rate list handling with netifd
nbd [Fri, 31 Jan 2014 10:43:18 +0000 (10:43 +0000)]
hostapd: fix basic rate list handling with netifd

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39431 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/modules: add xen-privcmd package
juhosg [Thu, 30 Jan 2014 17:08:03 +0000 (17:08 +0000)]
kernel/modules: add xen-privcmd package

Also select that for kmod-xen-fs. Fixes the following build
error:

  Package kmod-xen-fs is missing dependencies for the following libraries:
  xen-privcmd.ko

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39430 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: dragino2: add missing sysupgrade support.
juhosg [Thu, 30 Jan 2014 17:08:02 +0000 (17:08 +0000)]
ar71xx: dragino2: add missing sysupgrade support.

The original dragino2 board support was missing some changes from the
upstream svn repository (http://svn.dragino.com/dragino2) that supported
sysupgrade.

[juhosg: change subject]

Signed-off-by: Karl Palsson <karlp@remake.is>
Patchwork: http://patchwork.openwrt.org/patch/4801/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39429 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: refresh tarball with a newer backports version
nbd [Thu, 30 Jan 2014 15:55:59 +0000 (15:55 +0000)]
mac80211: refresh tarball with a newer backports version

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39428 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: update to wireless-testing 2014-01-23
nbd [Thu, 30 Jan 2014 13:21:36 +0000 (13:21 +0000)]
mac80211: update to wireless-testing 2014-01-23

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39427 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: fix frequency selection for ap+sta
nbd [Thu, 30 Jan 2014 13:21:30 +0000 (13:21 +0000)]
hostapd: fix frequency selection for ap+sta

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39426 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolibubox: ubox: procd: ubus: update to latest git head
blogic [Thu, 30 Jan 2014 09:02:58 +0000 (09:02 +0000)]
libubox: ubox: procd: ubus: update to latest git head

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39425 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: fix parallel build issues with header install
nbd [Thu, 30 Jan 2014 07:33:42 +0000 (07:33 +0000)]
kernel: fix parallel build issues with header install

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39424 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoAdd sysfixtime init script, replacement of luci_fixtime
jow [Wed, 29 Jan 2014 13:17:03 +0000 (13:17 +0000)]
Add sysfixtime init script, replacement of luci_fixtime

Simply scan for the most recent file in /etc and set
system time to this file modification time if it's in the future
It allow some time dependent program to work immediatly
without waiting for ntpd to sync

v1: v2: bad approach
v3: simply scan /etc, thanks to Bastian Bittorf for the idea
v4: use sort -n, thanks to Catalin Patulea
v5: use [] instead of [[]], thanks to Andreas Mohr
v6: use openwrt style, thanks to Bastian Bittorf

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39422 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolldpd: build without libreadline
jow [Wed, 29 Jan 2014 13:10:39 +0000 (13:10 +0000)]
lldpd: build without libreadline

lldpcli uses libreadline for tab completion. libreadline take around 110kb.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39421 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolldpd: add missing lldpcli
jow [Wed, 29 Jan 2014 13:10:35 +0000 (13:10 +0000)]
lldpd: add missing lldpcli

lldpd calls on startup lldpcli to configure itself.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39420 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolldpd: push to version 0.7.7
jow [Wed, 29 Jan 2014 13:10:31 +0000 (13:10 +0000)]
lldpd: push to version 0.7.7

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39419 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: Fix 80211w setup with netifd
jow [Tue, 28 Jan 2014 21:12:45 +0000 (21:12 +0000)]
hostapd: Fix 80211w setup with netifd

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39412 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: Fix basic_rate setup with netifd
jow [Tue, 28 Jan 2014 21:12:36 +0000 (21:12 +0000)]
hostapd: Fix basic_rate setup with netifd

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39411 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/3.1x: yaffs: fix handling of small-page NAND devices
juhosg [Tue, 28 Jan 2014 17:30:25 +0000 (17:30 +0000)]
kernel/3.1x: yaffs: fix handling of small-page NAND devices

Since the yaffs code update (r39084), it is not
possible to install OpenWrt on RouterBoards with
small-page NAND chips. Fix the yaffs code to make
it work again.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39409 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[3.13]: add missing symbol
wigyori [Mon, 27 Jan 2014 19:30:01 +0000 (19:30 +0000)]
[3.13]: add missing symbol

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39406 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomxs: make config and patches versioned
wigyori [Mon, 27 Jan 2014 19:29:04 +0000 (19:29 +0000)]
mxs: make config and patches versioned

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39405 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix warning in Redboot code
florian [Mon, 27 Jan 2014 04:34:39 +0000 (04:34 +0000)]
brcm63xx: fix warning in Redboot code

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39404 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agox86: remove 3.6 support
juhosg [Sun, 26 Jan 2014 17:42:26 +0000 (17:42 +0000)]
x86: remove 3.6 support

The 3.6 kernel isn't used by any of the x86 subtargets, so remove it.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39403 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: swconfig: use the local helper to set LED brightness on link down
juhosg [Sun, 26 Jan 2014 16:46:21 +0000 (16:46 +0000)]
ar71xx: swconfig: use the local helper to set LED brightness on link down

Use the 'swconfig_trig_set_brightness' function to set
the brightness value of the LED when the link goes down.
This ensures that the last brighness value is saved into
a local variable which is used to track the actual LED
status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39402 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wpe72: set active_low flag for the reset button
juhosg [Sun, 26 Jan 2014 14:55:34 +0000 (14:55 +0000)]
ar71xx: wpe72: set active_low flag for the reset button

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39401 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wp543: set active_low flag for the buttons
juhosg [Sun, 26 Jan 2014 14:55:32 +0000 (14:55 +0000)]
ar71xx: wp543: set active_low flag for the buttons

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39400 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: update 3.10 to 3.10.28
juhosg [Sun, 26 Jan 2014 11:30:34 +0000 (11:30 +0000)]
kernel: update 3.10 to 3.10.28

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39399 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: reserve 4 erase blocks on the TP-Link devices
juhosg [Sat, 25 Jan 2014 18:12:13 +0000 (18:12 +0000)]
ar71xx: image: reserve 4 erase blocks on the TP-Link devices

This ensures that the generated images will have enough erase
blocks for JFFS2.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39397 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofirmware-utils/mktplinkfw: allow to reserve space in the generated images
juhosg [Sat, 25 Jan 2014 18:12:03 +0000 (18:12 +0000)]
firmware-utils/mktplinkfw: allow to reserve space in the generated images

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39396 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: archer c7: define LEDs connected to the AR8327 switch
juhosg [Sat, 25 Jan 2014 11:16:59 +0000 (11:16 +0000)]
ar71xx: archer c7: define LEDs connected to the AR8327 switch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39395 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: move WNDAP360 macro
juhosg [Sat, 25 Jan 2014 08:31:45 +0000 (08:31 +0000)]
ar71xx: image: move WNDAP360 macro

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39394 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/3.8: update pci_disable_usb_common_quirks patch
juhosg [Sat, 25 Jan 2014 08:25:05 +0000 (08:25 +0000)]
kernel/3.8: update pci_disable_usb_common_quirks patch

Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39393 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards
juhosg [Fri, 24 Jan 2014 17:40:17 +0000 (17:40 +0000)]
ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards

On recent TL-WDR4300 boards the external LNAs of the 2.4GHz
interface are connected to GPIO lines. Because these GPIO
lines are disabled by default, the RX sensitivity of the
device is quite bad.

Setup the GPIOs of the external LNAs to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39392 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: generate sysupgrade images for the Compex boards
juhosg [Fri, 24 Jan 2014 17:15:03 +0000 (17:15 +0000)]
ar71xx: image: generate sysupgrade images for the Compex boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39391 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add sysupgrade support for the Compex boards
juhosg [Fri, 24 Jan 2014 17:15:02 +0000 (17:15 +0000)]
ar71xx: add sysupgrade support for the Compex boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39390 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: use a single firmware partition on Compex devices
juhosg [Fri, 24 Jan 2014 17:15:01 +0000 (17:15 +0000)]
ar71xx: image: use a single firmware partition on Compex devices

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39389 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: enable MTD_SPLIT_LZMA_FW option
juhosg [Fri, 24 Jan 2014 17:15:01 +0000 (17:15 +0000)]
ar71xx: enable MTD_SPLIT_LZMA_FW option

It will be used for Compex devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39388 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/3.1x: add split code for LZMA compressed kernel based firmwares
juhosg [Fri, 24 Jan 2014 17:14:59 +0000 (17:14 +0000)]
kernel/3.1x: add split code for LZMA compressed kernel based firmwares

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39387 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoconfig: lxc: enable KERNEL_POSIX_MQUEUE
luka [Fri, 24 Jan 2014 13:49:39 +0000 (13:49 +0000)]
config: lxc: enable KERNEL_POSIX_MQUEUE

Recent lxc versions are not useful if this option is not enabled. That said,
enable KERNEL_POSIX_MQUEUE by default when KERNEL_LXC_MISC is selected.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39385 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: detect partition sizes in the Image/Build/Ath macro
juhosg [Fri, 24 Jan 2014 11:59:35 +0000 (11:59 +0000)]
ar71xx: image: detect partition sizes in the Image/Build/Ath macro

Get the size of the mtd partitions directly from the
MTD layout and remove the superfluous macro parameters.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39384 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: fix size verification in the CatFiles macro
juhosg [Fri, 24 Jan 2014 11:59:32 +0000 (11:59 +0000)]
ar71xx: image: fix size verification in the CatFiles macro

The macro checks the size of the rootfs image even if
the second parameter of the macro contains the size of
an eraseblock. It is wrong because the size of the
kernel image will be adjusted to the next eraseblock
and the resulting image might be too large.

Fix the macro to check the size of the final image
instead of the rootfs image.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39383 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoRevert "kernel: create firmware partition from MyLoader partition parser"
juhosg [Fri, 24 Jan 2014 08:48:10 +0000 (08:48 +0000)]
Revert "kernel: create firmware partition from MyLoader partition parser"

This reverts r38197.

The automatically created firmware partition includes
the partition_table partition. Apart from the partition
table, this partition contains sensitive data on some
Compex devices which data can be destroyed when the
firmware partition gets modified. Revert the change to
prevent that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39382 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] uboot-envtools: add support for wndr3700
luka [Fri, 24 Jan 2014 00:07:48 +0000 (00:07 +0000)]
[package] uboot-envtools: add support for wndr3700

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39380 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: ap83: define mtd layout via command line
juhosg [Thu, 23 Jan 2014 16:47:42 +0000 (16:47 +0000)]
ar71xx: ap83: define mtd layout via command line

Also use the RKuImage macro becasue the original
firmware starts with the rootfs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39379 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: ap81: define mtd layout via command line
juhosg [Thu, 23 Jan 2014 16:47:41 +0000 (16:47 +0000)]
ar71xx: ap81: define mtd layout via command line

Also use the RKuImage macro becasue the original
firmware starts with the rootfs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39378 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: image: show size limit in warning messages
juhosg [Thu, 23 Jan 2014 12:27:28 +0000 (12:27 +0000)]
ar71xx: image: show size limit in warning messages

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39376 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add initramfs image support for Compex devices
juhosg [Thu, 23 Jan 2014 12:23:10 +0000 (12:23 +0000)]
ar71xx: add initramfs image support for Compex devices

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39375 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wp543: use KEY_RESET code for the sw4 button
juhosg [Thu, 23 Jan 2014 12:23:08 +0000 (12:23 +0000)]
ar71xx: wp543: use KEY_RESET code for the sw4 button

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39374 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: create wndr3700 network config from uci-defaults
luka [Thu, 23 Jan 2014 11:33:42 +0000 (11:33 +0000)]
ar71xx: create wndr3700 network config from uci-defaults

Since that was the last configuration in defconfig directory we can drop the
defconfig init script too.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39373 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[package] base-files: add ucidef_add_switch_port function
luka [Thu, 23 Jan 2014 11:33:41 +0000 (11:33 +0000)]
[package] base-files: add ucidef_add_switch_port function

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39372 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcpd: fix certain config values being overwritten
cyrus [Thu, 23 Jan 2014 11:02:18 +0000 (11:02 +0000)]
odhcpd: fix certain config values being overwritten

Thanks to Hans Dedecker for the fix.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39371 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago6rd: Make don't fragment bit (df) a configurable variable
cyrus [Thu, 23 Jan 2014 10:59:04 +0000 (10:59 +0000)]
6rd: Make don't fragment bit (df) a configurable variable

Make the IPv4 "do not fragment" bit a configurable variable for the 6rd
tunnel interface as the bit should not be set in the encapsulating IPv4
header according to RFC3056.
On top the config variable allows to enable/disable path mtu discovery
for tunnel interfaces.
Config variable can be passed to netifd as tunnel config support is
already present for the "do not fragment" bit.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39370 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/3.10: update pci_disable_usb_common_quirks patch
juhosg [Thu, 23 Jan 2014 09:07:49 +0000 (09:07 +0000)]
kernel/3.10: update pci_disable_usb_common_quirks patch

Fix build errors caused by undefined 'usb_disable_xhci_ports'
symbol.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39369 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agompc85xx: Fix building ramdisk images
juhosg [Thu, 23 Jan 2014 06:55:58 +0000 (06:55 +0000)]
mpc85xx: Fix building ramdisk images

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39368 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agompc85xx: Remove inittab workaround
juhosg [Thu, 23 Jan 2014 06:55:50 +0000 (06:55 +0000)]
mpc85xx: Remove inittab workaround

The default inittab uses "askconsole" which is implemented by procd
and uses the console provided by the kernel command line.

Hence, this platform specific workaround is not necessary anymore.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39367 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: revert log buffer size changes
blogic [Wed, 22 Jan 2014 15:33:16 +0000 (15:33 +0000)]
ubox: revert log buffer size changes

the fix horribly broke existing setups

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39366 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: update to latest git head
blogic [Tue, 21 Jan 2014 20:59:04 +0000 (20:59 +0000)]
ubox: update to latest git head

make sure log buffer size is not bigger than the ubus message size

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39365 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: enable support for BCM63268
florian [Tue, 21 Jan 2014 18:50:26 +0000 (18:50 +0000)]
brcm63xx: enable support for BCM63268

Support for the BCM63268 is usable, enable it by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39364 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: add support for BCM963269BHR board
florian [Tue, 21 Jan 2014 18:50:11 +0000 (18:50 +0000)]
brcm63xx: add support for BCM963269BHR board

Add kernel support for the BCM963269BHR board, USB and Ethernet switch,
LEDs and buttons are working.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39363 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: improve BCM63268 support
florian [Tue, 21 Jan 2014 18:49:50 +0000 (18:49 +0000)]
brcm63xx: improve BCM63268 support

Allow using the HSSPI controller since it works just fine, as well as
the integrated switch core, since that one works too.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39362 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: mynet-n750: define LEDs connected to the AR8327 switch
juhosg [Tue, 21 Jan 2014 17:17:42 +0000 (17:17 +0000)]
ar71xx: mynet-n750: define LEDs connected to the AR8327 switch

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4743/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39361 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomodules: swconfig.c: update the error path on 3.13, and behave nicely with return
wigyori [Tue, 21 Jan 2014 14:43:50 +0000 (14:43 +0000)]
modules: swconfig.c: update the error path on 3.13, and behave nicely with return

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39360 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomodules: update swconfig.c to compile on 3.13 (compile-tested)
wigyori [Tue, 21 Jan 2014 14:24:45 +0000 (14:24 +0000)]
modules: update swconfig.c to compile on 3.13 (compile-tested)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39359 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[3.13]: add missing symbols
wigyori [Tue, 21 Jan 2014 14:23:00 +0000 (14:23 +0000)]
[3.13]: add missing symbols

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39358 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: ocf: add missing dependency for hifn driver
jogo [Tue, 21 Jan 2014 12:11:18 +0000 (12:11 +0000)]
kernel: ocf: add missing dependency for hifn driver

The HIFN driver is a PCI driver, thus requires PCI support to be enabled
to compile. Therefore let it depend on PCI..

Should fix mvebu builds.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39357 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolantiq: fix unaligned access in vdsl firmware extractor
blogic [Tue, 21 Jan 2014 09:51:16 +0000 (09:51 +0000)]
lantiq: fix unaligned access in vdsl firmware extractor

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39356 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[3.13]: add missing symbols
wigyori [Tue, 21 Jan 2014 07:53:11 +0000 (07:53 +0000)]
[3.13]: add missing symbols

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39355 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agob53: use drvdata to store driver data
hauke [Mon, 20 Jan 2014 20:01:22 +0000 (20:01 +0000)]
b53: use drvdata to store driver data

we should not abuse the platform_data pointer.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39354 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agob53: make b53_switch_reset_gpio() static
hauke [Mon, 20 Jan 2014 19:07:18 +0000 (19:07 +0000)]
b53: make b53_switch_reset_gpio() static

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39353 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: update to latest git head
blogic [Mon, 20 Jan 2014 18:42:58 +0000 (18:42 +0000)]
procd: update to latest git head

Fixes OpenWrt bug #14832

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39352 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agonetifd: don't add unnecessary NOP policy rules
cyrus [Mon, 20 Jan 2014 18:23:02 +0000 (18:23 +0000)]
netifd: don't add unnecessary NOP policy rules

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39351 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[3.13]: update ocf patches
wigyori [Mon, 20 Jan 2014 15:23:27 +0000 (15:23 +0000)]
[3.13]: update ocf patches
 - as ENT_DEBUG is removed, move the messages into pr_notice

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39350 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[3.13]: update/fixup overlayfs patch
kaloz [Mon, 20 Jan 2014 14:46:29 +0000 (14:46 +0000)]
[3.13]: update/fixup overlayfs patch

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39349 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[generic]: add initial 3.13 support
kaloz [Mon, 20 Jan 2014 13:56:24 +0000 (13:56 +0000)]
[generic]: add initial 3.13 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39348 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago6in4: fix typo in config variable (fixes #14830)
cyrus [Mon, 20 Jan 2014 12:53:15 +0000 (12:53 +0000)]
6in4: fix typo in config variable (fixes #14830)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39347 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch
juhosg [Mon, 20 Jan 2014 10:23:06 +0000 (10:23 +0000)]
ar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39346 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch
juhosg [Mon, 20 Jan 2014 10:23:05 +0000 (10:23 +0000)]
ar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39345 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: set default LED config for the RB2011* boards
juhosg [Mon, 20 Jan 2014 10:23:04 +0000 (10:23 +0000)]
ar71xx: set default LED config for the RB2011* boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39344 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: set status_led for the RB2011* boards
juhosg [Mon, 20 Jan 2014 10:23:03 +0000 (10:23 +0000)]
ar71xx: set status_led for the RB2011* boards

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39343 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: fix indentation in diag.sh
juhosg [Mon, 20 Jan 2014 10:23:02 +0000 (10:23 +0000)]
ar71xx: fix indentation in diag.sh

Replace the leading spaces with tabs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39342 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: rb2011: define LEDs connected to the AR8327 switch
juhosg [Mon, 20 Jan 2014 10:23:01 +0000 (10:23 +0000)]
ar71xx: rb2011: define LEDs connected to the AR8327 switch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39341 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: enable AR8327 LED support
juhosg [Mon, 20 Jan 2014 10:23:00 +0000 (10:23 +0000)]
ar71xx: enable AR8327 LED support

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39340 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel/3.1[02]: add AR8216_PHY_LEDS option
juhosg [Mon, 20 Jan 2014 10:22:59 +0000 (10:22 +0000)]
kernel/3.1[02]: add AR8216_PHY_LEDS option

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39339 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: add custom LED support for the AR8327 switch
juhosg [Mon, 20 Jan 2014 10:22:56 +0000 (10:22 +0000)]
generic: ar8216: add custom LED support for the AR8327 switch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39338 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: allow to use chip specific cleanup callback
juhosg [Mon, 20 Jan 2014 10:22:55 +0000 (10:22 +0000)]
generic: ar8216: allow to use chip specific cleanup callback

It will be used for AR8327.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39337 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agogeneric: ar8216: add optimized rmw operation
juhosg [Mon, 20 Jan 2014 10:22:54 +0000 (10:22 +0000)]
generic: ar8216: add optimized rmw operation

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39336 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: rb2011: fix eth5 LED
juhosg [Mon, 20 Jan 2014 10:22:49 +0000 (10:22 +0000)]
ar71xx: rb2011: fix eth5 LED

The eth5 LED on the RB2011 is not working because the
LED control rule is missing. Fix it.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39335 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoubox: update to latest git head
blogic [Sun, 19 Jan 2014 19:10:09 +0000 (19:10 +0000)]
ubox: update to latest git head

adds option to set internal buffer size

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39333 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agofirewall: don't reload if there were no address or data changes
cyrus [Sun, 19 Jan 2014 17:35:33 +0000 (17:35 +0000)]
firewall: don't reload if there were no address or data changes

This fixes packet loss due to reloading firewall every minute with IPv6
implementation of certain ISPs.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39332 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add usb3 module definitions
blogic [Sun, 19 Jan 2014 17:27:40 +0000 (17:27 +0000)]
kernel: add usb3 module definitions

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39331 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: activate xhci config
blogic [Sun, 19 Jan 2014 17:27:31 +0000 (17:27 +0000)]
ralink: activate xhci config

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39330 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: backport various fixes from linux-mti
blogic [Sun, 19 Jan 2014 17:27:22 +0000 (17:27 +0000)]
ralink: backport various fixes from linux-mti

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39329 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add xhci driver
blogic [Sun, 19 Jan 2014 17:27:13 +0000 (17:27 +0000)]
ralink: add xhci driver

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39328 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoscripts/kconfig.pl: Indicate which file we couldn't open
blogic [Sun, 19 Jan 2014 17:27:04 +0000 (17:27 +0000)]
scripts/kconfig.pl: Indicate which file we couldn't open

Signed-off-by: Daniel Colascione <dancol@dancol.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39327 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: fix typo breaking build in r39325
jogo [Sun, 19 Jan 2014 14:00:18 +0000 (14:00 +0000)]
brcm63xx: fix typo breaking build in r39325

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39326 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: set usb host port number for some devices
jogo [Sun, 19 Jan 2014 13:46:25 +0000 (13:46 +0000)]
brcm63xx: set usb host port number for some devices

Update a few devices with their actual port numbers, especially those
with two ports.

Should allow properly using the second port on the Neufboxen and HW553
and HW556.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39325 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: allow setting the number of usb host ports for boards
jogo [Sun, 19 Jan 2014 13:46:14 +0000 (13:46 +0000)]
brcm63xx: allow setting the number of usb host ports for boards

Allow setting the number of available usb host ports for boards with
additional sanity checks to allow using the second port on devices
where it is available.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39324 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: add USB support for BCM63268
jogo [Sun, 19 Jan 2014 13:46:05 +0000 (13:46 +0000)]
brcm63xx: add USB support for BCM63268

Add and enable USB support for the BCM63268 family of SoCs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39323 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too
jogo [Sun, 19 Jan 2014 13:45:55 +0000 (13:45 +0000)]
brcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too

USB will fail to work if compiling with BCM6318 only if BCM63XX_HAS_EHCI
and BCM63XX_HAS_OHCI are not selected.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39322 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm63xx: prevent usb clock state inconsistency on BCM6318
jogo [Sun, 19 Jan 2014 13:45:42 +0000 (13:45 +0000)]
brcm63xx: prevent usb clock state inconsistency on BCM6318

Return the same clock for usbh and usbd on BCM6318 to prevent the clock
getting disabled despite being supposed to be enabled, e.g. by the
following sequence:

clk_enable(usbh); <- usbh->usage = 1, enabled
clk_enable(usbd); <- usbd->usage = 1, enabled (no effect)
clk_disable(usbd); <- usbd->usage = 0,  -> disabled!

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39321 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[ar71xx]: generate images for the On Networks N150 (rebranded Netgear WNR612v2)
kaloz [Sat, 18 Jan 2014 19:44:40 +0000 (19:44 +0000)]
[ar71xx]: generate images for the On Networks N150 (rebranded Netgear WNR612v2)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39320 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoodhcpd: Fix a memory corruption when static leases are used
cyrus [Sat, 18 Jan 2014 10:11:03 +0000 (10:11 +0000)]
odhcpd: Fix a memory corruption when static leases are used

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39319 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agosysupgrade: do not kill any processes in failsafe
blogic [Fri, 17 Jan 2014 22:12:05 +0000 (22:12 +0000)]
sysupgrade: do not kill any processes in failsafe

sysugrade killed the lock causing failsafe to stop

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39318 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agousbmode: update usb-modeswitch-data version to 20131113
blogic [Fri, 17 Jan 2014 21:45:55 +0000 (21:45 +0000)]
usbmode: update usb-modeswitch-data version to 20131113

https://dev.openwrt.org/ticket/14762

Signed-off-by: Alif M. Ahmad <ama_alif@yahoo.co.id>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39317 3c298f89-4303-0410-b956-a3cf2f4a3e73