Commit Graph

13382 Commits (7d82dc4a822da3d708c566444de19f81c0b0137f)

Author SHA1 Message Date
Jonas Gorski 326925fcfa brcm63xx: replace nvram_buf with a properly initialized array
Use an empty nvram_header to tell wl that there is no nvram buf.
wl else might try to allocate huge amount of memory because the
bcm63xx's nvram does not match the expected structure and contains
random values.

Fixes the following warning on load of wl:

[    9.152000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x4c/0xc0()
[    9.160000] Modules linked in: wl(P+) wl_glue ipv6 gpio_keys_polled input_polldev button_hotplug input_core
[    9.168000] CPU: 0 PID: 366 Comm: kmodloader Tainted: P             3.10.49 #1
[    9.176000] Stack : 00000000 00000000 00000000 00000000 8034b77a 00000042 81ac9af0 c02e0000
[    9.176000]    8028bf70 802df31b 0000016e 8034af28 81ac9af0 c02e0000 c02e0000 81b39810
[    9.176000]    0000002d 8002c9d4 00000003 8002a3c8 802937a0 c02e0000 8028e528 81ab398c
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    9.176000]    00000000 00000000 00000000 00000000 00000000 00000000 00000000 81ab3918
[    9.176000]    ...
[    9.212000] Call Trace:
[    9.216000] [<800224b8>] show_stack+0x48/0x70
[    9.220000] [<8002a538>] warn_slowpath_common+0x78/0xa8
[    9.224000] [<8002a5f0>] warn_slowpath_null+0x18/0x24
[    9.228000] [<8008145c>] kmalloc_slab+0x4c/0xc0
[    9.236000] [<80097258>] __kmalloc+0x20/0x10c
[    9.240000] [<80e23b90>] osl_malloc+0x24/0x6c [wl]
[    9.244000] [<80e15288>] nvram_init+0x54/0x164 [wl]
[    9.252000] [<80e08668>] si_pci_fixcfg+0x60c/0x9e8 [wl]
[    9.256000]
[    9.260000] ---[ end trace b5c4dbb046cf3c83 ]---

Reported-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@41861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:31:37 +00:00
John Crispin 71c5da3ff7 lantiq: fix dgn3500 and td8970 wifi
ath9k failed to come up due to a bad mac addr

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:41 +00:00
John Crispin 75dce52759 ramips: correct typo ubsphy -> usbphy
This appears to be a typo.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:36 +00:00
John Crispin 9d70478008 ramips: fix mode switch gpio for AsiaRF AWM eval board
Fix a typo: gpio 21 is already used for the WPS led.  Gpio 20 is the
right one (tested) for the mode switch.  Confirmed that
/sys/kernel/debug/gpio state followed the position of the switch.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:32 +00:00
John Crispin 49f28a2ed3 ramips: add ethernet macaddr to dts for AWM003-EVB
Follows the pattern of http://patchwork.openwrt.org/patch/5970/

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:23 +00:00
Jonas Gorski 069c51534a brcm63xx: 3.14: fix ath9k_pci_fixup
Since kernel commit 928bea964827 ("PCI: Delay enabling bridges until
they're needed"), pci fixups are run with bridges (e.g. the pcie port)
disabled.

This causses hangs when ath9k_pci_fixup tries to manually enable the
device to apply the register fixups.

Fix this by enabling any parent bridges before trying to access the
device itself.

Fixes boot on DSL-274XB rev F1.

Reported-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 11:12:25 +00:00
John Crispin e6653d50fb lantiq: fix dgn3500 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 08:06:40 +00:00
Jonas Gorski 90acaccc18 brcm63xx: Add support for ADB P.DG 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@41852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 17:44:59 +00:00
Jonas Gorski 7de23d1c3c brcm63xx: Add support for Huawei HG520v
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@41851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 17:44:56 +00:00
Jonas Gorski dec33c39bf brcm63xx: Add support for ZyXEL P870HW-51a v2
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@41850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 17:44:53 +00:00
Jonas Gorski eaebd5f10b brcm63xx: Add support for Comtrend VR-3025un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 17:44:48 +00:00
Jonas Gorski 0d7130a68f brcm63xx: Add support for Comtrend VR-3025u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 17:44:45 +00:00
John Crispin 0a60f77b51 octeon: enable usb and gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 14:52:18 +00:00
John Crispin 1c25206baf octeon: add gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 14:52:12 +00:00
John Crispin 841ec684dc octeon: add detection for edgerouter and edgerouter-pro
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-27 14:52:07 +00:00
John Crispin d3680b6513 octeon: fix usb support on edge router pro
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:32 +00:00
John Crispin ece0d44fe5 ramips: add support for Kingston MLW221
This patch adds support for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:22 +00:00
John Crispin daa1915f32 ramips: ethernet mac cleanup
Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:09 +00:00
John Crispin ae01f16016 ramips: fix vlan configuration for asiarf avm003
The earlier r41797 change was missing this part, to enable the right
vlan configuration.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:01 +00:00
John Crispin 3de76baafb ramips: fix sysupgrade for asiarf awm003
Since the earlier r41797 change, the board_name for awm003 has been
miscalculated, and sysupgrade has been broken.  This seems to fix it.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:35:46 +00:00
Hauke Mehrtens 020ac4da2b brcm47xx: don't create named switch_vlan sections
It doesn't seem to be used anywhere, it's incompatible with other
targets and can be confusing. People may think they need to update
section name every time they change VLAN ID (well, even I was doing
that).

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 12:33:48 +00:00
Hauke Mehrtens fce8116a3b kernel: remove kernel 3.6
kernel 3.6 is not used by any target any more, remove it.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 12:23:56 +00:00
John Crispin 495ae89711 imagebuilder: fix typo that copied grub to the wrong folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 15:46:12 +00:00
Felix Fietkau 8be547dd34 kernel: annotate bridge multicast backport patch with upstream commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 09:19:37 +00:00
Felix Fietkau 36a95b7f87 kernel: backport upstream bridge multicast snooping fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 09:12:59 +00:00
Imre Kaloz 43939c3980 [ar71xx]: add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 12:47:25 +00:00
Imre Kaloz d6aa8fee47 [ar71xx]: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 11:46:42 +00:00
John Crispin 36c386697d ramips: fix gpio mapping on MZK-750DHP
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 07:49:54 +00:00
John Crispin 0ea149bba2 ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 07:49:50 +00:00
John Crispin 16b4614bfa ar71xx: fix LED configuration for HiWiFi-HC6361.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 07:46:07 +00:00
Hauke Mehrtens a3df2250cb kernel: update bcma and ssb to version master-2014-07-22
This is a backport of bcma and ssb from wireless-tesing/master tag 
master-2014-07-22.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 21:40:41 +00:00
John Crispin ea7c3bba1b ramips: add a profile for AWM003
same as AWM002 but with 64mb RAM

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 09:58:21 +00:00
John Crispin b8f1508db6 ar71xx: fix WAN MAC setup on dir-825-c1
Changeset 38690 broke the WAN MAC setup. Here's the fix.

Signed-off-by: Sebastian Kemper <sebastian_ml <at> gmx.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 19:26:54 +00:00
John Crispin 7912032227 ar71xx: Register reset button on UBNT AirGW
The airGateway has a reset button connected to GPIO 12, so we should use it.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 19:26:50 +00:00
John Crispin 37541620c0 ar71xx: Fix GL.iNet WLAN LED
LED script expects WLAN LED to be "gl-connect:red:wlan".

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 19:26:46 +00:00
John Crispin 8d8ae56844 target/linux/*/image/Makefile: eliminate more LINUX_DIR users
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:42:11 +00:00
John Crispin b31d078c16 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:42:06 +00:00
John Crispin 8909ffc7dd imagebuilder: copy dts folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:42:00 +00:00
John Crispin 79ad829c0f ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:41:52 +00:00
John Crispin 4e7b747260 kernel: refresh 3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:31:15 +00:00
John Crispin a7911af6ef kernel: update to 3.10.49
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:31:11 +00:00
John Crispin fefd51407f ar71xx: create profile and build image for the OpenMesh OM5P board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:31:05 +00:00
John Crispin b78451a490 ar71xx: enable sysupgrade for the OpenMesh OM5P
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:52 +00:00
John Crispin 3c22f66f58 ar71xx: add user-space support for the OpenMesh OM5P
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:44 +00:00
John Crispin 64b0959222 ar71xx: add kernel support for the OpenMesh OM5P board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:32 +00:00
John Crispin 1522d47c21 ramips: fix mac address partitions on ASL-26555
ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on  uboot-env corresponds to D-Link.
ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:28 +00:00
John Crispin 42334e25aa ar71xx: add RB91x boards to uci-defaults 02_network
The default case in 02_network is inappropriate for the MikroTik RouterBOARD 91x boards because they do not have a WAN port, so don't bother setting the non-existent eth1 interface as the WAN port.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:24 +00:00
John Crispin 3d8813c4ee ar71xx: Add UBNT airGateway support
This patch adds support for the Ubiquiti Networks airGateway.

Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel:
  https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:17 +00:00
Hauke Mehrtens 7e34703827 orion: Update kernel to 3.10.44
Update the kernel of the orion target to version 3.10.44.
Refresh orion config and patches to match the changes in the kernel

Tested on WRT350N-v2 device.

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>
[run make kernel_oldconfig, fold a01-dt2-fixes-for-3.3.patch into dt2-setup.c,
 make dt2-setup.c compile, fix harddisk subprofile]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 09:42:14 +00:00
Felix Fietkau 72c3ea603f x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 08:18:50 +00:00
Imre Kaloz 8db41bafab [ar71xx]: extract and fixup the board.bin on the archer
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 13:20:14 +00:00
Hauke Mehrtens 900401e5b0 pxa: add support for kernel 3.10
This is compile tested only, please run test and report back.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 20:45:49 +00:00
Hauke Mehrtens 174cd5589c cobalt: add support for kernel 3.10
This is compile tested only, please run test and report back.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 19:03:16 +00:00
Felix Fietkau b045adea9e kernel: mtd: allow partial block erase
This fixes error erasing partial mtd partition which does not start on
eraseblock boundary and allows using fconfig to configure redboot on
devices such as the Gateworks Cambria.

Signed-off-by: Maciej Skrzypek <maciej.skrzypek@flytronic.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 14:36:38 +00:00
Hauke Mehrtens 4a0919e7bb brcm47xx: fix switch detection with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 20:34:18 +00:00
Felix Fietkau 76cf18b0d0 kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling
Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not
compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:44:04 +00:00
Felix Fietkau 20421d29a6 atheros: update macroses names
Use AR2315_ prefix for macroses specific to AR2315/AR2316/AR2317 chips,
use AR5312_ prefix for macroses specific to AR5312/AR2312/AR2313 chips,
and use AR231X_ prefix for common macroses.

This patch should not cause any functional changes, only make clear
which macros is common and which macros is specific.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:55 +00:00
Felix Fietkau 3859f87475 atheros[uart]: pass only physical I/O mem address to 8250 driver
Pass only physical address to 8250 serial port driver and set flag to
remap I/O memory inside the driver. Also fix AR5312 UART base address
definition, which seems specified already mapped.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:52 +00:00
Felix Fietkau 4294c6bb6c atheros[uart]: use 32-bit aligned I/O
Use 32-bit aligned I/O and update base UART address (remove +3 offset).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:49 +00:00
Felix Fietkau 6c0e82e860 atheros[ar231x-eth]: pass PHY I/O memory via device resources
Pass PHY I/O memory region via platform resources and remap them
unconditionally.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:46 +00:00
Felix Fietkau ca397ef820 atheros[ar231x-eth]: pass phys address of I/O memory via platform res
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:43 +00:00
Felix Fietkau a740ee4ca3 atheros: simplify gpiolib realization
Each SoCs generation has own independent gpiolib realization, so we
have no reason to keep these realizations in semiuniversal form.
Following modifications are made:
 * Remove valid_mask field
 * Remove ar231x_gpio_chip structure
 * Rename AR2315_GPIO_CR to AR2315_GPIO_DIR
 * Fix count of AR5312 GPIOs
 * Simplify gpio_chip methods realization

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:39 +00:00
Felix Fietkau 7a33951800 atheros: use irq_set_chained_handler()
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:36 +00:00
Felix Fietkau b4c90d72b1 atheros: simplify AR2315 misc IRQ (un)masking
Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause
us to use switch-case to map IRQ number to ISR bit. Introduce AR2315
specific misc IRQs set and simplify interrupt (un)mask operation.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:33 +00:00
Felix Fietkau 382ba6ab0c atheros: rename some interrupt control handlers
Rename interrupt control handlers to be consistent with operation names
and add IRQ chips names.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:30 +00:00
Felix Fietkau 8c1855e6d5 atheros: move AR2315 misc IRQ dispatching to separate function
Align code with AR5312 realization.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:26 +00:00
Felix Fietkau c3be065643 atheros: pass UART IRQ number via function argument
UART IRQ number could be different for different SoCs, so make them
configurable.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:23 +00:00
Felix Fietkau 213e2a57b6 atheros[ar231x-eth]: move driver to atheros subdirectory
Move driver code to respective vendor subdirectory and fix config
symbol name.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:19 +00:00
Felix Fietkau d945d89a9c atheros[ar231x-eth]: update MAC and PHY reset method
Pass reset_set and reset_clear callback functions pointers via
platform_data instead of reset register address.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:16 +00:00
Felix Fietkau 9a025dd5c6 atheros[ar2315-wdt]: update I/O handling
* Pass iomem and IRQ via platform device resources
 * Remap iomem and use iowrite32 accessor function

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:13 +00:00
Felix Fietkau fcf32e702a atheros[ar2315-wdt]: update interrupt handling
Acknowledge watchdog interrupt in arch irq dispatcher and remove odd
watchdog enable call from probe function.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:10 +00:00
Felix Fietkau fb557d90cc atheros: use correct address space and pointer type for register access
Make sparse happy :)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:07 +00:00
Felix Fietkau 75cfa4a0c2 atheros[ar2315-wdt]: rename config symbol
Rename config symbol to AR2315_WDT to avoid confusion with other Atheros
SoCs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:36:03 +00:00
Felix Fietkau c02c7b6d67 atheros[ar2315-wdt]: update initialization
* update driver id to be consistent with other ar231x drivers
 * remove odd module_{init,exit}
 * add module metadata (description, name, etc.)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 16:35:59 +00:00
John Crispin fc41c343df ramips: soc wmac eeprom cleanup
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 10:55:31 +00:00
Hauke Mehrtens a92002146d ep93xx: add support for kernel 3.10
This is compile tested only, please run test and report back.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 21:29:16 +00:00
Hauke Mehrtens 88cc2c7414 kernel: add CONFIG_I2C_AU1550 config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 20:45:20 +00:00
John Crispin 77d8f955f8 lantiq: fix board_id/boardname for VGV7519
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 11:36:02 +00:00
Felix Fietkau 4d3ec8c151 au1000: remove linux 3.6 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-16 06:55:19 +00:00
Hauke Mehrtens 8a4f6324a4 au1000: update to kernel 3.10.44
This was tested by Bruno Randolf on au1000 (MTX-1)

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-15 22:03:10 +00:00
Hauke Mehrtens 71f6e265c4 brcm47xx: remove kmod-bgmac from profile
bgmac will be compiled into the kernel since r41594.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-15 21:57:13 +00:00
Hauke Mehrtens 0a3ca544c9 brcm47xx: fix LEDs on WRT54GL 1.1
Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-15 21:54:38 +00:00
Hauke Mehrtens 8e570d48b0 brcm47xx: fix special board handling for some devices
Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the 
kernel board detection are removed now.

This should close: #17111, #16968, #13202

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 22:16:19 +00:00
Hauke Mehrtens 3811c42566 brcm47xx: improve board detection for some devices
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 22:03:59 +00:00
Gabor Juhos f01dfc3281 ar71xx: add profile and build image for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 21:30:30 +00:00
Gabor Juhos 63a0695d5a ar71xx: add user-space support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 21:30:28 +00:00
Gabor Juhos 1b7feb924a ar71xx: add kernel support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 21:30:26 +00:00
John Crispin 96e1b2c447 lantiq: vgv7519 add missing wps label to dts
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 18:43:02 +00:00
John Crispin 7a53c25db1 ramips: basic support for Planex MZK-750DHP
some gpios are still missing.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 17:10:39 +00:00
John Crispin 5e24285604 ramips: squelch mdio debugging info on rt2880 ethernet
Use pr_debug rather than pr_info since it is only relevant
for debugging.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 17:05:40 +00:00
Gabor Juhos 69796a42c9 ar71xx: add profile and build image for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 16:03:37 +00:00
Gabor Juhos 287298b935 ar71xx: add user-space support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 16:03:35 +00:00
Gabor Juhos cb4dbb1eb6 ar71xx: add kernel support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 16:03:34 +00:00
Imre Kaloz c77b70f313 [mvebu]: mark the default WRT1900AC image "factory"
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 15:02:38 +00:00
Imre Kaloz b9f12a6289 [mvebu]: handle sysupgrade tar files on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 15:00:36 +00:00
Gabor Juhos 8ce92a1769 ar71xx: fix ALFA NETWORK's name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 11:10:00 +00:00
Gabor Juhos d389a460cc ar71xx: add profile and build image for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5715/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 10:25:53 +00:00
Gabor Juhos cb6fe2bf5b ar71xx: add user-space support for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 10:25:51 +00:00
Gabor Juhos 9e3f6712d0 ar71xx: add kernel support for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5714/
[juhosg:
  - drop nvram.c modifications,
  - create a separate kernel patch,
  - use ath79_setup_qca955x_eth_cfg helper,
  - merge esr900_{010,common}_setup functions,
  - statically init AR8327 pad configurations,
  - use pr_err instead of printk]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 10:25:51 +00:00
John Crispin 7cd8da5c84 lantiq: detect board in preinit state
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:52 +00:00
John Crispin dacbe3a582 ar71xx: add support for nanostation m xw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:43 +00:00
John Crispin 06f7becd18 ar8216: add new phyid 0x004dd043 (ar8326)
Used in ubiquity nanostation xw boards

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:39 +00:00
John Crispin 082806a4a4 ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:32 +00:00
John Crispin 6789a0e1d3 ramips: extract mac address from flash on WHR-600D board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:28 +00:00
John Crispin c431856e5c ramips: extract default lan_mac from eth0
The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:23 +00:00
Imre Kaloz 1a065560fb [mvebu]: use the full boardname for the wrt1900ac image
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 22:15:03 +00:00
Imre Kaloz 25d2e3230f [mvebu]: add sysupgrade support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 22:12:56 +00:00
Imre Kaloz b80600b663 [mvebu]: update wrt1900ac dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 22:11:43 +00:00
Gabor Juhos ca2f13b68b ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 19:44:00 +00:00
Gabor Juhos a033c69dbb ar71xx: add profile and build image for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 19:43:59 +00:00
Gabor Juhos 2d8fd186a8 ar71xx: add user-space support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 19:43:58 +00:00
Gabor Juhos cbb52f38d7 ar71xx: add kernel support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
[juhosg:
  - fix coding style in mach-esr1750.c,
  - rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 19:43:57 +00:00
Gabor Juhos 625bb6a712 ar71xx: add a helper function for setting up ETH_CFG register on QCA955x
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5839/
[juhosg: fix coding style]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 19:43:56 +00:00
Gabor Juhos a4ddc932a3 ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5838/
[juhosg:
  - fix coding style,
  - check the first and the last character of the MAC string
    instead of using the strchr() function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 19:43:54 +00:00
Gabor Juhos cd2257abac ar71xx: add profile and build image for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 18:21:09 +00:00
Gabor Juhos 5a79ff3c30 ar71xx: add user-space support for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5652/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 18:21:06 +00:00
Gabor Juhos 4304f21da1 ar71xx: add kernel support for GL-Inet V1 boards/routers
The GL-Connect GL.iNet v1 router is basically a TP-Link TL-WR703N with
more DRAM/Flash, 2x Ethernet ports and console/GPIO header in the same
small form-factor:
<http://www.gl-inet.com/w/?lang=en>

Moreover, the manufacturer is promoting the OpenWrt usage to replace
the original firmware and proposing patches against both AA and trunk:
<http://www.gl-inet.com/w/?p=398&lang=en>

This is a clean up of the original manufacturer GPLv2 patch by alzhao,
proposed to the list by Mark Janssen.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5273/
[juhosg:
  - remove user-space and image generation support, will be included
    from other patches,
  - fix coding style and drop superfluous comment in mach-gl-inet.c,
  - rename and refresh kernel patch,
  - adjust subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 18:21:04 +00:00
Gabor Juhos 7170324f77 ar71xx: Support for Mikrotik RB2011UiAS
The RB2011UiAS is almost exactly the same as the RB2011UAS, which is
already supported. Hardware-wise, it adds a passive power injector on
Eth10. Software-wise, Routerboot passes a different board name on the
kernel command line. Hence the need for a patch.

Not yet working:

* touchscreen: doesn't work on RB2011UAS either. The touchscreen itself
  seems to be driven by an ADS7843-compatible IC, but figuring out which
  GPIO pins it's connected to is work for the future.
* control of power injector: remains off. Probably also GPIO-controlled.

Signed-off-by: Soren Harward <stharward@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5841/
[juhosg: rename and refresh the kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 16:25:58 +00:00
Gabor Juhos f66188b67a ar71xx: select correct Kconfig symbol in the Mikrotik SXT Lite patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 16:25:57 +00:00
Gabor Juhos ec7367e470 ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 16:25:56 +00:00
Gabor Juhos 2998554fc2 kernel: sort Kconfig options in kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 16:25:54 +00:00
John Crispin 7bdf5bf8b6 ar71xx: add support for TP-LINK TL-WA860RE v1
New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 10:03:41 +00:00
John Crispin dab35cf385 ar71xx: added support for TL-WA830RE V2
Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-13 07:12:22 +00:00
Hauke Mehrtens 35c8c127b5 brcm47xx: deactivate ssb and old phy code for new devices
This deactivates ssb and G-PHY code in b43 for the mips74k profile in 
brcm47xx.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 15:39:31 +00:00
Jonas Gorski 12dab95f47 brcm63xx: update irq affinity code to latest version
Reduces code size a bit and sets affinity to boot cpu by default.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:47 +00:00
Jonas Gorski 6661431271 brcm63xx: base-files: order board names alphabetically
Restore alphatetical order in uci-defaults scripts and brcm63xx.sh

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:45 +00:00
Jonas Gorski a53c85e6c9 brcm63xx: Use leds script for Huawei HG556a and improve profile
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@41589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:43 +00:00
Jonas Gorski 2f3d81bb23 brcm63xx: Fix HW553 support
- adsl and lan leds are swapped.
- internetkey is labeled as hspa.
- enable status led and reset button for failsafe.
- use new leds script.
- fix switch configuration.
- remove enet0 from board_info.
- add profile.

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@41588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:39 +00:00
Jonas Gorski 2a2e220324 brcm63xx: Use model name for Comtrend 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@41587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:35 +00:00
Jonas Gorski 2f4a2f8889 brcm63xx: Use model name for Comtrend 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@41586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:33 +00:00
Jonas Gorski e3bf4378cc brcm63xx: Use model name for ADB P.DG A4001N1
This patch also makes use of the new leds script.

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@41585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 12:31:30 +00:00
John Crispin 8fbe1896f9 ramips: add support for WR8305RT board
Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 06:54:03 +00:00
John Crispin bcf21c1fd2 brcm2708: Use uci-defaults for network config
By using uci-defaults force_link is enabled, which fixes some link issues if ethernet cable isn't connected when LAN is initialized.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 06:50:21 +00:00
Luka Perkov c04ed164b0 kernel: update 3.14 to 3.14.12
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-11 13:28:44 +00:00
Luka Perkov 508f1c2dbc kernel: remove 3.12 support since none of the targets is using it
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:37:28 +00:00
John Crispin 8596ba6e34 imagebuilder: x86 fails to build inside the imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:02:31 +00:00
John Crispin cba7db1e96 ramips: add support for Zbtlink WA05 router
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:02:28 +00:00
John Crispin f97b4208d5 imx6: put kernel and dtb into rootfs by default
this will make the rc1 images boot with the default config.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:02:24 +00:00
Felix Fietkau 9cb74f0caa ar8216: disable EEE by default on AR8327 to fix stability issues (#14597)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 21:11:02 +00:00
Felix Fietkau f52e10c0ed octeon: fix edgerouter pro ethernet device probe order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:44:03 +00:00
John Crispin 0f59f0f358 target/linux/*: more dead package cleanups
found 2 more

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:15:50 +00:00
Felix Fietkau 96c1dae44c octeon: add basic board detection for UBNT EdgeRouter PRO
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:14:54 +00:00
John Crispin fb6da76b11 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:05:43 +00:00
Felix Fietkau 34711f941c octeon: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:28:37 +00:00
John Crispin e87aa5f568 lantiq: generate /tmp/sysinfo/lantiq_board_name if missing
Run lantiq_board_detect from lantiq_board_name and lantiq_board_model.

This was the one thing missing from r41474 for sysupgrade board
detection to work properly.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:43 +00:00
John Crispin 406e661fa4 lantiq: enable SysupgradeNAND for BTHOMEHUBV2B
Enables SysupgradeNAND for BTHOMEHUBV2B.

Depends on the following patches:
http://patchwork.openwrt.org/patch/5817/
http://patchwork.openwrt.org/patch/5848/
http://patchwork.openwrt.org/patch/5851/

Many thanks everyone for your help the last couple of days.

Ben

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:39 +00:00
John Crispin e4ec975b0a lantiq xway: disable gluebi and enable ubiblock
Disables gluebi and enables ubiblock on lantiq xway. Squashfs
images on nand use ubifs instead of jffs2 for the overlay.

I'll leave the equivalent patch for xrx200 to someone who has a
board to test.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:35 +00:00
John Crispin 8b5f212998 ar71xx: nbg6716: extract ath10k wifi board.bin
With help of this script the ath10k board.bin settings are loaded from
flash and saved to the ath10k firmware directory. The driver reads it
later in the boot process.

Signed-off-by: André Valentin <avalentin@marcant.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:23 +00:00
John Crispin 9de9667c6e ralink: wpa does not exist, use wpad-mini instead
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:19 +00:00
John Crispin e829dd51f4 target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:15 +00:00