openwrt.git
10 years agoprocd: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38868 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: add missing CONFIG_ symbol to mt7620n
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38867 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolibubox: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38866 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agompc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38865 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: add the DEVICENAME variable for hotplug scripts
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38861 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoscripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38860 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: build images for ventana boards that are supported
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38859 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: merge all gateworks boards into one profile
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38858 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: add support for more then one nand type per profile
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38857 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agoimage: remove spaces from toupper function
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38855 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: merge a few reset / calibration fixes
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38854 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agocmake.mk: fix support for ccache
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38853 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agohostapd: remove random pool support - the entropy it gathers is questionable and...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38852 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouClibc: Deactivate oversized thread stack cache
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38851 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[omap]: make default packages selected for real
kaloz [Mon, 18 Nov 2013 12:05:11 +0000 (12:05 +0000)]
[omap]: make default packages selected for real

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

10 years agofirewall: optimize DNAT rules and skip invalid rules and redirects (#14485)
jow [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

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

10 years agoralink: add support for ralink mt7620 nand eval board
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38848 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agoralink: add mt7620 nand driver
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38846 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: make all none 3x5x boards default to a vlan1/2 setup
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38845 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoralink: make usb work on the mt7530 eval kit
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38844 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: ath10k: add board.bin file again
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38843 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoat91: fix typo in network file
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38842 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add vmxnet3 module
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38840 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoxfsprogs: move to submenu Filesystem
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38838 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokirkwood: add missing kernel config CONFIG_REGMAP=y
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38837 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: update ath10k firmware
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38835 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: backport get_cycles() fix
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38834 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: add blink api backport
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38833 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

10 years agokernel: add fix to block2mtd driver for modified error logging
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38827 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add missing symbols for 3.12
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38826 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

10 years agoprocd: ubox: update to latest git head
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38822 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add missing symbols for 3.12
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38820 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agosunxi: remove old kernel config after 3.12 upgrade (r38811)
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38819 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago6rd: Clear correct IPv6 address bits in 6rdcalc
cyrus [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38818 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[omap]: replace the TI patch with a smaller patchset
kaloz [Fri, 15 Nov 2013 12:23:17 +0000 (12:23 +0000)]
[omap]: replace the TI patch with a smaller patchset

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

10 years agoar71xx: add profile for the WR842N/ND v2
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38815 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user space support for the TL-WR842N/ND v2
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38814 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: Add kernel support for the WR842N/ND v2
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38813 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: wndr4300: set official mac addresses
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38812 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agosunxi: rework target
wigyori [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38811 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: backport an upstream fix to improve TCP performance for wifi drivers
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38810 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoopenssl: add support for RIPEMD/160
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38809 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agort2x00: fix a crash in the recent update (#14467)
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38808 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: Unifi AP Pro sysupgrade patch
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38807 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoramips: use dd bs=4096k instead of bs=4M to make it more portable
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38806 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot loader...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38805 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agopadjffs2: add a different kind of padding (using standard jffs2 elements) to work...
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38804 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: add macaddr_canonicalize helper function
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38803 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoath9k: add a fix to improve reliability of high bitrates on AR93xx/AR95xx
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38802 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: merge a patch that enables DFS for ad-hoc mode
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38801 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoConfig.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38800 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimage: don't force ubifs journal size
luka [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38799 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomac80211: update regdb.txt
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38797 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobcm53xx: this ARM SoC does not have a FPU, use soft float.
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38796 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agozram-swap: fix dependencies
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38795 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobrcm47xx: swap also early boot console if necessary.
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38794 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: b53: fix untagged shift for BCM5365
hauke [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38793 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years ago[mac80211]: upgrade linux-firmware git revision, bump package version
kaloz [Wed, 13 Nov 2013 14:47:31 +0000 (14:47 +0000)]
[mac80211]: upgrade linux-firmware git revision, bump package version

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

10 years ago[mac80211]: add another symbol for TI chipsets
kaloz [Wed, 13 Nov 2013 14:46:21 +0000 (14:46 +0000)]
[mac80211]: add another symbol for TI chipsets

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

10 years agoprocd: remove obselete script install reference
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38790 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: fixup 2 wrong option types
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38789 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: options with default values are not parsed properly in the ubus register code
blogic [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38788 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoprocd: convert services to the new validation api
blogic [Wed, 13 Nov 2013 10:49:41 +0000 (10:49 +0000)]
procd: convert services to the new validation api

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

10 years agoprocd: update to latest git head
blogic [Wed, 13 Nov 2013 10:49:25 +0000 (10:49 +0000)]
procd: update to latest git head

this includes the first wip version of the uci validation backend

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

10 years ago[package]: uboot-sunxi: add U-boot builds for a couple sunxi boards
wigyori [Wed, 13 Nov 2013 10:49:22 +0000 (10:49 +0000)]
[package]: uboot-sunxi: add U-boot builds for a couple sunxi boards

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

10 years agoramips: select kmod-rt2800-soc by default (if available)
nbd [Wed, 13 Nov 2013 10:29:10 +0000 (10:29 +0000)]
ramips: select kmod-rt2800-soc by default (if available)

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

10 years agomac80211: update to wireless-testing 2013-11-05
nbd [Tue, 12 Nov 2013 22:11:33 +0000 (22:11 +0000)]
mac80211: update to wireless-testing 2013-11-05

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

10 years agohostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately...
nbd [Tue, 12 Nov 2013 22:11:14 +0000 (22:11 +0000)]
hostapd: remove #ifdef MULTICALL around ap+sta support code (to support separately installed supplicant+hostapd)

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

10 years agomxs: - update uboot-mxs to 3.10
wigyori [Tue, 12 Nov 2013 14:39:32 +0000 (14:39 +0000)]
mxs: - update uboot-mxs to 3.10
 - enable building uboot for imx23 along sbImage by default
 - (doc updated)

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

10 years agomxs: bump kernel to 3.12
wigyori [Tue, 12 Nov 2013 12:48:10 +0000 (12:48 +0000)]
mxs: bump kernel to 3.12
 - remove DCP patch as it's in mainline now (dts patch will stay)
 - refresh Duckbill patch
 - update kmod-usb-chipidea

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

10 years agoAdd patch to fix ipset timeout setting problem
jow [Tue, 12 Nov 2013 11:01:11 +0000 (11:01 +0000)]
Add patch to fix ipset timeout setting problem

Fixes #14325

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38779 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoUpdate ipset to version 6.20.1
jow [Tue, 12 Nov 2013 11:00:49 +0000 (11:00 +0000)]
Update ipset to version 6.20.1

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38778 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomxs: add basic board runtime detection support
wigyori [Tue, 12 Nov 2013 10:19:26 +0000 (10:19 +0000)]
mxs: add basic board runtime detection support

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38777 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agouboot-envtools: add support for mxs target
wigyori [Tue, 12 Nov 2013 10:07:03 +0000 (10:07 +0000)]
uboot-envtools: add support for mxs target

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38776 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomxs: duckbill: adjust leds to final hardware
wigyori [Tue, 12 Nov 2013 09:38:14 +0000 (09:38 +0000)]
mxs: duckbill: adjust leds to final hardware

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38775 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agomxs: rename uboot-imx23 to uboot-mxs
wigyori [Tue, 12 Nov 2013 01:34:30 +0000 (01:34 +0000)]
mxs: rename uboot-imx23 to uboot-mxs

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

10 years agomxs: fix loadaddr for uImages
wigyori [Tue, 12 Nov 2013 01:25:53 +0000 (01:25 +0000)]
mxs: fix loadaddr for uImages

Signed-off-by: Harald Geyer <harald@ccbib.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38773 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above
wigyori [Tue, 12 Nov 2013 01:09:15 +0000 (01:09 +0000)]
kernel: add new core sound module snd-pcm-dmaengine.ko for 3.12 kernels and above

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

10 years ago[package] base-files: don't enter failsafe if triggered by switch
luka [Mon, 11 Nov 2013 23:34:11 +0000 (23:34 +0000)]
[package] base-files: don't enter failsafe if triggered by switch

Fixes failsafe issues with switches after r38725.

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

10 years agobrcm47xx: fix netconfig for inverted vlan?ports in nvram
hauke [Mon, 11 Nov 2013 23:04:47 +0000 (23:04 +0000)]
brcm47xx: fix netconfig for inverted vlan?ports in nvram

This was observed on the Belkin Share F7D7302.

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

10 years agobroadcom-diag: add Belkin F7D3302/F7D7302
hauke [Mon, 11 Nov 2013 23:04:23 +0000 (23:04 +0000)]
broadcom-diag: add Belkin F7D3302/F7D7302

Signed-off-by: Cody P Schafer <devel@codyps.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38768 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agolinux/brcm47xx : Belkin F7Dx30x board detection
hauke [Mon, 11 Nov 2013 23:04:00 +0000 (23:04 +0000)]
linux/brcm47xx : Belkin F7Dx30x board detection

boardnum is unstable, so allow using NULL to make it unchecked.

A method for differentiating F7D3301 from F7D3302 using nvram is
unknown at this point. Reading the first 32bits of magic from the
"linux" mtd partition would do the trick, but these 2 are similar
enough that we don't need separate led/button definitions. Not knowing
which one you have is only a usability issue for upgrading the device:
they expect different magic numbers for their trx images.

Signed-off-by: Cody P Schafer <devel@codyps.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38767 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobase-files: don't kill nas for sysupgrade
hauke [Mon, 11 Nov 2013 22:12:58 +0000 (22:12 +0000)]
base-files: don't kill nas for sysupgrade

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38766 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: version roll
hauke [Mon, 11 Nov 2013 22:05:39 +0000 (22:05 +0000)]
broadcom-wl: version roll

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38765 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: support 'wds' interfaces on 'wl1' device
hauke [Mon, 11 Nov 2013 22:05:20 +0000 (22:05 +0000)]
broadcom-wl: support 'wds' interfaces on 'wl1' device

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38764 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: support probe of 'wds' devices
hauke [Mon, 11 Nov 2013 22:04:53 +0000 (22:04 +0000)]
broadcom-wl: support probe of 'wds' devices

'nas' requires probe of 'wds' devices to be successful;
so don't fail them.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38763 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: fix crash when starting multiple virtual interfaces
hauke [Mon, 11 Nov 2013 22:04:26 +0000 (22:04 +0000)]
broadcom-wl: fix crash when starting multiple virtual interfaces

When enabling multiple VIFS, the driver sometimes crashes.  The frequency
of the crash increases as more VIFS are enabled.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38762 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: perform additional cleanup on wl module unload
hauke [Mon, 11 Nov 2013 22:03:58 +0000 (22:03 +0000)]
broadcom-wl: perform additional cleanup on wl module unload

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38761 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agokernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules...
wigyori [Mon, 11 Nov 2013 22:03:35 +0000 (22:03 +0000)]
kernel: of_i2c is moved into i2c-core in 3.12, add kernel version check into modules/i2c.mk

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

10 years agobroadcom-wl: support more virtual interfaces
hauke [Mon, 11 Nov 2013 22:03:25 +0000 (22:03 +0000)]
broadcom-wl: support more virtual interfaces

Read the number of virtual interfaces to support from the device
capabilities; as some newer devices can support up to 16.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38759 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: improve device cleanup
hauke [Mon, 11 Nov 2013 22:02:45 +0000 (22:02 +0000)]
broadcom-wl: improve device cleanup

Move all device cleanup to "disable_broadcom".

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38758 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: add support for setting H/W address
hauke [Mon, 11 Nov 2013 22:02:14 +0000 (22:02 +0000)]
broadcom-wl: add support for setting H/W address

Some devices initialize with a default address (common to all H/W).
The address needs to be changeable so that a unique address can be
assigned to each AP.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38757 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: eliminate 'invalid command' when setting ssid
hauke [Mon, 11 Nov 2013 22:01:32 +0000 (22:01 +0000)]
broadcom-wl: eliminate 'invalid command' when setting ssid

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38756 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agobroadcom-wl: clean up variable definitions (broadcom.sh)
hauke [Mon, 11 Nov 2013 22:01:12 +0000 (22:01 +0000)]
broadcom-wl: clean up variable definitions (broadcom.sh)

Specify variables as 'local' where appropriate

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38755 3c298f89-4303-0410-b956-a3cf2f4a3e73