Commit Graph

28735 Commits (97bbd3cb759527dc9162f141419c965c1d89ee82)

Author SHA1 Message Date
Felix Fietkau 37d0d29e51 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
2013-11-19 00:03:39 +00:00
Felix Fietkau 73e5ad61ec 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
2013-11-19 00:03:34 +00:00
Luka Perkov 0c39cb9e05 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
2013-11-18 22:23:43 +00:00
Luka Perkov 60c8260052 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
2013-11-18 22:23:42 +00:00
Luka Perkov 5fc33c5d88 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
2013-11-18 22:23:40 +00:00
Luka Perkov d8a2d058a4 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
2013-11-18 22:23:39 +00:00
Luka Perkov 1b9673d79a 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
2013-11-18 22:23:38 +00:00
Felix Fietkau 0aabd7a6fb 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
2013-11-18 19:58:53 +00:00
Felix Fietkau 2a60be271a 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
2013-11-18 14:10:12 +00:00
Felix Fietkau 5e8561171f 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
2013-11-18 13:54:26 +00:00
Felix Fietkau 66913cd020 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
2013-11-18 13:32:06 +00:00
Imre Kaloz be2162f35b [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
2013-11-18 12:05:11 +00:00
Jo-Philipp Wich 80b1b67538 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
2013-11-18 11:59:27 +00:00
John Crispin 0fb20713f7 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
2013-11-18 09:35:41 +00:00
John Crispin 451710bb2d 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
2013-11-18 09:35:32 +00:00
John Crispin 1ee67c6cad 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
2013-11-18 09:35:23 +00:00
John Crispin bea0072a69 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
2013-11-18 09:35:14 +00:00
John Crispin b0b1844e23 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
2013-11-18 09:34:46 +00:00
Hauke Mehrtens 7e70d76869 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
2013-11-17 17:57:37 +00:00
Hauke Mehrtens f70197efdf 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
2013-11-17 17:14:32 +00:00
Hauke Mehrtens 4b052a3a31 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
2013-11-17 16:41:40 +00:00
Hauke Mehrtens 62686e2dcc 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
2013-11-17 16:14:58 +00:00
Hauke Mehrtens 5e76bea8b4 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
2013-11-17 16:05:09 +00:00
Hauke Mehrtens 3c54529fe5 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
2013-11-17 15:52:55 +00:00
Hauke Mehrtens 1ccd98a8dd 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
2013-11-17 15:52:14 +00:00
Hauke Mehrtens f50a8dafe8 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
2013-11-17 15:50:54 +00:00
John Crispin 1b86f2f797 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
2013-11-17 13:22:01 +00:00
John Crispin 0743da76b9 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
2013-11-17 13:14:46 +00:00
Zoltan HERPAI b79649ff86 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
2013-11-17 11:57:57 +00:00
Zoltan HERPAI 22d20ef9ce 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
2013-11-17 11:55:23 +00:00
John Crispin 31727ad0c7 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
2013-11-16 20:28:52 +00:00
John Crispin 5ff54b79ef 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
2013-11-16 20:20:30 +00:00
Zoltan HERPAI be72103a08 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
2013-11-16 11:52:30 +00:00
Luka Perkov 66a00179c5 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
2013-11-16 10:17:38 +00:00
Steven Barth 1c82c32e7d 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
2013-11-16 09:18:14 +00:00
Imre Kaloz b041af2c64 [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
2013-11-15 12:23:17 +00:00
Gabor Juhos 6bf4a75ce9 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
2013-11-15 10:11:25 +00:00
Gabor Juhos 6a4ea19f6e 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
2013-11-15 10:11:24 +00:00
Gabor Juhos 378b2712b7 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
2013-11-15 10:11:20 +00:00
Gabor Juhos 2681696e2f 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
2013-11-15 08:21:59 +00:00
Zoltan HERPAI 448a6b8d51 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
2013-11-14 23:12:52 +00:00
Felix Fietkau 4e381a077c 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
2013-11-14 22:01:24 +00:00
Felix Fietkau 2aa808585a 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
2013-11-14 20:42:15 +00:00
Felix Fietkau f1283076f5 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
2013-11-14 20:32:36 +00:00
Felix Fietkau 9383e3c3c4 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
2013-11-14 19:38:54 +00:00
Felix Fietkau 83ffa6f92f 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
2013-11-14 19:16:04 +00:00
Felix Fietkau 945d0a1a12 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
2013-11-14 19:04:48 +00:00
Felix Fietkau 559e45026b 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
2013-11-14 19:04:44 +00:00
Gabor Juhos 3e44099b61 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
2013-11-14 17:44:42 +00:00
Felix Fietkau 6bb46d75aa 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
2013-11-14 12:21:24 +00:00