Commit Graph

13494 Commits (64db4364165e2c67e01884b8ad5c4a2ee905a503)

Author SHA1 Message Date
John Crispin 650a71bcf8 malta: add 3.18 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44340
10 years ago
John Crispin 7155ec7191 kernel: copy mips_decompressor_memmove patch to 3.18/3.19
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44339
10 years ago
John Crispin f17dee3058 kernel: add missing symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44338
10 years ago
John Crispin 28353b3fc5 kernel: fix compile error inside adm6996.c
drivers/net/phy/adm6996.c:881:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'u32' [-Wformat=]

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

SVN-Revision: 44333
10 years ago
Jo-Philipp Wich 49fda5e4d9 sdk: use prepare target to initialize git snapshot
The new approach is less prone to race conditions and will properly
snapshot the symlinks prepared by the prereq-build target.

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

SVN-Revision: 44330
10 years ago
Luka Perkov 4b0fbf3072 ramips: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44324
10 years ago
Nicolas Thill 6b8f598ca6 linux/generic: add missing config symbols
Related to debug/tracing, only added to 3.14+, might be needed for older versions as well

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44323
10 years ago
Nicolas Thill ad6f7dffa5 linux/sunxi: rename A20-OLinuXino-Lime profile
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44322
10 years ago
Luka Perkov f6a01dd3d1 x86: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44321
10 years ago
Luka Perkov 683da1384b lantiq: fix patches after 3.14.32 bump
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44320
10 years ago
Luka Perkov 7294b892dc kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44319
10 years ago
Luka Perkov b9d513158e kernel: update 3.18 to 3.18.6
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44318
10 years ago
Jo-Philipp Wich e972c95cf0 x86: declare missing kernel symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44316
10 years ago
Luka Perkov efc28a75fe ar71xx: ubnt: move new board patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44315
10 years ago
Luka Perkov 0067ab8e39 ar71xx: rb2011: apply patch to file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44314
10 years ago
Jo-Philipp Wich 65ec08d1b0 imagebuilder: align filename with SDK
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44313
10 years ago
Jo-Philipp Wich f52a62d600 sdk: rename file to mention target/subtarget and move host system to suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44312
10 years ago
Jo-Philipp Wich e9c10a0c8e toolchain: respect CONFIG_VERSION_FILENAMES and add host system suffix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44311
10 years ago
Luka Perkov fcfbbfc385 ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44309
10 years ago
Luka Perkov 54ac4e0600 ar71xx: uci-defaults: add el-mini to appropriate group
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44307
10 years ago
Luka Perkov 8ca6c1acd4 ar71xx: qihoo: define flash variable as static
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44306
10 years ago
Luka Perkov 81db848656 targets: base-files: diag.sh does not need to be executable
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44305
10 years ago
Luka Perkov 92e6e80080 targets: files in uci-defaults do not need to be executables
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44304
10 years ago
Luka Perkov 0bbcdb21da ar71xx: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44303
10 years ago
Luka Perkov d81a8ad523 kernel: update 3.14 to 3.14.32
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44302
10 years ago
Jo-Philipp Wich 188032c8e3 imagebuilder: don't pregenerate package index, strip host binaries
The package index is generated on first use anyway, therefore it makes no
sense to continue shipping it.

Also sstrip the bundled host binaries when packing the IB to save some
additional space.

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

SVN-Revision: 44293
10 years ago
Imre Kaloz 865647cea2 mvebu: add note about the move to single firmware files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44291
10 years ago
Imre Kaloz eda08dd423 mvebu: support building images for a single board
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44290
10 years ago
Jo-Philipp Wich 2adab34c20 imagebuilder: use FreeBSD compatible tar invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44288
10 years ago
Imre Kaloz 12531a0f86 mvebu: don't generate targz images by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44268
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
John Crispin b41bf7479e ralink: cleanup firefly default packages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44244
10 years ago
John Crispin 043f462be4 ralink: add FireWRT button detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

SVN-Revision: 44242
10 years ago
John Crispin d725678a43 ralink: add FireWRT led detail
Signed-off-by: wengbj <fl.service@t-firefly.com>

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

SVN-Revision: 44240
10 years ago
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
10 years ago
John Crispin bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki 539cd23892 bcm53xx: fix partitions on Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44219
10 years ago
Rafał Miłecki 1d1a1c19bf bcm53xx: fix booting BCM4709
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44218
10 years ago
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
10 years ago
Zoltan Herpai c1f86aa1ad sunxi: disable MMC debugging in kernel config
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44216
10 years ago
Zoltan Herpai 3b83156a38 sunxi: workaround switch being uninitialized on netifd startup
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44215
10 years ago
Zoltan Herpai 7146957461 sunxi: add support for Lamobo R1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44214
10 years ago
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
10 years ago
Zoltan Herpai 7a5ef7b99f sunxi: introduce sunxi_board_name() in /lib/sunxi.sh
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44212
10 years ago
Zoltan Herpai d4f6f169b8 sunxi: implement board_detect for device-tree kernels
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44211
10 years ago
Jo-Philipp Wich 65f81429b4 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44203
10 years ago
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
10 years ago
Jo-Philipp Wich 44eecf6392 x86_64: enable PCIE support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44201
10 years ago
Rafał Miłecki 251b42d491 bcm53xx: early support for Netgear R8000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44186
10 years ago
Rafał Miłecki 5ecce85db7 kernel: bcm47xxpart: support T_Meter partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44185
10 years ago
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
10 years ago
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
10 years ago
John Crispin dcac85d7d8 kernel: add LZ4 decompressors to kconfig hack
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44168
10 years ago
John Crispin ec1ba18558 kernel: kmod-usb2-pci to Intel ixp4xx/Geode
Signed-off-by: Ted Hess <thess@kitschensync.net>

SVN-Revision: 44167
10 years ago
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
10 years ago
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
10 years ago
Luka Perkov a9568263f6 kernel: update 3.14 to 3.14.30
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44158
10 years ago
Rafał Miłecki 3579379dba kernel: bcm47xxpart: support boart_data partition on Xiaomi
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44157
10 years ago
Rafał Miłecki 6296b8ca9f kernel: backport queued bcm47xxpart changes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44156
10 years ago
Jo-Philipp Wich ec04e769c8 ep93xx: fix broken kmods after r44112 (#18833)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44155
10 years ago
Imre Kaloz 7be967e954 mvebu: temporary el cheapo' fan control script
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44153
10 years ago
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
10 years ago
Jo-Philipp Wich 0798de785e mvebu: add missing config symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44147
10 years ago
Jo-Philipp Wich d70a9343e3 ipq806x: declare missing config symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44144
10 years ago
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
10 years ago
Luka Perkov ee3eade285 kernel: update 3.14 to 3.14.29
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44137
10 years ago
Jo-Philipp Wich 6fbf35501e cns21xx: remove stray CONFIG_WAN from kernel config
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44136
10 years ago
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
10 years ago
Imre Kaloz 9a8a348f14 mvebu: use pwmfan in the profile
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44131
10 years ago
Imre Kaloz 18012a4198 mvebu: preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44130
10 years ago
Imre Kaloz d9c6ff8c25 mvebu: gpio based pwm support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44129
10 years ago
Imre Kaloz 9a172c70eb mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44128
10 years ago
Imre Kaloz afa58d8589 mvebu: backport some upstream changes
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44127
10 years ago
Imre Kaloz d26694243a generic: add preliminary 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44126
10 years ago
Luka Perkov a46bb6ec6a kirkwood: add wpad-mini to guruplug profile
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 44125
10 years ago
Luka Perkov c8e9b5d13e kirkwood: enable swconfig by default on EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44124
10 years ago
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
10 years ago
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
10 years ago
Imre Kaloz 53c7248554 generic/3.18: update to 3.18.3
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44121
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau 5d4837706a ramips: fix ethernet vlan tx offload support check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44115
10 years ago
Felix Fietkau 77aa8e8aee ep93xx: remove obsolete kernel version check
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44112
10 years ago
Felix Fietkau b382c585e4 x86: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44111
10 years ago
Felix Fietkau 3120c9c9c2 build: drop obsolete kernel version dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44110
10 years ago
Felix Fietkau 186db26d05 kernel: remove linux 3.3 patches and config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44109
10 years ago
Felix Fietkau ed60bb8360 pxa: mark as broken
It still uses the long obsolete 3.3 kernel version

SVN-Revision: 44108
10 years ago
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
10 years ago
Felix Fietkau 6512aa4553 mcs814x: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44106
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki bba98a3c53 bcm53xx: backport official Buffalo WZR-900DHP patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44070
10 years ago
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
10 years ago
John Crispin 4961c7d0f5 ar71xx: add support for TL-WA701ND v2
Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>

SVN-Revision: 44063
10 years ago
Rafał Miłecki f0d73a4381 bcm53xx: use final (backported) patch fixing serial console
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44059
10 years ago
Rafał Miłecki ea1fe45fae bcm53xx: backport 3 BCM5301X patches from Hauke repo
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44058
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki 78b0da393b bcm53xx: add support/firmware for Asus RT-AC87U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44051
10 years ago
Felix Fietkau 9e7cc83edc ralink: fix ethernet rx buffer size breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44047
10 years ago
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
10 years ago
Felix Fietkau b3ca42ec8f ralink: correct handle hardware rx 2bytes offset
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44045
10 years ago
Felix Fietkau 03ea0cf6f1 ralink: use fe_reset to control all reset
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44044
10 years ago
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
10 years ago
Felix Fietkau 69ee1807ed ralink: add ethernet fe and esw reset control bit
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44042
10 years ago
Felix Fietkau a5b578c2d9 ralink: reduce access to uncached tx/rx dma ring buffer
Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 44041
10 years ago
Zoltan Herpai e8ecd9a511 sunxi: update Olimex A13 SOM profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44040
10 years ago
Luka Perkov 34f6c6fc38 kirkwood: enable switch on Linksys EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 44036
10 years ago
Zoltan Herpai 91260ad6ef kernel: add missing config symbol for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 44034
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Felix Fietkau 68f50c4e2d ramips: downgrade mt7621 "Spurious GIC Interrupt" to debug messages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44028
10 years ago
Felix Fietkau b0e6e6e2f2 ramips: add mt7621 cpu feature overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44027
10 years ago
Felix Fietkau a0849e6439 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44026
10 years ago
Felix Fietkau f66cca61d2 ramips: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44025
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago