summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/lib
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add support for EasyLink M150 and M-miniJohn Crispin2014-06-262-0/+14
| | | | | | | | | | | | | v3 refreshes the patch on trunk@41337 This patch adds support for the EasyLink EL-M150 and M-mini http://wiki.openwrt.org/toh/easylink/el-m150 http://wiki.openwrt.org/toh/easylink/el-m-mini Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41348
* ar71xx: nbg6716: Enable procd nand sysupgrageJohn Crispin2014-06-261-0/+1
| | | | | | | | | This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config is cleaned up to match the wndr4300. Signed-off-by: André Valentin <avalentin@marcant.net> SVN-Revision: 41346
* ar71xx: Fixes for 951Ui-2HnD board supportJohn Crispin2014-06-181-0/+3
| | | | | | | | | | | WAN and LAN are swapped the wrong way around. This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network. This patch also defines the ACT LED as the status LED in diag.sh. Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41255
* procd: various cleanups to /lib/upgrade/nand.shJohn Crispin2014-06-161-6/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41222
* ar71xx: add sysupgrade support for wndr4300John Crispin2014-06-111-0/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41131
* ar71xx: add user-space support for HiWiFi HC6361 board.John Crispin2014-06-022-0/+4
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40974
* ar71xx: add support to TP-LINK TL-WA730RE v1John Crispin2014-06-021-0/+3
| | | | | | | | | | The TL-WA730RE seems to be almost identical to TL-WA701ND, just that it comes without PoE and a stock-firmware claiming the device to be a "Range Extender". Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40972
* ar71xx: fix board detection for TL-WA7510NJohn Crispin2014-06-021-1/+4
| | | | | | | | | Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c and add hardware ID to tplink_board_detect Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40971
* ar71xx: enable sysupgrade on wnr2000-v3John Crispin2014-06-021-0/+1
| | | | | | | | tested, works. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 40970
* ar71xx: add support for dlink dir-615-e1John Crispin2014-06-022-0/+4
| | | | | | | | | | | | Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be uploaded through dlink's normal firmware update web page. Add profile for dir-615-e1 so the generated image can be uploaded through the firmware update web page. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40969
* ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2John Crispin2014-06-022-0/+3
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40963
* ar71xx: add user-space support for OpenMesh OM2P-HSv2John Crispin2014-06-021-0/+3
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40962
* ar71xx: add sysupgrade support for OpenMesh OM2Pv2John Crispin2014-06-021-0/+2
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40957
* ar71xx: add user-space support for OpenMesh OM2Pv2John Crispin2014-06-022-0/+4
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 40956
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 40915
* ar71xx: add user-space support for the ZyXEL NBG6716 boardGabor Juhos2014-04-131-0/+3
| | | | | | | | | Signed-off-by: André Valentin <avalentin@marcant.net> Patchwork: http://patchwork.openwrt.org/patch/5101/ [juhosg: use zyxel prefix in LED names] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40500
* ar71xx: add support for the TP-LINK TL-WR841N/ND v9Felix Fietkau2014-04-072-0/+4
| | | | | | | | | | Everything seems to be working fine. Potential issues: * VLAN port IDs are reversed with regard to the numbers on the case. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 40400
* ar71xx: build image for TL-WDR4300v1 (IL)Gabor Juhos2014-03-271-0/+4
| | | | | | | | | | | The version of TL-WDR4300 sold in Israel comes with a different hardware id. Patch-by: Daniel <daniel@makrotopia.org> Patchwork: http://patchwork.openwrt.org/patch/5001/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40038
* ar71xx: add user space support for the Oolite v1 boardGabor Juhos2014-03-272-0/+7
| | | | | | | | | Patch-by: Lars Bøgild Thomsen <lth@cow.dk> Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: use correct board name in uci-defaults/02_network] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40033
* ar71xx: fix failsafe acces on several devicesGabor Juhos2014-02-251-1/+35
| | | | | | | | | | | | | | The ar71xx platform always uses the eth0 interface to provide access to the device in failsafe mode. Due to this, failsafe access is broken on devices where the LAN ports are connected to the 'eth1' interface. Update the relevant script to correctly set the ifname variable for these devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39752
* ar71xx: define status LED for the RB91x boardsGabor Juhos2014-02-231-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39705
* ar71xx: add user-space support for TP-Link TL-WDR4900 v2.0 boardGabor Juhos2014-02-192-0/+7
| | | | | | | | | | | Patch-by: TenNinjas <tenninjas@tenninjas.ca> Patchwork: http://patchwork.openwrt.org/patch/4849/ [juhosg: - use the Archer C7 specific LED setup instead of adding identical code] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39636
* ar71xx: dragino2: add missing sysupgrade support.Gabor Juhos2014-01-302-0/+4
| | | | | | | | | | | | | | The original dragino2 board support was missing some changes from the upstream svn repository (http://svn.dragino.com/dragino2) that supported sysupgrade. [juhosg: change subject] Signed-off-by: Karl Palsson <karlp@remake.is> Patchwork: http://patchwork.openwrt.org/patch/4801/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39429
* ar71xx: add sysupgrade support for the Compex boardsGabor Juhos2014-01-241-1/+24
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39390
* ar71xx: add userspace support for WD My Net N750Gabor Juhos2013-12-162-1/+5
| | | | | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> [juhosg: remove the image generation part until the ethernet switch issue is resolved] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39078
* ar71xx: add user-space support for the TP-Link TL-WA901ND v3 boardGabor Juhos2013-12-152-0/+4
| | | | | | | | Based-on: http://patchwork.openwrt.org/patch/4508/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39074
* ar71xx: add user space support for the TL-WA801ND v2Gabor Juhos2013-12-152-0/+4
| | | | | | | | | | Patch to add the user space support for the TL-WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4501/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39064
* ar71xx: use cybertan_check_image for image verification on the WRT160NLGabor Juhos2013-11-301-8/+2
| | | | | | | | | That function provides a slightly improved sanity check than the currently used solution. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38967
* ar71xx: sysupgrade for My Net Wi-Fi Range ExtenderGabor Juhos2013-11-302-0/+30
| | | | | | | | | | | | | | | | | | | | This patch enables the convenient sysupgrade feature for WD's Wi-Fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4341/ [juhosg: - rename 'mynet_rext_check_image' function to 'cybertan_check_image' and move that into platform.sh, - remove the the model specific 'platform_do_upgrade_mynet_rext' function, - drop the mynet-rext.sh script, - remove the image/Makefile change, - update commit message] [christian: - check all 8 bytes of the firmware/device magic] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38966
* ar71xx: add user-space support for the TL-WR1043ND v2 boardGabor Juhos2013-11-292-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38956
* ar71xx: add user space support for the TL-WR842N/ND v2Gabor Juhos2013-11-152-0/+4
| | | | | | | | | | Patch to add the user space support for the TL-WR842N/ND v2 Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4354/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38814
* ar71xx: Unifi AP Pro sysupgrade patchFelix Fietkau2013-11-141-0/+4
| | | | | | | | | | | | | | | | | | The current implementation of mtd will not append the backup file created by sysupgrade to the correct partition, as mtd will append the data to first jffs2 partition it finds. As the kernel is also stored on a jffs2 partition (which resides before the overlay partition), the data will be appended to this partition. To fix this problem, a new option -s <number> skip the first n bytes when appending data to the jffs2 partiton, defaults to "0" is added to mtd. Signed-off-by: Peter Wagner <tripolar@gmx.at> SVN-Revision: 38807
* ar71xx: add user space support for the TL-WA750RE/WA850RE Range extenderGabor Juhos2013-11-112-0/+14
| | | | | | | | | Patch to add user space support for the TL-WA750RE/WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38718
* ar71xx: add user-space support for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-071-0/+3
| | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38687
* ar71xx: add user-space support for the BXU2000n-2 A1 boardGabor Juhos2013-10-302-0/+4
| | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38592
* ar71xx: add user space support for the Sitecom WLR-8100 wireless routerGabor Juhos2013-10-301-0/+3
| | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4148/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38590
* ar71xx: Fix sysupgrades for Allnet and OpenMesh devicesGabor Juhos2013-10-202-0/+4
| | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 38483
* ar71xx: Fix sysupgrade when upgrading to images with small rootfs partitionVasilis Tsiligiannis2013-10-131-1/+1
| | | | | | Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> SVN-Revision: 38382
* ar71xx: add user-space support for TL-MR3040 v2Gabor Juhos2013-09-252-0/+4
| | | | | | | Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38191
* ar71xx: add user-space support for the TEW-732BR boardGabor Juhos2013-09-232-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38132
* ar71xx: add sysupgrade support for the WD My Net N600 boardGabor Juhos2013-09-191-0/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38075
* ar71xx: add user-space support for the WD My Net N600 boardGabor Juhos2013-09-191-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38074
* ar71xx: add user-space support for the TL-MR13U boardGabor Juhos2013-09-192-0/+7
| | | | | | | | Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38064
* ar71xx: add user-space support for the WNR2200 boardGabor Juhos2013-09-191-0/+3
| | | | | | | | | 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> SVN-Revision: 38060
* ar71xx: add support for hornet-ub-x2Luka Perkov2013-08-152-1/+11
| | | | | | | | 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: 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 support for dir 505 a1John Crispin2013-08-052-0/+7
| | | | | | | | | | 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: add user-space support for the WNR612 v2 boardGabor Juhos2013-07-282-1/+5
| | | | | | | | 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 user-space support for the TL-WR710N boardGabor Juhos2013-07-282-0/+4
| | | | | | | | 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