Commit Graph

12266 Commits (dbb77e39a07a86b18ecc4ce27bb2841e0a099c9d)

Author SHA1 Message Date
Felix Fietkau 980e9b5fc2 atheros: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41874
10 years ago
Jonas Gorski b723119385 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>

SVN-Revision: 41861
10 years ago
John Crispin c21a20cd78 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>

SVN-Revision: 41860
10 years ago
John Crispin 6fb04ff871 ramips: correct typo ubsphy -> usbphy
This appears to be a typo.

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

SVN-Revision: 41859
10 years ago
John Crispin 6f6dc62ca2 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>

SVN-Revision: 41858
10 years ago
John Crispin 636f2b83e6 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>

SVN-Revision: 41857
10 years ago
Jonas Gorski 042fb8eb57 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>

SVN-Revision: 41856
10 years ago
John Crispin 3836d40a8a lantiq: fix dgn3500 ethernet
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41854
10 years ago
Jonas Gorski 1cb1041c55 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>

SVN-Revision: 41852
10 years ago
Jonas Gorski 3209fb968e brcm63xx: Add support for Huawei HG520v
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41851
10 years ago
Jonas Gorski c27cb6e0fd 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>

SVN-Revision: 41850
10 years ago
Jonas Gorski b26139eb3f 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>

SVN-Revision: 41848
10 years ago
Jonas Gorski a669d2c528 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>

SVN-Revision: 41847
10 years ago
John Crispin 8c57e2d888 octeon: enable usb and gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41846
10 years ago
John Crispin 43ee42bd05 octeon: add gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41845
10 years ago
John Crispin 13445d2576 octeon: add detection for edgerouter and edgerouter-pro
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41844
10 years ago
John Crispin 694295e7be octeon: fix usb support on edge router pro
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41842
10 years ago
John Crispin 5b4abf87d7 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>

SVN-Revision: 41841
10 years ago
John Crispin b77e92e020 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>

SVN-Revision: 41839
10 years ago
John Crispin 443aee86bf 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>

SVN-Revision: 41838
10 years ago
John Crispin 08fb5fb326 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>

SVN-Revision: 41837
10 years ago
Hauke Mehrtens 7a3b3b9d73 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>

SVN-Revision: 41835
10 years ago
Hauke Mehrtens 009e36806b 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>

SVN-Revision: 41834
10 years ago
John Crispin caa671d873 imagebuilder: fix typo that copied grub to the wrong folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41824
10 years ago
Felix Fietkau ea76a0b78e kernel: annotate bridge multicast backport patch with upstream commits
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41819
10 years ago
Felix Fietkau dd7650f67c kernel: backport upstream bridge multicast snooping fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41817
10 years ago
Imre Kaloz dc628f2e08 add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41814
10 years ago
Imre Kaloz 039fe23f8e refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41812
10 years ago
John Crispin 0b5b8de818 ramips: fix gpio mapping on MZK-750DHP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41811
10 years ago
John Crispin e5d4e5dee3 ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 41810
10 years ago
John Crispin 3bb8589787 ar71xx: fix LED configuration for HiWiFi-HC6361.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 41809
10 years ago
Hauke Mehrtens 0d3690a202 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>

SVN-Revision: 41804
10 years ago
John Crispin 2c356c4bb7 ramips: add a profile for AWM003
same as AWM002 but with 64mb RAM

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

SVN-Revision: 41797
10 years ago
John Crispin 4f5081c911 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>

SVN-Revision: 41795
10 years ago
John Crispin 6dd7875412 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>

SVN-Revision: 41794
10 years ago
John Crispin a440524f85 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>

SVN-Revision: 41793
10 years ago
John Crispin 8295b1f7f2 target/linux/*/image/Makefile: eliminate more LINUX_DIR users
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41792
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
John Crispin 941dab02d5 imagebuilder: copy dts folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41790
10 years ago
John Crispin eae9b2541a ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41788
10 years ago
John Crispin 2b48ee80f9 kernel: refresh 3.10 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41777
10 years ago
John Crispin ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
10 years ago
John Crispin 34c9bc0596 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>

SVN-Revision: 41775
10 years ago
John Crispin f68665ac1d 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>

SVN-Revision: 41772
10 years ago
John Crispin e50abb5d53 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>

SVN-Revision: 41770
10 years ago
John Crispin f424994cbc 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>

SVN-Revision: 41769
10 years ago
John Crispin 4d22954db0 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>

SVN-Revision: 41768
10 years ago
John Crispin 7388053ba3 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>

SVN-Revision: 41767
10 years ago
John Crispin d19530c693 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>

SVN-Revision: 41766
10 years ago
Hauke Mehrtens e23f27b72d 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>

SVN-Revision: 41765
10 years ago