aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add support for TL-MR3040 v2Gabor Juhos2013-09-131-1/+3
| | | | | | | | | | This patch adds support for building firmware images for the TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware. Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37964
* ar71xx: add wireless bgn led support for dir-825-c1Gabor Juhos2013-09-131-0/+5
| | | | | | | | | | | | | I checked the GPL code drop from D-Link and tried to get the wireless and LAN switch LEDs to light up. I found some references in AthSDK/www/DIR-825_C1/bsp.h as well as AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I only got the led for 2.4GHz to work. Anyway, here's the patch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37963
* ar71xx: use the lzma loader for the WRT160NLGabor Juhos2013-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | Partition layout before: 0x000000040000-0x0000001a0000 : "kernel" 0x0000001a0000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000 0x000000350000-0x0000007e0000 : "rootfs_data" after: 0x000000040000-0x000000140000 : "kernel" 0x000000140000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000 0x0000002f0000-0x0000007e0000 : "rootfs_data" Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37915
* ar71xx: fix NetGear initramfs image namesGabor Juhos2013-09-031-1/+1
| | | | | | | | | The '-initramfs' string is duplicated in the image names, fix it. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37892
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37890
* ar71xx: image: reorder Image/Build/* macrosGabor Juhos2013-09-021-18/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37889
* ar71xx: image: simplify more oneliner macrosGabor Juhos2013-09-021-46/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37888
* ar71xx: image: simplify oneliner loader macrosGabor Juhos2013-09-021-9/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37887
* ar71xx: image: simplify oneliner initramfs macrosGabor Juhos2013-09-021-42/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37886
* ar71xx: image: simplify oneliner buildkernel macrosGabor Juhos2013-09-021-22/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37885
* ar71xx: optimize kernel generationGabor Juhos2013-09-021-25/+77
| | | | | | | | | | | | | When the squashfs and jffs2 images are generated in the same turn, the compressed kernel images are generated twice with the same parameters. Move compressed kernel generation into a separate phase to avoid that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37881
* ar71xx: image: dynamically generate Image/Build/Template/* macrosGabor Juhos2013-09-021-79/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37879
* ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2Gabor Juhos2013-09-021-2/+8
| | | | | | | | | | | | | | It also fixes USB Power on MR3420v2. This time we took the information from the source of GPL: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html Confirmed and tested: https://dev.openwrt.org/ticket/13201#comment:41 Thanks to oguretsagressive for testing. Signed-off-by: Dmytro <dioptimizer@gmail.com> SVN-Revision: 37878
* ar71xx: remove fs_* variables from image/MakefileGabor Juhos2013-09-021-170/+165
| | | | | | | | | | | | Those are not needed since we are generating the initramfs images along with the others. Remove the variables and use the template names directly. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37876
* ar71xx: fix initramfs image generation for Cameo933x profilesGabor Juhos2013-09-021-1/+5
| | | | | | | | | | | | | | | | Initramfs images are not generated for profiles which are using the squashfs-only template. Add the missing 'Image/Build/Template/squashfs-only/initramfs' to fix that. Also, 'Image/Build/Cameo933x/initramfs' uses wrong parameters for 'MkuImageLzma/initramfs' due to a misplaced commma. Remove that to fix the generated initramfs images. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37871
* ar71xx: add some pending patchesGabor Juhos2013-08-273-0/+184
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37849
* ar71xx: don't hardwire cpu_has_dsp{,2} to zeroGabor Juhos2013-08-272-4/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37845
* ar71xx: don't register USB device on WNDAP360Gabor Juhos2013-08-275-11/+7
| | | | | | | | | | | | | | | | | Apparently registering usb device on newest trunk causes this AP not to boot... Since there is no USB socket in that device anyway this can be simply removed (and device boots then no problem). [juhosg: - tweak subject line and description, - remove #include "dev-usb.h", - remove 'select ATH79_DEV_USB' from Kconfig] Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37844
* ar71xx: build factory image for DIR-505 A1Gabor Juhos2013-08-241-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37834
* ar71xx: allow to override kernel size in the CameoHornet profileGabor Juhos2013-08-241-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37833
* kernel: update 3.10 to 3.10.9Gabor Juhos2013-08-237-21/+15
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37832
* ar71xx: add support for hornet-ub-x2Luka Perkov2013-08-154-6/+31
| | | | | | | | The hornet-ub-x2 is hornet-ub variant with double more flash and ram. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37788
* ar71xx: fix TL-WR710N board detectionJohn Crispin2013-08-141-0/+3
| | | | | | | | | | Fix for recognize TL-WR710N http://patchwork.openwrt.org/patch/3946/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 37782
* ar71xx: Fix factory image for DIR 505 A1John Crispin2013-08-141-1/+1
| | | | | | | | | | | Based on the original firmware, the file must have the tag HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3. http://patchwork.openwrt.org/patch/3945/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 37781
* ar71xx: ethernet: reduce tx dma ring size further to improve cache footprintFelix Fietkau2013-08-131-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37765
* ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprintFelix Fietkau2013-08-121-2/+2
| | | | | | | | 256 entries is a bit excessive, even for gigabit speeds Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37762
* ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it ↵Felix Fietkau2013-08-122-5/+10
| | | | | | | | | | again in completion Improves ethernet performance, especially during bridging Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37761
* ar71xx: fix typoFelix Fietkau2013-08-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37759
* ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue ↵Felix Fietkau2013-08-121-0/+3
| | | | | | | | if no tx cleanup was done Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37758
* ar71xx: ethernet: do not update the unused dev->last_rx fieldFelix Fietkau2013-08-121-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37757
* ar71xx: add missing return statement in ethernet mtu change opFelix Fietkau2013-08-121-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37756
* ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register valueFelix Fietkau2013-08-101-1/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37748
* ar71xx: remove duplicate dir505 entry from board detection codeJohn Crispin2013-08-061-3/+0
| | | | | | | | https://dev.openwrt.org/ticket/14006 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37723
* ar71xx: add usb modules to dir 505 profileJohn Crispin2013-08-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37706
* ar71xx: add support for dir 505 a1John Crispin2013-08-0510-2/+211
| | | | | | | | | | this patch is based on ... -> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37703
* ar71xx: fix tl-wa901nd buttons codeGabor Juhos2013-08-051-2/+2
| | | | | | | | | This patch fixes the code of the buttons for TP-Link WA901ND. Signed-off-by: Rocco Folino <lordzen@autistici.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37696
* ar71xx: ubnt unifi outdoor register gpio buttonGabor Juhos2013-08-051-1/+5
| | | | | | | | | This patch register the gpio buttons for the Ubiquiti UniFi Outdoor. Signed-off-by: Rocco Folino <lordzen@autistici.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37695
* kernel: update to linux 3.10.4, refresh patchesFelix Fietkau2013-07-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37617
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37600
* ar71xx: add profile and build image for the WNR612 v2 boardGabor Juhos2013-07-282-0/+11
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37577
* ar71xx: add user-space support for the WNR612 v2 boardGabor Juhos2013-07-284-2/+10
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37576
* ar71xx: add kernel support for the Netgear WNR612 v2 boardGabor Juhos2013-07-282-3/+48
| | | | | | | | | | | | | | | | | Netgear WNR612 v2: - cpu Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 [juhosg: use a separate kernel patch] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37575
* ar71xx: add profile and build image for the TL-WR710N boardGabor Juhos2013-07-282-0/+13
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37574
* ar71xx: add user-space support for the TL-WR710N boardGabor Juhos2013-07-284-0/+6
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37573
* ar71xx: add kernel support for the TP-LINK TL-WR710N v1 boardGabor Juhos2013-07-282-3/+38
| | | | | | | | | | | | | | | Small router sold in EU: AR9330@400MHz, 1x USB2.0, 2x ethernet, 8MB flash, 32MB ram, one led, one button. See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/ [juhosg: use a separate kernel patch] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37572
* ar71xx: build image for the MERCURY MW4530R boardGabor Juhos2013-07-282-3/+4
| | | | | | | | | | | | Mercury MW4530R is a TP-Link TL-WDR4310 clone but with a much lower price tag (~ $40). This patch is tested to work at trunk r37525. Signed-off-by: Leon Xu <ylxu72@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3856/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37571
* ar71xx: add model detection for the MERCURY MW4530R boardGabor Juhos2013-07-281-0/+3
| | | | | | | | | | | | Mercury MW4530R is a TP-Link TL-WDR4310 clone but with a much lower price tag (~ $40). This patch is tested to work at trunk r37525. Signed-off-by: Leon Xu <ylxu72@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3856/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37570
* ar71xx: TEW632BRP has buttons 'active low', fix board configGabor Juhos2013-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Looks like trunk@37090 has changed the logic that determines if router's button was pressed. This resulted in TEW632BRP always booting into failsafe mode because it detected pressed button (which was not pressed). Measure with voltmeter has shown that buttons on this router are actually active-low. This patch reflects this fact in board configuration and fixes 'load info failsafe mode' issue. Note: it looks like Trendnet TEW632BRP and a close relative to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may exist on those routers as well. This patch doesn't affect routers other than 632BRP and unfortunately I do not have hardware to test this issue with other routers. This patch fixes #13893 and is tested on actuall Trendnet TEW632BRP. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37569
* ar71xx: add profile and fixup image generation for the TL-MR10U boardGabor Juhos2013-07-262-1/+12
| | | | | | | | | | | | | | | Create a separate board profile and update the profile name in image/makefile. Also use the correct machtype string in kernel command line. Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37550
* ar71xx: add user-space support for the TL-MR10U boardGabor Juhos2013-07-264-0/+6
| | | | | | | | | | | Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37548