Commit Graph

25898 Commits

Author SHA1 Message Date
John Crispin
6c690bf15d 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
2013-11-20 16:56:50 +00:00
John Crispin
1b3a423ad5 procd: add validation to the log init script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38879
2013-11-20 16:56:41 +00:00
John Crispin
06ada4b10f 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
2013-11-20 16:56:32 +00:00
Zoltan Herpai
2bc70cfbac 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
2013-11-20 10:23:49 +00:00
Zoltan Herpai
17089f3f37 package: uboot-mxs: cosmetic fix
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38875
2013-11-20 10:15:02 +00:00
Felix Fietkau
7e77389bc5 mac80211: small rate control fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38874
2013-11-20 07:33:27 +00:00
John Crispin
a95eb4d672 libubox: fix compile error (#14497)
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38873
2013-11-19 21:54:51 +00:00
John Crispin
d175740783 ralink: set wmr-300 mac properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38872
2013-11-19 21:13:24 +00:00
John Crispin
ee41b41a30 mtd: add a "mtd verify" call
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38871
2013-11-19 20:56:23 +00:00
John Crispin
fcea2ab05a libubox: ubox: procd: move md5.{c,h} to libubox
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38870
2013-11-19 20:56:11 +00:00
John Crispin
460bf6b0d7 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
2013-11-19 16:33:50 +00:00
John Crispin
40109bb89b ralink: add missing CONFIG_ symbol to mt7620n
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38867
2013-11-19 16:33:43 +00:00
John Crispin
211ad78989 libubox: update to latest git head
add a renqueue_add_first() api

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

SVN-Revision: 38866
2013-11-19 16:31:47 +00:00
Felix Fietkau
17e6b3ae8d 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
2013-11-19 13:00:37 +00:00
Felix Fietkau
c84a43cf40 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
2013-11-19 00:03:42 +00:00
Felix Fietkau
69598dd020 base-files: add the DEVICENAME variable for hotplug scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38861
2013-11-19 00:03:39 +00:00
Felix Fietkau
13f5ebaf8e scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38860
2013-11-19 00:03:34 +00:00
Luka Perkov
35b6be4a65 imx6: build images for ventana boards that are supported
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38859
2013-11-18 22:23:43 +00:00
Luka Perkov
c108ddb209 imx6: merge all gateworks boards into one profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38858
2013-11-18 22:23:42 +00:00
Luka Perkov
f552d290c6 imx6: add support for more then one nand type per profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38857
2013-11-18 22:23:40 +00:00
Luka Perkov
69beb313c6 imx6: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38856
2013-11-18 22:23:39 +00:00
Luka Perkov
fbe8d27c7f 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
2013-11-18 22:23:38 +00:00
Felix Fietkau
03fcc9bf43 ath9k: merge a few reset / calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38854
2013-11-18 19:58:53 +00:00
Felix Fietkau
9706d4e00e cmake.mk: fix support for ccache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38853
2013-11-18 14:10:12 +00:00
Felix Fietkau
cd1c8d463f 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
2013-11-18 13:54:26 +00:00
Felix Fietkau
edc8ac6246 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
2013-11-18 13:32:06 +00:00
Imre Kaloz
d38c28b58c make default packages selected for real
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38850
2013-11-18 12:05:11 +00:00
Jo-Philipp Wich
bc9043cc53 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
2013-11-18 11:59:27 +00:00
John Crispin
82e6242798 ralink: add support for ralink mt7620 nand eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38848
2013-11-18 09:35:41 +00:00
John Crispin
a17e5159ac ralink: improve mt7620n detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38847
2013-11-18 09:35:32 +00:00
John Crispin
f307b35c8b 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
2013-11-18 09:35:23 +00:00
John Crispin
9d4eb0ac91 ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38845
2013-11-18 09:35:14 +00:00
John Crispin
3d547b740a ralink: make usb work on the mt7530 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38844
2013-11-18 09:34:46 +00:00
Hauke Mehrtens
c9be7cfef9 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
2013-11-17 17:57:37 +00:00
Hauke Mehrtens
f4cd36d825 at91: fix typo in network file
This closes #14474.

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

SVN-Revision: 38842
2013-11-17 17:14:32 +00:00
Hauke Mehrtens
df7e855df0 kernel: add vmxnet3 module
support VMware ethernet adapters

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

SVN-Revision: 38840
2013-11-17 16:41:40 +00:00
Hauke Mehrtens
1859b36bf7 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
2013-11-17 16:14:58 +00:00
Hauke Mehrtens
6d4132b7a4 kirkwood: add missing kernel config CONFIG_REGMAP=y
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 38837
2013-11-17 16:05:09 +00:00
Hauke Mehrtens
2c26cd9bbd 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
2013-11-17 15:52:55 +00:00
Hauke Mehrtens
eea5c0b166 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
2013-11-17 15:52:14 +00:00
Hauke Mehrtens
51502a5e29 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
2013-11-17 15:50:54 +00:00
John Crispin
269cbfa06a ralink: add mt7620n dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38829
2013-11-17 13:22:01 +00:00
John Crispin
5c2e867460 ramips: fix wmr300 network detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38828
2013-11-17 13:14:46 +00:00
Zoltan Herpai
9269e58b2a kernel: add fix to block2mtd driver for modified error logging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38827
2013-11-17 11:57:57 +00:00
Zoltan Herpai
3a99e895ff kernel: add missing symbols for 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38826
2013-11-17 11:55:23 +00:00
John Crispin
dce9b292bf ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38823
2013-11-16 20:28:52 +00:00
John Crispin
5fbfffe7f4 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
2013-11-16 20:20:30 +00:00
Zoltan Herpai
c4d8ddf1dc kernel: add missing symbols for 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38820
2013-11-16 11:52:30 +00:00
Luka Perkov
dd0e3a58c6 sunxi: remove old kernel config after 3.12 upgrade (r38811)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38819
2013-11-16 10:17:38 +00:00
Steven Barth
b5a4fb1c95 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
2013-11-16 09:18:14 +00:00