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
Florian Fainelli
dd8d7188ee
aarch64: add initial support
...
Add initial support for the AArch64 architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43353
2014-11-24 06:33:13 +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
John Crispin
d93dc245e5
ralink: various fixes to the wm8960 setup code
...
still no sound but the codec is properly detected now, powers up and i can hear
noise on the speakers.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43305
2014-11-19 09:20:12 +00:00
John Crispin
989bfd815b
ralink: make the dmaengine driver compile under 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43304
2014-11-19 09:20:02 +00:00
John Crispin
e1f6d0dd0a
ralink: fix tx vlan offload and hardware status
...
hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43303
2014-11-19 09:19:57 +00:00
John Crispin
a5f562993e
ralink: support netconsole
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43302
2014-11-19 09:19:49 +00:00
John Crispin
9c5dfd9546
ralink: improve tx vlan offload
...
hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43301
2014-11-19 09:19:43 +00:00
John Crispin
510ff1f1b8
ralink: merge the mt7620a/n subtargets
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43300
2014-11-19 09:19:38 +00:00
John Crispin
752745a85a
ralink: set ralink_soc on mt7621
...
sdhci failed to init because of this
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43293
2014-11-17 21:58:30 +00:00
John Crispin
32d4348540
ralink: fix pcie reset
...
some old mt7620a uboots dont reset the pcie core properly. work around this
issue in the kernel driver.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43292
2014-11-17 16:27:48 +00:00
John Crispin
5d2c810101
kernel: add the ubifs EOF marker support to 3.14 kernel
...
Without this patch the UBIFS driver is unable to attach to the mtd
storage and mount the root FS.
Fixes a kernel panic with Netgear WNDR4300/3700v4 devices.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
SVN-Revision: 43287
2014-11-17 08:34:03 +00:00
Felix Fietkau
28b26fa603
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43283
2014-11-16 12:26:53 +00:00
Felix Fietkau
b3f2d3d01b
ramips: use mediatek,mtd-eeprom instead of ralink for mt76
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43282
2014-11-16 12:26:47 +00:00
Felix Fietkau
02c319c27a
ramips: fix default config breakage on whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43281
2014-11-16 11:39:19 +00:00
John Crispin
c073bf6bdf
ralink: few updates tot he sdhci probe code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43275
2014-11-15 14:35:32 +00:00
John Crispin
ce1c580efb
ralink: make the sdhci module build again
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43274
2014-11-14 18:51:41 +00:00
John Crispin
76a54a424c
ar8216: fix "unused variable" compiler warning
...
Most likely a copy & paste error when deriving ar8327_sw_set_ports
from ar8xxx_sw_set_ports.
Remove unused variable.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43273
2014-11-14 17:06:09 +00:00
John Crispin
44d703160b
lantiq: Concatenate multiple flash chips for lantiq-flash
...
Signed-off-by: Maikel Bloemendal <openwrt@maikelenyvonne.nl>
Tested-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43272
2014-11-14 17:06:04 +00:00
John Crispin
6fafcba63b
ar71xx: Fix the sys LEDs on the EasyLink M150 and mini
...
Sets the system LED on the EasyLink M150 and mini to lower-case "easylink"
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 43271
2014-11-14 16:58:29 +00:00
John Crispin
b6f5713b3f
ar71xx: adjust MR900 profile for the OpenMesh MR900v2 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43270
2014-11-14 16:55:32 +00:00
John Crispin
52c267e2f7
ar71xx: add sysupgrade support for OpenMesh MR900v2
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43267
2014-11-14 16:55:14 +00:00
John Crispin
104be9f803
ar71xx: add user-space support for OpenMesh MR900v2
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43266
2014-11-14 16:55:04 +00:00
John Crispin
bc333d5399
ar71xx: add kernel support for the OpenMesh MR900v2
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43265
2014-11-14 16:54:58 +00:00
John Crispin
305c1431e3
ar71xx: create profile and build image for the OpenMesh MR900 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43264
2014-11-14 16:54:50 +00:00
John Crispin
548822cd7a
ar71xx: enable sysupgrade for the OpenMesh MR900
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43261
2014-11-14 16:54:28 +00:00
John Crispin
cfdaa8aefd
ar71xx: add user-space support for the OpenMesh MR900 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43259
2014-11-14 16:54:15 +00:00
John Crispin
95544f33dd
ar71xx: add kernel support for the OpenMesh MR900 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43258
2014-11-14 16:54:07 +00:00
John Crispin
4b5c23e1e3
lantiq: vgv7519 - set some defaults for leds
...
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43256
2014-11-14 16:53:53 +00:00
John Crispin
901dddce31
lantiq: set default led configuration from /sys entry later, after per board settings
...
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43255
2014-11-14 16:53:48 +00:00
John Crispin
7cc72e4b93
ralink: dont define pm_poweroff
...
this makes gpio-poweroff work
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43254
2014-11-14 16:53:40 +00:00
John Crispin
be23eaa8c3
ralink: fix bank detection in mt7621 gpio driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43253
2014-11-14 16:53:34 +00:00
John Crispin
6d4282086d
ralink: enable the proper drivers in the mt7621 config
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43252
2014-11-14 16:53:29 +00:00
John Crispin
0767ee848a
ralink: fix broken pinmux function naming inside mt7621.c
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43251
2014-11-14 16:53:21 +00:00
John Crispin
8cde8a05c9
ralink: update sdhci driver
...
the new driver handles newer SoCs
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43250
2014-11-14 16:53:15 +00:00
John Crispin
66463a5b5d
ralink: update pcie driver to load ranges from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43249
2014-11-14 16:53:07 +00:00
John Crispin
7963782b86
ralink: add a new global ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43248
2014-11-14 16:53:01 +00:00
John Crispin
caa29dea2c
ralink: update ethernet driver to use new ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43247
2014-11-14 16:52:52 +00:00
John Crispin
bf8bb5b611
ralink: fix the 10mbit bug on mt7621
...
a missing "val =" caused the AN bit in the phy0 reg to be flushed.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43246
2014-11-14 16:52:47 +00:00
John Crispin
194ca6127e
ralink: improve mt7530 support
...
the SDK does a bit of extra init that we did not do yet when using an external mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43245
2014-11-14 16:52:42 +00:00
John Crispin
0371dabc13
ralink: add support for WSR-600/1166
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43244
2014-11-14 16:52:36 +00:00
John Crispin
062828aee0
ralink: mt7621 has a different base addr for PVID
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43243
2014-11-14 16:52:30 +00:00
John Crispin
938e1e03fb
ralink: drop some unused code from pci-mt7620a
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43242
2014-11-14 16:52:25 +00:00
John Crispin
bfcdc8711c
ralink: fix up dts for mt7621 eval board
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43238
2014-11-12 14:55:00 +00:00
John Crispin
86e3315ece
ralink: add support for mt7621 ethernet
...
somehow all switch ports still come up as 10mbit.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43237
2014-11-12 14:54:50 +00:00
John Crispin
45814d150a
ralink: more mt7530 fixes
...
make 1166 wan port work. this broke due to the esw_polling bug
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43236
2014-11-11 11:46:16 +00:00
John Crispin
e399931376
ralink: fix mdio polling of external phys if only 1 phy exists
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43235
2014-11-11 11:46:09 +00:00
John Crispin
6623feb572
ralink: remove IC plus phy driver
...
this driver confuses some boards
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43234
2014-11-11 11:46:02 +00:00
Luka Perkov
da53ac677f
ralink: DCS-930: enable sound
...
Camera has microphone; in order to use it by default enable sound support.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43232
2014-11-11 00:08:05 +00:00
Luka Perkov
494c6e7f6e
ralink: update DCS-930 dts
...
* read MAC address from factory partition
* remove port defines since there is only one port (most likely C/P error)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 43231
2014-11-11 00:05:14 +00:00
Luka Perkov
4f1a9470f0
kirkwood: add support for Linksys EA3500
...
http://wiki.openwrt.org/toh/linksys/ea3500
Signed-off-by: Dan Walters <dan@walters.io>
SVN-Revision: 43230
2014-11-10 23:55:10 +00:00
Hauke Mehrtens
a69ebe234d
kernel: update kernel 3.18 to rc4
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43229
2014-11-10 22:51:30 +00:00
Rafał Miłecki
93b3924128
kernel: backport bcm47xxpart changes queued for 3.19
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43223
2014-11-08 21:41:21 +00:00
Rafał Miłecki
fcc8fe9bd2
kernel: ssb: add PCI ID 0x4351
...
Backports commit 9837baa99717c7526e4bae9c68e8728dea4af183
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43221
2014-11-08 20:51:24 +00:00
Felix Fietkau
9e98d559f6
ramips: fix initramfs image build handling
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43219
2014-11-08 15:40:17 +00:00
Felix Fietkau
455ba77b6a
ramips: add eeprom data for 802.11ac wlan on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43218
2014-11-08 14:15:49 +00:00
Felix Fietkau
29f71d384f
ramips: add missing size/address-cells to device tree include files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43217
2014-11-08 14:15:44 +00:00
John Crispin
604a3e5134
ralink: fix a regression that broke pcie on mt7621
...
i accidentally dropped 2 lines while adding mt7628 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43216
2014-11-08 13:45:26 +00:00
Felix Fietkau
07754ac297
ramips: enable sysupgrade for whr-600d, whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43213
2014-11-08 12:18:58 +00:00
John Crispin
503a34ca50
ralink: fix the compat string for mt7620a pci
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43211
2014-11-08 12:12:05 +00:00
John Crispin
89f74722b7
ralink: assign default ranges inside the pci driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43207
2014-11-07 10:51:08 +00:00
John Crispin
9007e2244f
ralink: mt7628 does not actually need this fix for the ethernet driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43206
2014-11-07 10:51:00 +00:00
John Crispin
c32ad22e40
ralink: improve r43200
...
r43200 tries to detect if the fixup is needed or not. control the behaviour via
OF instead and disable unused ports.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43201
2014-11-06 12:19:53 +00:00
John Crispin
0cc0ba2b3a
ralink: only apply ephy1 fixup if the phy is present
...
this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43200
2014-11-06 11:11:44 +00:00
John Crispin
78b6222851
ralink: tweak e1700 dts file
...
the current driver code wont know which mt7530 to apply the llllw setting to.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43199
2014-11-06 09:31:45 +00:00
John Crispin
c5954fc510
ralink: make pci driver handle mt7628
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43198
2014-11-06 09:31:37 +00:00
John Crispin
cadf517107
ralink: add support for mt7628
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43197
2014-11-06 09:31:31 +00:00
John Crispin
f8404aaf9e
ralink: add mt7628 support to the ethernet driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43196
2014-11-06 09:31:19 +00:00
John Crispin
26504289df
ralink: cleanup ethernet Makefile/Kconfig
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43195
2014-11-06 09:31:09 +00:00
John Crispin
d524fe46fd
ralink: move ethernet driver to files/
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43194
2014-11-06 09:31:03 +00:00
Nicolas Thill
61a708154d
sunxi: fix network config on A20-OLinuXino-LIME
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43190
2014-11-06 02:23:12 +00:00