aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 39642
* 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> SVN-Revision: 39641
* 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> SVN-Revision: 39640
* 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> SVN-Revision: 39639
* gcc: prevent the use of LDRD/STRD on ARMv5TEFelix Fietkau2014-02-193-0/+33
| | | | | | | | | | | | | | | | | These instructions are for 64-bit load/store. On ARMv5TE, the CPU requires addresses to be aligned to 64-bit. When misaligned, behavior is undefined (effectively either loads the same word twice on LDRD, or corrupts surrounding memory on STRD). On ARMv6 and newer, unaligned access is safe. Removing these instructions for ARMv5TE is necessary, because GCC ignores alignment information in pointers and does unsafe optimizations that have shown up as bugs in various places. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39638
* 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> SVN-Revision: 39637
* 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> SVN-Revision: 39636
* 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> SVN-Revision: 39635
* sunxi: move a lost CONFIG_CHARGER symbol to genericNicolas Thill2014-02-192-1/+1
| | | | SVN-Revision: 39634
* target/sunxi: make REGMAP built-in (used by REGULATOR)Nicolas Thill2014-02-181-0/+1
| | | | SVN-Revision: 39633
* target/uml: update READMENicolas Thill2014-02-181-1/+1
| | | | | | invoking uml is now simplier, not need to setup console & serial SVN-Revision: 39632
* toolchain: update build steps docNicolas Thill2014-02-181-6/+6
| | | | SVN-Revision: 39631
* mac80211: disable libertas-sd on uml targetNicolas Thill2014-02-181-1/+1
| | | | SVN-Revision: 39630
* uboot-envtools: pass target cflagsNicolas Thill2014-02-182-1/+14
| | | | SVN-Revision: 39629
* odhcp6c: readd userclass and vendorclassSteven Barth2014-02-181-0/+2
| | | | SVN-Revision: 39628
* kernel: refresh configs with kconfig.plGabor Juhos2014-02-183-8/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39627
* 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> SVN-Revision: 39626
* 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> SVN-Revision: 39625
* odhcp6c: add validation rules to proto handlerJohn Crispin2014-02-181-13/+11
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39624
* relayd: add uci validationJohn Crispin2014-02-181-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39623
* mac80211: add validation rulesJohn Crispin2014-02-181-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39622
* netifd: add validation supportJohn Crispin2014-02-182-9/+114
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39621
* hostapd: add validation rules to wireless handlerJohn Crispin2014-02-181-6/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39620
* ppp: add validation rules to proto handlerJohn Crispin2014-02-181-10/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39619
* comgt: add validation rules to proto handlerJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39618
* firewall3: update init.d script to make use of procdJohn Crispin2014-02-181-9/+49
| | | | | | | | add validation data Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39617
* ubox: logd did not register its config.reload trigger properlyJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39616
* base-files: split /etc/init.d/boot into 2 filesJohn Crispin2014-02-182-32/+52
| | | | | | | | this allows us to bind a procd trigger to system.@system[-1] Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39615
* netifd: update to latest git headJohn Crispin2014-02-181-2/+2
| | | | | | | | this adds support for proto and wireless handler adding uci validation rules Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39614
* procd: update to latest git headJohn Crispin2014-02-181-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39613
* procd: the helper script did not export all functions properlyJohn Crispin2014-02-181-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39612
* ralink: add support for na930John Crispin2014-02-187-1/+181
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39611
* ralink: add gpio_uartf mux groupJohn Crispin2014-02-181-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39610
* ralink: fix the gpio mode mappingJohn Crispin2014-02-181-0/+35
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39609
* authsae: update to latest versionJohn Crispin2014-02-181-3/+3
| | | | | | Signed-off-by: Stefan May <smay@4finger.net> SVN-Revision: 39608
* openssl: fix up PKG_DEPENDS. there are 2 missing CONFIG_ prefixeJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39607
* uci: update to latest version, adds preparation for validation support and ↵Felix Fietkau2014-02-181-2/+2
| | | | | | | | blobmsg int64 support Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39606
* odhcp6c: send reconfigure-accept again to be compliantSteven Barth2014-02-171-2/+2
| | | | SVN-Revision: 39605
* odhcpd: Fix RA interval + add support for prefixes > 64 and < 97Steven Barth2014-02-171-2/+2
| | | | SVN-Revision: 39604
* 3.13: revert r39601 as the symbol is already thereZoltan Herpai2014-02-171-1/+0
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39602
* 3.13: add missing NF_TABLES symbol - until someone packages itZoltan Herpai2014-02-171-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39601
* 3.13: add missing symbolZoltan Herpai2014-02-171-0/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39600
* cmake: upgrade to 2.8.12.2Luka Perkov2014-02-161-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39598
* netifd: work around dangling prefix kernel-routes (fixes #14963)Steven Barth2014-02-161-2/+2
| | | | SVN-Revision: 39597
* 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> SVN-Revision: 39596
* kirkwood: add support for Seagate GoFlexNetLuka Perkov2014-02-162-0/+20
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 39595
* uboot-kirkwood: add support for Seagate GoFlexNetLuka Perkov2014-02-161-0/+5
| | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39594
* kirkwood: update support for dockstarLuka Perkov2014-02-152-3/+35
| | | | | | | | | | | | | | | | The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0xfe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-dockstar-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-by: Alexander Couzens <lynxis@fe80.eu> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39593
* kirkwood: update support for ib62x0Luka Perkov2014-02-151-11/+15
| | | | | | | | | | | | | | | | The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0xfe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-ib62x0-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-by: Luka Perkov <luka@openwrt.org> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39592
* kirkwood: update support for iconnectLuka Perkov2014-02-154-19/+62
| | | | | | | | | | | | | | | | | | Previous patch was pushed due to false user report. While at it fix alphabetic ordering. The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0x1fe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39591