aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: define status LED for the RB91x boardsGabor Juhos2014-02-232-0/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: register GPIO LEDsGabor Juhos2014-02-231-0/+51
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: add SPI device for the serial shift registerGabor Juhos2014-02-232-3/+63
| | | | | | | | | | | | | The RB91x boards are using a serial shift register connected to the SPI bus to drive some of the LEDs. Rework the board setup code to register a SPI device for that. This makes it possible to use the 'spi-74x164' driver to control the device. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/mikrotik: enable the 74x164 GPIO driverGabor Juhos2014-02-231-0/+1
| | | | | | | | | That will be used to drive the 74HC595 serial-in/parallel-out 8-bits shift register which can be found on some RouterBOARDs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve platform device support in the gpio-74x164 driverGabor Juhos2014-02-231-0/+74
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x-nand: rewrite to use GPIO APIGabor Juhos2014-02-233-115/+174
| | | | | | | | | Rewrite tha rb91x-nand driver to use GPIO API to modify the NAND control lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: register a gpio-latch platform deviceGabor Juhos2014-02-221-0/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/mikrotik: enable the GPIO latch driverGabor Juhos2014-02-221-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a generic GPIO latch driverGabor Juhos2014-02-224-0/+256
| | | | | | | | It will be used for the Mikrotik boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39697 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/mikrotik: enable small sector erase in the m25p80 driverGabor Juhos2014-02-221-0/+1
| | | | | | | | | | | The serial flash devices used on the ROuterBOARDs are supporting 4KiB erase blocks. Enable the small sector erase option in the m25p80 driver to avoid superfluous erase/write of adjacent blocks. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: spi-ath79: fix initial GPIO CS line setupGabor Juhos2014-02-222-2/+39
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh unaligned access hacks patchGabor Juhos2014-02-221-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sunxi: add dependency on sunxi to kmod-wdt-sunxiNicolas Thill2014-02-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gianfar: Fix reported number of sent bytes to BQLFelix Fietkau2014-02-221-0/+77
| | | | | | | | | | | | This is a backported patch for the gianfar ethernet driver used in TPLink 4900 v1. It is supposed to fix the error which show up in dmesg with: NETDEV WATCHDOG: eth0 (fsl-gianfar): transmit queue xy timed out Full upstream patch is at: http://patchwork.ozlabs.org/patch/271242 Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: Make b53_switch_init staticJonas Gorski2014-02-221-1/+1
| | | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4869/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* b53: Add BCM53128 switch supportJonas Gorski2014-02-223-2/+18
| | | | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4867/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix RG100A/DB120 usb port numberJonas Gorski2014-02-2251-75/+85
| | | | | | | | Set usbh ports to 2 to fix #15007. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix number of usb ports for HW556 variantsJonas Gorski2014-02-2211-18/+21
| | | | | | | | Don't only fix up the fallback board, but also all three variants. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add initial support for BCM963268BU_P300 reference boardJonas Gorski2014-02-223-2/+150
| | | | | | | | | Only netboot tested, so no images or now. GbE ports are only working in FE mode, and leds do not work. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add VW6339GU supportJonas Gorski2014-02-223-2/+128
| | | | | | | | | Completely untested except for booting from network; wan port only works in 10/HD, lan1 only in 100/FD. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix number of switch ports for BCM63168/63268Jonas Gorski2014-02-222-6/+10
| | | | | | | | | | | BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268 has two additional RGMII ports, making it 8. Fix this by checking the chip variant and applying an appropriate limit. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: F@ST2504n board support (image, base-files)Jonas Gorski2014-02-223-0/+9
| | | | | | | | Signed-off-by: Max Staudt <openwrt.max@enpas.org> Patchwork: http://patchwork.openwrt.org/patch/4730/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: F@ST2504n board supportJonas Gorski2014-02-226-7/+120
| | | | | | | | Signed-off-by: Max Staudt <openwrt.max@enpas.org> Patchwork: http://patchwork.openwrt.org/patch/4729/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add support for Asmax AR 1004g routerJonas Gorski2014-02-225-2/+79
| | | | | | | | | | Support for Asmax AR 1004g router Signed-off-by: Adrian Feliks <mexit@o2.pl> Patchwork: http://patchwork.openwrt.org/patch/4464/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL routerJonas Gorski2014-02-222-0/+19
| | | | | | | | | | | | | This adds profile and build image for Sagemcom F@st2704, using b43 driver. For WiFi to work properly BCMA fallback SPROM support patch must be applied (http://git.io/z1Ki8A). Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4212/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add userspace support for Sagemcom F@ST2704V2 ADSL routerJonas Gorski2014-02-223-1/+26
| | | | | | | | | | This adds userspace support for Sagemcom F@st 2704 router. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4215/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add kernel support for Sagemcom F@ST2704V2 ADSL routerJonas Gorski2014-02-229-14/+159
| | | | | | | | | | | | | This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4266/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: update Ventana dtsLuka Perkov2014-02-2020-1702/+1827
| | | | | | | | | | | Update the Ventana device-tree to match upstream: - Add IMX6Q/IMX6DL variants for GW54xx/GW53xx/GW52xx/GW51xx - align pinctrl with upstream - consolidate multiple patches into one Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: enable IMX6 watchdogLuka Perkov2014-02-202-2/+2
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet lossGabor Juhos2014-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | When the RB91x device uses a GbE link the connection suffers from packet loss: root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q PING 192.168.1.254 (192.168.1.254): 65507 data bytes --- 192.168.1.254 ping statistics --- 20 packets transmitted, 9 packets received, 55% packet loss round-trip min/avg/max = 4.570/4.815/4.999 ms Using a different PLL value fixes the issue. root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q PING 192.168.1.254 (192.168.1.254): 65507 data bytes --- 192.168.1.254 ping statistics --- 100 packets transmitted, 100 packets received, 0% packet loss round-trip min/avg/max = 4.449/5.413/13.870 ms Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for MikroTik RB951Ui-2HnDGabor Juhos2014-02-202-4/+85
| | | | | | | | | | | | | | | | | | | | | | | | I noticed that the patch at http://patchwork.openwrt.org/patch/4017/ for adding support for the MikroTik RouterBOARD 951Ui-2HnD had been abandoned because it wasn't generated and sent to the mailing list correctly and doesn't apply as a result. I have cleaned up this patch. When testing this on real hardware, I also noticed that wireless didn't work, so this patch fixes that as well. This patch applies cleanly to SVN 39392. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Patchwork: http://patchwork.openwrt.org/patch/4773/ [juhosg: - drop the 'rb951ui_wlan_init' function and rework the code to use the recently introduced rb95x_wlan_init function instead, - fix GPIO number of the port5 LED, - rename LEDs according to the standard LED naming conventions, and use 'rb' prefix in the names] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: improve fq_codel hashing for 6in4 6to4 801.ad and IPIP casesGabor Juhos2014-02-203-0/+74
| | | | | | | | | | | | | This is a backport of code to improve the quality of fq_codel hashing for 3.10 for some encapsulated protocols. Not needed in 3.11 and later. Patch-by: Dave Taht <dave.taht@bufferbloat.net> Patchwork: http://patchwork.openwrt.org/patch/4902/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: drop upstream rejected patchLuka Perkov2014-02-202-76/+0
| | | | | | | | http://article.gmane.org/gmane.linux.drivers.i2c/17891 Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 boardGabor Juhos2014-02-192-0/+12
| | | | | | | | Patch-by: TenNinjas <tenninjas@tenninjas.ca> Patchwork: http://patchwork.openwrt.org/patch/4850/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 boardGabor Juhos2014-02-195-2/+12
| | | | | | | | | | | Patch-by: TenNinjas <tenninjas@tenninjas.ca> Patchwork: http://patchwork.openwrt.org/patch/4849/ [juhosg: - use the Archer C7 specific LED setup instead of adding identical code] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the TP-Link TL-WDR4900 v2.0 boardGabor Juhos2014-02-192-4/+50
| | | | | | | | | | | | Patch-by: TenNinjas <tenninjas@tenninjas.ca> Patchwork: http://patchwork.openwrt.org/patch/4848/ [juhosg: - rename and refresh kernel patch, - merge the board setup code into mach-archer-c7.c and drop mach-tl-wdr49000-v2.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: move a lost CONFIG_CHARGER symbol to genericNicolas Thill2014-02-192-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sunxi: make REGMAP built-in (used by REGULATOR)Nicolas Thill2014-02-181-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/uml: update READMENicolas Thill2014-02-181-1/+1
| | | | | | invoking uml is now simplier, not need to setup console & serial git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh configs with kconfig.plGabor Juhos2014-02-183-8/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix unaligned access hacks for tcp timestampsGabor Juhos2014-02-181-1/+2
| | | | | | | | | | | | This missing bit of the hack saves hugely on instruction traps on tcp connections to ar71xx based routers. Patch-by: Dave Taht <dave.taht@bufferbloat.net> Patchwork: http://patchwork.openwrt.org/patch/4905/ [juhosg: adjust subject, refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR2200: fix mounting root fs problemGabor Juhos2014-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solves ticket #14356 <https://dev.openwrt.org/ticket/14356> Without this patch, UART output will show only 4 partitions: [ 0.740000] 4 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 4 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000050000 : "u-boot" [ 0.760000] 0x000000050000-0x000000070000 : "u-boot-env" [ 0.770000] 0x000000070000-0x0000007f0000 : "firmware" [ 0.790000] 0x0000007f0000-0x000000800000 : "art" and then linux complains :VFS: Cannot open root device "(null)" With this patch, UART out will show 7 partitions: [ 0.740000] 4 cmdlinepart partitions found on MTD device spi0.0 [ 0.750000] Creating 4 MTD partitions on "spi0.0": [ 0.750000] 0x000000000000-0x000000040000 : "u-boot" [ 0.760000] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.770000] 0x000000050000-0x0000007f0000 : "firmware" [ 0.780000] 2 netgear-fw partitions found on MTD device firmware [ 0.780000] 0x000000050000-0x00000014b440 : "kernel" [ 0.790000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.800000] 0x00000014b440-0x0000007f0000 : "rootfs" [ 0.810000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.820000] mtd: device 4 (rootfs) set to be root filesystem [ 0.830000] 1 squashfs-split partitions found on MTD device rootfs [ 0.830000] 0x000000340000-0x0000007f0000 : "rootfs_data" [ 0.840000] 0x0000007f0000-0x000000800000 : "art" This patch is tested against r39502 of trunk. Signed-off-by: Jonathan Chang <changcs@santos.ee.ntu.edu.tw> Patchwork: http://patchwork.openwrt.org/patch/4870/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for na930John Crispin2014-02-187-1/+181
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add gpio_uartf mux groupJohn Crispin2014-02-181-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix the gpio mode mappingJohn Crispin2014-02-181-0/+35
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 3.13: revert r39601 as the symbol is already thereZoltan HERPAI2014-02-171-1/+0
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 3.13: add missing NF_TABLES symbol - until someone packages itZoltan HERPAI2014-02-171-0/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 3.13: add missing symbolZoltan HERPAI2014-02-171-0/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39600 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: dockstar: remove sata from packagesLuka Perkov2014-02-161-1/+0
| | | | | | | | The dockstar doesn't have any sata ports. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add support for Seagate GoFlexNetLuka Perkov2014-02-162-0/+20
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39595 3c298f89-4303-0410-b956-a3cf2f4a3e73