Commit Graph

11425 Commits (acefc38cf1867ec2e00d947428e14116163dd594)

Author SHA1 Message Date
Florian Fainelli 704e2ed39d targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 19:58:31 +00:00
John Crispin d8836e5aeb ramips: fix rt2x00 ethernet compile bug
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 16:45:40 +00:00
John Crispin 32c2e13ec7 ramips: add missing symbols to rt288x config
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 16:45:26 +00:00
John Crispin 9de0254dbf ramips: fix ethernet stability issue introduced by recent kernel upgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 16:28:06 +00:00
Zoltan HERPAI ca9e1e031d imx23: add new target for i.MX233-based boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 10:12:03 +00:00
Zoltan HERPAI 566478a7ec kernel/generic: add missing regulator symbols for 3.9
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-26 21:48:17 +00:00
Jonas Gorski c2b401b3f8 bcm63xx: fix DSL-274xB F1 default network config
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 20:35:54 +00:00
John Crispin 6d4d47f265 ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.

Signed-off-by: Felix Kaechele <felix@fetzig.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 12:39:28 +00:00
John Crispin a6bc96ccd5 ramips: make rt3883 usb work properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 12:06:56 +00:00
John Crispin 24fb5b0214 ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-24 11:09:50 +00:00
John Crispin 5f6caa26e5 ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-23 15:50:49 +00:00
Felix Fietkau 81e16ac101 kernel: fix a reference counting bug in overlayfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-22 14:00:12 +00:00
John Crispin d2642de749 lantiq: Tune the XWAY subtarget cflags
This patch sets the cflags -mtune=34kc -mdsp only in XWAY subtarget, while the others remain with mtune=mips32r2.
Although the Danube has a Mips 24KEc core performs well with the above cflags.

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:15 +00:00
John Crispin 1c19298315 lantiq: set mips16 support.
Set mips16 support in XWAY subtarget.

This patch is based in changeset #36600

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:07 +00:00
John Crispin 94d75044c4 lantiq: Fix ARV7518 DTS definitions
Fix EBU leds by removing req2 and gnt2 from pinmux.
Fix rfkill button gpio.
Enable reset button.
Fix power led activation status.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:54:03 +00:00
John Crispin 623e6025a8 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:47 +00:00
John Crispin 02f1075b0a base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:43 +00:00
John Crispin d88dd83d90 brcm47xx: dont manually insmod switch drivers
Signed-off-by: John Crispin <bloic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:15 +00:00
John Crispin ce0ccca1f7 ar71xx: drop procd_init console hack
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 16:53:11 +00:00
Imre Kaloz d20937ac5b [ppc40x]: increase kernel partition size to fix boot issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-21 10:57:05 +00:00
Florian Fainelli 6fe1c0b459 brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-20 18:47:36 +00:00
Felix Fietkau 79d96c9361 linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 22:23:38 +00:00
Florian Fainelli fcf2609605 brcm63xx: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:54:28 +00:00
Florian Fainelli 4c0b484f86 brcm63xx: provide a default sane MAC address for Cable Modem devices
Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-18 10:54:24 +00:00
Florian Fainelli 23a7a4a036 brcm63xx: create initramfs HCS images
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 22:57:04 +00:00
Florian Fainelli 9e3b17277e brcm63xx: simplify HCS image creation
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:56 +00:00
Florian Fainelli 447128f9cf brcm63xx: remove support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:47 +00:00
Florian Fainelli feaa92e91c brcm63xx: switch to 3.9 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:42 +00:00
Florian Fainelli 7884e6e60e brcm63xx: fix missing antislash in BCM6345 ethernet patch
This would cause build failure when disabling support for particular
CPUs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-17 19:32:35 +00:00
Felix Fietkau ed11b6185b kirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-15 11:50:50 +00:00
Hauke Mehrtens 1f3599ecc4 brcm47xx: run make kernel_oldconfig for 3.9 kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:51:50 +00:00
Hauke Mehrtens 639a356c06 brcm47xx: remove support for kernel 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:48:45 +00:00
Hauke Mehrtens 7a79a9e8f6 brcm47xx: add initial support for kernel 3.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-12 14:47:53 +00:00
Steven Barth ae2609531f linux: add ipv6 failed-policy routing action (by Jonas Gorski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-11 09:27:53 +00:00
John Crispin 6c95162c34 lantiq: Fixes to athxk EEPROM loading
Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:12 +00:00
John Crispin 46a5493d48 lantiq: make kernel_oldconfig
Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:07 +00:00
John Crispin 80ecbd5197 lantiq: diag.sh with both red and green power LEDs
This provides a boot LED sequence suitable for devices with both red and
green LEDs for power. This assumes no "default-on" settings in the
device tree.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:25:02 +00:00
John Crispin ecb32a2174 ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:56 +00:00
John Crispin a4e76e8e46 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-10 08:24:50 +00:00
Luka Perkov 0124271f8e lantiq: fix formating in .dts files
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-08 11:36:07 +00:00
Felix Fietkau b3019e49e1 ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-07 13:42:50 +00:00
Felix Fietkau 8affc70230 kernel/generic: add a few missing kernel config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-07 13:42:39 +00:00
Florian Fainelli 15412a066d brcm63xx: add user-space support for Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 22:22:20 +00:00
Florian Fainelli 268ab66151 brcm63xx: add kernel space and image support for the Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 22:22:14 +00:00
Florian Fainelli 25a96c2b76 brcm63xx: add Broadcom cable modem firmware format header
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 22:22:09 +00:00
Florian Fainelli 370609a4b8 brcm63xx: add support for BCM3368
Add support for the Broadcom BCM3368 cable modem chipset, includes:
- Ethernet
- SPI
- UARTs
- GPIOs
- PCI

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-06 22:21:58 +00:00
Jonas Gorski 103893f67e target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:59 +00:00
Jonas Gorski 44dd2540ac omap24xx: convert to use the new jffs2_nand
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:55 +00:00
Jonas Gorski c926c403ad kirkwood: convert to use the new jffs2_nand
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:53 +00:00
Jonas Gorski 982f0f3386 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:03 +00:00
Imre Kaloz 32d5d128ef [orion]: there's no reason to have these generic files in the bin dir either
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 06:46:41 +00:00
Imre Kaloz 31eaa46c9b [orion]: only copy uImages to the bin dir on ramdisk builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 06:17:12 +00:00
Imre Kaloz 4df0b1706c [orion]: don't copy the zImages to the bin dir, factory u-boots can't use them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 06:04:48 +00:00
Gabor Juhos 11706ba13e ar71xx: add support for WIFI button on tp-link tl-mr3220v2
The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 13:25:54 +00:00
Gabor Juhos abb05a413a generic: add port mirroring/monitoring capability to rtl8366rb switch
This patch adds swlib attributes to the RTL8366RB switch/PHY found in the
TL-WR1043ND router that allow to mirror ethernet packets to a monitor port.

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 13:25:52 +00:00
Imre Kaloz 64b5929539 [orion]: versioned files and dirs still make no sense when you support only a single kernel...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 11:29:01 +00:00
Imre Kaloz 6a9bdec862 [generic/3.10]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 11:24:42 +00:00
Imre Kaloz 8b784f4b12 [generic/3.10]: add some more symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 11:23:27 +00:00
Imre Kaloz 8133b57540 [orion]: move DT2 related kernel options into the harddist subtarget
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 11:19:41 +00:00
Imre Kaloz 662e136d40 [orion]: drop support for the dns323
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04 11:13:18 +00:00
John Crispin 689059dc86 lantiq: revert [36779] as it caused a regression
submitter was informed of a endinaess swap regression and replied with "works on my board"

revert the patch and make arv7518 wifi work again

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-31 13:25:07 +00:00
Gabor Juhos c94434f29f ar71xx: register USB port for RB2011U* devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:31 +00:00
Gabor Juhos 86e0f5976e ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:30 +00:00
Gabor Juhos 97254ab640 ar71xx: make the SFP port usable on RB2011*S boards
The port 6 of the switch is connected to the SFP
cage on the RB2011*S boards. Add a helper function
to correctly initialize the switch configuration
data on those boards to make the SFP port usable.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:28 +00:00
Gabor Juhos 267fc66f77 generic: ar8216: allow to specify SGMII config via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:26 +00:00
Gabor Juhos 111bea7cd3 generic: ar8216: add get_port_link callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:22 +00:00
Gabor Juhos 133498bac5 ar71xx: rb2011: add switch led control values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:21 +00:00
Gabor Juhos 83c3f0f918 ar71xx: rb2011: update RGMII RX/TX delay values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:20 +00:00
Gabor Juhos 7d955c422b ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:17 +00:00
Gabor Juhos c647fa6c82 ar71xx: add user-space support for RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:15 +00:00
Gabor Juhos 9badcc468f ar71xx: add kernel support for the RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 17:38:13 +00:00
Gabor Juhos d6f871012c generic: ar8216: show chip revision in the kernel log
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:25:14 +00:00
Gabor Juhos 4b28aa5b5c ar71xx: add profile and build image for the Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:23:10 +00:00
Gabor Juhos a7f2edfe43 ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:23:09 +00:00
Gabor Juhos 2635f67744 ar71xx: add kernel support for the TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:23:07 +00:00
Gabor Juhos 581e0e117e ar71xx: add USB workarounds for AR934x/QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:23:06 +00:00
Gabor Juhos b35eea4aea ar71xx: add profile and build image for the DIR-601-B1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:19:30 +00:00
Gabor Juhos 9a188388ce ar71xx: allow to build CameoHornet images for multiple regions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:19:29 +00:00
Gabor Juhos 6a19ebe025 ar71xx: allow to override fw version in CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:19:28 +00:00
John Crispin 1ab2d61148 lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting
The GPIO buttons of ARV752DPW are active low.

Treating them as active high caused a reboot loop as a reset-button
press is detected by gpio-button-hotplug/gpio-keys-polled on startup.

This fixes: https://dev.openwrt.org/ticket/12642

Signed-off-by: Rafael Gieschke <rafael@gieschke.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:01:06 +00:00
John Crispin 7c378bdf02 lantiq: Fix ar8216 switch configuration
On linux 3.8 the switch is named as "switch0", but the network configuration script names it as "eth0", causing no communication over ethernet due to no proper VLAN config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:59 +00:00
John Crispin 2e43b9adfe lantiq: DGN3500 support
This requires all the preceding patches and finishes support for the
DGN3500, also removing an obsolete file.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:50 +00:00
John Crispin 355ed7111e lantiq: enable retrieving kernel args from bootloader
This patch is a device tree enhancement that IMHO is worthy of mainline.
It allows the bootloader's commandline to be preserved even when the
device tree specifies one.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:42 +00:00
John Crispin 319317b752 lantiq: wifi calibration from MTD
This patch enables retrieving the wifi calibration data from an MTD
partition. It requires the previous patch.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:32 +00:00
John Crispin 6e8045c0da lantiq: postpone PCI and wifi init
This postpones the initialization of PCI and wifi until after the MTD
initialization, so that calibration data may be loaded from there.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:24 +00:00
John Crispin 9bfb1223ce lantiq: fix LED-handling oversights
This reassigns the PPPoE status to the LED that was intended to indicate
it, rather than the DSL sync light.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 16:00:15 +00:00
John Crispin c12c2b84a2 ramips: set correct description for rt305x subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30 15:59:56 +00:00
Luka Perkov 719e33cf00 imx6: add new target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 01:27:29 +00:00
Luka Perkov 09920da426 kernel: generic: remove upstream patches for 3.10-rc3 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-29 01:27:27 +00:00
Gabor Juhos 4fb9476dd3 ar71xx: typo in detect TL-MR10U/TL-MR11U
At offset 0x40, signature for TL-MR10U/TL-MR11U begin
from 0x00, not 0x10/0x11.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:38:00 +00:00
Gabor Juhos bdaf03d8e7 ar71xx: fix TL-MR10U usb power
MR10U is closer to MR3040 than WR703N. This changes also
enable USB power on GPIO18.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:37:59 +00:00
Gabor Juhos 8f259896d1 kernel: update linux 3.9 to 3.9.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:02:34 +00:00
Gabor Juhos 590f53b235 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:02:31 +00:00
Gabor Juhos ce44afced5 ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:02:29 +00:00
Gabor Juhos 852ce23bd3 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26 16:02:26 +00:00
Luka Perkov 1b30b7deeb generic: ar8216: add port mirroring
Tested on Buffalo WZR-600DHP with ar8316 switch. Commands used to mirror both
RX and TX traffic from LAN port 1 to LAN port 4:

$ swconfig dev switch0 set enable_mirror_rx 1
$ swconfig dev switch0 set enable_mirror_tx 1
$ swconfig dev switch0 set mirror_monitor_port 4
$ swconfig dev switch0 set mirror_source_port 1

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Tested-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-24 13:10:22 +00:00
Felix Fietkau ef94887803 ar71xx: disable jffs2 by default, it confuses users since many devices have incompatible eraseblock sizes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-21 09:45:46 +00:00
Jonas Gorski 89677a4031 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 16:57:00 +00:00
Jonas Gorski 5afff64049 ar7: drop obsolete 3.3 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 12:42:44 +00:00
Jonas Gorski be1424e13d ar7: drop obsolete 3.6 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-20 12:42:41 +00:00