aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: replace nvram_buf with a properly initialized arrayJonas Gorski2014-07-282-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* lantiq: fix dgn3500 and td8970 wifiJohn Crispin2014-07-282-29/+51
| | | | | | | | 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
* ramips: correct typo ubsphy -> usbphyJohn Crispin2014-07-283-3/+3
| | | | | | | | 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
* ramips: fix mode switch gpio for AsiaRF AWM eval boardJohn Crispin2014-07-283-3/+3
| | | | | | | | | | 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
* ramips: add ethernet macaddr to dts for AWM003-EVBJohn Crispin2014-07-281-0/+4
| | | | | | | | 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
* brcm63xx: 3.14: fix ath9k_pci_fixupJonas Gorski2014-07-283-3/+10
| | | | | | | | | | | | | | | | | | | 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
* lantiq: fix dgn3500 ethernetJohn Crispin2014-07-281-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for ADB P.DG A4001NJonas Gorski2014-07-277-0/+210
| | | | | | | 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
* brcm63xx: Add support for Huawei HG520vJonas Gorski2014-07-275-1/+130
| | | | | | | 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
* brcm63xx: Add support for ZyXEL P870HW-51a v2Jonas Gorski2014-07-276-1/+224
| | | | | | | 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
* brcm63xx: Add support for Comtrend VR-3025unJonas Gorski2014-07-276-0/+227
| | | | | | | | 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
* brcm63xx: Add support for Comtrend VR-3025uJonas Gorski2014-07-276-0/+227
| | | | | | | | 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
* octeon: enable usb and gpioJohn Crispin2014-07-271-1/+16
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: add gpio driverJohn Crispin2014-07-271-0/+207
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: add detection for edgerouter and edgerouter-proJohn Crispin2014-07-271-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: fix usb support on edge router proJohn Crispin2014-07-261-0/+22
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41842 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Kingston MLW221John Crispin2014-07-267-0/+135
| | | | | | | | | | 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
* ramips: ethernet mac cleanupJohn Crispin2014-07-2625-133/+85
| | | | | | | | | 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
* ramips: fix vlan configuration for asiarf avm003John Crispin2014-07-261-0/+1
| | | | | | | | | 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
* ramips: fix sysupgrade for asiarf awm003John Crispin2014-07-262-0/+4
| | | | | | | | | 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
* brcm47xx: don't create named switch_vlan sectionsHauke Mehrtens2014-07-261-2/+0
| | | | | | | | | | | | 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
* kernel: remove kernel 3.6Hauke Mehrtens2014-07-26168-38924/+0
| | | | | | | | | 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
* kernel: annotate bridge multicast backport patch with upstream commitsFelix Fietkau2014-07-241-0/+125
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport upstream bridge multicast snooping fixesFelix Fietkau2014-07-247-49/+899
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-2311-4/+44
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: refresh patchesImre Kaloz2014-07-231-23/+15
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41812 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix gpio mapping on MZK-750DHPJohn Crispin2014-07-231-1/+18
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.John Crispin2014-07-231-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix LED configuration for HiWiFi-HC6361.John Crispin2014-07-231-1/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to version master-2014-07-22Hauke Mehrtens2014-07-2214-56/+2067
| | | | | | | | | | 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
* ramips: add a profile for AWM003John Crispin2014-07-223-1/+72
| | | | | | | | 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
* ar71xx: fix WAN MAC setup on dir-825-c1John Crispin2014-07-211-1/+1
| | | | | | | | 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
* ar71xx: Register reset button on UBNT AirGWJohn Crispin2014-07-211-1/+16
| | | | | | | | 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
* ar71xx: Fix GL.iNet WLAN LEDJohn Crispin2014-07-211-1/+1
| | | | | | | | 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
* target/linux/*/image/Makefile: eliminate more LINUX_DIR usersJohn Crispin2014-07-212-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*/image/Makefile: use new dts path variableJohn Crispin2014-07-2112-20/+20
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-2110-19/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.10 patchesJohn Crispin2014-07-2012-40/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41777 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to 3.10.49John Crispin2014-07-2028-75/+27
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create profile and build image for the OpenMesh OM5P boardJohn Crispin2014-07-202-1/+13
| | | | | | | | 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
* ar71xx: enable sysupgrade for the OpenMesh OM5PJohn Crispin2014-07-202-3/+10
| | | | | | | | 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
* ar71xx: add user-space support for the OpenMesh OM5PJohn Crispin2014-07-203-0/+11
| | | | | | | | 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
* ar71xx: add kernel support for the OpenMesh OM5P boardJohn Crispin2014-07-203-0/+161
| | | | | | | | 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
* ramips: fix mac address partitions on ASL-26555John Crispin2014-07-202-9/+8
| | | | | | | | | 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
* ar71xx: add RB91x boards to uci-defaults 02_networkJohn Crispin2014-07-201-0/+4
| | | | | | | | 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
* ar71xx: Add UBNT airGateway supportJohn Crispin2014-07-206-1/+87
| | | | | | | | | | | 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
* orion: Update kernel to 3.10.44Hauke Mehrtens2014-07-208-89/+67
| | | | | | | | | | | | | | | 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
* x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, ↵Felix Fietkau2014-07-201-16/+10
| | | | | | | | 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
* [ar71xx]: extract and fixup the board.bin on the archerImre Kaloz2014-07-191-0/+13
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pxa: add support for kernel 3.10Hauke Mehrtens2014-07-187-0/+1721
| | | | | | | | | 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