summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
AgeCommit message (Collapse)Author
2013-09-23ar71xx: image: add new macros for AP99 based Cameo devicesjuhosg
The MTD layout of the AP99 based devices is different. Add new macros to reflect that and use the new macros for the DIR-615-E4 board. This prevents overwriting of the 'mac' partition which contain vital informations. The disadvantage of the change is that the usable space is reduced by 192KiB. Blame the vendors for the unfriendly partition layout. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image: rename the Cameo macrosjuhosg
Use the reference board name in the macro instead of the SoC number. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: image: add optional JFFS2 padding support to the CatFiles macrojuhosg
Also remove the similar code from the Netgear profile and use the new feature instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: image: remove too big files in the CatFiles macrojuhosg
Also improve the warning message. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: simplify wndr3700 image generationjuhosg
- remove the kernel and rootfs partitions from the mtd layout, the kernel creates those automatically, - remove estimation step, it is not needed anymore - put the root squashfs directly after the kernel - use the 64kraw template With the default configuration, this allows to use more space for rootfs_data with 64KiB. Tested on WNDR3700 v1 only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: use the separate rootfs and uImage parsersjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: sync kernel configjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: image: add mtdpartsize macrojuhosg
The new macro will be used to determine the firmware partition size from an MTD layout. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: image: improve the rootfs_align macrojuhosg
Improve the macro to return correct value for all squashfs variant. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22ar71xx: image: improve the CatFiles macrojuhosg
Make it possible to append the rootfs image directly to the kernel. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: enable wlan2g led in the default configuration of dir-825-c1juhosg
Enable the wlan2g led in the default configuration of dir-825-c1. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4079/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: vanity changes for dir-825-c1juhosg
This patch - changes the color names from orange to amber - changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G (wlan2g) to be more consistent with the other routers' files - changes the descriptions of the hardware keys to be a tad more explicit Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4081/ [juhosg: update the LED migration script as well] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: diag.sh: consolidate netgear device entriesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use the green power led for diag on the WNR2200 boardjuhosg
Make it consistent with the other Netgear boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNDAP360 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNR612 v2 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNR2200 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNR2000 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNDR3700 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: add an uci-defaults script for LED configuration migrationjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: let HW switch control WAN LED on dir-825-c1juhosg
Enable GPIO 20. This hands off control of the blue planet led to the integrated switch. Consequently, remove the led configuration for the blue planet led. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4080/ [juhosg: whitespace fixup] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: image: override mkcameofw statusjuhosg
This allows to build images for other boards, even if the image is too big for Cameo devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: fix LAN LEDs for dir-825-c1juhosg
This patches fixes the lan led configuration. The new configuration is identical to the one in mach-db120.c and it works. The previous one didn't work at all. 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@38094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: set proper wan mac during initial configuration on dir-825-c1juhosg
The goal is to set the WAN MAC address to the one on the sticker on the bottom of the unit. Currently it is not used at all. But some users expect the WAN interface to have the MAC address that is written on the sticker. 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@38091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: tew-712br: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: tew-673gru: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: dir-825-c1: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: dir-825-b1: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: dir-505-a1: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_macjuhosg
Rename the function and extend it in order to make it usable from board setup code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: fix Cameo934x initramfs image generationjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add profile and build image for the WD My Net N600 boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add sysupgrade support for the WD My Net N600 boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add user-space support for the WD My Net N600 boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add kernel support for the WD My Net N600 boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: wndr4300: enable HW ECC mode for the NAND controllerjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add ath79_nfc_set_ecc_mode helperjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: ar934x_nfc: add experimental support for hardware ECCjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38069 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: ar934x_nfc: return error code from some low-level functionsjuhosg
Change some flow-level unctions to return with an error code in order to be able to report errors to the core code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: ar934x_nfc: use devm_* functionsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add profile and build image for the TL-MR13U boardjuhosg
Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add user-space support for the TL-MR13U boardjuhosg
Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add kernel support for TP-Link TL-MR13Ujuhosg
This patch adds support for TP-Link TL-MR13U router with built-in 10AH rechargeable battery. The patch is based on kamwanlai's patch: https://forum.openwrt.org/viewtopic.php?pid=206746#p206746 Updated to accommodate recent changes introduced with: ar71xx: remove fs_* variables from image/Makefile Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ [juhosg: - refresh and rename rename 930-add-tl-mr13u-support.patch => 625-MIPS-ath79-add-tl-mr13u-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: wnr2200: fix a typo in a LED namejuhosg
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add profile and build image for the WNR2200 boardjuhosg
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4055/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add user-space support for the WNR2200 boardjuhosg
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4055/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add kernel support for Netgear WNR2200 wireless routerjuhosg
This patch adds OpenWRT support for the Netgear WNR2200 (N300) wireless router with USB. Technical details of this router can be found at http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx and http://wikidevi.com/wiki/Netgear_WNR2200 Signed-off-by: Aidan Kissane <aidankissane@googlemail.com> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4055/ [juhosg: - add commit message and SoB line from the original patch - remove dead code from mach-wnr2200.c - refresh 624-MIPS-ath79-WNR2200-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15kernel/3.10: add new Kconfig option for firmware partition splitjuhosg
Add a new kernel config option for generic firmware partition split support and change the uImage split support to depend on the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to MTD_SPLIT_FIRMWARE_NAME to make it more generic. The patch is in preparation for multiple firmware format support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-15kernel: update 3.10 to 3.10.12juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13ar71xx: refresh patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37976 3c298f89-4303-0410-b956-a3cf2f4a3e73