summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
AgeCommit message (Collapse)Author
2013-10-23ar71xx: change title and description for NAND subtargetjuhosg
The nand subtarget supports Mikrotik boards only. Change the title and the description to reflect that. Based on the patch by Stefan Agner: http://patchwork.openwrt.org/patch/4123/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23ar71xx: remove 'Target/Description' from main Makefilejuhosg
Ensure that menuconfig shows the correct help text for subtargets. Based on the patch by Stefan Agner: http://patchwork.openwrt.org/patch/4123/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23kernel: update 3.10 to 3.10.17juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20ar71xx: Fix sysupgrades for Allnet and OpenMesh devicesjuhosg
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to change different settings in the uboot environment. uboot-envtools version 2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee mutually exclusive access to the uboot environment. But the path /var doesn't exist on the sysupgrade ramfs. An upgrade on these devices fails since r36033 ("[package] uboot-envtools: upgrade to version 2013.01.01") with following messages: Error opening lock file /var/lock/fw_printenv.lock failed to update U-Boot environment Creating the "/var/lock" path before running fw_setenv is therefore a requirement unless the locking functionality in fw_setenv is removed or replaced with optional locking. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20ar71xx: fix WLAN 5 GHz LED init on dir-825-c1juhosg
Fixes the 5 GHz LED. The same function has no effect on the 2.4 GHz LED at all, so we might as well remove it. 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@38482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13kernel: update kernel to 3.10.15hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13ar71xx: Fix sysupgrade when upgrading to images with small rootfs partitionacinonyx
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-11[ar71xx]: make the generated images actually flashable on the Unifi devices.kaloz
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27ar71xx: ar934x-nfc: disable subpage write when hardware ECC is usedjuhosg
It is not supported by the controller. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27kernel: update 3.10 to 3.10.13juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26build: unify mips target cflagsnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25ar71xx: use correct board id for TL-MR3040 v2juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25ar71xx: add user-space support for TL-MR3040 v2juhosg
Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25ar71xx: improve kernel support for the TL-MR3040 v2juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25kernel/3.10: refresh all target patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38182 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: image: simplify mynet_n600_mtdlayoutjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: enable the Seama firmware parserjuhosg
It will be used for the WD My Net N600 board. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: update the Image/Build/WZRHP macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: image: use a common macro for Buffalo WZRHP devicesjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: image: update Image/Build/CameoAP94 macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: image: use a common macro for Cameo AP94 based devicesjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: image: use the board name for temporary mtdpart filesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: update the Image/Build/UBNT2 macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: build intramfs images for the Ubiquiti XM boardsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-24ar71xx: image: use a common macro for UBNTXM/UBNTDEVjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image: update Image/Build/WHRHPG300N macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image use the 64kraw template for the TEW-732BR boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image: update Build/Image/Planex macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image: allow to build initramfs for Planex devicesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image: build Planex kernels in a separate stepjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: add profile and build image for the TEW-732BR boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: add user-space support for the TEW-732BR boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: add kernel support for the TEW-732BR boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: image: update the Image/Build/CameoHornet macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: update the Image/Build/Cameo macrojuhosg
- 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38129 3c298f89-4303-0410-b956-a3cf2f4a3e73
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