openwrt/staging/neocturne.git
11 years agoralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
John Crispin [Mon, 25 Nov 2013 08:34:01 +0000 (08:34 +0000)]
ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family

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

11 years agoralink: set the mac addr via the dts file
John Crispin [Mon, 25 Nov 2013 08:33:42 +0000 (08:33 +0000)]
ralink: set the mac addr via the dts file

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

11 years agokirkwood: include ext4 support by default
Luka Perkov [Sun, 24 Nov 2013 23:07:34 +0000 (23:07 +0000)]
kirkwood: include ext4 support by default

Several users reported that they would like this feature.

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

11 years agokirkwood: kernel: add missing config option
Luka Perkov [Sun, 24 Nov 2013 17:53:34 +0000 (17:53 +0000)]
kirkwood: kernel: add missing config option

Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
SVN-Revision: 38900

11 years agocmake: upgrade to 2.8.12.1
Luka Perkov [Sun, 24 Nov 2013 07:10:21 +0000 (07:10 +0000)]
cmake: upgrade to 2.8.12.1

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

11 years agokirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
Luka Perkov [Sat, 23 Nov 2013 15:55:12 +0000 (15:55 +0000)]
kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables

The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

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

11 years agokirkwood: add support for iomega iconnect
Luka Perkov [Sat, 23 Nov 2013 15:55:10 +0000 (15:55 +0000)]
kirkwood: add support for iomega iconnect

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>
SVN-Revision: 38897

11 years agoFor now vdi and vmdk images should be x86 only
Imre Kaloz [Fri, 22 Nov 2013 14:39:53 +0000 (14:39 +0000)]
For now vdi and vmdk images should be x86 only

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

11 years agomove menuconfig options into separate files
Imre Kaloz [Fri, 22 Nov 2013 14:30:40 +0000 (14:30 +0000)]
move menuconfig options into separate files

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

11 years agodrop stupid defaults
Imre Kaloz [Fri, 22 Nov 2013 13:41:55 +0000 (13:41 +0000)]
drop stupid defaults

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

11 years agoadd a feature flag for device tree support
Imre Kaloz [Fri, 22 Nov 2013 12:01:01 +0000 (12:01 +0000)]
add a feature flag for device tree support

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

11 years agoVMWare and VirtualBox images should select what they need, not depend on it..
Imre Kaloz [Fri, 22 Nov 2013 09:54:36 +0000 (09:54 +0000)]
VMWare and VirtualBox images should select what they need, not depend on it..

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

11 years agorationalize target image options
Imre Kaloz [Fri, 22 Nov 2013 09:44:14 +0000 (09:44 +0000)]
rationalize target image options

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

11 years agoallow configuration of the target directory for binaries
Imre Kaloz [Fri, 22 Nov 2013 09:39:41 +0000 (09:39 +0000)]
allow configuration of the target directory for binaries

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

11 years agoreplace the mips64 fixes patch with an upstream commit
Imre Kaloz [Fri, 22 Nov 2013 09:22:54 +0000 (09:22 +0000)]
replace the mips64 fixes patch with an upstream commit

The current one broke all other 64 bit targets.. DOH!

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

11 years agouhttpd: update to the latest version, fixes crashes in the ubus plugin
Felix Fietkau [Thu, 21 Nov 2013 21:52:24 +0000 (21:52 +0000)]
uhttpd: update to the latest version, fixes crashes in the ubus plugin

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

11 years agopkg-config: fix occasional install problem
Luka Perkov [Wed, 20 Nov 2013 22:09:11 +0000 (22:09 +0000)]
pkg-config: fix occasional install problem

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

11 years agoprocd: fix the running hook #38868
John Crispin [Wed, 20 Nov 2013 19:28:51 +0000 (19:28 +0000)]
procd: fix the running hook #38868

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

11 years agolantiq: move patch to proper folder
John Crispin [Wed, 20 Nov 2013 17:53:36 +0000 (17:53 +0000)]
lantiq: move patch to proper folder

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

11 years agomac80211: fix reorder issues with multicast packets (client mode)
Felix Fietkau [Wed, 20 Nov 2013 17:33:50 +0000 (17:33 +0000)]
mac80211: fix reorder issues with multicast packets (client mode)

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

11 years agomac80211: fix an overflow issue in minstrel_ht
Felix Fietkau [Wed, 20 Nov 2013 17:33:46 +0000 (17:33 +0000)]
mac80211: fix an overflow issue in minstrel_ht

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

11 years agolantiq: update default mii modes
John Crispin [Wed, 20 Nov 2013 16:56:58 +0000 (16:56 +0000)]
lantiq: update default mii modes

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

11 years agolantiq: fix etop registers
John Crispin [Wed, 20 Nov 2013 16:56:50 +0000 (16:56 +0000)]
lantiq: fix etop registers

As first reported more than a year ago
(https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016240.html
and
https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016241.html),
some of the register definitions of the lantiq etop driver are
incorrect. When OpenWrt is booted with a bootloader which doesn't do
proper network initialization of its own (e.g. brnboot), ethernet won't
work. The patch below changes the register names and addresses to match
the lantiq etop driver included with the recent U-Boot.

At the moment the MII/RMII setting in the lantiq .dts-files has no
effect, since wrong registers are written. Once this patch is applied,
it is necessary to make sure that the MII/RMII setting in the .dts-file
is correct.

v2: fix mangled whitespaces

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

11 years agoprocd: add validation to the log init script
John Crispin [Wed, 20 Nov 2013 16:56:41 +0000 (16:56 +0000)]
procd: add validation to the log init script

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

11 years agolantiq: fix an endless loop in the vmmc platform code
John Crispin [Wed, 20 Nov 2013 16:56:32 +0000 (16:56 +0000)]
lantiq: fix an endless loop in the vmmc platform code

this was caused by not honoured error return codes of of_gpio_count()

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

11 years agomxs: build/profile-related changes - change uImage creation to use zImage - update...
Zoltan Herpai [Wed, 20 Nov 2013 10:23:49 +0000 (10:23 +0000)]
mxs: build/profile-related changes - change uImage creation to use zImage - update image Makefile for further boards with u-boot support - add profile for OLinuXino Micro/Nano boards

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

11 years agopackage: uboot-mxs: cosmetic fix
Zoltan Herpai [Wed, 20 Nov 2013 10:15:02 +0000 (10:15 +0000)]
package: uboot-mxs: cosmetic fix

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

11 years agomac80211: small rate control fix
Felix Fietkau [Wed, 20 Nov 2013 07:33:27 +0000 (07:33 +0000)]
mac80211: small rate control fix

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

11 years agolibubox: fix compile error (#14497)
John Crispin [Tue, 19 Nov 2013 21:54:51 +0000 (21:54 +0000)]
libubox: fix compile error (#14497)

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

11 years agoralink: set wmr-300 mac properly
John Crispin [Tue, 19 Nov 2013 21:13:24 +0000 (21:13 +0000)]
ralink: set wmr-300 mac properly

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

11 years agomtd: add a "mtd verify" call
John Crispin [Tue, 19 Nov 2013 20:56:23 +0000 (20:56 +0000)]
mtd: add a "mtd verify" call

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

11 years agolibubox: ubox: procd: move md5.{c,h} to libubox
John Crispin [Tue, 19 Nov 2013 20:56:11 +0000 (20:56 +0000)]
libubox: ubox: procd: move md5.{c,h} to libubox

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

11 years agoprocd: update to latest git head
John Crispin [Tue, 19 Nov 2013 16:33:50 +0000 (16:33 +0000)]
procd: update to latest git head

* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever

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

11 years agoralink: add missing CONFIG_ symbol to mt7620n
John Crispin [Tue, 19 Nov 2013 16:33:43 +0000 (16:33 +0000)]
ralink: add missing CONFIG_ symbol to mt7620n

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

11 years agolibubox: update to latest git head
John Crispin [Tue, 19 Nov 2013 16:31:47 +0000 (16:31 +0000)]
libubox: update to latest git head

add a renqueue_add_first() api

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

11 years agompc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
Felix Fietkau [Tue, 19 Nov 2013 13:00:37 +0000 (13:00 +0000)]
mpc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver

This patch fixes the NAPI poll mechanism in the GIANFAR ethernet driver, which
was not properly working since Linus Kernel Version 3,8.
Therefore the workaround patch to downgrade the GIANFAR ethernet driver to
Kernelversion v3.8 is obsoete.
This patch was extensivly testes with different network loads and types of
traffic. There is quite a substantial user base that reports proper Ethernet
function with TPlink-4900. This patch is based on the fixes from GINAFAR
maintainer Claudiu Manoli.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38865

11 years agoprocd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Felix Fietkau [Tue, 19 Nov 2013 00:03:42 +0000 (00:03 +0000)]
procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem

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

11 years agobase-files: add the DEVICENAME variable for hotplug scripts
Felix Fietkau [Tue, 19 Nov 2013 00:03:39 +0000 (00:03 +0000)]
base-files: add the DEVICENAME variable for hotplug scripts

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

11 years agoscripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in...
Felix Fietkau [Tue, 19 Nov 2013 00:03:34 +0000 (00:03 +0000)]
scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/

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

11 years agoimx6: build images for ventana boards that are supported
Luka Perkov [Mon, 18 Nov 2013 22:23:43 +0000 (22:23 +0000)]
imx6: build images for ventana boards that are supported

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

11 years agoimx6: merge all gateworks boards into one profile
Luka Perkov [Mon, 18 Nov 2013 22:23:42 +0000 (22:23 +0000)]
imx6: merge all gateworks boards into one profile

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

11 years agoimx6: add support for more then one nand type per profile
Luka Perkov [Mon, 18 Nov 2013 22:23:40 +0000 (22:23 +0000)]
imx6: add support for more then one nand type per profile

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

11 years agoimx6: refresh kernel config
Luka Perkov [Mon, 18 Nov 2013 22:23:39 +0000 (22:23 +0000)]
imx6: refresh kernel config

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

11 years agoimage: remove spaces from toupper function
Luka Perkov [Mon, 18 Nov 2013 22:23:38 +0000 (22:23 +0000)]
image: remove spaces from toupper function

The extra prefix space is passed to the caller.

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

11 years agoath9k: merge a few reset / calibration fixes
Felix Fietkau [Mon, 18 Nov 2013 19:58:53 +0000 (19:58 +0000)]
ath9k: merge a few reset / calibration fixes

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

11 years agocmake.mk: fix support for ccache
Felix Fietkau [Mon, 18 Nov 2013 14:10:12 +0000 (14:10 +0000)]
cmake.mk: fix support for ccache

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

11 years agohostapd: remove random pool support - the entropy it gathers is questionable and...
Felix Fietkau [Mon, 18 Nov 2013 13:54:26 +0000 (13:54 +0000)]
hostapd: remove random pool support - the entropy it gathers is questionable and we have better entropy sources on common platforms now

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

11 years agouClibc: Deactivate oversized thread stack cache
Felix Fietkau [Mon, 18 Nov 2013 13:32:06 +0000 (13:32 +0000)]
uClibc: Deactivate oversized thread stack cache

A small system like the common home router doesn't have 40 MiB per process for
a dirty stack cache. This can easily lead to an overbooking OOM problem and
caused a lot of hangs+reboots on 32 MiB systems running nodogsplash.

Not using a stack cache can increase the time to spawn new threads. This is
hopefully no problem for system not running a lot of parallel computations.

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

11 years agomake default packages selected for real
Imre Kaloz [Mon, 18 Nov 2013 12:05:11 +0000 (12:05 +0000)]
make default packages selected for real

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

11 years agofirewall: optimize DNAT rules and skip invalid rules and redirects (#14485)
Jo-Philipp Wich [Mon, 18 Nov 2013 11:59:27 +0000 (11:59 +0000)]
firewall: optimize DNAT rules and skip invalid rules and redirects (#14485)

- instead of writing one (or more) ACCEPT rules in the filter table
  for each redirect install a global ctstate DNAT accept rule per zone

- discard rules and redirects which have invalid options set instead
  of silently skipping the invalid values

SVN-Revision: 38849

11 years agoralink: add support for ralink mt7620 nand eval board
John Crispin [Mon, 18 Nov 2013 09:35:41 +0000 (09:35 +0000)]
ralink: add support for ralink mt7620 nand eval board

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

11 years agoralink: improve mt7620n detection
John Crispin [Mon, 18 Nov 2013 09:35:32 +0000 (09:35 +0000)]
ralink: improve mt7620n detection

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

11 years agoralink: add mt7620 nand driver
John Crispin [Mon, 18 Nov 2013 09:35:23 +0000 (09:35 +0000)]
ralink: add mt7620 nand driver

This is a minor rework of the SDK driver. This driver needs a full rewrite.

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

11 years agoralink: make all none 3x5x boards default to a vlan1/2 setup
John Crispin [Mon, 18 Nov 2013 09:35:14 +0000 (09:35 +0000)]
ralink: make all none 3x5x boards default to a vlan1/2 setup

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

11 years agoralink: make usb work on the mt7530 eval kit
John Crispin [Mon, 18 Nov 2013 09:34:46 +0000 (09:34 +0000)]
ralink: make usb work on the mt7530 eval kit

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

11 years agomac80211: ath10k: add board.bin file again
Hauke Mehrtens [Sun, 17 Nov 2013 17:57:37 +0000 (17:57 +0000)]
mac80211: ath10k: add board.bin file again

This file is still needed with the new firmware.

This fixes r38835.

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

11 years agoat91: fix typo in network file
Hauke Mehrtens [Sun, 17 Nov 2013 17:14:32 +0000 (17:14 +0000)]
at91: fix typo in network file

This closes #14474.

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

11 years agokernel: add vmxnet3 module
Hauke Mehrtens [Sun, 17 Nov 2013 16:41:40 +0000 (16:41 +0000)]
kernel: add vmxnet3 module

support VMware ethernet adapters

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

11 years agoxfsprogs: move to submenu Filesystem
Hauke Mehrtens [Sun, 17 Nov 2013 16:14:58 +0000 (16:14 +0000)]
xfsprogs: move to submenu Filesystem

move xfsprogs to the right submenu
e2fsprogs, btrfs-progs and other stuff is there already

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

11 years agokirkwood: add missing kernel config CONFIG_REGMAP=y
Hauke Mehrtens [Sun, 17 Nov 2013 16:05:09 +0000 (16:05 +0000)]
kirkwood: add missing kernel config CONFIG_REGMAP=y

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

11 years agomac80211: update ath10k firmware
Hauke Mehrtens [Sun, 17 Nov 2013 15:52:55 +0000 (15:52 +0000)]
mac80211: update ath10k firmware

Current version of ath10k in the recently updated wireless-testing
package requires a new firmware. This patch fixes the issue.

v2:
* fix (hopefully) the mangled whitespaces
* actually install the new firmware instead of the old

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

11 years agokernel: backport get_cycles() fix
Hauke Mehrtens [Sun, 17 Nov 2013 15:52:14 +0000 (15:52 +0000)]
kernel: backport get_cycles() fix

get_cycles() is used in some places as one part of the seed for the
kernel PRNG.

This backports the following commit from mainline linux kernel:
9c9b415c50bc298ac61412dff856eae2f54889ee

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

11 years agomac80211: add blink api backport
Hauke Mehrtens [Sun, 17 Nov 2013 15:50:54 +0000 (15:50 +0000)]
mac80211: add blink api backport

This patch was copied from a more recent backports versions. This fixes
a build problem with kernel < 3.6.

This closes #14475

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

11 years agoralink: add mt7620n dts files
John Crispin [Sun, 17 Nov 2013 13:22:01 +0000 (13:22 +0000)]
ralink: add mt7620n dts files

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

11 years agoramips: fix wmr300 network detection
John Crispin [Sun, 17 Nov 2013 13:14:46 +0000 (13:14 +0000)]
ramips: fix wmr300 network detection

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

11 years agokernel: add fix to block2mtd driver for modified error logging
Zoltan Herpai [Sun, 17 Nov 2013 11:57:57 +0000 (11:57 +0000)]
kernel: add fix to block2mtd driver for modified error logging

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

11 years agokernel: add missing symbols for 3.12
Zoltan Herpai [Sun, 17 Nov 2013 11:55:23 +0000 (11:55 +0000)]
kernel: add missing symbols for 3.12

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

11 years agoralink: add mt7620n support
John Crispin [Sat, 16 Nov 2013 20:28:52 +0000 (20:28 +0000)]
ralink: add mt7620n support

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

11 years agoprocd: ubox: update to latest git head
John Crispin [Sat, 16 Nov 2013 20:20:30 +0000 (20:20 +0000)]
procd: ubox: update to latest git head

move log service from procd to ubox
some debloating on procd
the preinit part of procd is now also a seperate binary

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

11 years agokernel: add missing symbols for 3.12
Zoltan Herpai [Sat, 16 Nov 2013 11:52:30 +0000 (11:52 +0000)]
kernel: add missing symbols for 3.12

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

11 years agosunxi: remove old kernel config after 3.12 upgrade (r38811)
Luka Perkov [Sat, 16 Nov 2013 10:17:38 +0000 (10:17 +0000)]
sunxi: remove old kernel config after 3.12 upgrade (r38811)

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

11 years ago6rd: Clear correct IPv6 address bits in 6rdcalc
Steven Barth [Sat, 16 Nov 2013 09:18:14 +0000 (09:18 +0000)]
6rd: Clear correct IPv6 address bits in 6rdcalc

The correct bits are now cleared in the IPv6 address as the shift
value to the correct byte in the IPv6 address was wrong. Depending
on the stack values this could result in a hanging 6rdcalc program
due to an endless loop.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 38818

11 years agoreplace the TI patch with a smaller patchset
Imre Kaloz [Fri, 15 Nov 2013 12:23:17 +0000 (12:23 +0000)]
replace the TI patch with a smaller patchset

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

11 years agoar71xx: add profile for the WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:25 +0000 (10:11 +0000)]
ar71xx: add profile for the WR842N/ND v2

Patch to add the profile for the TP-LINK WR842N/ND v2
Small update, because of a change in the Makefile.

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4382/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38815

11 years agoar71xx: add user space support for the TL-WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:24 +0000 (10:11 +0000)]
ar71xx: add user space support for the TL-WR842N/ND v2

Patch to add the user space support for the TL-WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38814

11 years agoar71xx: Add kernel support for the WR842N/ND v2
Gabor Juhos [Fri, 15 Nov 2013 10:11:20 +0000 (10:11 +0000)]
ar71xx: Add kernel support for the WR842N/ND v2

Patch to add kernel support for the TP-LINK WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4352/
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38813

11 years agoar71xx: wndr4300: set official mac addresses
Gabor Juhos [Fri, 15 Nov 2013 08:21:59 +0000 (08:21 +0000)]
ar71xx: wndr4300: set official mac addresses

Get the factory assigned mac addresses stored in the caldata
partition and asign them to lan and wan interfaces. Also put
the correct mac addresses into the WiFi eeprom files to ensure
that the ath9k driver will use the correct ones.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Patchwork: http://patchwork.openwrt.org/patch/4350/
[juhosg:
  - move WiFi MAC address setup to the firmware hotplug file,
  - use the official MAC address for the 2.4GHz as well,
  - remove uci-defaults.sh modifications,
  - update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38812

11 years agosunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb,...
Zoltan Herpai [Thu, 14 Nov 2013 23:12:52 +0000 (23:12 +0000)]
sunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb, sid, rtc - support common image for A10/A13/A20 - add support for a couple boards - most drivers are configured into the kernel as of now

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

11 years agokernel: backport an upstream fix to improve TCP performance for wifi drivers
Felix Fietkau [Thu, 14 Nov 2013 22:01:24 +0000 (22:01 +0000)]
kernel: backport an upstream fix to improve TCP performance for wifi drivers

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

11 years agoopenssl: add support for RIPEMD/160
Felix Fietkau [Thu, 14 Nov 2013 20:42:15 +0000 (20:42 +0000)]
openssl: add support for RIPEMD/160

RIPEMD is needed to update erlang and i'd like to enable RIPEMD160 support in openssh.

Size compared:

openssl without RIPEMD/160 support:
647K 29. Okt 20:00 bin/ar71xx/packages/libopenssl_1.0.1e-2_ar71xx.ipk

openssl with RIPEMD/160 support:
652K  8. Nov 15:11 bin/ar71xx/packages/libopenssl_1.0.1e-2_ar71xx.ipk

So the file size just grows ~5kb, which shouldn't be a problem.

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 38809

11 years agort2x00: fix a crash in the recent update (#14467)
Felix Fietkau [Thu, 14 Nov 2013 20:32:36 +0000 (20:32 +0000)]
rt2x00: fix a crash in the recent update (#14467)

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

11 years agoar71xx: Unifi AP Pro sysupgrade patch
Felix Fietkau [Thu, 14 Nov 2013 19:38:54 +0000 (19:38 +0000)]
ar71xx: Unifi AP Pro sysupgrade patch

The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

-s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"

is added to mtd.

Signed-off-by: Peter Wagner <tripolar@gmx.at>
SVN-Revision: 38807

11 years agoramips: use dd bs=4096k instead of bs=4M to make it more portable
Felix Fietkau [Thu, 14 Nov 2013 19:16:04 +0000 (19:16 +0000)]
ramips: use dd bs=4096k instead of bs=4M to make it more portable

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

11 years agoar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot loader...
Felix Fietkau [Thu, 14 Nov 2013 19:04:48 +0000 (19:04 +0000)]
ar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot loader stop searching after the kernel partition

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

11 years agopadjffs2: add a different kind of padding (using standard jffs2 elements) to work...
Felix Fietkau [Thu, 14 Nov 2013 19:04:44 +0000 (19:04 +0000)]
padjffs2: add a different kind of padding (using standard jffs2 elements) to work around broken boot loaders for kernel partitions

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

11 years agobase-files: add macaddr_canonicalize helper function
Gabor Juhos [Thu, 14 Nov 2013 17:44:42 +0000 (17:44 +0000)]
base-files: add macaddr_canonicalize helper function

In commit r38690, the MAC address canonicalization
has been converted to use 'tr' instead of 'printf'.
This only works if with MAC addresses which uses
the 'xx:xx:xx:xx:xx:xx' format.

However on some boards, the MAC addresses are stored
in different format in the mtd partition. Some vendors
are using hyphens or dots as separators instead of
colons. Also the leading zeroes may be missing from the
individual octets or those are replaced with spaces.

Add a new function which can be used to convert these
into the 'xx:xx:xx:xx:xx:xx' format. Also update the
'mtd_get_mac_ascii' function to use the new helper.

The helper function is based on this code:
  http://isquared.nl/blog/2010/08/11/Bash-function-to-canonicalize-MAC-addresses/

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

11 years agoath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx
Felix Fietkau [Thu, 14 Nov 2013 12:21:24 +0000 (12:21 +0000)]
ath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx

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

11 years agomac80211: merge a patch that enables DFS for ad-hoc mode
Felix Fietkau [Thu, 14 Nov 2013 12:21:19 +0000 (12:21 +0000)]
mac80211: merge a patch that enables DFS for ad-hoc mode

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

11 years agoConfig.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now
Luka Perkov [Thu, 14 Nov 2013 01:35:22 +0000 (01:35 +0000)]
Config.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now

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

11 years agoimage: don't force ubifs journal size
Luka Perkov [Thu, 14 Nov 2013 01:35:21 +0000 (01:35 +0000)]
image: don't force ubifs journal size

Small journal size can lead to problems if nand flash is too big. By default
ubifs will use ~12% of volume size or a maximum of 8MiB.

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

11 years agomac80211: update regdb.txt
Hauke Mehrtens [Wed, 13 Nov 2013 22:36:12 +0000 (22:36 +0000)]
mac80211: update regdb.txt

This was copied from wireless-regdb.git commit a14052b85e5d70e37a31962a9c56c0cdbb9acafc

The passive-scan/no-ibss flag of channels 36-48 in the world regd were
removed like it was done in r32126.

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

11 years agobcm53xx: this ARM SoC does not have a FPU, use soft float.
Hauke Mehrtens [Wed, 13 Nov 2013 22:26:08 +0000 (22:26 +0000)]
bcm53xx: this ARM SoC does not have a FPU, use soft float.

model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult edsp tls

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

11 years agozram-swap: fix dependencies
Hauke Mehrtens [Wed, 13 Nov 2013 18:42:45 +0000 (18:42 +0000)]
zram-swap: fix dependencies

swapon/swapoff are no longer provided by swap-utils; they are provided
by block-mount instead.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 38795

11 years agobrcm47xx: swap also early boot console if necessary.
Hauke Mehrtens [Wed, 13 Nov 2013 18:38:18 +0000 (18:38 +0000)]
brcm47xx: swap also early boot console if necessary.

Some devices are using tty1 as the default console, also swap the early
boot console in such case. This is needed for the WGT634U.

Thank you Russell for reporting this.

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

11 years agokernel: b53: fix untagged shift for BCM5365
Hauke Mehrtens [Wed, 13 Nov 2013 18:04:39 +0000 (18:04 +0000)]
kernel: b53: fix untagged shift for BCM5365

The BCM5365 needs a shift of 7 bits and not 6 bits like the BCM5325 for
the untagged ports.

Thank you Russell for reporting this and testing the patch.

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

11 years agoupgrade linux-firmware git revision, bump package version
Imre Kaloz [Wed, 13 Nov 2013 14:47:31 +0000 (14:47 +0000)]
upgrade linux-firmware git revision, bump package version

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

11 years agoadd another symbol for TI chipsets
Imre Kaloz [Wed, 13 Nov 2013 14:46:21 +0000 (14:46 +0000)]
add another symbol for TI chipsets

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

11 years agoprocd: remove obselete script install reference Signed-off-by: John Crispin <blogic...
John Crispin [Wed, 13 Nov 2013 12:15:06 +0000 (12:15 +0000)]
procd: remove obselete script install reference Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38790

11 years agoprocd: fixup 2 wrong option types
John Crispin [Wed, 13 Nov 2013 11:07:24 +0000 (11:07 +0000)]
procd: fixup 2 wrong option types

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

11 years agoprocd: options with default values are not parsed properly in the ubus register code
John Crispin [Wed, 13 Nov 2013 10:57:16 +0000 (10:57 +0000)]
procd: options with default values are not parsed properly in the ubus register code

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