Commit Graph

13727 Commits (312a6dedf49a7d90485ef507a185168a0e717199)

Author SHA1 Message Date
John Crispin 9d4a086a64 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 11:07:08 +00:00
John Crispin 76b4032fe0 lantiq: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:47 +00:00
John Crispin ea10c39f14 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:37 +00:00
Zoltan HERPAI 94f0028725 sunxi: update gmac with adding correct regulators on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:13:49 +00:00
Zoltan HERPAI 914948ebaa sunxi: backport late clock fixes from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:12:53 +00:00
Zoltan HERPAI 665f30a1df sunxi: update dts for pcduino3 and bananapi with regulators
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:45:08 +00:00
Zoltan HERPAI 04a55c31d2 sunxi: add usb ohci support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:34:10 +00:00
Zoltan HERPAI 45cafa800f sunxi: add default interface for bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:15:30 +00:00
Zoltan HERPAI a98d24e6e8 sunxi: add missing symbol for arch timer
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:12:50 +00:00
Rafał Miłecki 3421f4b3b6 kernel: fix backport of bcma init patch
Upstream bcma patch:
bcma: use separated function to initialize bus on SoC
was backported incompletely. I missed arch code change.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 21:25:36 +00:00
Jo-Philipp Wich dfbf70b43d sdk: predefine kernel version magic
Kernel modules which are built using the SDK do not have access
to the .vermagic file in the Linux build dir, therefore the
generated .ipk metadata depends on kernel versions like
'3.10.49-1-unknown' which are not satisfiable by the kernel
meta package in the image.

Fix this problem by substituting 'unknown' with the current
version magic in include/kernel.mk when packing the SDK.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:25:47 +00:00
Zoltan HERPAI 06cbf4e0a3 sunxi: add arm arch timer support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:15:05 +00:00
Hauke Mehrtens f922e26c9e kernel: add missing config option
This missing option was found by the build bots.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 21:39:24 +00:00
John Crispin e5d6c00e3b Lantiq: fix build warning from dsl_fs script
fix inclusion of functions.sh in dsl_fs init script

without this, the following error is seen during build:
./etc/init.d/dsl_fs: line 4: /lib/functions.sh: No such file or directory

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 14:53:06 +00:00
John Crispin 78aaed5904 lantiq: move the lantiq,switch property into the interface node
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 14:53:01 +00:00
John Crispin a0bbe0d6ce postinst trigger: the new postinst trigger broke IB
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-16 11:56:19 +00:00
Zoltan HERPAI e2520eb771 sunxi: add new watchdog compats to reboot code in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 21:05:00 +00:00
Zoltan HERPAI 78efb4c9ca sunxi: update profile of A13-OLinuXino to match uboot boardname, required for sdcard image
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 19:37:23 +00:00
John Crispin ba33fec925 ar71xx: add qihoo 360 c301 router support
Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac.
Its chipset is AR9344 + AR9882 with two 16MB flashes.

This patch adds its initial support.

v2:
* use mtd_get_mac_ascii to fetch MAC address for ath10k.
* use ath79_register_pci to initialize AR9882.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:38 +00:00
John Crispin da18057e05 lantiq: fix switch init on vr9 SoC (3.10)
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:27 +00:00
John Crispin 0a3bdbd7bc lantiq: fix switch init on vr9 SoC
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:20 +00:00
John Crispin 8a3628eb5c ar71xx: add board support for ubnt loco m xw
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:14 +00:00
John Crispin befcefa558 ar71xx: refactor ubnt xw board setup
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:19:01 +00:00
John Crispin 228eec0a3c lantiq: add default switch setup to td8970
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-15 10:18:37 +00:00
Hauke Mehrtens 198751bd55 bcm53xx: fix early serial console
This device actually has a 8250 serial with a shift of 0.
Tested this on a BCM4708.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 19:22:49 +00:00
Rafał Miłecki 5dae4fec18 kernel: update bcma to the tag master-2014-09-11 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 17:31:13 +00:00
Hauke Mehrtens 21b07b57fb kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 15:00:33 +00:00
Rafał Miłecki 283fd507b4 kernel: move bcma patches pushed to wireless-next
We used separated patch for patches that were sent but not accepted yet.
It has changed now, so let's use the standard patch file for them.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 14:58:13 +00:00
Zoltan HERPAI b23fe461c1 sunxi: add sdcard image generation support when board profile is selected
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 13:47:42 +00:00
Zoltan HERPAI 61d5cd647f sunxi: rename pcduino profile to match uboot boardname in prep for the sdcard generator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 13:09:22 +00:00
Hauke Mehrtens f14341ca8a kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-14 12:06:59 +00:00
Hauke Mehrtens 3ff58fd77a kernel: do not deactivate CONFIG_BLK_DEV
CONFIG_BLK_DEV does not activate any functionality, but many code, but 
makes it possible to activate other options. Deactivating this breaks 
the build of kmod-zram.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 22:10:00 +00:00
Hauke Mehrtens 00f2f858bb kernel: add missing config options
These missing option were found by the build bots.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 21:25:21 +00:00
Hauke Mehrtens 0e4a30a311 kernel: Backport essential fixes for ad799x
This series of patches ports back some fixes of the ad799x driver, which were
commited between 3.10 and 3.15.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42523 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:34:44 +00:00
Hauke Mehrtens 21e8979db9 bcm53xx: select nvram package by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:28:44 +00:00
John Crispin 455c1fabf8 atheros: refresh config
Remove symbols that are now placed in the generic config.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:54:16 +00:00
John Crispin 552fa213dd atheros: convert AR2315 GPIO code to platform driver
Convert gpiolib realization to platform driver and move to the
appropriate subdirectory. Misc GPIO interrupt acknowledgement placed
to the MISC IRQ handler since in fact we can detect only one GPIO state
change.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:54:10 +00:00
John Crispin 7c9ad56d21 atheros: convert AR5312 GPIO code to platform driver
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:54:05 +00:00
John Crispin d2575bd493 atheros: rework chained interrupts handling
Call generic_handle_irq() instead of do_IRQ() for chained interrupts,
remove XXX_NONE interrupts and call spurious_interrupt() when an interrupt
is unexpected.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:58 +00:00
John Crispin e24f039067 atheros: convert gpio.h to stub
Implement to_irq() handler for AR2315 GPIO chip and convert custom
gpio.h header to stub.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:53 +00:00
John Crispin 2dfb3a4f2a atheros: rename SoCs config symbols
Rename config symbols to be consistent with other SoCs config symbols
supported by MIPS arch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:48 +00:00
John Crispin c0d10e6028 atheros: add AR2316 and AR2318 SoCs detection
Tested with AR2315, AR2316 and AR2317 SoCs, not tested with AR2318 but
changes seems correct: revision is one more than AR2317.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:43 +00:00
John Crispin d4f42472e8 atheros: ar2315-pci: convert to platform driver
Convert the PCI controller support code to platform driver and move it to
appropriate subdirectory.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:33 +00:00
John Crispin 611b47149f atheros: ar2315-pci: rename configuration symbol
Rename configuration symbol to be consistent with other MIPS machines.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:27 +00:00
John Crispin 15a0fe7fe1 atheros: ar2315-pci: update DMA offset macroses
Remove duplicated macroses, which define DMA offset (SDRAM baseaddress).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:21 +00:00
John Crispin f92da9dda6 atheros: ar2315-pci: update host bridge resources
It seems that the PCI controller does not support I/O ports, so remove
the ports range. Also correct the beginning of the memory range and its
size.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:15 +00:00
John Crispin 594d4ab810 atheros: ar2315-pci: rework the configuration access code
Use __raw_{read,write}l accessors and use Abort interrupt to detect a
configuration space read/write errors. The second change improves errors
detection, what improves the device presence detection and helps us to
avoid following (and similar) errors:

pci 0000:00:00.2: ignoring class 0x7e0200 (doesn't match header type 02)
pci 0000:00:00.2: bridge configuration invalid ([bus 03-90]), reconfiguring
pci 0000:00:00.2: not setting up bridge for bus 0000:01

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:09 +00:00
John Crispin a815cd075d atheros: ar2315-pci: rework interrupt handling
Add PCI IRQ controller to facilitate interrupt handling, move interrupts
initialization to the IRQ controller initialization from
pcibios_plat_dev_init() callback.

Also remove odd PCI dev configuration manipulation from pcibios_plat_dev_init()
callback.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:53:00 +00:00
John Crispin 77a4c61c8a atheros: ar2315-pci: rework host controller initialization
Explicitly configure PCI host controller, and do not expose it to PCI
subsystem. The PCI host controller acts as a usual PCI device connected
to the bus, but its configuration as a usual PCI device is senseless,
since the host controller provide access to _internal_ memory space for
_external_ device.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:55 +00:00
John Crispin 0390584332 atheros: ar2315-pci: cosmetic changes
- add comment, which briefly describes PCI controller features and
   Fonera 2.0g schematics.
 - rename several functions and structures, to make it clear that this
   code only for AR2315 chips.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:51 +00:00
John Crispin 1ded17c7b8 atheros: ar2315-pci: remove odd locking in PCI config space access function
Caller (generic PCI code) already do proper locking so no need to add
another one here.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:46 +00:00
John Crispin 9427a379f8 atheros: remove odd ATHEROS_AR2315 config symbol dependencies
Remove options which already selected by ATHEROS_AR231X on which
ATHEROS_AR2315 depends.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:42 +00:00
John Crispin 8606fe1b3d atheros: various space related changes
- remove odd blank lines
 - remove odd spaces after casts
 - fix alignment

 No functional changes.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:36 +00:00
John Crispin 88b1a1983a atheros: rework and cleanup board initialization
- remove odd flags and branching
  - add __init mark
  - make shorter variables names
  - returns true or false from boolean functions
  - unwrap short function declarations
  - unwrap quoted string
  - rename macroses with names in CamelCase

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:26 +00:00
John Crispin 97a5d59817 atheros: update ether addresses handling
- use ether_foo() routines to work with addresses
 - use ETH_ALEN inplace of magic '6'

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:21 +00:00
John Crispin 2113b49116 atheros: remove useless includes
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:14 +00:00
John Crispin e66c3b8925 atheros: ar231x-eth: remove useless IOCTL handlers
These IOCTLs handled in the core now.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:07 +00:00
John Crispin 02d37cc0e7 atheros: ar2315-spiflash: use mutex inplace of spinlock
Use mutex inplace of spinlock to make code simple, also call
mutex_{lock,unlock} explicitly to avoid sparse warning about context
imbalance.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:52:00 +00:00
John Crispin 5471f2816d atheros: ar2315-spiflash: update initialization
- fill module metadata
  - remove odd module_{init,exit}

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:51 +00:00
John Crispin 0dcf34e7f4 atheros: ar2315-spiflash: use devm_* API to simplify the code
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:46 +00:00
John Crispin 692156cc12 atheros: remove useless return
Remove useless void function return.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:39 +00:00
John Crispin 52c3272bda atheros: remove FSF mailing address
Remove FSF mailing address as suggested by checkpach and place license
URL.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:33 +00:00
John Crispin de8e11ca84 atheros: add blank line after declarations
as suggested by checkpach.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:26 +00:00
John Crispin a52aec95f4 atheros: use static keywork for local code
Make PCI IRQ handler and several structures static as suggested by
sparse.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:10 +00:00
John Crispin bf53842fa3 atheros: use NULL instead of plain integer
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:51:05 +00:00
John Crispin ea543bff4e atheros: add missing include
Missing this headers cause several sparse "symbol 'foo' was not
declared. Should it be static?" warnings.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:58 +00:00
John Crispin ea4d8f59c8 atheros: avoid extern prototypes
Avoid using of extern prototypes as suggested by checkpatch.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:53 +00:00
John Crispin 0547b47537 ralink: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:46 +00:00
John Crispin 6dac0c0872 lantiq: update 3.14 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 17:49:57 +00:00
Luka Perkov e5441232a8 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 21:40:19 +00:00
Felix Fietkau a315f10549 atheros: enable the low_mem flag to better deal with 16M RAM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 13:50:10 +00:00
Felix Fietkau cc1bd10ed4 ar71xx: ack completed tx descriptors only after the full frame has been completed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 12:56:24 +00:00
Luka Perkov a01bb4f1af imx6: fix image build for Generic profile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-09 21:15:49 +00:00
Hauke Mehrtens b36f776369 kernel: drop 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:55:36 +00:00
Hauke Mehrtens 2f47b07c14 gemini: drop kernel 3.9 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:55:00 +00:00
Hauke Mehrtens af2aa0ba4c gemini: switch to kernel 3.10
This switches to kernel 3.10 that was prepared by Hauke in r41531 :
    gemini: add support for kernel 3.10

    This is compile tested only, please run test and report back.

I've simply checked if it still compiles, unfortunately we didn't get
any feedback for this target.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:54:22 +00:00
Hauke Mehrtens 216c01973c omap: add kernel 3.14 support
It has been compile-tested only so far. Please give it a try.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:53:01 +00:00
Hauke Mehrtens 347649a7ee kernel: add bcma patches sent upstream but not pushed yet
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:50:53 +00:00
Hauke Mehrtens 6ed55cedbd kernel: update bcma to the version from wireless-testing master-2014-09-04 tag
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 19:50:11 +00:00
John Crispin f0f9e6052f ralink: dwc_otg->dwc2
the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 17:33:16 +00:00
John Crispin 3bafd52ff5 ralink: add dwc2 device_reset() call
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 17:32:52 +00:00
John Crispin f7c9bef0e6 lantiq: add ath9k led pin support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 14:29:18 +00:00
Zoltan HERPAI 2968cda73e sunxi: re-add lradc driver in 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 07:50:03 +00:00
Felix Fietkau 85666bdac6 ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.

So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit.  This patch implements the
former solution.

Signed-off-by: Harald Welte <laforge@gnumonks.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:45:32 +00:00
Felix Fietkau 327dfd03a4 ar71xx: re-enable descriptor splitting on ar716x after the previous bugfixes (#13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:48 +00:00
Felix Fietkau 3a2661330b ar71xx: fix off-by-one error in packet descriptor splitting (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:44 +00:00
Felix Fietkau b083d521df ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:39 +00:00
Felix Fietkau 689e691766 atheros: remove linux 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 17:51:35 +00:00
Zoltan HERPAI 3753c10940 sunxi: bump kernel to 3.14.16
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:59:06 +00:00
Zoltan HERPAI f1dd5ef13d sunxi: update pcDuino3 profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:57:08 +00:00
Zoltan HERPAI 7c411b6ce9 sunxi: update Bananapi profile to the new u-boot
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-06 15:23:30 +00:00
Nicolas Thill ba4392256f uml: bump to 3.14.16
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-05 22:02:09 +00:00
Florian Fainelli dfd6f35a8d at91: build images for AT91SAMA5D3XPLAINED
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:11:25 +00:00
Florian Fainelli fef5fbe680 at91: add SAMA5D3 subtarget
Add a subtarget for Atmel's SAMA5D3 Cortex-A5 based SoCs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:11:11 +00:00
Florian Fainelli bddb362803 at91: move legacy Kconfig options to subtarget
Some Kconfig options are only relevant for the legacy platforms, move
them where they belong

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:10:59 +00:00
Florian Fainelli 62d294011e at91: switch to 3.14
We need a new kernel version to support Cortex-A5 based platforms such
as SAMA5GD3.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:10:47 +00:00
Florian Fainelli 9347de30ec at91: add 3.14 support
Add support for Linux 3.14 for the Atmel's AT91 platform.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:10:18 +00:00
Florian Fainelli e244d02a5b at91: move 3.10 specific files and patches
In preparation for adding 3.14 kernel support, move files and patches to
a separate per-version directory since some of them will have
incompatible changes (e.g: dts)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:51 +00:00
Florian Fainelli 00dc7e64d9 at91: add Kconfig symbol for CONFIG_USB_ATMEL_USBA
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:36 +00:00
Florian Fainelli 68304e5bf3 at91: fix typo on Calao
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:09:14 +00:00
Florian Fainelli f3d1d7c5e6 at91: create a legacy subtarget
In preparation for adding SAMA5D3 support, move the legacy ARMv5 based
platforms to a separate subtarget.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-03 03:08:51 +00:00
Felix Fietkau 98af970617 omap: remove 3.12 kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 17:00:46 +00:00
Felix Fietkau d032df6d9e cns3xxx: support isolated PCI interrupts on newer Laguna PCBs
The cns3xxx uses irq61 for pcie0_intr which in the case of a PCIe-to-PCI
bridge ends up combining INTA/B/C/D on a single ARM CPU interrupt. This is
not optimal when you have multiple cores. To overcome this limitation an
enhancement was made on newer Laguna PCB's that support miniPCI cards
to route the INTA/B/C/D signals to unique external ARM CPU interrupts which
can help balance CPU core utilization and in some cases increase overall
system performance or responsiveness.

For more details see:
 http://trac.gateworks.com/wiki/multicoreprocessing#PCIInterruptsteering

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-02 16:44:40 +00:00
Felix Fietkau 02111e915c sdk: keep $(STAGING_DIR)/usr/bin, at least curl needs it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 22:34:37 +00:00
Felix Fietkau 954723a0a2 imagebuilder: remove postinst files before generating image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-31 11:06:31 +00:00
John Crispin 3651b3452d ipx806x: bump to 3.14.16
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:30 +00:00
John Crispin 50bbe0d6ba target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:18 +00:00
John Crispin a297ec8e13 ipq806x: Add support for IPQ806x chip family
Patches are generated using the "format-patch" command from the
following location:
*https://www.codeaurora.org/cgit/quic/kernel/galak-msm/log/?h=apq_ipq_base
*rev=0771849495b4128cac2faf7d49c85c729fc48b20
Patches numbered 76/77/102/103 have already been integrated in 3.14.12,
so they're not in this list.

All these patches are either integrated are pending integration into
kernel.org, therefore these patches should go away once the kernel
gets upgraded to 3.16.

Support is currently limited to AP148 board but can be extended to other
platforms in the future.

These changes do not cover ethernet connectivity.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:32:58 +00:00
Felix Fietkau 9f7cb06591 ar71xx: disable ethernet descriptor splitting for now, as it seems to cause tx hangs in some setups
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:11:41 +00:00
Florian Fainelli b3ae8e890e kirkwood: fix typos on DEBUG_LL_UART_*
We were prompted for which DEBUG_LL_UART implementation we want, fix the
typos such that the build continues.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 00:32:05 +00:00
Felix Fietkau 5e999d80ce ar71xx: select m25p80 support instead of spi support where used by mach files (#17699)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 21:10:39 +00:00
Felix Fietkau bcbb22a745 ar71xx: split packets into multiple descriptors on ar716x
This improves performance when doing concurrent rx/tx on a single
ethernet MAC, e.g. when routing between VLANs.

Fixes #13072

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-29 19:42:08 +00:00
John Crispin 329599d565 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 09:19:56 +00:00
John Crispin 6df3c5e310 ar71xx: add Support for RB2011UiAS-2HnD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:45 +00:00
John Crispin 147712018c lantiq: BTHOMEHUBV2B use bigger mtd partition for kernel
The bb-rc3 image for the BTHOMEHUBV2B is too big for its
mtd partition. This patch corrects the partition sizes in
the device tree. This patch should really go in before
bb-final, otherwise the BTHOMEHUBV2B images won't be useable.
I do apologise for not spotting this straight away.

Many thanks,

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:27:41 +00:00
John Crispin 6a0b094558 ramips: unbreak i2c for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:05:36 +00:00
Luka Perkov ef2c284ed1 kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 17:14:09 +00:00
Zoltan HERPAI d0d3be5d82 sunxi: initial 3.14 patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-27 12:09:46 +00:00
John Crispin f0d235bb34 ralink: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 13:12:12 +00:00
Felix Fietkau 72ee1edd7d target/toolchain: strip files, leave out the initial gcc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 12:32:51 +00:00
Luka Perkov 5060d1a237 imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:49 +00:00
Luka Perkov 69db25c816 kernel: 3.14: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:48 +00:00
Luka Perkov 0fa1a7271a kernel: 3.14: backport for igb driver resolving a driver crash
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:47 +00:00
Luka Perkov 4597d3cd3b imx6: kernel: backport upstream fix for IMX6DL 800MHz speed grade
A previous backported patch that adds freq/voltage operating points for the
IMX6DL processor can cause hang/crash (general instability) on IMX6DL
processors in the industrial/automative speed grades as they don't support
1GHz operation.

This adds another backported patch from mainline that uses IMX6 fuse settings
to properly remove invalid operating points for the particular CPU grade used.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 21:50:43 +00:00
John Crispin bea4338ed0 ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:13 +00:00
John Crispin 75682e78bf ralink: a few 3.14 related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:09 +00:00
John Crispin 9ed14a5233 ralink: fix mt7620 ohci 3.14
the ohci phy was not reset properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:05 +00:00
John Crispin 999bf69541 ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:01 +00:00
John Crispin 96657d8737 ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:30:57 +00:00
John Crispin 028ad9f1cd kernel: add own Kconfig for OpenWrt mtdsplit drivers
There are pretty many OpenWrt patches against mtd subsystem resulting
in a bit of mess and growing maintenance cost.
My idea is to use an extra "mtdsplit" directory with OpenWrt specific
files (including Kconfig).
This is the first step to achieve this. This patch adds a "mtdsplit"
directory with Kconfig and replaces 4 patches with a single one.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:30:44 +00:00
John Crispin f6c4ee7ac0 ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:58 +00:00
John Crispin 545045db6b ar71xx: enable sysupgrade for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:54 +00:00
John Crispin 6c505b7533 ramips: enable second SPI for VoCore
This patch enables the second SPI as spidev and also fixes some typos.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:46 +00:00
John Crispin 724cfaaddc ramips: second spi device on rt5350
This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:42 +00:00
Hauke Mehrtens 49a8887214 bcm53xx: update bcma device tree intergeneration and fix nvram parsing
This fixes lots of sparse and checkpatch errors and extends the 
documentation.

This also fixes a problem in the nvram parser, it now detects the 
correct nvram on my Netgear R6250.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-24 15:57:49 +00:00
Florian Fainelli 539e1f880b kernel: remove obsolete 322-ppc4xx-crypto-compile-fix.patch patches
Upstream commit c11eede powerpc: add missing explicit OF includes for ppc was
included in 3.13 and onwards, hence making those patches obsolete.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-23 02:42:03 +00:00
Hauke Mehrtens 6d6b245249 bcm53xx: add bcm53xxspiflash driver for SPI flashes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 21:11:04 +00:00
Hauke Mehrtens 63fbe5f83b bcm53xx: backport more spi-nor patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 21:10:29 +00:00
Jonas Gorski 68c0942be4 brcm63xx: Add DT support for P870HW-51a
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:59 +00:00
Jonas Gorski 6e11bb2ea8 brcm63xx: Add DT support for HG553
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix linux partition length]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:54 +00:00
Jonas Gorski e906c851e9 brcm63xx: Add DT support for HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix nvram partition offset]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:46 +00:00
Jonas Gorski ec95cb410a brcm63xx: Add DT support for A4001N
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:43 +00:00
Jonas Gorski 6bf8cb672b brcm63xx: Add DT support for A4001N1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:40 +00:00
Jonas Gorski 5771199a96 brcm63xx: Add DT support for WAP-5813n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:37 +00:00
Jonas Gorski 77fbee7119 brcm63xx: Add DT support for VR-3025un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:34 +00:00
Jonas Gorski 67f88552ff brcm63xx: Add DT support for VR-3025u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:32 +00:00
Jonas Gorski 21d5dba7ad brcm63xx: Add DT support for AR-5387un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:28 +00:00
Jonas Gorski 2d4ba17d54 brcm63xx: Add DT support for AR-5381u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:18 +00:00
Jonas Gorski 364a80bb11 brcm63xx: Add DT support for CT-6373
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:14 +00:00
Jonas Gorski 89f205b198 brcm63xx: Add DT support for CT-5365
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: make linux partition writable]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:10 +00:00
Jonas Gorski 330287328c brcm63xx: use DT for partitions on SPW500V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:28:01 +00:00
Jonas Gorski 66f3f87e6c brcm63xx: dts: fix spelling of "bank-width"
Fixes pflash registration through DT for 6338/6345/6348.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:27:56 +00:00
Jonas Gorski 08c8aced28 brcm63xx: dsl-274xb-c: linux partition should not be read-only
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 11:27:44 +00:00
John Crispin 7e47cb16bd ramips: fix OMNI-PLUG.dts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 06:41:27 +00:00
Hauke Mehrtens 97108f1b53 bcm53xx: add SPI controller driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 20:14:06 +00:00
Hauke Mehrtens ee464c33a2 bcm53xx: backport spi nor code form kernel v3.17-rc1.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 20:12:36 +00:00
Hauke Mehrtens 3ba033ed1b kernel: update bcma to code from v3.17-rc1
This is needed for some new patches.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-19 20:06:24 +00:00
Hauke Mehrtens c41d5581c1 kernel: 3.14: update bcm47xxpart
It it used by brcm47xx and bcm53xx targets, so put patches in generic.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:57:54 +00:00
Jonas Gorski d2fc14ca6c brcm63xx: enable fallback sprom for Speedport W500 V
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:45 +00:00
Jonas Gorski 574299cf25 brcm63xx: tag images/dtbs with profiles
This prevents generating every supported image, except for de "Default" profile.
Also fixes Neufbox 6 image generation.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:42 +00:00
Jonas Gorski 8f72056123 brcm63xx: add profiles for DTB supported devices
Remove generic profiles and add profiles for each DTB supported device.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:40 +00:00
Jonas Gorski 927414af4e brcm63xx: move generic profiles to top dir and remove smp profiles
Use generic profiles for brcm63xx instead of having similar profiles for
each subtarget.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:37 +00:00
Jonas Gorski a8b85da981 brcm63xx: simplify HG556a image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:34 +00:00
Jonas Gorski 9ea86de16b brcm63xx: fix HG556a boards and remove fallback board
This changes board info to match the Wiki
http://wiki.openwrt.org/toh/huawei/hg556a, removes the no longer needed
fallback board and fixes HG556 Ralink eeprom extraction.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: rename partitions instead]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:50:29 +00:00
Hauke Mehrtens 709aa589d4 brcm47xx: image: build alternative TRX using less optimized LZMA
There is a group of devices that lzma-loader doesn't work with. They
simply hang at "Starting program at 0x80001000" which is really hard to
debug and we didn't find any solution for this for years.

Broadcom doesn't use lzma-loader on these devices anyway. They decided
to drop lzma-loader and use less optimal LZMA compression that can be
handled by CFE itself (it doesn't use dictionary).

So support these devices we will need kernel compressed with different
parameters and trx without a loader.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 21:00:55 +00:00
Hauke Mehrtens 49cb5e4fe6 brcm47xx/bcm53xx: improve description
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 20:29:26 +00:00
Hauke Mehrtens 9091a09f22 bcm53xx: remove kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 20:28:53 +00:00
Hauke Mehrtens 410104415b brcm47xx: update to kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 20:28:21 +00:00
John Crispin ddd46bfee0 ramips: add omni plug leds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 16:09:21 +00:00
John Crispin 3d2aca3002 ramips: Add support for Omnima MiniPlug
This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash

Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 16:06:48 +00:00
John Crispin 743beb18ff ramips: fix switch config for Edimax 3G-6200n
Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:04 +00:00
John Crispin b73f69c203 ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC
This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:00 +00:00
John Crispin 568b0f9dd3 ralink: clean up HAME profiles, remove unnecessary packages.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:46 +00:00
John Crispin b8834bbbcd ramips: add mpr-a1 to default profile
Add hame mpr-a1 to default ramips profile.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:43 +00:00
John Crispin d27b8331d4 ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:39 +00:00
John Crispin d3524c7662 ar71xx: build factory image for EnGenius ESR900 and ESR1750
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:34 +00:00
John Crispin 6e787b6f14 lantiq: update to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:30 +00:00
John Crispin a7b7f7d885 octeon: update to 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:24 +00:00
John Crispin da5540a0f0 ramips: make use of the new board detection layer
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:20 +00:00
John Crispin 762dc34e67 ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:14 +00:00
John Crispin 56bcd680bd lantiq: generate unique ARV7519RW22 firmware
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:11 +00:00
John Crispin be4a26d8b1 lantiq: add support for xrx200 firmware depending on soc type
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:08 +00:00
John Crispin 5757af7c97 lantiq: export soc type
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:59 +00:00
John Crispin d0400dfc43 lantiq: improve ARV7519RW22 support
- use full board name
- rename uboot-env partition
- add dsl_fw partition
- remove unneeded pinmux groups
- move gigabit ethernet to LAN
- load mac address from mtd

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:56 +00:00
John Crispin 262de18485 ramips: add a workaround to fix failsafe on RT5350
Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:52 +00:00
John Crispin 5c9513e815 ramips: enable additional GPIOs on HAME MPR-A1
According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:48 +00:00
John Crispin b4e0e32c57 ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they have the same flash layout
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:45 +00:00
John Crispin ff9e0a51d2 ralink: add back the gpio_export_named() patch for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:33 +00:00
Florian Fainelli 7e958dede6 adm8668: revert changeset 34554
The conversion was not 100% correct and leads to u-boot failing to
verify the CRC, revert that change for now.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-16 18:09:31 +00:00
Florian Fainelli 5d44c5775f ar7: remove 972-cpmac_fixup patch
This patch is causing more harm than good on most AR7 routers out there,
better have no manageable switch rather than no ethernet connection, at
least for now.

Fixes #16523, #5927

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-16 17:32:46 +00:00
Hauke Mehrtens 0ce794dffb brcm47xx: image: update list of Netgear WNR* firmwares
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-14 21:22:17 +00:00
Hauke Mehrtens 685e756873 brcm47xx: fix brcm47xx.legacy build
we should check for ssb here.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-14 21:21:27 +00:00
Luka Perkov 4cbb181a87 imx6: update kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:15 +00:00
Luka Perkov e859c9bc08 imx6: kernel: add GW5520 support
The GW5520 is a small form-factor single-board computer with the following
features:
 * 70x100mm form-factor
 * IMX6DL 800MHz SoC (IMX6Q optional)
 * 512MB 32bit DDR3 SDRAM (up to 2GB optional)
 * 256MB NAND FLASH (up to 2GB optional)
 * Gateworks System Controller
 * 2x front-panel Intel i210 GbE adapters with passive PoE support
 * 2x MiniPCIe sockets with USB support
 * 2x front-panel USB
 * 1x rear-panel full-size HDMI connector
 * 1x front-panel bi-color user LED
 * 1x front-panel user pushbutton
 * 1x rear-panel barrel jack for power
 * 1x Application connector with:
  * 2x TTL level UARTs
  * 10x TTL level Digital IO

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:13 +00:00
Luka Perkov 6b2145fca6 imx6: kernel: add GW16083 Ethernet Expansion Mezzanine support
The GW16083 Ethernet Expansion Mezzanine adds the following to supported
Gateworks baseboards:
 * 7-port Ethernet Switch
  * 4x RJ45 ports (ENET1-4) supporing 802.11af/at PoE (with optional PoE module)
  * 2x RJ45 ports or SFP module (ENET5-6) (auto-selected)

This series adds support for a phy driver that adds support for ENET5/ENET6
PHY adding initialization for those PHY's and a polling mechanism that detects
SFP insertion and configuration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:10 +00:00
Luka Perkov 7d82dc4a82 imx6: kernel: add GW16082 miniPCI Expansion Mezzanine support
The GW16082 miniPCI Expansion Mezzanine has the INTA/B/C/D IRQ's reversed
from the PCI standard. This will soon be resolved in the bootloader via
devicetree, but in the meantime this will work around the issue.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:06 +00:00
Luka Perkov a53ce5130c imx6: kernel: fix occasional link failure
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:04 +00:00
Luka Perkov 839ea7b5e0 imx6: kernel: backport an upstream pci hang fix
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:35:02 +00:00
Hauke Mehrtens 7fa5f2e250 bcm53xx: add b43 wifi support
Now it is possible to use b43 wifi.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:25:26 +00:00
Hauke Mehrtens 8d41fb6db2 bcm53xx: remove BCM4360 from PCI ids
bcma does not support this card and b43 hangs when probing this card.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-11 20:24:45 +00:00