Commit graph

15148 commits

Author SHA1 Message Date
John Crispin
9e5044926b ralink: remove stray "+" from ethernet driver
this is what you get if you manually apply patches with c&p

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

SVN-Revision: 47877
2015-12-12 06:42:17 +00:00
John Crispin
8470e30a76 ramips: move partition definitions out of mt7621.dtsi file
Partitions defined in parent dtsi cannot be undefined in children.
This moves partitions defined in mt7621.dtsi into board's device tree.

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

SVN-Revision: 47876
2015-12-12 06:42:11 +00:00
John Crispin
e610cdfc8a ramips: use gic timer as clocksource for mt7621
* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

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

SVN-Revision: 47875
2015-12-12 06:42:05 +00:00
Felix Fietkau
0b6271faf4 ar71xx: reorganize target patches/files to make it possible to add boards without adding patch files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47874
2015-12-11 21:12:14 +00:00
Felix Fietkau
0186d4c2c2 ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are swapped. use MAC1 for wlan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47873
2015-12-11 21:12:04 +00:00
Felix Fietkau
77bedbe80d Revert "ramips: use gic timer as clocksource for mt7621"
This reverts commit 270a2afcc544ca14e79198346e7e186033472ae7.

SVN-Revision: 47872
2015-12-11 19:22:15 +00:00
Felix Fietkau
6e12ef7430 ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC address
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47871
2015-12-11 19:21:59 +00:00
Jo-Philipp Wich
67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

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

SVN-Revision: 47867
2015-12-11 15:26:06 +00:00
Jo-Philipp Wich
b0b8293b7e brcm47xx: migrate network config to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47866
2015-12-11 15:19:43 +00:00
John Crispin
0938233fcd lantiq: get rid of ltq-vdsl-fw
Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to
download a dsl firmware at runtime.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 47851
2015-12-11 15:05:40 +00:00
John Crispin
787120e3a3 lantiq: fix led setup after switch to uci-defaults-new.sh
The switch to uci-defaults-new.sh revealed a bug in the former used
uci-defaults.sh, which failed to add leds with colons in the led name.

This bug isn't any longer present in uci-defaults-new.sh and therefore
all via DT defined leds will be added to /etc/config/system with their initial
on/off state, regardless whether they are already added by the board specific
led mappings.

This results for a BTHOMEHUBV5A into the following led configuration:

- soc:blue:power is added as led_power with the initial state "switched on"
- soc:blue:power is added as led_soc_blue_power with the initial state "switched off"

With the final result of a switched off power led after boot.

The only led that needs to be added is the BTHOMEHUBV5A specific dimmed led.

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

SVN-Revision: 47850
2015-12-11 15:05:30 +00:00
John Crispin
1d2a4ec287 ar71xx: build image for TL-WR710N v2.1
This patch just extends target/linux/ar71xx/image/Makefile to build
images also for version 2.1 of TL-WR710N
patch against the latest git

Signed off by: Norbert Wegener <nw@wegener-net.de>

SVN-Revision: 47849
2015-12-11 15:05:20 +00:00
John Crispin
1dada3fc3c ar71xx: add LED driver NU801
The MR18 uses a 3-channel 16-bit PWM Constant Current Driver
for its status LED.

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

SVN-Revision: 47848
2015-12-11 15:04:57 +00:00
John Crispin
eb8ff56684 ar71xx: Add support for Wallys DR344
This patch is for Wallys DR344 support under OpenWRT

Signed-off-by: Philippe Duchein <wireless-dev@duchein.net>

SVN-Revision: 47847
2015-12-11 15:04:47 +00:00
John Crispin
fcf74b1138 ar71xx: image for AP121/16M
Build image for the AP121 reference board with 16MB flash.

Signed-off-by: Norbert Wegener <nw@wegener-net.de>

SVN-Revision: 47846
2015-12-11 15:04:22 +00:00
John Crispin
9f14006809 ramips: add additional support for MQmaker WiTi board
The board is based on mt7621AT cpu, and has 16mb nor flash, 256mb of ram,
2 sata ports, microsd card slot, 1 USB 3.0 port and at least one 2.4 and
one 5 ghz antenna.

This is the 6th submission that adds support for XHCI in the device tree
file, along with switching the location of the 2 radio's and addition of
the kmod-i2c-mt7621 in the default packages of the profile.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>

SVN-Revision: 47845
2015-12-11 15:04:13 +00:00
John Crispin
6cbb1be464 ramips: Fix support for PBR-M1 board
The PBR-M1 support in current OpenWrt is for the early demo board and it doesn't work on the final board.This patch fixes the support for it.

The LED called pbr-m1:buzzer is a beeper connected to GPIO26 so I used gpio-beeper instead of gpio-leds.

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

SVN-Revision: 47844
2015-12-11 15:03:50 +00:00
John Crispin
abd11be13c ramips: use gic timer as clocksource for mt7621
* Switches clocksource to gic timer.
* Moves frequency definitions to dtsi since frequency was hardcoded anyway
  Will work on proper frequency detection later.

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

SVN-Revision: 47843
2015-12-11 15:03:39 +00:00
John Crispin
a87272ebfb ramips: enable CPS for mt7621
Enables CPS multiprocessing instead ob obsoleted CMP for mt7621.

This patch fixes a few issues currently existing on 4.3 kernel with at least ubnt-erx:
* iperf shows only 50Mbits on direct gigabit connection to desktop,
* ping times jump to 5-6ms to dorectly connected desktop
* /proc/interrupts shows spurious interrups (ERR)

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

SVN-Revision: 47842
2015-12-11 15:03:27 +00:00
John Crispin
fbc1624d6a ramips: irq handlers do not get irq in 4.3 kernel, update patches
This resolves compilation warnings like this:
drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_probe':
drivers/gpio/gpio-mt7621.c:328:46: warning: passing argument 2 of 'irq_set_chained_handler' from incompatible pointer type [-Wincompatible-pointer-types]
   irq_set_chained_handler(mediatek_gpio_irq, mediatek_gpio_irq_handler);

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

SVN-Revision: 47841
2015-12-11 15:03:16 +00:00
John Crispin
4076d12f41 ramips: Fix CM_GCR_CPC_BASE_CPCBASE_{MSK, SHF} values
Update CM_GCR_CPC_BASE_CPCBASE_{MSK,SHF} to match datasheet

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

SVN-Revision: 47840
2015-12-11 15:03:08 +00:00
John Crispin
e4ee2402cb ramips: fold gic patch into mt7621 support patch
All gic patch was doing is removing code added by mt7621 support patch.

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

SVN-Revision: 47839
2015-12-11 15:02:55 +00:00
John Crispin
ed8775d3c3 ramips: backport series of patches that ensure GCRs of other CPUs are accessed properly
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47838
2015-12-11 15:02:50 +00:00
John Crispin
e0d77e68ce ramips: backport batch fixing illegal instruction when booting secodnary CPUs in CPS mode
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>

SVN-Revision: 47837
2015-12-11 15:02:36 +00:00
John Crispin
81c999bbda ramips: mt7621: use symbolic names of gic interrupt settings
This also adds dts nodes for cpc and mc for documentation purposes

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

SVN-Revision: 47836
2015-12-11 15:02:13 +00:00
Imre Kaloz
3357033b73 mvebu: drop support for old kernels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47835
2015-12-11 13:38:21 +00:00
Imre Kaloz
58e9e35444 mvebu: armada-385-rd has been renamed to armada-388-rd upstream
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47834
2015-12-11 13:36:30 +00:00
Jo-Philipp Wich
f906975e2d sunxi: fix Lamobo Banana Pi R1 detection
Change the case switch to reflect the value used in the corresponding
device tree file.

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

SVN-Revision: 47833
2015-12-11 11:00:14 +00:00
Imre Kaloz
73f774c960 mvebu: update and fixup 4.4 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47832
2015-12-10 20:53:02 +00:00
John Crispin
6df4426245 ralink: bump to the target to v4.3
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47831
2015-12-10 19:06:32 +00:00
Felix Fietkau
09335a0a2f build: fix arch used during dts compilation
Use kernel arch for dts compilation.
Also use Image/BuildDTB to build dts for ramips.

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

SVN-Revision: 47823
2015-12-10 12:39:32 +00:00
Imre Kaloz
f5ff684147 generic/4.1: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47821
2015-12-10 12:14:19 +00:00
Imre Kaloz
4707123fca mvebu: fixup wifi macs for Linksys boards
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47820
2015-12-10 12:13:16 +00:00
Imre Kaloz
5ebd542e37 mvebu: add support for 4.4-rc
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47819
2015-12-10 12:11:39 +00:00
Imre Kaloz
b17844d21a mvebu: add support for 4.1 and switch over
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47818
2015-12-10 12:08:13 +00:00
Felix Fietkau
1369876a92 kernel: revert fq_codel quantum override to prevent it from causing too much cpu load with higher speed (#21326)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47811
2015-12-08 00:14:41 +00:00
Rafał Miłecki
dce5a5b9db bcm53xx: update BCM5301X SMP patch to fixed version from stblinux
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47810
2015-12-07 20:43:49 +00:00
Rafał Miłecki
c8c708f367 bcm53xx: fix selecting HAVE_SMP symbol in Kconfig
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47809
2015-12-07 19:56:12 +00:00
Rafał Miłecki
b473cd8085 bcm53xx: use backported BCM5301X patches from stblinux soc/next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47807
2015-12-07 19:20:40 +00:00
Rafał Miłecki
a8ac384746 brcm47xx: make bcm47xxpart patch apply after recent backports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47806
2015-12-07 18:38:20 +00:00
Imre Kaloz
b775b4d559 generic: add missing 4.1 symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47802
2015-12-07 10:13:55 +00:00
Imre Kaloz
9999ca14e7 generic: bump 4.4 to rc4
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47801
2015-12-07 10:11:43 +00:00
Rafał Miłecki
3333f75caf kernel: add bcm47xxpart patches sent for 4.5 merge window
This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.

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

SVN-Revision: 47800
2015-12-07 09:31:52 +00:00
Felix Fietkau
e4fd0a41fd ar71xx: fix switch port mapping for tl-wdr4300/3600
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47799
2015-12-06 14:25:36 +00:00
Hauke Mehrtens
bb26c10183 kernel: add missing config option.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47798
2015-12-06 13:49:03 +00:00
Hauke Mehrtens
cf6b9cdbe4 kernel: add missing config options for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47796
2015-12-06 13:32:36 +00:00
Jo-Philipp Wich
9157360ac5 lantiq: fix logic error in dsl board.d code
Starting with r47755 the pppoe wan interface section isn't any longer added to
the network config on firstboot, using the default configuration. Since the
commit message does not mention such a change, I assume that this wasn't
intentionally.

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

SVN-Revision: 47793
2015-12-06 08:41:22 +00:00
Felix Fietkau
3fd67b7f41 kernel: fix linux 4.4 mac80211 build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47789
2015-12-05 13:11:28 +00:00
Felix Fietkau
ec1b121769 lantiq: add VDSL2 vectoring status information
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47785
2015-12-05 09:52:42 +00:00
Felix Fietkau
e82404ce6c lantiq: get rid of the dsl_fw mtd partition
Now that we have redistributable vdsl/adsl firmware blobs in /lib/firmware,
we can drop the dsl_fw partition and extend the firmware partition.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 47783
2015-12-05 09:52:30 +00:00