summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/upgrade
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-021-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40974
* 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-021-0/+1
| | | | | | | | | | | | 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 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-021-0/+1
| | | | | | | | 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 support for the TP-LINK TL-WR841N/ND v9Felix Fietkau2014-04-071-0/+1
| | | | | | | | | | 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: add user space support for the Oolite v1 boardGabor Juhos2014-03-271-0/+1
| | | | | | | | | 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: add user-space support for TP-Link TL-WDR4900 v2.0 boardGabor Juhos2014-02-191-0/+1
| | | | | | | | | | | 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-301-0/+1
| | | | | | | | | | | | | | 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-161-1/+2
| | | | | | | | | 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-151-0/+1
| | | | | | | | 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-151-0/+1
| | | | | | | | | | 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-301-0/+21
| | | | | | | | | | | | | | | | | | | | 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-291-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38956
* ar71xx: add user space support for the TL-WR842N/ND v2Gabor Juhos2013-11-151-0/+1
| | | | | | | | | | 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-111-0/+2
| | | | | | | | | 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 BXU2000n-2 A1 boardGabor Juhos2013-10-301-0/+1
| | | | | | | | 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: 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-251-0/+1
| | | | | | | 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-231-0/+1
| | | | | | 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 TL-MR13U boardGabor Juhos2013-09-191-0/+1
| | | | | | | | 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 support for hornet-ub-x2Luka Perkov2013-08-151-0/+1
| | | | | | | | 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: add support for dir 505 a1John Crispin2013-08-051-0/+1
| | | | | | | | | | 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-281-1/+2
| | | | | | | | 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-281-0/+1
| | | | | | | | 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
* ar71xx: add user-space support for the TL-MR10U boardGabor Juhos2013-07-261-0/+1
| | | | | | | | | | | 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> SVN-Revision: 37548
* ar71xx: use mtd_get_part_size helperGabor Juhos2013-07-201-13/+1
| | | | | | | | | Drop the local get_mtd_part_size implementation and use the equivalent function provided by lib/functions.sh. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37476
* ar71xx: add carambola2 supportJohn Crispin2013-07-111-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37260
* ar71xx: add user-space support for TP-LINK Archer C7 boardGabor Juhos2013-05-301-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36789
* ar71xx: add user-space support for Netgear WNDAP360Gabor Juhos2013-05-081-0/+1
| | | | | | | | | | [juhosg: this has been created from the following patch: http://patchwork.openwrt.org/patch/3620/ ] Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36579
* ar71xx: add user-space support for the TL-WR720N v3 boardGabor Juhos2013-04-261-0/+1
| | | | | | | Signed-off-by: yousong <yszhou4tech@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36457
* ar71xx: add user-space support for MR3420v2Gabor Juhos2013-03-111-0/+1
| | | | | | | | Patch-by: Dmytro <dioptimizer@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3442/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35962
* ar71xx: add user space support for dir-835-a1Gabor Juhos2013-03-111-0/+1
| | | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Patchwork: http://patchwork.openwrt.org/patch/3425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35958
* ar71xx: rework changes from r35840Luka Perkov2013-03-031-1/+0
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35865
* ar71xx: add support for Buffalo WZR 600DHPLuka Perkov2013-03-011-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840
* ar71xx: sysupgrade - fix OpenMesh MR600 total flash sizeGabor Juhos2013-02-011-1/+3
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35433
* ar71xx: add sysupgrade support for OpenMesh MR600v2Gabor Juhos2013-02-012-0/+3
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35430
* ar71xx: add user-space support for TL-WDR3500 boardGabor Juhos2013-02-011-0/+1
| | | | | | | | | | Based on http://patchwork.openwrt.org/patch/3208/ Thanks-to: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gui Iribarren <gui@altermundi.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35424
* ar71xx: add user space support for dir-825-c1Gabor Juhos2013-01-291-0/+1
| | | | | | | | | [juhosg: fix whitespaces in some scripts] Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35402
* ar71xx: add user-space support for the AP132 boardGabor Juhos2013-01-291-0/+1
| | | | | | | | | Based on http://patchwork.openwrt.org/patch/3162/ Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35396
* ar71xx: Add userspace support for AP135Gabor Juhos2012-12-291-0/+1
| | | | | | | Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34918