Commit Graph

13346 Commits

Author SHA1 Message Date
Luka Perkov
0bbcdb21da ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44303
2015-02-07 17:48:39 +00:00
Luka Perkov
d81a8ad523 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44302
2015-02-07 17:48:33 +00:00
Imre Kaloz
865647cea2 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44291
2015-02-06 11:18:59 +00:00
Imre Kaloz
eda08dd423 mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44290
2015-02-06 11:16:20 +00:00
Imre Kaloz
12531a0f86 mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44268
2015-02-05 16:31:52 +00:00
Imre Kaloz
66e35c5246 mvebu: Enable the A385 AP on 3.19
In order for the image to be built, some patches need to be ported to 3.19.

Add the relevant patches. Note that most of them (if not all) should be merged
in 3.20, removing the need to carry them on then.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44267
2015-02-05 15:41:07 +00:00
Imre Kaloz
9be491f084 mvebu: add Armada 385 DB AP support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44266
2015-02-05 11:34:21 +00:00
Imre Kaloz
3019f7ecbd mvebu: add the Armada 385 Reference Design support
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44265
2015-02-05 11:29:56 +00:00
Imre Kaloz
40daf9346e mvebu: fix NAND and NOR options
All the boards but Mamba had wrong UBI options so far, making it impossible to
flash the built image on their respective storage medium.

Fix all of the supported boards in order to make the generated images useful.

Tested on a Mirabox, an Armada XP GP and an Openblocks AX3, and used the NAND
chip datasheet for the others.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44264
2015-02-05 11:26:17 +00:00
Imre Kaloz
f14c4e5cff mvebu: add a subprofile for boards based on a small NOR
Some boards only come with a small NOR on it, where UBI isn't a good solution
because of its overhead.

Add a new subprofile for such boards, that rely on the mtd split framework
instead.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44263
2015-02-05 11:25:21 +00:00
Imre Kaloz
e46593a54c mvebu: add large NOR sub-profile implementation
While we supported only the NAND so far, some boards use a large enough NOR,
where UBI is the only reasonable option. Create a new sub-profile template with
a different set of UBI options.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44262
2015-02-05 11:24:10 +00:00
Imre Kaloz
80cfe34291 mvebu: Add sub-profiles
In order to support the various board NAND layout that we support, introduce a
sub-profile similar to the one used by ar71xx.

These subprofiles provide a default implementation for most of the building
functions, while allowing each sub-profile to override any of these operations
in order to have a more specific behaviour, like Mamba expects for example.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44261
2015-02-05 11:22:43 +00:00
Imre Kaloz
b361a9d59a generic: allow ubi autoattach to run on NOR flash
Some devices out there only have a NOR flash to store the rootfs on.

While using UBI is arguable on this kind of flash, this is something that should
be supported.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44260
2015-02-05 11:21:31 +00:00
Imre Kaloz
67b91f47d6 mvebu: Add MTD split framework support
We're going to need the MTD split related options for our NOR support.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44259
2015-02-05 11:14:53 +00:00
John Crispin
cde2225c7c ar71xx: add support for the TP-LINK TL-WR941ND v5
This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44255
2015-02-04 06:10:20 +00:00
John Crispin
a63e94426d at71xx: TP-LINK Archer: add 5GHz led entry
Add 5GHz led entry after r44033.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44254
2015-02-04 06:10:12 +00:00
John Crispin
df22a8e3d0 ralink: fix USB host function for Intenso M2M
The ubootloader of the M2M sets the reset bits for
both USB device and USB host during initialization
(to save a few mA of power during boot).

However, for the usb<->sata bridge to be properly
detected, it is necessary to clear both reset bits
as otherwise the kernel logs will just be filled
with:

usb 1-1: device descriptor read/64, error -145
...

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44248
2015-02-03 10:11:11 +00:00
John Crispin
baaef42952 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

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

SVN-Revision: 44245
2015-02-02 10:32:04 +00:00
John Crispin
b41bf7479e ralink: cleanup firefly default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44244
2015-02-02 09:02:35 +00:00
John Crispin
043f462be4 ralink: add FireWRT button detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44242
2015-02-02 09:02:16 +00:00
John Crispin
d725678a43 ralink: add FireWRT led detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44241
2015-02-02 09:02:10 +00:00
John Crispin
1258b4cc94 ralink: add ethernet macaddr to dts for FireWRT
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44240
2015-02-02 09:02:02 +00:00
John Crispin
70db4e4639 ramips: add support for Xiaomi MiWiFi Mini devices
This patch adds support for Xiaomi MiWiFi Mini, a 802.11a/b/g/n/ac dual radio
wireless router based on the MediaTek MT7620a SoC.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 44238
2015-02-02 09:01:07 +00:00
John Crispin
bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
2015-02-02 09:00:21 +00:00
Felix Fietkau
10c8d8c483 ramips: fix ethernet driver tx completion polling
- budget is decremented with completed frames, so don't check if done is
smaller
- ACK the interrupt before processing further frames to fix a small race
condition.

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

SVN-Revision: 44234
2015-02-01 08:20:37 +00:00
Jo-Philipp Wich
12c7c25398 x86_64: add more symbols required to enable SMP
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44233
2015-01-31 22:23:01 +00:00
Jo-Philipp Wich
9328fbe74b x86_64: support HyperThreading and SMP with up to 8 CPUs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44232
2015-01-31 17:33:32 +00:00
Rafał Miłecki
4dd3c05af2 kernel: disable bcma's usage of OF API in kernel 3.10
It fails to build because of missing of_irq_parse_raw and incompatible
irq_create_of_mapping.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44230
2015-01-31 16:43:13 +00:00
Jo-Philipp Wich
9d7651b528 linux: fix mips boot decompressor build
Replace the now defunct 062-mips_decompressor_build_fix.patch with another
patch that simply undefines the arch memset and memcpy defines to avoid
syntax errors in the redeclaration.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44223
2015-01-30 10:04:23 +00:00
John Crispin
31fd66f808 ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>

SVN-Revision: 44221
2015-01-30 08:06:40 +00:00
Rafał Miłecki
539cd23892 bcm53xx: fix partitions on Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44219
2015-01-30 07:25:43 +00:00
Rafał Miłecki
1d1a1c19bf bcm53xx: fix booting BCM4709
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44218
2015-01-30 06:58:35 +00:00
Rafał Miłecki
ee75859533 bcm53xx: fix Netgear R8000 serial console
Thanks raven-auand.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44217
2015-01-30 06:30:44 +00:00
Zoltan Herpai
c1f86aa1ad sunxi: disable MMC debugging in kernel config
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44216
2015-01-30 00:19:18 +00:00
Zoltan Herpai
3b83156a38 sunxi: workaround switch being uninitialized on netifd startup
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44215
2015-01-30 00:18:21 +00:00
Zoltan Herpai
7146957461 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44214
2015-01-30 00:17:16 +00:00
Zoltan Herpai
45e8630a4f sunxi: use sunxi_board_name when generating default network settings
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44213
2015-01-30 00:14:17 +00:00
Zoltan Herpai
7a5ef7b99f sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44212
2015-01-30 00:12:29 +00:00
Zoltan Herpai
d4f6f169b8 sunxi: implement board_detect for device-tree kernels
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44211
2015-01-30 00:11:30 +00:00
Jo-Philipp Wich
65f81429b4 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44203
2015-01-29 19:15:53 +00:00
Jo-Philipp Wich
fefba5d685 Revert "x86_64: enable PCIE support"
This reverts commit daadd4320c4eadce3937e8ca13ede0ce1b97e125 which erroneously
introduced unrelated changes.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44202
2015-01-29 19:15:45 +00:00
Jo-Philipp Wich
44eecf6392 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44201
2015-01-29 19:12:29 +00:00
Rafał Miłecki
251b42d491 bcm53xx: early support for Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44186
2015-01-28 21:55:43 +00:00
Rafał Miłecki
5ecce85db7 kernel: bcm47xxpart: support T_Meter partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44185
2015-01-28 21:26:31 +00:00
John Crispin
259244624b ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44183
2015-01-28 19:19:47 +00:00
Jo-Philipp Wich
e25e6df2cf linux: add upstream patch to allow building dwc2 as module on 3.18
Also add the required config symbols to usb.mk

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44181
2015-01-28 13:45:06 +00:00
John Crispin
dcac85d7d8 kernel: add LZ4 decompressors to kconfig hack
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44168
2015-01-28 12:06:35 +00:00
John Crispin
ec1ba18558 kernel: kmod-usb2-pci to Intel ixp4xx/Geode
Signed-off-by: Ted Hess <thess@kitschensync.net>

SVN-Revision: 44167
2015-01-28 12:06:28 +00:00
John Crispin
c56cf3edc7 ralink: check ethernet MAC address whether it is valid
The mac address usually write in factory block. but sometime user erase this block , the mac address will change to ff:ff:ff:ff:ff:ff.
This patch is purpose to fix this issue.

Signed-off-by: wengbj <linux.c@foxmail.com>

SVN-Revision: 44166
2015-01-28 12:06:22 +00:00
John Crispin
09a227a191 ar71xx: add default LED configuration for D-Link DIR-615 rev. C1
This patch adds an entry in the uci-defaults' led-file to configure the
WAN and WLAN LEDs by default.

Signed-off-by: Vincent Wiemann <me@bibbl.com>

SVN-Revision: 44165
2015-01-28 12:06:13 +00:00
Luka Perkov
a9568263f6 kernel: update 3.14 to 3.14.30
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44158
2015-01-28 01:00:08 +00:00
Rafał Miłecki
3579379dba kernel: bcm47xxpart: support boart_data partition on Xiaomi
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44157
2015-01-27 22:13:18 +00:00
Rafał Miłecki
6296b8ca9f kernel: backport queued bcm47xxpart changes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44156
2015-01-27 22:08:14 +00:00
Jo-Philipp Wich
ec04e769c8 ep93xx: fix broken kmods after r44112 (#18833)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44155
2015-01-27 20:46:53 +00:00
Imre Kaloz
7be967e954 mvebu: temporary el cheapo' fan control script
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44153
2015-01-26 20:41:43 +00:00
Jo-Philipp Wich
3483c76084 kernel: add missing symbol to generic 3.18 config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44150
2015-01-25 23:36:09 +00:00
Jo-Philipp Wich
0798de785e mvebu: add missing config symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44147
2015-01-25 22:17:43 +00:00
Jo-Philipp Wich
d70a9343e3 ipq806x: declare missing config symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44144
2015-01-25 20:52:50 +00:00
Imre Kaloz
11a2a6b220 generic/3.19: fixup the value of IFF_NO_IP_ALIGN
Reported-by: Stephen Walker <stephendwalker+openwrt@gmail.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44139
2015-01-25 18:14:18 +00:00
Luka Perkov
ee3eade285 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44137
2015-01-25 17:29:41 +00:00
Jo-Philipp Wich
6fbf35501e cns21xx: remove stray CONFIG_WAN from kernel config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44136
2015-01-25 17:29:04 +00:00
Jo-Philipp Wich
08dad3f429 xburst: fix kernel build
Changeset r43049 removed the "062-mips_decompressor_build_fix.patch" which is
still required to properly build the xburst kernel.

Fix the syntax error in the preprocessed code by explicitely undefining the
"memcpy" and "memset" macros prior to declaring the replacements functions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44133
2015-01-25 15:55:03 +00:00
Imre Kaloz
9a8a348f14 mvebu: use pwmfan in the profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44131
2015-01-25 15:52:28 +00:00
Imre Kaloz
18012a4198 mvebu: preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44130
2015-01-25 15:37:31 +00:00
Imre Kaloz
d9c6ff8c25 mvebu: gpio based pwm support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44129
2015-01-25 15:36:47 +00:00
Imre Kaloz
9a172c70eb mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44128
2015-01-25 15:26:33 +00:00
Imre Kaloz
afa58d8589 mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44127
2015-01-25 15:25:14 +00:00
Imre Kaloz
d26694243a generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44126
2015-01-25 15:20:39 +00:00
Luka Perkov
a46bb6ec6a kirkwood: add wpad-mini to guruplug profile
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44125
2015-01-25 13:39:24 +00:00
Luka Perkov
c8e9b5d13e kirkwood: enable swconfig by default on EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44124
2015-01-25 13:11:07 +00:00
Luka Perkov
2907ad2363 kirkwood: fix EA3500 ubi options
Previous options resulted in a nonfunctional image.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44123
2015-01-25 13:11:04 +00:00
Luka Perkov
86f1a60549 kirkwood: drop port-based VLAN setup
Using port-based VLANs depends on a non-standard
swconfig parameter, which compilcates things like
LuCI that don't know about it. This patch changes
the default to use 802.1q VLANs internally in the
switch, but without tagging packets since we have
two Ethernet ports.

iperf3 tests indicate no difference in performance
versus port-based VLANs when the CPU port is not
using tags.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44122
2015-01-25 13:11:02 +00:00
Imre Kaloz
53c7248554 generic/3.18: update to 3.18.3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44121
2015-01-25 11:39:30 +00:00
Felix Fietkau
bef829efa5 ralink: fix ethernet feature TSO not work
* fix TSO features verify on mt7621 firewrt board
* improve tx clean up. no need to access uncached
  memory. also use TX_DTX register instead of
  read tx ring DONE bit
* mt7621 need napi weight 64 to get more performance
* remove netif_receive_skb, after kernel version
  3.7 tcp4_gro_receive can handle tcp checksum.
  on rt2880 use iperf tcp LAN to WAN throughput test.
  with gro 135 Mbits/sec. without gro 80.4Mbits/sec.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44118
2015-01-24 22:45:28 +00:00
Felix Fietkau
3ec294a825 ralink: init tx/rx vlan offload register for mt7621
on mt7621 don't have tx vlan vid registers.
so set FE_REG_FE_DMA_VID_BASE to 0.
set rx vlan offload register to disable.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44117
2015-01-24 22:45:23 +00:00
Felix Fietkau
e634e07893 ralink: use fe_max_buf_size to get rx buffer size
the rx_buf_size now is 1534 when mtu is 1500.
the ethernet frame with vlan tag and FCS is 1522.
so the buffer is enough.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44116
2015-01-24 22:45:16 +00:00
Felix Fietkau
5d4837706a ramips: fix ethernet vlan tx offload support check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44115
2015-01-24 22:45:10 +00:00
Felix Fietkau
77aa8e8aee ep93xx: remove obsolete kernel version check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44112
2015-01-24 22:13:17 +00:00
Felix Fietkau
b382c585e4 x86: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44111
2015-01-24 20:02:23 +00:00
Felix Fietkau
3120c9c9c2 build: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44110
2015-01-24 20:02:09 +00:00
Felix Fietkau
186db26d05 kernel: remove linux 3.3 patches and config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44109
2015-01-24 20:02:02 +00:00
Felix Fietkau
ed60bb8360 pxa: mark as broken
It still uses the long obsolete 3.3 kernel version

SVN-Revision: 44108
2015-01-24 20:01:45 +00:00
Felix Fietkau
386f05f1e1 x86: mark the ep80579 subtarget as broken
It still uses the long obsolete 3.3 kernel version

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

SVN-Revision: 44107
2015-01-24 20:01:40 +00:00
Felix Fietkau
6512aa4553 mcs814x: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44106
2015-01-24 20:01:33 +00:00
Felix Fietkau
f7ece95303 ar8216: prefix mii_xxx functions to avoid kernel namespace pollution
Prefix the exported mii_xxx32 functions with ar8xxx_
to avoid kernel namespace pollution.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44105
2015-01-24 19:42:12 +00:00
Felix Fietkau
3a313a3e11 ar8216: add swconfig attribute to display ARL table on AR8327/AR8337
Add global read-only swconfig attribute "arl_table" to display the
address resolution table.
So far the chip-specific part is implemented for AR8327/AR8337 only
as I don't have the datasheets for the other AR8XXX chips.

Successfully tested on TL-WDR4300 (AR8327rev2)
and TL-WDR4900 (AR8327rev4).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44104
2015-01-24 19:42:06 +00:00
Felix Fietkau
6ce848f622 ar8216: decrease page switch wait time
Until a few years ago the page switch wait time was set to msleep(1)
what was changed to usleep_range(1000, 2000) later.

I can not imagine that a low-level operation like switching page
on register level takes so much time.
Most likely the value of 1ms was initially set to check whether
it fixes an issue and then remained w/o further checking whether
also a smaller value would be sufficient.

Now the wait time is set to 5us and I successfully tested this on
AR8327. IMHO 5us should be plenty of time for all supported chips.
However I couldn't test this due to missing hardware.

If other chips should need a longer wait time we can add the
wait time as a parameter to the ar8xxx_chip struct.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44103
2015-01-24 19:42:01 +00:00
Felix Fietkau
a1fba9dfbe ar8216: add link change detection for switch ports
Check for switch port link changes and
- flush ATU in case of a change
- report link change via syslog

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44102
2015-01-24 19:41:55 +00:00
Felix Fietkau
74146c62c0 ar8216: fix ATU flushing
The functionality to flush the address translation table contains two bugs
which luckily compensate each other.
1. Just setting the operation is not sufficient to perform the flushing.
   The "active" bit needs to be set to actually trigger an action.
   For the vtu operations this is implemented correctly.
2. ar8xxx_phy_read_status is called every 2s by the phy state machine
   to check for link changes. This would have caused an ATU flush
   every 2s.

Fix the chip-specific ATU flush functions and remove the ATU flush call
from ar8xxx_phy_read_status.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44101
2015-01-24 19:41:51 +00:00
John Crispin
df2e312100 ar71xx: add support for TP-LINK TL-WR843ND v1
TP-LINK TL-WR843ND v1 is the same model like wr41, but with
Power over Ethernet on wan port.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44085
2015-01-23 12:32:46 +00:00
John Crispin
74b3597d07 lantiq: correct value for fpi clock on ar9
This adds a patch to target/linux/lantiq/patches-3.14
fixing a bug clock code on ar9. The current version returns
the wrong value for the fpi clock frequency in some
cases.

See discussion for further details:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-January/030688.html

I'm not sure about the patch naming and numbering convention.
Do please let me know it this is not OK.

Many thanks,

Ben Mulvihill

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 44083
2015-01-23 12:32:28 +00:00
John Crispin
ae70358b1b ar71xx: add support for the UniFi AP Outdoor Plus
the GPIO controlling the rf filter is not configured properly by this patch.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44077
2015-01-22 09:35:46 +00:00
John Crispin
36d19e46df ramips: add support for Tenda 3G150B
Add suport for Tenda 3G150B:
- cpu: Ralink RT5350F
- flash: 4MB
- ram: 32MB
- 1x USB 2.0
- 1x RJ45
- one reset button
- battery powered (BP-4L, 3.7V 1450mAh)

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 44073
2015-01-22 09:35:22 +00:00
John Crispin
deb66a555e ramips: improve and fix Memory 2 Move support
This patch is a follow up for my previous patch:
"ramips: add support for Intenso Memory 2 Move USB 3.0".

It fixes a couple of errors in the DTS (one of which broke
the gpio-buttons). The kmod-leds-gpio dependency has been
dropped as it is already part of the ramips target.

Furthermore the ramdisk/uImage image is generated by default
for the rt3050 subtarget. This image is needed to flash
OpenWrt for the first time onto the device via TFTP.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44072
2015-01-22 09:35:12 +00:00
Florian Fainelli
ac5ede7116 mcs814x: document how to include 3rd party binary packages
The dLAN USB Extender profile was referecing binary packages which are not to
be included in any of the source-only feeds. Instead remove these references
and document how to use the 3rd party feed.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 44071
2015-01-21 23:55:11 +00:00
Rafał Miłecki
bba98a3c53 bcm53xx: backport official Buffalo WZR-900DHP patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44070
2015-01-21 07:23:31 +00:00
Rafał Miłecki
3b701e8023 bcm53xx: backport spi-nor changes to add gd25q128 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44069
2015-01-21 06:53:15 +00:00
John Crispin
4961c7d0f5 ar71xx: add support for TL-WA701ND v2
Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>

SVN-Revision: 44063
2015-01-20 15:48:07 +00:00
Rafał Miłecki
f0d73a4381 bcm53xx: use final (backported) patch fixing serial console
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44059
2015-01-20 08:04:27 +00:00
Rafał Miłecki
ea1fe45fae bcm53xx: backport 3 BCM5301X patches from Hauke repo
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44058
2015-01-20 07:21:30 +00:00
Rafał Miłecki
9758327d83 bcm53xx: rename patches modifying DTS files
Ths will allow us to use early 3xx numbers for patches designed for
sending mainline.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44057
2015-01-20 06:58:03 +00:00
John Crispin
607ecb249c ralink: add support for firewrt
this is a mt7621 based board

Signed-off-by: wengbj <linux.c@foxmail.com>

SVN-Revision: 44055
2015-01-20 06:34:28 +00:00
Rafał Miłecki
78b0da393b bcm53xx: add support/firmware for Asus RT-AC87U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44051
2015-01-19 11:05:22 +00:00
Felix Fietkau
9e7cc83edc ralink: fix ethernet rx buffer size breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44047
2015-01-18 20:17:41 +00:00
Felix Fietkau
a4460ca5a7 ralink: improve check rx sg function. use check frags instead of function call
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44046
2015-01-18 20:17:28 +00:00
Felix Fietkau
b3ca42ec8f ralink: correct handle hardware rx 2bytes offset
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44045
2015-01-18 20:17:18 +00:00
Felix Fietkau
03ea0cf6f1 ralink: use fe_reset to control all reset
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44044
2015-01-18 20:17:07 +00:00
Felix Fietkau
50588ef192 ralink: improve tx_timeout function
* use default timeout value
* print more debug ring info
* move timeout reset function to workqueue

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44043
2015-01-18 20:16:50 +00:00
Felix Fietkau
69ee1807ed ralink: add ethernet fe and esw reset control bit
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44042
2015-01-18 20:16:44 +00:00
Felix Fietkau
a5b578c2d9 ralink: reduce access to uncached tx/rx dma ring buffer
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44041
2015-01-18 20:16:35 +00:00
Zoltan Herpai
e8ecd9a511 sunxi: update Olimex A13 SOM profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44040
2015-01-18 16:58:35 +00:00
Luka Perkov
34f6c6fc38 kirkwood: enable switch on Linksys EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44036
2015-01-18 16:45:01 +00:00
Zoltan Herpai
91260ad6ef kernel: add missing config symbol for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44034
2015-01-18 14:28:13 +00:00
John Crispin
fcbc21890c lantiq: DGN3500 cleanups
This patch builds on the previous three to streamline support for the
Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44032
2015-01-18 09:41:04 +00:00
John Crispin
4424620c51 lantiq: Restore call to orphaned etop function
It seems the call to ltq_get_eth_mac() disappeared at some point. This
patch puts it where it currently most makes sense.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44031
2015-01-18 09:40:58 +00:00
John Crispin
90ef62c78f kernel: preserve bootloader command line on MIPS
Somewhere in the conversion of the MIPS architecture code to Device Tree
usage, there's been a failure to keep the separate variables holding the
kernel command line reconciled between the tree and the bootloader. This
patch restores previous functionality that broke.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44030
2015-01-18 09:40:53 +00:00
John Crispin
c80b429fc1 lantiq: Fix initscript issue
Currently this initscript fails if the macaddr has any leading zeroes.
This patch corrects the problem.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 44029
2015-01-18 09:40:47 +00:00
Felix Fietkau
68f50c4e2d ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44028
2015-01-18 09:25:49 +00:00
Felix Fietkau
b0e6e6e2f2 ramips: add mt7621 cpu feature overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44027
2015-01-18 09:25:43 +00:00
Felix Fietkau
a0849e6439 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44026
2015-01-18 09:25:38 +00:00
Felix Fietkau
f66cca61d2 ramips: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44025
2015-01-18 09:25:32 +00:00
Felix Fietkau
216100edb4 kernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44024
2015-01-18 09:25:27 +00:00
Felix Fietkau
6dfea16ab9 ar8216: display flow control info in swconfig get_link in case of autonegatiation too
The swconfig get_link attribute (at least) on AR8327/AR8337 doesn't
consider the autonegotiated flow control.
AR8327/AR8337 provide the info about autonegotiated rx/tx flow control
in bits 10 and 11 of the port status register.
Use these values to display info about autonegotiated rx/tx flow
control as part of the get_link attribute.

Successfully tested on TL-WDR4900 (AR8327 rev.4) and
TL-WDR4300 (AR8327 rev.2).

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44023
2015-01-18 00:54:06 +00:00
Felix Fietkau
53c0c6054f ar8216: add 802.3az EEE info to swconfig get_link attribute
AR8327/AR8337 allow to read the result of EEE autonegotiation.
If EEE is autonegotiated between the link partners, display
this as part of the swconfig get_link attribute.

eee100:  100MBit EEE supported by both link partners
eee1000: 1GBit EEE supported by both link partners

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44022
2015-01-18 00:53:59 +00:00
Felix Fietkau
bdc0750191 ar8216: introduce enable_eee swconfig attribute to control 802.3az EEE per port
Users reported network issues with AR8327 which turned out to be caused
by EEE not working correctly with certain link partners (ticket 14597).
The workaround was to disable EEE on all ports (changeset 41577).

The issue was with certain link partners only, therefore this patch
allows to control usage of EEE per port via swconfig.
Still the default is to initially disable EEE on all ports.

Successfully tested on a TL-WDR4900 (AR8327 rev.4)

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44021
2015-01-18 00:53:53 +00:00
Felix Fietkau
632be658d5 ramips: add missing copyright info for relocate stub
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44017
2015-01-17 21:22:36 +00:00
Felix Fietkau
40b740b232 ramips: add preliminary support for DIR-860L B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44016
2015-01-17 21:20:05 +00:00
Felix Fietkau
33848f14d3 ramips: add code for relocating a kernel to the right place
(used if the boot loader wants a different loadaddr/entry)

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

SVN-Revision: 44014
2015-01-17 21:19:38 +00:00
Felix Fietkau
82f21058a1 ramips: enable the seama mtdsplit parser
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44013
2015-01-17 21:19:30 +00:00
John Crispin
5e8bc7088b brcm2708: missing symbols caused a build fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44011
2015-01-17 19:10:40 +00:00
Felix Fietkau
590e0d7f81 ramips: register mt76 device tree info for WSR-1166DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44010
2015-01-17 16:50:59 +00:00
Felix Fietkau
070f67aa9b ramips: register mt7621 pcie through device tree
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44009
2015-01-17 16:50:51 +00:00
John Crispin
50a5cd829c ralink: sync mt7621 pcie driver with latest SDK
fixes newer ECO versions and a hang on reboot bug

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

SVN-Revision: 44008
2015-01-17 14:50:59 +00:00
John Crispin
8698398a6e target: kirkwood: fix leds defaults config
Fix missing parameters in 01_leds

Signed-off-by: Gerald Kerma <dreagle@doukki.net>

SVN-Revision: 44007
2015-01-17 14:39:01 +00:00
John Crispin
64ccdb98fb ar8216: introduce ar8xxx_reg_clear complementing ar8xxx_reg_set
Introduce ar8xxx_reg_clear complementing ar8xxx_reg_set.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44004
2015-01-17 14:24:56 +00:00
John Crispin
0fb39e6f4b ar8216: replace ar8xxx_rmw with ar8xxx_reg_set where appropriate
Replace ar8xxx_rmw with ar8xxx_reg_set where appropriate.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44003
2015-01-17 14:24:47 +00:00
John Crispin
1cb2596f19 ar8216: define all switch_addr structs as const
Define all switch_addr structs as const.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44002
2015-01-17 14:24:40 +00:00
John Crispin
88df2bd2ff ramips: add support for Intenso Memory 2 Move USB 3.0
This adds support for a rt5350-based "portable nas" solution
from Intenso. The board comes with 32M RAM and 8M Flash, the
built-in HDD is connected/accessible via a usb3.0<->sata
bridge VLI VL701.

The device has 1 Ethernet port (100M/10M), 1 micro b usb 3.0
socket (for charging the battery, or accessing the hdd directly).
Wireless connectivity is provided by the rt5350 SoC [i.e.:
802.11n 1x1 2.4 GHz with a pcb antenna.]

Serial, leds, wifi, ethernet and usb are tested and
as far as I can tell: they are working fine (tm).

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

SVN-Revision: 44001
2015-01-17 14:06:13 +00:00
Felix Fietkau
00db07be58 ramips: fix tx bql related race condition in the ethernet driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43995
2015-01-17 13:13:55 +00:00
John Crispin
7a65864344 ralink: add support for Kingston MLWG2
This patch adds support for the Kingston Mobilelite Wireless G2 (MLWG2)

http://wiki.openwrt.org/toh/kingston/mlwg2

https://github.com/gmacario/kingston-mlwg2-hack/wiki/Testing-OpenWrt-on-MLWG2

Tested-by: Gianpaolo Macario <gmacario@gmail.com>

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 43990
2015-01-17 07:07:36 +00:00
John Crispin
8cbf97e936 Remove old P2812HNUFX dts
Remove unused P2812HNUFX board definition.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43988
2015-01-17 07:07:21 +00:00
John Crispin
7f77870c19 Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK
Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43987
2015-01-17 07:07:15 +00:00
John Crispin
b4d2b69c43 lantiq: Add device tree for P2812HNUF1 and P2812HNUF3
Add device tree for P2812HNUF1 and P2812HNUF3.

Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43986
2015-01-17 07:07:06 +00:00
John Crispin
56a54515df ramips: add i2c pingroup to the pinmux for rt-n14u
i2c pins are wired to wps a reset button

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 43985
2015-01-17 07:06:59 +00:00
John Crispin
27b82a7990 ramips: fix default led configuration for rt-n14u
use new helper function to generate default led configuration

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 43984
2015-01-17 07:06:51 +00:00
John Crispin
b5f9e5e454 ar71xx: fix board detection for TP-LINK TL-WA860RE
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 43983
2015-01-17 07:06:45 +00:00
Rafał Miłecki
71c8ec020d bcm53xx: drop hacky patch making bcma init later
The only reason this patch was helping was moving bcma init *after*
of_serial init. It was a bit of luck because both drivers use
device_initcall.
It isn't really a correct way to provide early logging.
Now we have earlyprintk support in bcm53xx we can drop this patch.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43981
2015-01-16 15:59:29 +00:00
Rafał Miłecki
3bdf05441a brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)
SVN-Revision: 43979
2015-01-16 12:48:27 +00:00
Imre Kaloz
8a103d5c56 mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43978
2015-01-16 08:44:15 +00:00
Imre Kaloz
9a8bf84879 mvebu: add the new tlc59116 driver and migrate the Mamba to it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43975
2015-01-15 13:59:01 +00:00
Felix Fietkau
f1c5232f4d ar71xx: fix disable_irq() on chained irq handlers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43974
2015-01-15 12:19:20 +00:00
Felix Fietkau
4f2fe5d7fa kernel: fix disable_irq() on MIPS CPU IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43973
2015-01-15 12:19:12 +00:00
Rafał Miłecki
4ae1e883e8 bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43972
2015-01-14 13:41:05 +00:00
Imre Kaloz
4f06ba0727 malta: copy initramfs images
Malta ramdisk images are no longer copied to output due to a recent change.
This change reimplements copying of ramdisk images for Malta builds.

Signed-off-by: Eric Schultz <eschultz@prplfoundation.org>

SVN-Revision: 43970
2015-01-14 12:09:33 +00:00
Imre Kaloz
a72bf9f3d2 mvebu: Switch to the generic mkuimage macro
The mvebu image makefile define something almost identical to the generic
implementation found in include/image.mk.

Switch to this implementation.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

SVN-Revision: 43969
2015-01-14 11:39:20 +00:00
Imre Kaloz
91b79128dc mvebu: Replace the padjffs2 call by the generic definition
The mvebu image Makefile directly calls the padjffs2 utility, while there's an
generic make function to do just that. Switch to it

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>

SVN-Revision: 43968
2015-01-14 11:37:29 +00:00
Rafał Miłecki
f59c84c431 bcm53xx: enable earlyprintk on more devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43965
2015-01-14 07:42:48 +00:00
Rafał Miłecki
8e95c2c5be bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43964
2015-01-14 07:03:42 +00:00
Rafał Miłecki
55e766d78d bcm53xx: refresh configs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43963
2015-01-14 07:03:17 +00:00
Felix Fietkau
bc78885e70 ramips: add missing -Os cflag for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43954
2015-01-13 00:34:49 +00:00
Felix Fietkau
acfc6c153b ramips: use a larger number of rx descriptors on mt7621 to work around rx overrun related packet loss
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43953
2015-01-13 00:34:45 +00:00
Felix Fietkau
05d4b8c79b ramips: remove interrupt coalescing, it is unnecessary with napi polling and could reduce throughput
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43952
2015-01-13 00:34:38 +00:00
Imre Kaloz
b0a2d7ad0d now that the driver knows it, use the 88e6172's switch type in the mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43945
2015-01-12 09:32:33 +00:00
Nicolas Thill
edacde5042 target/uml: add missing config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43940
2015-01-11 22:03:06 +00:00
Luka Perkov
9db3df9d6b mvsw61xx: track and set per-VLAN port state in STU
Since the driver doesn't know anything about (M)STP
we just hard-set the ports to be enabled if they are
part of the VLAN.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43938
2015-01-11 17:20:16 +00:00
Luka Perkov
0b2cbeca7a mvsw61xx: clean up and expand register definitions
- eliminate MV_CPUPORT; not necessary since we define
  the CPU port(s) via Device Tree

- add STU and expand VTU operations

- update register names to match those of 88E61xx rather than
  mvswitch's 88E6060

- use more consistent formatting

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43937
2015-01-11 17:20:06 +00:00
Luka Perkov
1e39f3aef8 mvsw61xx: rework chip recognition
Recognizes 88E6171/6172/6176 at the moment.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43936
2015-01-11 17:20:03 +00:00
Luka Perkov
a1872182bb mvsw6171: rename to 'mvsw61xx'
In preparation for properly supporting switches
beyond the 88E6171.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43935
2015-01-11 17:19:58 +00:00
Luka Perkov
b78cddafcc kernel: update 3.14 to 3.14.28
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43929
2015-01-11 01:28:32 +00:00
Florian Fainelli
884a01d8a4 mcs814x: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43927
2015-01-10 20:12:15 +00:00
Florian Fainelli
dd4ee63fa4 mcs814x: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43926
2015-01-10 20:12:02 +00:00
Florian Fainelli
3b523f6780 mcs814x: account for dtb output directory differences
3.3 produced *.dtb files in arch/arm/boot/ while 3.14 will produce those
in arch/arm/boot/dts/, adjust the image makefile accordingly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43925
2015-01-10 20:11:18 +00:00
Florian Fainelli
d43997b223 mcs814x: set low_mem feature flag
Most of the devices we support have between 16MiB and 32MiB of RAM
available.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43924
2015-01-10 20:11:07 +00:00
Florian Fainelli
cfdb22f0e4 mcs814x: rename config-default to config-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43923
2015-01-10 20:10:57 +00:00
Zoltan Herpai
741e0fd7a1 sunxi: change bananapro DTS to use the already published patch, clean up 3.18 config of generic symbols
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43922
2015-01-10 19:56:30 +00:00
Felix Fietkau
547ab2de5a ar71xx: fix console string in images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43917
2015-01-10 18:48:14 +00:00
Florian Fainelli
3b21b2ae00 adm5120: add experimental 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43915
2015-01-10 18:10:04 +00:00
Florian Fainelli
c119814b2b adm5120: move files to files-3.8
In preparation for adding new kernel support

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43914
2015-01-10 18:08:53 +00:00
Zoltan Herpai
3db73fc350 kernel: add missing config symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43912
2015-01-10 17:23:55 +00:00
Felix Fietkau
9229b34d92 ar71xx: port wndr3700/3800 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43910
2015-01-10 15:27:07 +00:00
Felix Fietkau
492bcad8ec ar71xx: port carambola2 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43909
2015-01-10 15:27:00 +00:00
Felix Fietkau
5b0d18093d ramips: convert mt7621 images to new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43908
2015-01-10 15:26:53 +00:00
Felix Fietkau
e66f1292aa ramips: simplify mkimage kernel loadaddr/entry handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43906
2015-01-10 15:26:38 +00:00
Zoltan Herpai
1e0c22507a sunxi: bump kernel to 3.18 - refresh patches - add bananapro, cubietruck, mele_m9 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43900
2015-01-09 19:35:14 +00:00
Felix Fietkau
48d8bc4f97 ramips: add preliminary Archer C20i support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43898
2015-01-09 15:40:51 +00:00
Imre Kaloz
7f21a92ffa switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43893
2015-01-09 12:36:07 +00:00
Imre Kaloz
182bbf60b7 upgrade to 3.18.2
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43892
2015-01-09 12:35:19 +00:00
John Crispin
baad87ae3d kernel: add SECCOMP to menuconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43888
2015-01-08 21:23:18 +00:00
John Crispin
5789169b1d gemini: add ata driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43885
2015-01-08 20:26:34 +00:00
John Crispin
5a5d558d0f gemini: add rtc-gemini driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43884
2015-01-08 20:26:27 +00:00
John Crispin
2120e48e75 ramips: Fix HooToo HT-TM02 support.
- Fix LED definitions.
- Add mode-switch slider definition (at GPIO 14).
- Remove unneeded VLAN now that the ethernet driver is fixed and TCP packets get passed correctly now. (This router only has one port.)
- Fix LAN port MAC address, which is defined in the factory partition as WLAN MAC address + 1.
- Fix board name, as the company name is HooToo and not HOOTOO.
- Remove unnecessary packages from the profile. (The end-user is supposed to use mechanisms such as the ImageBuilder in order to add his own set of packages to his own images... while the precompiled images should just contain the core set of packages needed to run the base functions of a wireless router.)

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43883
2015-01-08 20:26:20 +00:00
John Crispin
5ea31bbc58 ramips: Fix for gpio falling interrupt mask
This patch fixes a wrong mask operation for the rt2880-compatible ralink devices.
The mask operation reads the actual flags and then logical combines it with the pin flag it want to set.
Unfortunally, for rising as for falling interrupt flags the actual flag status of the rising interrupts was used.
That caused a problem if you want to use more than one falling GPIO interrupt.
Now the correct (seperated) actual status is used for both, falling and rising.

Signed-off-by: Jonas Arndt <info@greenwire-elektronik.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43882
2015-01-08 20:26:13 +00:00
John Crispin
2ea64717e2 ramips: update BR-6475ND dts
Update firmware location for 2.4GHz radio on the Edimax BR-6475nD.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

SVN-Revision: 43881
2015-01-08 20:26:02 +00:00
John Crispin
f9dcd95919 ramips: base-files: Whitespace fixes.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 43880
2015-01-08 20:25:55 +00:00
John Crispin
c9a390f9e1 lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43879
2015-01-08 20:25:48 +00:00
John Crispin
9d7d29439b lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43878
2015-01-08 20:25:41 +00:00
John Crispin
550784f1ea lantiq: BT Home Hub3A - device tree
BT Home Hub3A - device tree

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43877
2015-01-08 20:25:35 +00:00
John Crispin
1ba71cbc14 lantiq: Fix adsl led on Home Hub 2B
This fixes the adsl led on the Home Hub 2B.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 43876
2015-01-08 20:25:28 +00:00
Felix Fietkau
5bbe758e4e lantiq: add missing NAND_WRITE_DATA in NAND driver.
Signed-off-by: Sylwester Petela <sscapi@gmail.com>

SVN-Revision: 43856
2015-01-05 21:37:21 +00:00
Imre Kaloz
26b57a6dc2 refresh kernel config, add cpuidle and cpufreq support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43855
2015-01-05 15:08:20 +00:00