aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: use correct board id for TL-MR3040 v2Gabor Juhos2013-09-251-1/+1
| | | | | | | | | | Fix the image building code so that the kernel correctly distinguishes between hardware revisions. Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38192
* ar71xx: add user-space support for TL-MR3040 v2Gabor Juhos2013-09-254-1/+7
| | | | | | | Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38191
* ar71xx: improve kernel support for the TL-MR3040 v2Gabor Juhos2013-09-252-0/+55
| | | | | | | | | | | This patch adds support for the hardware slide switch on the TL-MR3040 v2. Signed-off-by: Mads Hansen <d@taba.se> [juhosg: use EV_SW instead of EV_KEY] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38190
* kernel/3.10: refresh all target patchesGabor Juhos2013-09-252-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38182
* ar71xx: image: simplify mynet_n600_mtdlayoutGabor Juhos2013-09-241-1/+1
| | | | | | | | | | | | | | | | | | Remove the kernel and rootfs partitions. The Seama parser can find those automatically: 0x000000070000-0x000000ff0000 : "firmware" 2 seama-fw partitions found on MTD device firmware 0x000000070000-0x0000001b0000 : "kernel" 0x0000001b0000-0x000000ff0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem 1 squashfs-split partitions found on MTD device rootfs 0x000000360000-0x000000ff0000 : "rootfs_data" 0x000000ff0000-0x000001000000 : "radiocfg" Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38155
* ar71xx: enable the Seama firmware parserGabor Juhos2013-09-241-0/+1
| | | | | | | | It will be used for the WD My Net N600 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38154
* ar71xx: update the Image/Build/WZRHP macroGabor Juhos2013-09-241-8/+9
| | | | | | | | | | | | | - append the root squashfs directly after the kernel, - use the 64kraw/128kraw template instead of the 64k/128k, - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on WZR-HP-G300NH and WZR-600DHP boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38153
* ar71xx: image: use a common macro for Buffalo WZRHP devicesGabor Juhos2013-09-241-25/+8
| | | | | | | | | | The Image/Build/WZRHP64K and the Image/Build/WZRHP128K macros are similar. Move the common stuff into the Image/Build/WZRHP macro and update the orignal macros to use that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38152
* ar71xx: image: update Image/Build/CameoAP94 macroGabor Juhos2013-09-241-5/+7
| | | | | | | | | | | | | - append the root squashfs directly after the kernel, - use the 64kraw template instead of the 64k, - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on a TEW-673GRU board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38151
* ar71xx: image: use a common macro for Cameo AP94 based devicesGabor Juhos2013-09-241-44/+11
| | | | | | | | | | | The Image/Build/DIR825B1 and the Image/Build/DLRTDEV macros are identical. Merge those into a new Image/Build/CameoAP94 macro, and update the device profiles to use the new macro. Also rename the dir825b1_* mtdlayout macros to cameo_ap94_*. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38150
* ar71xx: image: use the board name for temporary mtdpart filesGabor Juhos2013-09-241-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38149
* ar71xx: update the Image/Build/UBNT2 macroGabor Juhos2013-09-241-15/+19
| | | | | | | | | | | | | - append the root squashfs directly after the kernel, - use the 64kraw template instead of the 64k, - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on a WispStation M5 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38148
* ar71xx: build intramfs images for the Ubiquiti XM boardsGabor Juhos2013-09-241-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38147
* ar71xx: image: use a common macro for UBNTXM/UBNTDEVGabor Juhos2013-09-241-13/+4
| | | | | | | | | | The firmware generation part is the same for both macros. Move that into a separate macro and use the new macro for Image/Build/UB{NTXM,DEV}. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38146
* ar71xx: image: update Image/Build/WHRHPG300N macroGabor Juhos2013-09-231-5/+6
| | | | | | | | | | | | | - append the root squashfs directly after the kernel, - use the 64kraw template instead of the 64k - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on the WHR-G301N board only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38141
* ar71xx: image use the 64kraw template for the TEW-732BR boardGabor Juhos2013-09-231-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38140
* ar71xx: image: update Build/Image/Planex macroGabor Juhos2013-09-231-6/+7
| | | | | | | | | | | | | | | - remove the 'kernel' and 'rootfs' partitions from the mtd layout, - move the .okli image into the uImage, - append the root squashfs directly after the kernel, - use the 64kraw template instead of the 64k - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on the MZK-W300NH board only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38139
* ar71xx: image: allow to build initramfs for Planex devicesGabor Juhos2013-09-231-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38138
* ar71xx: image: build Planex kernels in a separate stepGabor Juhos2013-09-231-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38137
* ar71xx: add profile and build image for the TEW-732BR boardGabor Juhos2013-09-232-0/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38133
* ar71xx: add user-space support for the TEW-732BR boardGabor Juhos2013-09-234-1/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38132
* ar71xx: add kernel support for the TEW-732BR boardGabor Juhos2013-09-233-0/+166
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38131
* ar71xx: image: update the Image/Build/CameoHornet macroGabor Juhos2013-09-231-9/+10
| | | | | | | | | | | | | - append the root squashfs directly to the kernel, - use the 64kraw-nojffs template instead of sqashfs-only - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on a TEW-712BR devices only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38130
* ar71xx: update the Image/Build/Cameo macroGabor Juhos2013-09-231-19/+21
| | | | | | | | | | | | | | | - append the root squashfs directly to the kernel, - use the 64kraw/64kraw-nojffs template instead of 64k/squashfs-only, - ensure, that the signature is placed at the correct offset in the *-factory images, - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on DIR-600-A1 and TEW-632BR devices only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38129
* ar71xx: image: add new macros for AP99 based Cameo devicesGabor Juhos2013-09-231-1/+7
| | | | | | | | | | | | | | | 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> SVN-Revision: 38128
* ar71xx: image: rename the Cameo macrosGabor Juhos2013-09-231-34/+34
| | | | | | | | | Use the reference board name in the macro instead of the SoC number. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38127
* ar71xx: image: add optional JFFS2 padding support to the CatFiles macroGabor Juhos2013-09-221-7/+9
| | | | | | | | | Also remove the similar code from the Netgear profile and use the new feature instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38126
* ar71xx: image: remove too big files in the CatFiles macroGabor Juhos2013-09-221-1/+2
| | | | | | | | Also improve the warning message. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38125
* ar71xx: simplify wndr3700 image generationGabor Juhos2013-09-221-69/+41
| | | | | | | | | | | | | | | - 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> SVN-Revision: 38120
* ar71xx: use the separate rootfs and uImage parsersGabor Juhos2013-09-221-1/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38119
* ar71xx: sync kernel configGabor Juhos2013-09-221-1/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38118
* ar71xx: image: add mtdpartsize macroGabor Juhos2013-09-221-0/+4
| | | | | | | | | The new macro will be used to determine the firmware partition size from an MTD layout. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38117
* ar71xx: image: improve the rootfs_align macroGabor Juhos2013-09-221-1/+1
| | | | | | | | | Improve the macro to return correct value for all squashfs variant. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38116
* ar71xx: image: improve the CatFiles macroGabor Juhos2013-09-221-2/+14
| | | | | | | | | Make it possible to append the rootfs image directly to the kernel. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38115
* ar71xx: enable wlan2g led in the default configuration of dir-825-c1Gabor Juhos2013-09-211-1/+5
| | | | | | | | | | 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> SVN-Revision: 38106
* ar71xx: vanity changes for dir-825-c1Gabor Juhos2013-09-213-19/+24
| | | | | | | | | | | | | | | | | 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> SVN-Revision: 38105
* ar71xx: diag.sh: consolidate netgear device entriesGabor Juhos2013-09-211-15/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38104
* ar71xx: use the green power led for diag on the WNR2200 boardGabor Juhos2013-09-211-1/+1
| | | | | | | | Make it consistent with the other Netgear boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38103
* ar71xx: use netgear prefix for WNDAP360 LED namesGabor Juhos2013-09-214-4/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38102
* ar71xx: use netgear prefix for WNR612 v2 LED namesGabor Juhos2013-09-213-2/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38101
* ar71xx: use netgear prefix for WNR2200 LED namesGabor Juhos2013-09-213-14/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38100
* ar71xx: use netgear prefix for WNR2000 LED namesGabor Juhos2013-09-213-5/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38099
* ar71xx: use netgear prefix for WNDR3700 LED namesGabor Juhos2013-09-215-9/+13
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38098
* ar71xx: add an uci-defaults script for LED configuration migrationGabor Juhos2013-09-211-0/+55
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38097
* ar71xx: let HW switch control WAN LED on dir-825-c1Gabor Juhos2013-09-211-4/+5
| | | | | | | | | | | | | 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> SVN-Revision: 38096
* ar71xx: image: override mkcameofw statusGabor Juhos2013-09-211-0/+1
| | | | | | | | | 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> SVN-Revision: 38095
* ar71xx: fix LAN LEDs for dir-825-c1Gabor Juhos2013-09-211-4/+4
| | | | | | | | | | | 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> SVN-Revision: 38094
* ar71xx: set proper wan mac during initial configuration on dir-825-c1Gabor Juhos2013-09-201-1/+10
| | | | | | | | | | | | 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> SVN-Revision: 38091
* ar71xx: tew-712br: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-17/+7
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38090
* ar71xx: tew-673gru: use ath79_parse_ascii_mac helperGabor Juhos2013-09-201-14/+2
| | | | | | | | | Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38089