Commit Graph

15214 Commits (b810acd44b7b458ae62a3cbf4cf418a7db78e1e7)

Author SHA1 Message Date
Felix Fietkau b810acd44b kernel: bridge: backport two snooping related patches
With this patch the following two patches are backported:

* bridge: fix parsing of MLDv2 reports
* bridge: allow setting hash_max + multicast_router if interface is down

The former one is an important fix which got just applied to the net-tree
and is queued for stable. The latter is a patch which is needed to make
the hash_max and multicast_router attributes configurable through
netifd.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:20:04 +00:00
Jo-Philipp Wich 0c4d4b2013 gemini: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:18:36 +00:00
Jo-Philipp Wich 0186298100 cns3xxx: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:18:29 +00:00
Jo-Philipp Wich 36d122efb0 brcm63xx: use common image prefix
Also remove "redbootscript" and "redbootscript.padded" junk files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:18:21 +00:00
Jo-Philipp Wich ae8e1b18e6 brcm47xx: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 15:04:02 +00:00
Jo-Philipp Wich a728419e46 arm64: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:57:38 +00:00
Felix Fietkau 6ad2228969 ramips: check size after padding
Signed-off-by: Cristian Morales Vega <cristian@samknows.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:56:22 +00:00
Felix Fietkau c3e4dc5039 kirkwood: disable TSO on the ethernet device by default, fixes data corruption issues (#19735)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:56:13 +00:00
Jo-Philipp Wich b44b5dbb35 ar7: use common image prefix
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 14:53:25 +00:00
Rafał Miłecki cb92cac38a brcm47xx: build image for Asus RT-N66U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 13:54:19 +00:00
Jo-Philipp Wich 841bf546ab IB: use online repositories
Change the IB packaging to only embed libc, kernel and kmod packages by default
and generate repositories.conf to refer to the remote package repositories.

Introduce a new config option CONFIG_IB_STANDALONE which restores the old
behaviour of building self contained IB archives.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-27 11:22:20 +00:00
Imre Kaloz 331deccdf5 mvebu: update Linux 4.0 patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:31:39 +00:00
Imre Kaloz dc562c4e6c generic/4.0: update to 4.0.4
Update kernel sources and refresh some patches.
 
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 09:31:16 +00:00
Felix Fietkau 3aa1b8e27b ar71xx: fix tl-wr710n images (#19692)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-26 07:13:40 +00:00
Felix Fietkau 363520153f kirkwood: disable the bogus CONFIG_IP_ADVANCED_ROUTER override (#19722)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 22:59:15 +00:00
Felix Fietkau ea9d630f96 mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfig
Currently port 6 is shown as up 10MBit/half in LUCI and swconfig.
Reason is that all bits in the port 6 config are zero.
This means that also the aneg flag is not set and in this case
ar8216_read_port_link hardcodes the link to be up.

This is no real problem but a little annoying.
To fix this initialize port 6 with the aneg bit enabled.
This causes ar8216_read_port_link to evaluate the link status bit which is
always zero for port 6 as no PHY is connected to this port.
And it doesn't hurt as port 6 isn't connected to anything on TL-WDR4900.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 21:15:37 +00:00
Jonas Gorski 8837cb42f0 ramips: fix hang on boot on rt305x
Fix an upstream regression on 3.18+ that causes rt305x based devices
to hang on boot.

Fixes #19715.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-25 18:02:32 +00:00
John Crispin 84a05ba691 octeon: build squashfs image for UBNT ERLITE
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:20 +00:00
John Crispin eaed0cb7ed ipq806x: enable cpu idle support in kernel conf
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:11 +00:00
John Crispin 9d603d0813 ipq806x: add & enable cpufreq support
This change set enables frequency scaling on ipq806x, which speeds-up
the CPU and allows it to achieve its max frequency.

These patches are cherry-picked & backported from the following location:
*130-132: linux-next
*133-143: LKML - https://lkml.org/lkml/2015/3/21/15
*144: derived from other qcom similar dts
*145: derived from https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/drivers/cpufreq/cpufreq-krait.c

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:28:02 +00:00
John Crispin 85367e0fb3 ipq806x: add power regulators support
Patches are cherry-picked from linux-next. We're also adding the
corresponding config option to the kernel.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:27:54 +00:00
John Crispin 632c47b4de ipq806x: disable i2c device on gsbi4
Patch cherry-picked from the following location:
https://chromium-review.googlesource.com/#/c/269931/

Disable the i2c device on gsbi4 and mark gsbi4_h and gsbi4_qup clks as
unused. If they are enabled, clock framework will turn them off at end
of probe. On ipq806x by design gsbi4_qup, gsbi4_h clks and i2c on gsbi4
are meant for RPM usage. So turning them off in kernel is incorrect.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:27:45 +00:00
John Crispin 86f90b7367 ipq806x: refresh kernel patches
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:27:28 +00:00
John Crispin c039a6cb03 ar71xx: Add support for the Meraki MR12 & MR16
This patch is to add support for the Meraki MR12 and MR16 Access Points.
Currently everything is working, minus the 2nd NIC interface on the MR12
which is built into the SoC.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:27:22 +00:00
John Crispin 293fafe0c5 rampis: add support for status led on ASUS RT-N14U
The diag.sh script lacked an entry for the status led on the RT-N14U,
map it to the asus:blue:power led which is also used by the boot loader
to report boot status (eg. TFTP recovery mode VS normal boot)

Signed-off-by: Matteo Panella <m.panella@level28.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:27:10 +00:00
John Crispin 71e0a0414c ramips: Adding support for AXIMCom MR-102N 3G/4G Travel Mobile Router
MR-102N is a RT3050F based wireless router(32M RAM + 8M NOR flash) with 1 USB
and 1 ethernet port.  The original product information can be found at:
http://www.aximcom.com/en/MR-102N

Signed-off-by:	Tai-hwa Liang <atliang@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:27:05 +00:00
John Crispin 5fe8dd65d8 ramips: fix switch names for several boards in device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:26:51 +00:00
John Crispin 281749de0b ramips: add support for Comfast CF-WR800N
This patch adds support for Comfast CF-WR800N, a wall-plug wireless router
based on the MT7620N SoC with one Ethernet port and a 802.11n 2.4 GHz radio.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:26:39 +00:00
John Crispin 507ec95999 lantiq: Fix initialization of the PCI IRQs when PCIe is also enabled
There are already ifx_pcie_bios_{map_irq,plat_dev_init} hooks defined in
ifxmips_pcie.c. Instead of defining a new hook we simply re-use the
existing ones (this is basically what the lantiq BSP code does).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:25:59 +00:00
John Crispin b80601d35f lantiq: Fix PCIe bus when PCI is also enabled.
The PCIe bus seems to require a hack/workaround when PCI is enabled as
well. Unfortunately this is guarded by an CONFIG_IFX_PCI ifdef, which is
only defined in lantiq's BSP code. The config symbol for the upstream
lantiq PCI driver is CONFIG_PCI_LANTIQ.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 15:25:51 +00:00
Hauke Mehrtens e1a97a46f6 bcm53xx: add OHCI (USB 1.1) support
There is also a OHCI controller, activate it for USB 1.1 support.

This should close #19601.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-23 14:54:44 +00:00
Jonas Gorski 610ca2edaf arm64: enable new errata backported to 3.18
3.18.13 introduced a bunch of new errata, enable them to be on the
safe side.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-22 22:51:37 +00:00
Jonas Gorski 1d6a78c3c4 kernel: add missing generic config symbol
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-22 22:51:34 +00:00
Jonas Gorski 9157f62043 kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-21 19:32:46 +00:00
Jonas Gorski 87e7581aed brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1
Add it to the appropriate places so the power led properly works
and ethernet is properly configured for failsafe.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-21 19:32:00 +00:00
Jonas Gorski 2bb994b22c brcm63xx: Add Huawei HG655b support
This patch adds support for the Huawei HG655b.

Nothing much special in this router, it's just another BCM6368 with
a Ralink RT3062 wifi chip and the calibration data embedded in the
main flash chip at offset 0x7c0000. There is also configuration data
used by the OEM firmware before the cal_data partition, this area is
protected by the board_data partition in this patch.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-21 19:31:54 +00:00
Steven Barth 1abaf019e5 generic/4.0: fix error during kernel patch application
Commit 5168c9a5702648eb690d32ec821647aca80aeba9 introduced a regression
during patch application on the 4.0 kernel. Some of the patched content
doesn't match the actual code, therefore leading to the following error:
  Applying patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch
  patching file net/ipv6/ip6_output.c
  Hunk #1 FAILED at 886.
  1 out of 1 hunk FAILED -- rejects in file net/ipv6/ip6_output.c
  patching file net/ipv6/route.c
  Hunk #1 succeeded at 2247 (offset 2 lines).
  Patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch does not apply (enforce with -f)

This change just adapts the actual patch to fix what is in kernel 4.0
and make it apply cleanly.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-20 19:23:33 +00:00
Imre Kaloz 86e4ee7273 mvebu: supress useless in-cpu rtc init on the Mamba
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-19 22:54:05 +00:00
Steven Barth 5ce1189dcf linux: backport IPv6 SAS fixes for source-specific routes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-19 07:43:59 +00:00
Rafał Miłecki 053b491e4d bcm53xx: add Asus RT-AC87U partitioning hacky workaround
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-17 12:10:38 +00:00
Rafał Miłecki d1f2cc220a bcm53xx: try to fix network on Asus RT-AC87U
This device seems to have switch port 7 connected to the CPU:
vlan1ports=1 2 3 5 7*
vlan2ports=0 7u
it should be handled by eth1 and NVRAM seems to confirm that (no
et0macaddr entry, existing et1macaddr & et1phyaddr entries).

One of the remaining ports (4/8?) may be connected to the Quantenna SoC.
Original firmware boot log contains following messages:
(0x00,0x5d)Port 5 States Override: 0xfb
(0x00,0x5f)Port 7 States Override: 0xfb
(0x00,0x0e)Port 8 States Override: 0x0a
(why does it force port 5 state?!)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-16 17:14:25 +00:00
Rafał Miłecki 9dfbfe30e0 bcm53xx: use backported Asus RT-AC87U DT patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-16 15:44:00 +00:00
Rafał Miłecki 9fddd15ba2 bcm53xx: enable RT-AC87U UART console
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-16 11:45:52 +00:00
Rafał Miłecki d77d31ac17 bcm53xx: add support for SmartRG SR400ac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 20:01:15 +00:00
Rafał Miłecki 0b5e70c87d bcm53xx: replace DT patches with backports from stblinux
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 20:01:03 +00:00
Rafał Miłecki b5d049b733 bcm53xx: use of_machine_is_compatible helper in b53 fix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 14:34:23 +00:00
Rafał Miłecki ee69481d11 bcm53xx: fix "typo" in b53 patch fixing R8000 CPU port
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 13:12:57 +00:00
Rafał Miłecki 340cfd3018 bcm53xx: add b53 hacky workaround for Netgear R8000 CPU port
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 13:11:17 +00:00
Rafał Miłecki 8d69ae09fc bcm53xx: fix default network interface on Netgear R8000
It has 3 Ethernet interfaces, each of them connected to separated switch
port. Default NVRAM uses switch port 8 as CPU which is connected to the
3rd interface (eth2).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 13:11:04 +00:00
Rafał Miłecki 4215d9ebbc bcm53xx: bgmac: add support for the 3rd core
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-13 13:11:00 +00:00