Commit Graph

14335 Commits (12b577613996f768c00918f762d387f3cb2a8cee)

Author SHA1 Message Date
John Crispin 9286ab00d3 ralink: add support for firewrt
this is a mt7621 based board

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 06:34:28 +00:00
Rafał Miłecki bf5ba711df bcm53xx: add support/firmware for Asus RT-AC87U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 11:05:22 +00:00
Felix Fietkau 311b20a71c ralink: fix ethernet rx buffer size breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:17:41 +00:00
Felix Fietkau 7e7a5831f7 ralink: improve check rx sg function. use check frags instead of function call
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:17:28 +00:00
Felix Fietkau 2a76888e3f ralink: correct handle hardware rx 2bytes offset
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:17:18 +00:00
Felix Fietkau 8b61d50feb ralink: use fe_reset to control all reset
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:17:07 +00:00
Felix Fietkau 71a43766c2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:16:50 +00:00
Felix Fietkau 754c3f5d78 ralink: add ethernet fe and esw reset control bit
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:16:44 +00:00
Felix Fietkau 31fa24e3e3 ralink: reduce access to uncached tx/rx dma ring buffer
Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 20:16:35 +00:00
Zoltan HERPAI eeca65e5d7 sunxi: update Olimex A13 SOM profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:58:35 +00:00
Luka Perkov d26833ac63 kirkwood: enable switch on Linksys EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 16:45:01 +00:00
Zoltan HERPAI 44f50aea8e kernel: add missing config symbol for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 14:28:13 +00:00
John Crispin 1bf7220e1f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:41:04 +00:00
John Crispin c5d0bb8d0c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:40:58 +00:00
John Crispin 8f53bb66bd 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:40:53 +00:00
John Crispin 7ec3fcc08d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:40:47 +00:00
Felix Fietkau a8fba08305 ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:25:49 +00:00
Felix Fietkau 9eef19ef49 ramips: add mt7621 cpu feature overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:25:43 +00:00
Felix Fietkau 7c15fd8ae8 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:25:38 +00:00
Felix Fietkau 018a2a5a86 ramips: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:25:32 +00:00
Felix Fietkau dc9e6416e7 kernel: backport upstream commit to fix MIPS cache shift with secondary cache enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 09:25:27 +00:00
Felix Fietkau 9c995cf6d4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 00:54:06 +00:00
Felix Fietkau cdebbb98d1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 00:53:59 +00:00
Felix Fietkau f128531b2a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-18 00:53:53 +00:00
Felix Fietkau fb2649fbfe ramips: add missing copyright info for relocate stub
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 21:22:36 +00:00
Felix Fietkau 83a567357d ramips: add preliminary support for DIR-860L B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 21:20:05 +00:00
Felix Fietkau 506958b6f3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 21:19:38 +00:00
Felix Fietkau 3ef1fdbe05 ramips: enable the seama mtdsplit parser
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 21:19:30 +00:00
John Crispin 5108a4488f brcm2708: missing symbols caused a build fail
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 19:10:40 +00:00
Felix Fietkau 5461345ea8 ramips: register mt76 device tree info for WSR-1166DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 16:50:59 +00:00
Felix Fietkau 895884d601 ramips: register mt7621 pcie through device tree
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 16:50:51 +00:00
John Crispin 902b6f81d6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:50:59 +00:00
John Crispin daf86ae594 target: kirkwood: fix leds defaults config
Fix missing parameters in 01_leds

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:39:01 +00:00
John Crispin fc1b972433 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:24:56 +00:00
John Crispin 940391d4d6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:24:47 +00:00
John Crispin a57f35750a ar8216: define all switch_addr structs as const
Define all switch_addr structs as const.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:24:40 +00:00
John Crispin 75b65571c9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:06:13 +00:00
Felix Fietkau 8ce6953097 ramips: fix tx bql related race condition in the ethernet driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 13:13:55 +00:00
John Crispin e5244ce230 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:07:36 +00:00
John Crispin 9d149658ad Remove old P2812HNUFX dts
Remove unused P2812HNUFX board definition.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:07:21 +00:00
John Crispin fed2fd6184 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:07:15 +00:00
John Crispin f35322bbae lantiq: Add device tree for P2812HNUF1 and P2812HNUF3
Add device tree for P2812HNUF1 and P2812HNUF3.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:07:06 +00:00
John Crispin 747f222b8a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:06:59 +00:00
John Crispin 1c004bcef5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:06:51 +00:00
John Crispin cdd570fcaa ar71xx: fix board detection for TP-LINK TL-WA860RE
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 07:06:45 +00:00
Rafał Miłecki 2967c8a901 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-16 15:59:29 +00:00
Rafał Miłecki e2c2692400 brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-16 12:48:27 +00:00
Imre Kaloz 965f285794 mvebu: fixups for the new driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-16 08:44:15 +00:00
Imre Kaloz f8c067883f mvebu: add the new tlc59116 driver and migrate the Mamba to it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-15 13:59:01 +00:00
Felix Fietkau a24c7178f8 ar71xx: fix disable_irq() on chained irq handlers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-15 12:19:20 +00:00
Felix Fietkau 6b4c038cf3 kernel: fix disable_irq() on MIPS CPU IRQs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-15 12:19:12 +00:00
Rafał Miłecki d900866b1d bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 13:41:05 +00:00
Imre Kaloz 2729cdcf9e 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 12:09:33 +00:00
Imre Kaloz 697f526995 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 11:39:20 +00:00
Imre Kaloz abdd10c1d5 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 11:37:29 +00:00
Rafał Miłecki fa29300ffa bcm53xx: enable earlyprintk on more devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:42:48 +00:00
Rafał Miłecki 36ef371f8e bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:03:42 +00:00
Rafał Miłecki 8ae4b8ea1e bcm53xx: refresh configs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-14 07:03:17 +00:00
Felix Fietkau c1c6aee479 ramips: add missing -Os cflag for mt7621
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 00:34:49 +00:00
Felix Fietkau 980e0502ce 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 00:34:45 +00:00
Felix Fietkau bc68bea2e7 ramips: remove interrupt coalescing, it is unnecessary with napi polling and could reduce throughput
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-13 00:34:38 +00:00
Imre Kaloz 308eeb28e6 [mvebu]: now that the driver knows it, use the 88e6172's switch type in the mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-12 09:32:33 +00:00
Nicolas Thill 04b507072d target/uml: add missing config symbols
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 22:03:06 +00:00
Luka Perkov 1a59c96060 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 17:20:16 +00:00
Luka Perkov 245edbac0b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 17:20:06 +00:00
Luka Perkov 418bc42665 mvsw61xx: rework chip recognition
Recognizes 88E6171/6172/6176 at the moment.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 17:20:03 +00:00
Luka Perkov fb93335d7c mvsw6171: rename to 'mvsw61xx'
In preparation for properly supporting switches
beyond the 88E6171.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 17:19:58 +00:00
Luka Perkov 725f724cc8 kernel: update 3.14 to 3.14.28
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-11 01:28:32 +00:00
Florian Fainelli e8a287dda6 mcs814x: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 20:12:15 +00:00
Florian Fainelli f52b2a5e6b mcs814x: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 20:12:02 +00:00
Florian Fainelli 03e961eb20 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 20:11:18 +00:00
Florian Fainelli 1e7c30a28f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 20:11:07 +00:00
Florian Fainelli 89c85f5f7a mcs814x: rename config-default to config-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 20:10:57 +00:00
Zoltan HERPAI 7041d9d2ba 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 19:56:30 +00:00
Felix Fietkau f717da4878 ar71xx: fix console string in images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 18:48:14 +00:00
Jo-Philipp Wich a9d45da16c imagebuilder: fail with error if the passed profile name does not exist
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 18:19:59 +00:00
Florian Fainelli 1f07007293 adm5120: add experimental 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 18:10:04 +00:00
Florian Fainelli 57a3eb31a2 adm5120: move files to files-3.8
In preparation for adding new kernel support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 18:08:53 +00:00
Zoltan HERPAI a474986d52 kernel: add missing config symbols for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 17:23:55 +00:00
Felix Fietkau 19a6298846 ar71xx: port wndr3700/3800 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 15:27:07 +00:00
Felix Fietkau cf4dbb7a35 ar71xx: port carambola2 to the new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 15:27:00 +00:00
Felix Fietkau 6ee18aa54e ramips: convert mt7621 images to new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 15:26:53 +00:00
Felix Fietkau 49c1bb9796 ramips: simplify mkimage kernel loadaddr/entry handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 15:26:38 +00:00
Jo-Philipp Wich f1dfc77d7b sdk: track files with git and use it to implement proper clean targets
Initialize a Git repository in the SDK and use git reset / git clean
to rollback any SDK changes with "make clean" or "make dirclean".

This approach is more robust than nuking entire directory trees because
some parts of them might have been shipped with the original archive.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-10 11:17:02 +00:00
Zoltan HERPAI 2710b93ef1 sunxi: bump kernel to 3.18
- refresh patches
 - add bananapro, cubietruck, mele_m9 support

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 19:35:14 +00:00
Felix Fietkau 60a5ab1efe ramips: add preliminary Archer C20i support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 15:40:51 +00:00
Imre Kaloz ace2163f81 [mvebu]: switch to 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 12:36:07 +00:00
Imre Kaloz c24ba6dff2 [generic/3.18]: upgrade to 3.18.2
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-09 12:35:19 +00:00
John Crispin 10c4ed3ce2 kernel: add SECCOMP to menuconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 21:23:18 +00:00
John Crispin d0eb060915 gemini: add ata driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:34 +00:00
John Crispin 3d5e389698 gemini: add rtc-gemini driver
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:27 +00:00
John Crispin b8f3eecf55 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:20 +00:00
John Crispin 15aa6d23b8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:13 +00:00
John Crispin e8a5bd7e28 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:26:02 +00:00
John Crispin a733affa00 ramips: base-files: Whitespace fixes.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:55 +00:00
John Crispin 2f58f4729b lantiq: BT Home Hub 3A - userspace
BT Home Hub 3A - userspace

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:48 +00:00
John Crispin 2292309153 lantiq: BT Home Hub 3A - profile
BT Home Hub 3A - profile

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:41 +00:00
John Crispin 6b176045f3 lantiq: BT Home Hub3A - device tree
BT Home Hub3A - device tree

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:35 +00:00
John Crispin adabf431dc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 20:25:28 +00:00
Jo-Philipp Wich a8bb90bd2f build: add version number to filenames
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes
OpenWrt to embed the version number in generated image files, SDK- and
ImageBuilder archives.

The option is enabled by default if CONFIG_VERSIONOPT is set.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 11:02:00 +00:00