summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
AgeCommit message (Collapse)Author
2013-09-13ar71xx: add wireless bgn led support for dir-825-c1juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-07ar71xx: use the lzma loader for the WRT160NLjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-03ar71xx: fix NetGear initramfs image namesjuhosg
The '-initramfs' string is duplicated in the image names, fix it. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02kernel: update 3.10 to 3.10.10juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: image: reorder Image/Build/* macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: image: simplify more oneliner macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: image: simplify oneliner loader macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: image: simplify oneliner initramfs macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: image: simplify oneliner buildkernel macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: optimize kernel generationjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: image: dynamically generate Image/Build/Template/* macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: remove fs_* variables from image/Makefilejuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: fix initramfs image generation for Cameo933x profilesjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27ar71xx: add some pending patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27ar71xx: don't hardwire cpu_has_dsp{,2} to zerojuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27ar71xx: don't register USB device on WNDAP360juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-24ar71xx: build factory image for DIR-505 A1juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-24ar71xx: allow to override kernel size in the CameoHornet profilejuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23kernel: update 3.10 to 3.10.9juhosg
Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15ar71xx: add support for hornet-ub-x2luka
The hornet-ub-x2 is hornet-ub variant with double more flash and ram. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14ar71xx: fix TL-WR710N board detectionblogic
Fix for recognize TL-WR710N http://patchwork.openwrt.org/patch/3946/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14ar71xx: Fix factory image for DIR 505 A1blogic
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13ar71xx: ethernet: reduce tx dma ring size further to improve cache footprintnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprintnbd
256 entries is a bit excessive, even for gigabit speeds Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it ↵nbd
again in completion Improves ethernet performance, especially during bridging Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12ar71xx: fix typonbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue ↵nbd
if no tx cleanup was done Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12ar71xx: ethernet: do not update the unused dev->last_rx fieldnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12ar71xx: add missing return statement in ethernet mtu change opnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register valuenbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06ar71xx: remove duplicate dir505 entry from board detection codeblogic
https://dev.openwrt.org/ticket/14006 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05ar71xx: add usb modules to dir 505 profileblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05ar71xx: add support for dir 505 a1blogic
this patch is based on ... -> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05ar71xx: fix tl-wa901nd buttons codejuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05ar71xx: ubnt unifi outdoor register gpio buttonjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29kernel: update to linux 3.10.4, refresh patchesnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29build: unify target independent optimization optionsnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add profile and build image for the WNR612 v2 boardjuhosg
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add user-space support for the WNR612 v2 boardjuhosg
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add kernel support for the Netgear WNR612 v2 boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add profile and build image for the TL-WR710N boardjuhosg
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add user-space support for the TL-WR710N boardjuhosg
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add kernel support for the TP-LINK TL-WR710N v1 boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: build image for the MERCURY MW4530R boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add model detection for the MERCURY MW4530R boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: TEW632BRP has buttons 'active low', fix board configjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26ar71xx: add profile and fixup image generation for the TL-MR10U boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26ar71xx: add user-space support for the TL-MR10U boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26ar71xx: add kernel support for the TL-MR10U boardjuhosg
Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 [juhosg: extend WR703N code to handle the TL-MR10U instead of adding a separate mach-tl-mr10u file]] Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37547 3c298f89-4303-0410-b956-a3cf2f4a3e73