Commit graph

13126 commits

Author SHA1 Message Date
John Crispin
0ffb7323d0 ralink: remove partitoon map from mt7621.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43720
2014-12-15 15:55:37 +00:00
Rafał Miłecki
dd9ca05249 bcm53xx: sysupgrade support for devices with serial flash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43719
2014-12-15 15:43:46 +00:00
Rafał Miłecki
c3e9796cd5 brcm47xx: extract magics from specific upgrade images (and still reject them)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43718
2014-12-15 11:09:14 +00:00
John Crispin
019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

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

SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
Rafał Miłecki
a5b6b7e419 brcm47xx: detect (and still reject for now) CyberTAN fw format
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43714
2014-12-15 09:59:44 +00:00
Rafał Miłecki
fbea00b031 ramips: update mtd patches to apply after changes from r43700
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43709
2014-12-15 09:10:43 +00:00
Rafał Miłecki
b5b4bdc066 brcm47xx: use separated function in upgrade to detect file type
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43708
2014-12-15 08:51:14 +00:00
John Crispin
2db6da5532 kirkwood: enable EA4500 switch on 3.18
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43704
2014-12-14 08:57:58 +00:00
John Crispin
374ab9decc gemini: update usb driver and merge registers into one patch
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43703
2014-12-14 08:57:52 +00:00
John Crispin
fef7b4241f gemini: merge register ethernet patches into one
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43702
2014-12-14 08:57:43 +00:00
John Crispin
6f2b7567b8 ralink: drop old pinmux nodes from dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43701
2014-12-14 08:57:16 +00:00
Rafał Miłecki
b1bfed548c kernel: warn users to use the new (dedicated) firmware splitter
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43700
2014-12-14 00:35:03 +00:00
Rafał Miłecki
2b4fbeb6d4 kernel: move old firmware uimage splitter into separated patch
This will allow us to drop it in the future. This patch doesn't change
the final mtdpart.c, it remains the same.

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

SVN-Revision: 43696
2014-12-13 20:06:47 +00:00
Felix Fietkau
e984869e22 realview: drop old kernel configs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43692
2014-12-13 11:55:59 +00:00
Felix Fietkau
cfe3280494 au1000: remove leftover 3.3 kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43691
2014-12-13 11:55:49 +00:00
Felix Fietkau
511fadd857 au1000: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43690
2014-12-13 11:55:41 +00:00
Felix Fietkau
0f25db1a7d rb532: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43689
2014-12-13 11:55:32 +00:00
Felix Fietkau
d34e2a337c at91: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43688
2014-12-13 11:55:24 +00:00
Felix Fietkau
45380ebd1a brcm2708: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43687
2014-12-13 11:55:11 +00:00
Felix Fietkau
170ce29617 ixp4xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43686
2014-12-13 11:55:04 +00:00
Felix Fietkau
c7e8b5ebbd lantiq: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43685
2014-12-13 11:54:57 +00:00
Felix Fietkau
daeec86fba mpc85xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43684
2014-12-13 11:54:49 +00:00
Florian Fainelli
8692819c2c netlogic: fix XLR network driver build
Backport an upstream submission to fix xlr_net

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

SVN-Revision: 43682
2014-12-13 08:08:30 +00:00
John Crispin
263070a2e7 ramips:Add support for Aigale Ai-BR100
Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.

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

SVN-Revision: 43681
2014-12-13 08:07:03 +00:00
John Crispin
aa697f1313 mxs: indention and whitespace fixes
Align this file with the style of most other modules.mk.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43680
2014-12-13 08:06:22 +00:00
John Crispin
a28d07abbe ar71xx: add an extra check on board_name for ath10k firmware patchs
It moves firmware patch code behind an extra check on board_name.
Otherwise it will calculate firmware checksum for unaffected boards.
It also reduce boottime by a md5 calculation and removes error message
on boot if firmware not found.

SVN-Revision: 43679
2014-12-13 08:06:01 +00:00
John Crispin
10dbdb28d7 oxnas: fix gpio-fan on kd20
define speed-map and include kmod-hwmon-gpiofan in kd20 profile

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43678
2014-12-13 08:04:54 +00:00
John Crispin
9013a144fd oxnas: also make use of the GPIO poweroff driver
Works great to power-off the kd20 ;)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43677
2014-12-13 08:02:52 +00:00
John Crispin
4a7c88f139 kernel/generic: remove some left-over garbage from ledtrig patch
cosmetics. clean a style issue introduced by r43674.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43676
2014-12-13 08:00:22 +00:00
John Crispin
118534ea39 oxnas: use libata ledtrig support for kd20 hdd leds
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43675
2014-12-12 20:24:33 +00:00
John Crispin
ee6b5c6007 kernel/generic: add ledtrig support to libata
SVN-Revision: 43674
2014-12-12 20:24:21 +00:00
John Crispin
1701a9a4b9 oxnas: clean up default package selection
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43673
2014-12-12 20:24:13 +00:00
John Crispin
d7b4bf8966 kirkwood: Iomega ix2-200: wire up the GPIO poweroff driver in the DTS file
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43670
2014-12-12 17:14:14 +00:00
Felix Fietkau
5b16fd1bf8 ar8216: enable cpu port to receive arp and broadcast frames for ar8236
Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 43668
2014-12-12 16:23:29 +00:00
John Crispin
6c4e7b22eb ralink: fix lenovo y1 wan port mapping
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43667
2014-12-12 16:17:31 +00:00
John Crispin
7068b7ed1c oxnas: build S-ATA driver as a module
From: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43665
2014-12-12 16:17:13 +00:00
John Crispin
b1f7a027da ralink: make uartf functional on AWM002
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43664
2014-12-12 16:17:03 +00:00
John Crispin
58a4113c5e oxnas: use u-boot.bin in KDIR
This fixes building *u-boot-initramfs.bin images using ImageBuilder

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43663
2014-12-12 16:16:57 +00:00
Zoltan Herpai
8feb491156 sunxi: fix led on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43661
2014-12-12 16:11:17 +00:00
Zoltan Herpai
92cf73cf11 mxs: allow bootloader to pass kernel cmdline
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43657
2014-12-12 13:37:21 +00:00
Zoltan Herpai
a1467fb73b mxs: change mxs-lradc module to depend on kmod-iio-core instead of hardcoding
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43656
2014-12-12 13:18:29 +00:00
Zoltan Herpai
f34dfaf249 mxs: add i2c and spi packages to profiles
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43651
2014-12-12 12:14:40 +00:00
Zoltan Herpai
50f9d27da8 mxs: fix automatic status led detection
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43650
2014-12-12 12:01:39 +00:00
Zoltan Herpai
1014bb0fb4 mxs: update dts file for Duckbill
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43649
2014-12-12 11:43:56 +00:00
Zoltan Herpai
2265c4db31 mxs: i2c changes - add package for i2c module - remove i2c debug
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43648
2014-12-12 11:39:22 +00:00
Zoltan Herpai
fc2dff246d mxs: add kernel module for spi interface
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43647
2014-12-12 11:10:04 +00:00
Zoltan Herpai
276a732a77 mxs: make boardname consistent with other targets
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43646
2014-12-12 11:03:55 +00:00
Luka Perkov
a3eed6bc35 kernel: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43643
2014-12-11 23:29:07 +00:00
Luka Perkov
a2a6077fd0 kirkwood: sort 110-nas profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43642
2014-12-11 23:29:04 +00:00
John Crispin
21349229f7 au1000: revert 43626 due to syntax errors
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43641
2014-12-11 22:27:56 +00:00
John Crispin
ad35bcc41e oxnas: use ARM BCJ filter for XZ decompression
Restoring the config for kernel 3.14 didn't contain that change already
made to config-3.18.
It is needed to make squashfs in the kernel match the compression settings
for ARCH=arm in the framework.
If set to ARMTHUMB, boot fails due to squashfs being unreadable if the
filesystem was generated for wth ARM BCJ filter.

in include/image.mk:    BCJ_FILTER:=-Xbcj $(LINUX_KARCH)
Thus the ARM filter is used for all ARM targets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43640
2014-12-11 20:41:51 +00:00
Rafał Miłecki
3aaee1ba02 bcm53xx: failsafe support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43639
2014-12-11 20:31:07 +00:00
Felix Fietkau
bb4ffcf928 xburst: fix subtarget config file names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43637
2014-12-11 20:07:52 +00:00
Felix Fietkau
4b80e52575 x86: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43636
2014-12-11 20:07:45 +00:00
Felix Fietkau
3cc3c0a518 octeon: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43635
2014-12-11 20:07:39 +00:00
Felix Fietkau
c095c7c202 adm8668: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43634
2014-12-11 20:07:31 +00:00
Jonas Gorski
b7b52ce7de ar7: remove config-3.10
Remove a leftover file from the 3.10 support removal.

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

SVN-Revision: 43632
2014-12-11 19:35:43 +00:00
John Crispin
6f4656c19b netlogic: sync kernel config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43630
2014-12-11 18:58:12 +00:00
John Crispin
1ef2106725 ralink: mt7621 was missing a symbol that made the CC builder fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43629
2014-12-11 18:54:30 +00:00
John Crispin
ce06a742c9 mcp85xx/p1020: fixup config-default
this was missed during the 3.14 bump

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

SVN-Revision: 43628
2014-12-11 18:39:22 +00:00
John Crispin
6d52fd203d kernel/modules: fix chipidea
it should needs to depend on imx and mxs

also remove duplicate kmod definition from mxs target

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

SVN-Revision: 43627
2014-12-11 18:35:41 +00:00
John Crispin
ed61e202a1 au1000: distinguish different models and set correct MAC-address
The target au1000 has at least 2 different models, the
'InternetBox' and the 'MeshCube' which look very similar
from the kernel point of view but are totally different
devices which base on the same design. Populating /tmp/sysinfo
now. The 1st one has an issue which leads to a random
mac-address after each boot which is corrected now via
reading the bootloader-env. The real fix would be
converting to DTS, this is only a workaround now.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43626
2014-12-11 18:28:44 +00:00
Felix Fietkau
1558a6bcbf mpc85xx: fix another typo in the image makefile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43625
2014-12-11 18:18:16 +00:00
Felix Fietkau
5c89c4a5de mpc85xx: add missing devicetree ranges property for ethernet devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43624
2014-12-11 18:18:10 +00:00
Felix Fietkau
4db5bc59b1 mpc85xx: fix typo in image name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43622
2014-12-11 17:52:12 +00:00
Felix Fietkau
2d9d3e7163 mpc85xx: fix initramfs images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43620
2014-12-11 15:29:39 +00:00
Rafał Miłecki
b55199cf41 bcm53xx: support LEDs on Buffalo devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43616
2014-12-11 11:23:26 +00:00
Luka Perkov
9a74026206 kirkwood: add 3.18 support
Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43613
2014-12-11 01:20:41 +00:00
Rafał Miłecki
40d94a3ef0 bcm53xx: backport NVRAM driver sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43612
2014-12-10 21:50:57 +00:00
Rafał Miłecki
ba81966001 bcm53xx: use bcma callback in SPROM driver to fill the SPROM
This is required because it has to be called at very precise moment. See
comment in driver for details.

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

SVN-Revision: 43611
2014-12-10 21:24:11 +00:00
Rafał Miłecki
b0b43e1ef9 bcm53xx: use static NVRAM pointer for now
This will allow us to sync with code sent for upstream.

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

SVN-Revision: 43608
2014-12-10 19:56:56 +00:00
Luka Perkov
a1da38f7b1 kernel: drop CONFIG_PROC_DEVICETREE in 3.18
This option was removed in upstream commit 8357041.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43607
2014-12-10 18:55:53 +00:00
Rafał Miłecki
960130e99c bcm53xx: clean up nvram header
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43606
2014-12-10 18:29:26 +00:00
Luka Perkov
fa5f896cb7 kernel: add missing config symbols for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43605
2014-12-10 18:13:34 +00:00
Rafał Miłecki
7093580424 bcm53xx: move SPROM driver to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43604
2014-12-10 18:07:01 +00:00
Rafał Miłecki
27a91a99d9 bcm53xx: move NVRAM driver to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43603
2014-12-10 18:01:24 +00:00
Rafał Miłecki
3fab0d818c bcm53xx: move NVRAM header to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43602
2014-12-10 17:37:24 +00:00
John Crispin
9432cbd577 oxnas: add support for 2nd S-ATA port to sata_oxnas driver
similar to mv_sata, use nr-ports attribute from device tree.
import and adapt locking code from vendor GPL sources.
add dma controller handling, it may be used in future to avoid
full core resets similar to the vendor SDK's "progressive cleanup"
function.

this is still very dirty and aimed to first of all do things
quite exactly like the reference code. and it somehow works.
obviously there is lots of room for improvement :)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43598
2014-12-10 15:51:07 +00:00
John Crispin
1fa7c8587d oxnas: add copyright header to sata_oxnas
sata_oxnas.c is obviously a refactored version of sata_ox820.c
which does contain this header.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43597
2014-12-10 15:51:00 +00:00
Luka Perkov
fd492354bb kernel: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43591
2014-12-09 23:29:52 +00:00
Luka Perkov
3b17625394 kirkwood: Iomega ix2-200: use all remaining MTD space for rootfs
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43590
2014-12-09 23:29:49 +00:00
Felix Fietkau
8c6f1412b1 ar71xx: improve ethernet driver cache footprint by removing an unnecessary pointer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43588
2014-12-09 12:28:46 +00:00
Felix Fietkau
27f36718d3 kernel: add a patch to make netfilter conntrack cache routing information
Significantly improves routing / NAT performance

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

SVN-Revision: 43587
2014-12-09 11:01:49 +00:00
Felix Fietkau
db04bbd2ec ar71xx: remove another leftover broken chunk of code in the unaligned access hacks patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43586
2014-12-09 09:38:33 +00:00
Rafał Miłecki
613bc3ef3f bcm53xx: bcm_nand: fix compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43584
2014-12-08 18:28:54 +00:00
Rafał Miłecki
aed6b26431 bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43580
2014-12-08 17:39:07 +00:00
Rafał Miłecki
73237c0c9b brcm47xx: add WNDR3400 V3 buttons
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43579
2014-12-08 17:02:28 +00:00
Jonas Gorski
bdb1ee51f8 brcm63xx: fix a few issues in irq chip drivers
Fix locking and lock usage, making it compile for SMP.

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

SVN-Revision: 43578
2014-12-08 16:11:52 +00:00
Jonas Gorski
ed7d8a0450 brcm63xx: alphabetically order image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43577
2014-12-08 16:11:32 +00:00
Jonas Gorski
bc4dd8e119 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43576
2014-12-08 16:11:26 +00:00
Jonas Gorski
3fa17f6d58 brcm63xx: add DT support for USR9108
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43575
2014-12-08 16:11:08 +00:00
Jonas Gorski
218582e8ea brcm63xx: add DT support for F5D7633
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43574
2014-12-08 16:11:03 +00:00
Jonas Gorski
d5f1dd9079 brcm63xx: add DT support for DG834GT/PN
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43573
2014-12-08 16:10:54 +00:00
Jonas Gorski
b0ae41f849 brcm63xx: add DT support for TD-W8900GB
According to the vendor tarball, the TD-w8900GB's flash has 64k erase
block size, but CFE spans two blocks. So fixup the image offset
accordingly but keep block size at its default (64k).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: add commit message, add image offset, change nvram offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 43572
2014-12-08 16:10:46 +00:00
Jonas Gorski
84200cf189 brcm63xx: add DT support for DSL-2640B
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43571
2014-12-08 16:10:41 +00:00
Jonas Gorski
929ade0648 brcm63xx: add DT support for CPVA642
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43570
2014-12-08 16:10:17 +00:00
Felix Fietkau
712f6ec52a kernel: update linux 3.18 to final release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43569
2014-12-08 13:16:35 +00:00
Felix Fietkau
58de4a4759 kernel: backport an upstream xfrm crash fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43568
2014-12-08 12:50:37 +00:00
Felix Fietkau
0cebaafa6e kernel: add missing check for skb->dev on netfilter xfrm optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43567
2014-12-08 12:21:17 +00:00
Felix Fietkau
14a163ca58 kernel: remove the obsolete vm_exports patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43565
2014-12-08 12:04:34 +00:00
Felix Fietkau
9a495f6bbb kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43564
2014-12-08 12:04:25 +00:00
Felix Fietkau
6327386aff ar71xx: fix invalid pointer accesses caused by unaligned access hacks (#18455)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43560
2014-12-08 10:48:28 +00:00
Felix Fietkau
0f07e7c9a8 x86: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43559
2014-12-08 10:04:50 +00:00
Felix Fietkau
363b166eb9 x86: rename */config-3.10 to */config-default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43558
2014-12-08 10:04:45 +00:00
Felix Fietkau
0485747912 kernel: fix x86 objdump invocation on 3.14 and 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43557
2014-12-08 10:04:39 +00:00
John Crispin
7c7964e10d ar7: bump to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43553
2014-12-08 06:15:03 +00:00
Florian Fainelli
aba92ec05e adm8668: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43552
2014-12-07 21:59:36 +00:00
Florian Fainelli
06152c8abf adm8668: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43551
2014-12-07 21:59:25 +00:00
Florian Fainelli
356447e6c2 adm8668: rename files to files-3.3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43550
2014-12-07 21:58:49 +00:00
Florian Fainelli
bb9833a17a cobalt: remove 3.3 and 3.10 kernel configuration files
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43549
2014-12-07 21:58:33 +00:00
Florian Fainelli
4287370f76 cobalt: switch to 3.14 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43548
2014-12-07 21:58:22 +00:00
Florian Fainelli
35e8cc2cdc cobalt: add 3.14 kernel configuration file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43547
2014-12-07 21:58:12 +00:00
Hauke Mehrtens
7a2f186d70 bcm53xx: update the NAND driver
This adds some updates to the NAND driver and refreshed the config.

Most of these changes are done in preparation for mainling it.

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

SVN-Revision: 43546
2014-12-07 21:55:21 +00:00
Hauke Mehrtens
664ae86dde bcm53xx: update the PCIe driver
This adds some updates to the PCIe driver and refreshed the config.

Most of these changes are done in preparation for mainling it.

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

SVN-Revision: 43545
2014-12-07 21:54:53 +00:00
Hauke Mehrtens
d9bb8326fa kernel: update bcma and ssb to wireless-testing master-2014-12-05
This brings ssb and bcma to wireless-testing tag master-2014-12-05

In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.

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

SVN-Revision: 43544
2014-12-07 21:53:20 +00:00
John Crispin
7a65768ddc kirkwood: add a diag script
Currently only Linksys EA4500 is supported.

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

SVN-Revision: 43543
2014-12-07 16:53:37 +00:00
John Crispin
8a123f6f66 ramips: generate factory images for Nexx devices
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 43541
2014-12-07 16:53:22 +00:00
John Crispin
3572657c5a ar71xx: dev-eth: replace mdelay calls
Similar to patch 2. Replace further mdelay calls.

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

SVN-Revision: 43540
2014-12-07 16:53:15 +00:00
John Crispin
59e7999a44 ag71xx: replace delay with sleep calls
I don't see that we're in an atomic context so there's no need to
busy-wait. Therefore replace the delay with sleep calls.
See also Documentation/timers/timers-howto.txt. It states:
"In general, use of mdelay is discouraged and code should
be refactored to allow for the use of msleep."

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

SVN-Revision: 43539
2014-12-07 16:53:09 +00:00
John Crispin
4caa8d50ad ag71xx: replace fixed PHY reset wait time in ar7240sw_setup
Replace the fixed wait time of 1s with polling for BMCR_RESET
to be cleared on all PHYs.

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

SVN-Revision: 43538
2014-12-07 16:52:58 +00:00
Hauke Mehrtens
563f963b1b kernel: refresh patches for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43536
2014-12-07 16:12:44 +00:00
Hauke Mehrtens
8e738da02c brcm47xx: remove kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43535
2014-12-07 15:34:28 +00:00
Rafał Miłecki
dc6171c734 bcm53xx: 3.18: add early support for Buffalo WZR-900DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43534
2014-12-07 11:02:52 +00:00
Rafał Miłecki
a20fa1cb48 bcm53xx: add early support for Buffalo WZR-900DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43533
2014-12-07 10:55:44 +00:00
Rafał Miłecki
1020b84266 brcm47xx: add early support for WNDR3400 V3
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43532
2014-12-07 00:58:40 +00:00
Rafał Miłecki
9bec9b86af bcm53xx: backport BCM5301X patches from arm-soc.git next/dt
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43530
2014-12-05 16:46:55 +00:00
Rafał Miłecki
d1e0e39993 bcm53xx: squeeze (rename) BCM5301X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43529
2014-12-05 16:15:16 +00:00
Rafał Miłecki
8ea3c20b23 bcm53xx: rename patches that were not upstreamed to 3xx
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43528
2014-12-05 16:13:27 +00:00
Rafał Miłecki
8033ccc975 kernel: update bcma up to 2014-10-27
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43527
2014-12-05 16:11:03 +00:00
John Crispin
c79ddb3773 octeon: sysupgrade: support config restore on ERL
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43524
2014-12-05 08:58:25 +00:00
John Crispin
1731d5520e octeon: sysupgrade: rename old kernel after mounting /boot
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43523
2014-12-05 08:58:18 +00:00
John Crispin
52f1d8ecdc octeon: sysupgrade: fix test for rootfs device
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43522
2014-12-05 08:58:06 +00:00
John Crispin
dcc20e525b oxnas: switch back to kernel 3.14
3.18 still got problems with stuck reboots if rootfs is ubifs...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43521
2014-12-05 00:20:50 +00:00
John Crispin
e553dfc356 oxnas: re-add support for kernel 3.14
This reverts commit c81ddddde5fd193802d511b42eb7b108aac17136 on
https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git
which removed patches and config for 3.14.

[arm_introduce-dma-fiq-irq-broadcast patch was renamed to match 3.18]

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43520
2014-12-05 00:20:41 +00:00
John Crispin
dcc8a8ca9e octeon: add support for 3.18 kernel
Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43519
2014-12-05 00:20:10 +00:00
John Crispin
6f665ea7b8 octeon: sysupgrade: support config restore
SVN-Revision: 43518
2014-12-05 00:19:59 +00:00
John Crispin
28a9d9853b octeon: sysupgrade: get rootfsdev from kernel cmdline
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 43517
2014-12-05 00:19:46 +00:00
John Crispin
e6858f5f3f amazon: R.I.P.
its been broken for 2 1/2 years

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

SVN-Revision: 43516
2014-12-05 00:19:40 +00:00
John Crispin
d04c4a311e ralink: mt7621 is a 1004Kc
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 43514
2014-12-03 20:22:42 +00:00
Felix Fietkau
426467beba kernel: add missing null pointer check for mips dma ops inline patch on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43511
2014-12-03 18:17:17 +00:00
John Crispin
a21c9fd655 kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43507
2014-12-03 16:05:06 +00:00
John Crispin
a10a204aab kernel: make ubi auto-attach check for a tar file magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43506
2014-12-03 14:32:38 +00:00
John Crispin
8a9979e57a gemini: update ethernet driver, register ethernet on nas4220 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 43501
2014-12-02 18:27:54 +00:00
John Crispin
a122c1c9c9 oxnas: switch CRC32 implementation to SLICEBY8
similar to what was observed on kirkwood this significantly accelerates
btrfs write operations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43498
2014-12-02 15:25:28 +00:00
John Crispin
9430e86b61 oxnas/kd20: add usb-storage to default package set
KD20 got a built-in card-reader wired to the USB-3 root-hub.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43497
2014-12-02 15:25:14 +00:00
John Crispin
46814be2a8 oxnas/kd20: use gpio-beeper
gpio-beeper module was added to the kernel recently.
Make use of it to drive the piezoelectric buzzer of the kd20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43496
2014-12-02 15:25:09 +00:00
John Crispin
ae51d64671 au1000: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43494
2014-12-02 15:23:37 +00:00
Felix Fietkau
f11b61ae18 realview: refresh kernel patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43491
2014-12-02 13:14:59 +00:00
John Crispin
417e67b6b1 realview: fix up the phyoffset patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43488
2014-12-01 21:45:18 +00:00
John Crispin
b5675ad92a kirkwood: enable mvsw6171 switch driver on EA4500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43487
2014-12-01 21:30:40 +00:00
John Crispin
9b5f583906 kernel: add driver for Marvell 88E6171 switch
This is a swconfig driver for the Marvell 88E6171 switch,
which is a 7-port GigE switch with two CPU ports and 64
802.1q VLANs.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 43486
2014-12-01 21:30:35 +00:00
John Crispin
374f8a04e1 malta: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43481
2014-12-01 18:46:29 +00:00
Felix Fietkau
d1c0a65266 kernel: update 3.18 to rc7
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43479
2014-12-01 17:38:54 +00:00
John Crispin
ad1592e02c oxnas: change visible board name
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43475
2014-12-01 16:15:37 +00:00
John Crispin
aa9141046f oxnas: ehci: rename vendor prefix plxtch to plxtech
it was changed in DTS by commit
oxnas-target: fix typo in OX820 device-tree

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43474
2014-12-01 16:15:30 +00:00
John Crispin
ecd27db757 ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

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

SVN-Revision: 43471
2014-12-01 16:15:08 +00:00
John Crispin
ae15531bd2 ar8216: factor out mii_lo_first to ar8xxx_chip
Factor out mii_lo_first to ar8xxx_chip.

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

SVN-Revision: 43470
2014-12-01 16:15:02 +00:00
John Crispin
ea9324f3d3 ar8216: factor out chip-specific data structures from ar8xxx_priv
Factor out chip-specific data structures from ar8xxx_priv.

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

SVN-Revision: 43469
2014-12-01 16:14:54 +00:00
John Crispin
a3b651635f ar8216: factor out set_mirror_regs to ar8xxx_chip
Factor out set_mirror_regs to ar8xxx_chip.
Remove related chip_is_... checks.

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

SVN-Revision: 43468
2014-12-01 16:14:43 +00:00
John Crispin
b82a08f5b6 ar8216: factor out mib_func to ar8xxx_chip
Factor out mib_func to ar8xxx_chip. Remove related chip_is_... checks.

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

SVN-Revision: 43467
2014-12-01 16:14:39 +00:00
John Crispin
af003867b1 ar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip
Factor out info whether switch should be configured at probe stage
to ar8xxx_chip. Remove related chip_is_... checks.

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

SVN-Revision: 43466
2014-12-01 16:14:32 +00:00
John Crispin
84df2274ff realview: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43465
2014-12-01 16:14:26 +00:00
John Crispin
c27ee280ce ixp4xx: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43464
2014-12-01 16:14:21 +00:00
John Crispin
00f5d358ac au1000: add 3.14 support
this is only compile tested

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

SVN-Revision: 43463
2014-12-01 16:14:07 +00:00
John Crispin
610311436e ar71xx: Add build profile for the gl-inet 6416A and 6408A
Patch to add the buildprofile for the GL-Init-6408A-v1 and the GL-Inet-6416A-v1
Both devices are identical, only difference is one comes with 8MB flash and
the other with 16MB flash

Official website: http://www.gl-inet.com/w/?page_id=241&lang=en
Comprehensive list of specs: https://revspace.nl/GL-Inet

Signed-off-by: Martijn Zilverschoon <martijn@friedzombie.com>

SVN-Revision: 43462
2014-12-01 16:14:02 +00:00
Jonas Gorski
387fd3ca26 brcm63xx: add kernel 3.18 support
Add 3.18 support based on 3.18-rc6. Only netboot tested.

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

SVN-Revision: 43461
2014-12-01 13:27:26 +00:00
Jonas Gorski
e8068f0b1b brcm63xx: register interrupt-controllers through DT when possible
Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

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

SVN-Revision: 43457
2014-12-01 00:52:07 +00:00
Jonas Gorski
443d730da8 brcm63xx: dtsi: add missing ranges properity to ubus nodes
Allows nodes behind it to be mapped.

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

SVN-Revision: 43456
2014-12-01 00:51:56 +00:00
Jonas Gorski
d9a2c55806 brcm63xx: dtsi: add missing properties to cpu nodes
Mark them as cpu nodes and add the addresses.

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

SVN-Revision: 43455
2014-12-01 00:51:53 +00:00
Jonas Gorski
ef4f69adc0 brcm63xx: convert to irq domain
Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

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

SVN-Revision: 43454
2014-12-01 00:51:51 +00:00
Jonas Gorski
bb312899f6 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43453
2014-12-01 00:51:24 +00:00
Jonas Gorski
2b46097364 brcm63xx: add DT support for DSL-2650U
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43452
2014-12-01 00:51:17 +00:00
Jonas Gorski
61637aea1b brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43451
2014-12-01 00:51:12 +00:00
Jonas Gorski
53214ca548 brcm63xx: Add DT support for F@ST2504n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43450
2014-12-01 00:51:08 +00:00
Jonas Gorski
40350a5daf brcm63xx: add DT support for F@ST2704V2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43449
2014-12-01 00:51:04 +00:00
Jonas Gorski
3872151ce0 brcm63xx: add DT support for F@ST2604
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43448
2014-12-01 00:50:59 +00:00
Jonas Gorski
5f726ccd79 brcm63xx: add DT support for F@ST2404
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43447
2014-12-01 00:50:56 +00:00
Luka Perkov
c691430897 kernel: add missing config symbol for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43444
2014-11-30 22:12:20 +00:00
Luka Perkov
201af1b219 malta: add more 3.14 kernel symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43435
2014-11-30 03:51:43 +00:00
Luka Perkov
7974f29558 kirkwood: change CRC32 implementation to CRC32_SLICEBY8
At least on my Iomega ix2-200 system, this makes btrfs writes about 30% faster.

Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43434
2014-11-30 01:20:38 +00:00
Luka Perkov
5c4f9198bb kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43432
2014-11-30 01:14:14 +00:00
Luka Perkov
dac3d29ec5 generic: set CONFIG_GENERIC_NET_UTILS
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43431
2014-11-30 01:14:12 +00:00
Luka Perkov
070d3b27c2 kernel: update 3.14 to 3.14.25
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43427
2014-11-29 10:30:58 +00:00
Luka Perkov
d11aefc8eb malta: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43426
2014-11-29 10:30:55 +00:00
Luka Perkov
eef7c35952 malta: drop 3.12 config file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43425
2014-11-29 10:30:52 +00:00
Luka Perkov
0817bb762f x86: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43422
2014-11-28 17:53:50 +00:00
Florian Fainelli
d73dc14957 kernel: 3.18: Fix patch 644 dependency chain
This patch introduces some code that is compiled in whenever
CONFIG_BRIDGE_NETFILTER is built, with the code called from code compiled under
CONFIG_BRIDGE, CONFIG_BRIDGE_IGMP_SNOOPING or CONFIG_BRIDGE_NF_EBTABLES.

Unfortunately, these options aren't setting explicitly the dependency they now
have on CONFIG_BRIDGE_NETFILTER, for obvious reasons for CONFIG_BRIDGE.

However, this is not working really well when CONFIG_BRIDGE_NETFILTER is built
as a module, since code statically compiled will now use a function that is not
in the kernel image, which makes the linker grumpy.

Solve this by removing the option to build CONFIG_BRIDGE_NETFILTER as a module,
and protect our function definition by an IS_BUILTIN instead of a IS_ENABLED
macro. This fixes the issue for CONFIG_BRIDGE and CONFIG_BRIDGE_IGMP_SNOOPING.

Fixing CONFIG_BRIDGE_NF_EBTABLES has to be handled a bit differently, since it
directly references a variable that will not be declared if
CONFIG_BRIDGE_NETFILTER is not set. Protect the variable affectations by an
ifdef to make sure this doesn't happen.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43419
2014-11-28 01:29:51 +00:00
Felix Fietkau
f473f95196 cns3xxx: fix PCIe->PCI bridge access (fixes #18422)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43414
2014-11-27 20:54:18 +00:00
Felix Fietkau
ceccdc4a31 mpc85xx: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43413
2014-11-27 18:26:24 +00:00
Felix Fietkau
1846efcaaf mpc85xx: refresh linux 3.14 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43412
2014-11-27 18:26:17 +00:00
Felix Fietkau
d33db91a38 mpc85xx: remove the PHY reset change patch (no longer necessary)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43411
2014-11-27 18:26:12 +00:00
Felix Fietkau
14db2826ad ar8216: suppress PHY reset for linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43410
2014-11-27 18:26:06 +00:00
Felix Fietkau
77e1a3675a kernel: backport patches for overriding PHY reset to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43409
2014-11-27 18:26:00 +00:00
Felix Fietkau
ca2d0c15cc cns3xxx: add experimental 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43406
2014-11-27 16:24:32 +00:00
Felix Fietkau
a03b522bd6 kernel: add missing KEEP() statements for gc-sections patch in 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43405
2014-11-27 16:24:25 +00:00
Felix Fietkau
1f5987c5d3 kernel: keep __bug_table with gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43404
2014-11-27 15:02:11 +00:00
Felix Fietkau
d57b64dfb0 cns3xxx: fix pcie root bridge topology
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43403
2014-11-27 15:02:05 +00:00
Imre Kaloz
974f286261 add D-link DGL-5500 A1 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43401
2014-11-27 14:27:34 +00:00
Felix Fietkau
d0e4f71b9a cns3xxx: add missing dma mask for ethernet device
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43399
2014-11-26 18:48:05 +00:00
Felix Fietkau
ebf6331c10 cns3xxx: switch to using the upstream dwc2 driver instead of dwc_otg
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43398
2014-11-26 18:01:38 +00:00
Felix Fietkau
211669da3b cns3xxx: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43397
2014-11-26 18:01:29 +00:00
Felix Fietkau
0525ffa4c5 cns3xxx: remove bogus image added in r38703
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43396
2014-11-26 18:01:18 +00:00
Felix Fietkau
8c136e6b56 cns3xxx: set base device for ethernet port netdevs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43395
2014-11-26 18:01:07 +00:00
Felix Fietkau
365cf9d10c cns3xxx: fix passing the device to dma mapping ops
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43394
2014-11-26 18:00:52 +00:00
Imre Kaloz
7f6c05d97e fix the r6100's wan led name
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43393
2014-11-26 11:38:59 +00:00
John Crispin
8dfb87bebc kirkwood: Add support for Iomega StorCenter ix2-200
Signed-off-by: Richard Kunze <richard.kunze@web.de>

SVN-Revision: 43391
2014-11-26 09:00:48 +00:00
John Crispin
72b58f2eb1 add new target 'oxnas'
This is the oxnas target previously developed at
http://gitorious.org/openwrt-oxnas
Basically, this consolidates the changes and addtionas from
http://github.org/kref/linux-oxnas
into a new OpenWrt hardware target 'oxnas' adding support for
 PLX Technology NAS7820/NAS7821/NAS7825/...
formally known as
 Oxford Semiconductor OXE810SE/OXE815/OX820/...

For now there are 4 supported boards:
Cloud Engines Pogoplug V3 (without PCIe)
 fully supported

Cloud Engines Pogoplug Pro (with PCIe)
 fully supported

MitraStar STG-212
 aka ZyXEL NSA-212,
 aka Medion Akoya P89625 / P89636 / P89626 / P89630,
 aka Medion MD 86407 / MD 86805 / MD 86517 / MD 86587
 fully supported, see http://wiki.openwrt.org/toh/medion/md86587

Shuttle KD-20
 partially supported (S-ATA driver lacks support for 2nd port)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43388
2014-11-26 09:00:08 +00:00
John Crispin
271a4d804a kernel: unset CONFIG_ARM_CCN
oldconfig kept asking for that config symbol...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43386
2014-11-26 08:59:41 +00:00
John Crispin
47ab1cbf23 ar71xx: add support for TP-LINK CPE210/220/510/520
This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These
devices are very similar to the Ubiquiti NanoStations, but with better specs:
faster CPU, more RAM, 2x2 MIMO.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 43385
2014-11-26 08:59:32 +00:00
Imre Kaloz
15f6f67d18 Netgear R6100 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43382
2014-11-26 08:28:22 +00:00
Jonas Gorski
1041e3be6e brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right section
The cpu port is at 8, not 5.

Fixes #18406.

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

SVN-Revision: 43379
2014-11-25 19:07:02 +00:00
Jonas Gorski
93e5c701cc brcm63xx: unify dt image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43378
2014-11-25 19:06:51 +00:00
Jonas Gorski
5e111b0330 brcm63xx: move rsa signature to additional options
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43377
2014-11-25 19:06:43 +00:00
Jonas Gorski
e1eec53136 brcm63xx: fix image generation
This fixes build issues introduced on r43361.

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

SVN-Revision: 43376
2014-11-25 19:06:38 +00:00
Imre Kaloz
60522c8ba7 rename overlayfs' symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43375
2014-11-24 22:09:47 +00:00
John Crispin
506cf51b53 ralink: fix pci reset patch
sorry, forgot to make target/update before commiting the last patch

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

SVN-Revision: 43374
2014-11-24 20:39:48 +00:00
John Crispin
b994aca1e4 mpc85xx: fix missing dts target for kernel 3.14
With kernel 3.14 dts target p1010rdb was renamed to p1010rdb-pa.
To maintain compatibility define p1010rdb-pa as new standard and
copy p1010rdb.dts to p1010rdb-pa.dts under 3.10.

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

SVN-Revision: 43371
2014-11-24 19:12:46 +00:00
John Crispin
41f9765acd ralink: add proper reset of pci core
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43370
2014-11-24 19:12:35 +00:00
John Crispin
5f51cfcf55 imx6: make the default config bootable on ventana
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43369
2014-11-24 19:12:19 +00:00
Imre Kaloz
f3df3bdb26 add initial 3.18 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43366
2014-11-24 16:00:41 +00:00
Jonas Gorski
cf0c966d9a brcm63xx: do not build images for unsupported routers
If there is no board support in the kernel, it does not make sense to
build images for devices. So drop any images for board ids for which
there are nc corresponding board_info structs in the kernel.

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

SVN-Revision: 43364
2014-11-24 14:44:46 +00:00
Jonas Gorski
fb2a44df50 brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43363
2014-11-24 14:44:40 +00:00
Jonas Gorski
c6fc6b42e1 brcm63xx: Add DT support for SPW303V
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43362
2014-11-24 14:44:33 +00:00
Jonas Gorski
5540ca300e brcm63xx: Add DT support for DV-201AMR
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43361
2014-11-24 14:44:28 +00:00
Jonas Gorski
89000dea4c brcm63xx: Add DT support for RG100A
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43360
2014-11-24 14:44:23 +00:00
Jonas Gorski
13d6fa0081 brcm63xx: Add DT support for A226G/M
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43359
2014-11-24 14:44:19 +00:00
Jonas Gorski
b3ce1c4ea6 brcm63xx: Add DT support for AGPF-S0
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 43358
2014-11-24 14:44:12 +00:00
Imre Kaloz
c26c5eff0e update .18 support for -rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43357
2014-11-24 10:17:33 +00:00
Felix Fietkau
35902404fc ar8216: Fix issue with autoneg being disabled under 3.14, revert 43332
Patch reverts 43332 which seems to cause issues with VLAN functionality.
Add a specific check to check whether ANEG is still enabled and re-enable
it if necessary. Disable generic phy soft reset for kernel >=3.16.

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

SVN-Revision: 43356
2014-11-24 09:33:48 +00:00
Florian Fainelli
a2768bd9e0 arm64: add ARM 64-bits target
This target can be emulated using ARM's Foundation_V8 simulator
software or qemu-system-aarch64 using the command-line described in the
README file.

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

SVN-Revision: 43355
2014-11-24 06:34:07 +00:00
Felix Fietkau
174d16e59f ar71xx: merge changes from 3.10 that were forgotten for 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43347
2014-11-23 16:27:19 +00:00
Felix Fietkau
25cb8318cd ar71xx: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43344
2014-11-23 13:54:28 +00:00
Felix Fietkau
0179456212 ar71xx: switch to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43343
2014-11-23 13:54:22 +00:00
Jonas Gorski
2bab3e2796 brcm63xx: move board compatible strings into a table
Move compatible strings from board structs into separate table. This
allows for several board compatibles to match to the same board in case
e.g. only the flash size / partitions differ.

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

SVN-Revision: 43341
2014-11-22 12:25:52 +00:00
Zoltan Herpai
352c7d3cb2 sunxi: add config for 3.18
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43338
2014-11-21 18:49:56 +00:00
Zoltan Herpai
9c54f7f312 sunxi: add initial 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 43337
2014-11-21 18:42:43 +00:00
Rafał Miłecki
c84fe94b0d brcm47xx: add support for Netgear WGR614 V10
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43336
2014-11-20 22:15:21 +00:00
Felix Fietkau
c9340fd8a9 ar8216: Use generic hw_init from ar8236 for ar8216 too
We should make sure that also for ar8216 hw gets initialized.
For ar8216 hw_init is a dummy currently. The hw_init used for ar8236
should be generic enough to be usable with ar8216 too.

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

SVN-Revision: 43334
2014-11-20 15:19:15 +00:00
Felix Fietkau
0178b516a2 ar8216: simplify PHY fixup/init
Move the PHY fixup call to the PHY init loop.
Use ar8xxx_has_gige in the PHY init instead of passing the gigE
capability via function parameter.

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

SVN-Revision: 43333
2014-11-20 15:19:04 +00:00
Felix Fietkau
43e3e88379 ar8216: use genphy_config_aneg also for PHY 0
Kernel 3.14 introduced a switch reset in phy_init_hw in drivers/net/phy
causing BMCR_ANENABLE to get cleared.

Due to the fact that ar8xxx_phy_config_aneg does nothing for
PHY 0 autonegatiation support remains disabled.
This can cause ports to operate at 10MBit/half-duplex only.

Fix this by calling genphy_config_aneg for PHY 0 too as
genphy_config_aneg sets BMCR_ANENABLE if it's not yet set.
Fixes: ticket 17800

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

SVN-Revision: 43332
2014-11-19 20:18:01 +00:00
Felix Fietkau
898712f43f ar8216: factor out PHY init code into a generic function
PHY init code in the switch-specific hw_init functions is mainly
identical. Factor it out into a generic ar8xxx_phy_init function.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43331
2014-11-19 20:17:52 +00:00
Felix Fietkau
20baeb5595 ar8216: introduce fixup_phys callback in ar8xxx_chip
Move phy fixup code from the chip-specific hw_init functions into a
fixup_phys callback.

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

SVN-Revision: 43330
2014-11-19 20:17:43 +00:00
Felix Fietkau
37fefea79b ar8216: after a switch reset poll until BCMR_RESET is cleared
Currently there is a fixed 1000ms wait time after the switch was reset.
Most if not all switches need much less time to perform a reset.
Therefore replace the fixed wait time with polling for BMCR_RESET to
be cleared.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43329
2014-11-19 20:17:37 +00:00
Felix Fietkau
6dcdc2bb05 ar8216: introduce global constant for number of PHYs
All supported switches have 5 PHYs. Currently partially 5 is hardcoded
and partially switch-specific constants exist.
Replace them with a global constant.

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

SVN-Revision: 43328
2014-11-19 20:17:30 +00:00
Rafał Miłecki
ac7e0e69bb brcm47xx: mtd: bcm47xxpart: lower minimal blocksize to 4Ki (from 64Ki)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43322
2014-11-19 17:35:24 +00:00
John Crispin
83381c5c8f ixp4xx: Don't overwrite memory in wg302v1_fixup()
wg302v1_fixup() looks for the ATAG_CMDLINE atag, it doesn't find it and
so it takes the last atag in the list and overwrites non allocated
memory.

The side effects are corrupted vital data and a kernel that doesn't
boot. More details here https://dev.openwrt.org/ticket/18356

The fix appends the fixup to the command line and updates the atag only
when it finds it.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

SVN-Revision: 43320
2014-11-19 14:09:19 +00:00
John Crispin
da5001475c gemini: add basic nas4220 board support
Few notes:
- redboot partitions are unusable
- redboot declares only 16M of RAM, hence the mem arg in cmdline and separate kernel config
- boots fine but only ethernet works for now
- split wiliboard and raidsonic boards into different subtargets

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

SVN-Revision: 43319
2014-11-19 14:09:10 +00:00
John Crispin
bd164f233c mpc85xx: add 3.14 kernel support for mpc85xx platform
This patch adds 3.14 kernel support for the mpc85xx platform.
Works fine here with a TL-WDR4900 which seems to be the only
supported device using this platform.
There might be differences depending on HW version, therefore
I'd ask others to test too.

Changes to 3.10
  missing config options added to 3.14 config file
  patch 001: rebased
  patch 100: rebased
  patch 110: rebased
  patch 120: rebased
  patch 130: rebased
  patch 140: minor adjustment
  patch 200: removed, change went upstream
  patch 210: rebased
  patch 220: removed, change went upstream
  patch 750: new, fixes an issue with ethernet port autoneg being
             disabled due to changes in kernel phy handling

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

SVN-Revision: 43308
2014-11-19 09:20:55 +00:00
John Crispin
f210f3811a ar71xx: Added support for D-link DHP-1565 rev. A1
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>

SVN-Revision: 43307
2014-11-19 09:20:47 +00:00
John Crispin
6af2109a64 ar71xx: fix switch configuration in Ubiquiti UAP Pro
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 43306
2014-11-19 09:20:18 +00:00