Commit graph

15018 commits

Author SHA1 Message Date
John Crispin
4ea610da74 rb532: switch to 4.1
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47972
2015-12-23 14:43:11 +00:00
John Crispin
29199a766e rb532: build squashfs image by default
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47971
2015-12-23 14:43:05 +00:00
John Crispin
4be7901962 rb532: increase kernel partition
4.1 got little bit larger than 4MB and I couldn't get lzma loader
working on this platform

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47970
2015-12-23 14:42:59 +00:00
John Crispin
5e10f67b67 lantiq: Configure LED polarity for TDW8970 and TDW8980.
This patch configures the correct ath9k WLAN LED polarity for the TDW8970,
and for the TDW8980 as well.

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

SVN-Revision: 47969
2015-12-23 14:42:25 +00:00
Felix Fietkau
10afb1bd8c kernel: add remaining kernel patch accidentally left out of r47963
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47966
2015-12-23 11:40:53 +00:00
Felix Fietkau
720afadc7a kernel: backport all current pppoe kernel fixes to 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47963
2015-12-23 11:15:02 +00:00
Rafał Miłecki
8996164e56 ledtrig-netdev: update base driver instead of patching it for every kernel
All supported kernels require patching ledtrig-netdev in the same way,
so it's safe to just move these changes to the base version of this
driver. We needed these patches for some old kernels 2.6.36 and 3.11.

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

SVN-Revision: 47962
2015-12-23 10:17:09 +00:00
Zoltan Herpai
c0af633775 kernel/4.4: add missing config options
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 47957
2015-12-20 18:19:45 +00:00
Felix Fietkau
814d70b2fd ar8216: rework/fix AR8337 MAC swap handling
In r45970 the MAC swap handling was made opt-in, however some boards
have been forgotten during the conversion. Since the reference design
uses this MAC swapping, and pretty much all known boards using this chip
seem to do so too, enabling the swapping is a more reasonable default
than leaving it disabled.

Change the code to still allow boards to opt-out of this.

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

SVN-Revision: 47956
2015-12-20 14:25:45 +00:00
Felix Fietkau
3fa85af5ad ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips
The following patch is to add ath79_register_m25p80_large, which sets
is_flash to false to support bit banging. This is needed on some 32MB+
SPI chips, such as the S25FL256S1

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47952
2015-12-19 11:32:20 +00:00
Felix Fietkau
c74a690661 ar71xx: scan nand ubi partition for ath9k eeprom files
The MR18 stores the ath9k eeprom values on the NAND.
This patch makes it possible to retrieve the images
from there.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47948
2015-12-19 11:28:36 +00:00
Felix Fietkau
8e4194797a ar71xx: refactor 10-ath9k-eeprom
move all library includes and 'firmware already exists'
check to the top of the script.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47947
2015-12-19 11:28:30 +00:00
Felix Fietkau
fb1273dfdd ar71xx: PowerCloud CR5000 openwrt configuration
OpenWrt configuration part of support for the PowerCloud Systems
CR5000.  The CR5000 is a dual-band 802.11n wireless router with
8MB flash, 64MB RAM, (unused on stock firmware) USB 2.0 port and
five port gigabit ethernet switch.  The CR5000 was sold as
hardware for the Skydog cloud-managed router service.

    Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47946
2015-12-19 11:28:18 +00:00
Felix Fietkau
59fc337a9a ar71xx: PowerCloud CR3000 OpenWrt configuration
OpenWRt configuration part of support for the PowerCloud
Systems CR3000.  The CR3000 is a 802.11n 2.4 GHz wireless router with
8MB flash, 64MB RAM, a four port gigabit ethernet switch, and a fast
ethernet wan port that was sold by PowerCloud Systems as
hardware for the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47945
2015-12-19 11:28:12 +00:00
Felix Fietkau
abc1faad0b ar71xx: PowerCloud CAP324 OpenWrt configuration
Openwrt configuration part of support for PowerCloud CAP324
Cloud AP.  The CAP324 Cloud AP is a device sold by PowerCloud Systems
who's stock firmware (CloudCommand) provides 'cloud' based managment
of large numbers access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
or a wall wart.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47944
2015-12-19 11:27:59 +00:00
Felix Fietkau
4c282ecfe8 ar71xx: Image generation for PowerCloud CR5000 Cloud Router
Kernel part of support for the PowerCloud Systems CR5000.  The
CR5000 is a dual-band 802.11n wireless router with 8MB flash,
64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
port gigabit ethernet switch.  The CR5000 was sold as hardware for
the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47943
2015-12-19 11:27:52 +00:00
Felix Fietkau
09a97f42d9 ar71xx: Image generation for PowerCloud CR3000 Cloud Router
Image generation part of support for PowerCloud CR3000.  The CR3000 is
a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
a four port fast ethernet switch, and a fast ethernet wan port which
was sold by PowerCloud Systems as hardware for the Skydog
cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47942
2015-12-19 11:27:45 +00:00
Felix Fietkau
bee52ee579 ar71xx: PowerCloud CAP324 image generation
Image generation (and mtd partition) part of support for
PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by
PowerCloud Systems who's stock firmware (CloudCommand) provides
'cloud' based managment of large numbers of access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via
PoE or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47941
2015-12-19 11:27:39 +00:00
Felix Fietkau
3f184882e8 ar71xx: Kernel board definition for PowerCloud CR5000
Kernel part of support for the PowerCloud Systems CR5000.  The
    CR5000 is a dual-band 802.11n wireless router with 8MB flash,
    64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
    port gigabit ethernet switch.  The CR5000 was sold as hardware for
    the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47940
2015-12-19 11:27:32 +00:00
Felix Fietkau
eef3b7acfb ar71xx: Kernel board definition for PowerCloud CR3000
Kernel part of support for PowerCloud CR3000.  The CR3000 is
    a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
    a four port fast ethernet switch, and a fast ethernet wan port which
    was sold by PowerCloud Systems as hardware for the Skydog
    cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47939
2015-12-19 11:27:25 +00:00
Felix Fietkau
4cc541756d ar71xx: Kernel board definition for PowerCloud CAP324
Kernel part of support for PowerCloud CAP324 Cloud AP.
    The CAP324 Cloud AP was a device sold by PowerCloud Systems as hardware for
    the CloudCommand service for 'cloud' based managment of large numbers
    access points.

    The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
    and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
    or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47938
2015-12-19 11:27:19 +00:00
Felix Fietkau
3e807886d0 ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
Enable it from .dts files that need it, also remove redundant properties

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

SVN-Revision: 47936
2015-12-19 11:07:29 +00:00
Felix Fietkau
32877b31dc ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47935
2015-12-18 22:26:40 +00:00
Rafał Miłecki
0e8ba8ffcd brcm47xx: fix switch config for devices with WAN port 0
Commit r47866 dropped default values which were handling WAN interface
at port 0. Fix it by handling 2 more cases on NVRAM values.

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

SVN-Revision: 47932
2015-12-18 15:27:16 +00:00
Rafał Miłecki
659ffc29c3 brcm47xx: update kernel 4.4 config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47931
2015-12-18 08:35:36 +00:00
Rafał Miłecki
7caa9411e7 brcm47xx: add kernel 4.4 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47930
2015-12-18 07:25:13 +00:00
John Crispin
4afe0fc2b2 ralink: update the mt7621 ethernet support patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47929
2015-12-17 12:14:56 +00:00
John Crispin
1f71f2220d ar71xx: add support for TRENDnet TEW-823DRU
Add support for TRENDnet TEW-823DRU:
- cpu: QCA9558 @720MHz
- flash: 16MB
- ram: 256MB
- 4+1 RJ45 100/1000Mbps
- wifi:  QCA9558 (bgn) and QCA9880-BR4A (ac)
- 1x USB 2.0

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

SVN-Revision: 47927
2015-12-17 09:30:05 +00:00
John Crispin
68ff0d3d78 omap: add kernel 4.4
- tested on Beagleboard C4

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

SVN-Revision: 47925
2015-12-17 09:29:48 +00:00
John Crispin
d4b8d51580 brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47922
2015-12-17 09:29:22 +00:00
John Crispin
f0b708acdf cns3xxx: add GW2393 Support
Based off of the GW2391-C, but with the following changes:
 * 4x4in to 4x5in pcb
 * flat panel connector for LED signals

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47920
2015-12-17 09:28:42 +00:00
John Crispin
c6d95f0752 cns3xxx: Fix comment
Original comment was wrong about which pads are being set.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47919
2015-12-17 09:28:35 +00:00
John Crispin
21493c984a lantiq: fix ARV7519RW22 buttons
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47918
2015-12-17 09:28:29 +00:00
John Crispin
0a6a37be83 lantiq: add the TDW8980 5GHz led
Still unused, but u-boot doesn't take care of the led, which results in a
permanent switched on 5GHz LED.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47915
2015-12-17 09:28:01 +00:00
John Crispin
ab77d4bcb9 lantiq: Fix LED handling.
- Use common OpenWrt blink patterns instead of custom ones
- Add preinit_regular hook
- Handle the TDW89X0 that does not have a configurable power LED

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

SVN-Revision: 47914
2015-12-17 09:27:52 +00:00
John Crispin
34934609f9 lantiq: Configure LED polarity for TDW8970.
This patch configures the correct ath9k WLAN LED polarity for the TDW8970.

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

SVN-Revision: 47913
2015-12-17 09:27:46 +00:00
John Crispin
ec21c9821c lantiq: Configure disabled WLAN bands for TDW89X0.
The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family.

The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family.

This means that the chip for both routers is 2.4 GHz only.

Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition
(at least on my TDW8970).

So this patch disables the 5 GHz band.

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

SVN-Revision: 47912
2015-12-17 09:27:40 +00:00
John Crispin
f2fd516d72 lantiq: Allow configuration of ath9k disabled bands and LED polarity from the device tree.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47911
2015-12-17 09:27:31 +00:00
John Crispin
932bc8d5eb ath9k: Allow configuration of LED polarity in platform data.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47910
2015-12-17 09:27:24 +00:00
John Crispin
7de7bd0201 ramips: mt7621: fix error message when initramfs is too large
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47908
2015-12-17 09:27:09 +00:00
John Crispin
1c5136c4c3 ramips: remove unwanted change from patch
Remove unwanted change to irq-mips-gic.c from mt7621 support patch

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47907
2015-12-17 09:27:00 +00:00
John Crispin
43422a634b ramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet
Zero config value for default memory region means 'memory', not
not 'disabled' according to 'Control Registers Of The Coherency
Manager' manual.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47906
2015-12-17 09:26:51 +00:00
John Crispin
acbed0eff3 ramips: mt7621: undo mips-cm probe hack to not wipe out memory regions
Since now we hopefully setup memory regions properly we no longer need this hack.

Tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47905
2015-12-17 09:26:43 +00:00
John Crispin
622e268710 ramips: mt7621: setup memory region for pcie controller memory
Only compile tested since I do not have any hardware with
devices on pcie bus.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47904
2015-12-17 09:26:35 +00:00
John Crispin
e8890c6be0 ramips: mt7621: add patch to setup CM memory region for palmbus
This is tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47903
2015-12-17 09:26:28 +00:00
John Crispin
b4bb10b3a0 ralink: update config files to build the cleaned up ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47902
2015-12-17 09:26:20 +00:00
John Crispin
402db12f1a ralink: drop dummy profile from mt7688
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47901
2015-12-17 09:26:09 +00:00
John Crispin
651e620de5 ralink: fixup devicetree files to work with new ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47900
2015-12-17 09:25:57 +00:00
John Crispin
fa854a02a1 ralink: drop old ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47899
2015-12-17 09:25:30 +00:00
John Crispin
31116661ff ralink: add reworked ethernet driver
update to the version of the driver that is on its way upstream

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

SVN-Revision: 47898
2015-12-17 09:25:24 +00:00