aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib/upgrade/platform.sh
Commit message (Collapse)AuthorAgeFilesLines
* treewide: move nand_do_upgrade call to platform_do_upgradeMathias Kresin2018-02-161-3/+4
| | | | | | | | | | Calling nand_do_upgrade() from platform_pre_upgrade() was deprecated with 30f61a34b4cf ("base-files: always use staged sysupgrade"). Update the platform upgrade code to use platform_do_upgrade() for NAND images as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: remove obsolete sysupgrade watchdog killMathias Kresin2018-02-161-9/+0
| | | | | | | | | The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: use the compatible string as board nameMathias Kresin2017-12-161-1/+1
| | | | | | | | | | | Use the first compatible string as board name in userspace. Add the new board name as well as the former used board name to the image metadata to keep compatibilty with already deployed installations. Don't add the former used boardname for boards which exists only in master or evaluation boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: remove lantiq_board_name, use the generic function insteadFelix Fietkau2017-03-221-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: remove device specific sysupgrade image checksFelix Fietkau2016-11-201-22/+1
| | | | | | Replaced by image metadata Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: append metadata to imagesFelix Fietkau2016-11-191-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: add AVM image mageic to sysupgrade scriptJohn Crispin2016-06-131-0/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: update list on NAND devices in platform_pre_upgradeRafał Miłecki2015-09-151-1/+1
| | | | | | | | Meanwhile BTHOMEHUBV5A board was added. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46941
* lantiq: add platform_pre_upgrade for sysupgradeJohn Crispin2015-09-151-0/+10
| | | | | | | | | | | | | | | | | | | | As explained in recent sysupgrade/nand.sh commits, current NAND sysupgrade is a bit misleading because of nand_do_platform_check behavior. It leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. Please note that because of current nand_upgrade_stage1 implementation this patch doesn't change any behaior yet. It only prepares lantiq target for changing nand_do_platform_check (it will be possible after preparing all other targets as well). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46939
* lantiq: Add support for the BT Home Hub 5AJohn Crispin2015-07-071-1/+1
| | | | | | | | | | | | | | | u-boot support depends on the next "upstream" version ([0]) from Daniel Schwierzeck. Since the installation process is quite complicated a "how to" was added to the wiki: [1] [0] https://github.com/danielschwierzeck/u-boot-lantiq/tree/openwrt/v2014.01-next [1] http://wiki.openwrt.org/toh/bt/homehub_v5a V2: Use the correct PCI interrupt (fixes 2.4GHz wifi) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 46223
* Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCKJohn Crispin2015-01-171-1/+1
| | | | | | | | Add profile and userspace for P2812HNUF1/3, switch from UBI_GLUEBI to UBI_BLOCK Signed-off-by: Sylwester Petela <sscapi@gmail.com> SVN-Revision: 43987
* lantiq: BT Home Hub 3A - userspaceJohn Crispin2015-01-081-1/+1
| | | | | | | | BT Home Hub 3A - userspace Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 43879
* lantiq: enable SysupgradeNAND for BTHOMEHUBV2BJohn Crispin2014-07-101-0/+10
| | | | | | | | | | | | | | | | | Enables SysupgradeNAND for BTHOMEHUBV2B. Depends on the following patches: http://patchwork.openwrt.org/patch/5817/ http://patchwork.openwrt.org/patch/5848/ http://patchwork.openwrt.org/patch/5851/ Many thanks everyone for your help the last couple of days. Ben Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 41566
* 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
* lantiq: add v3.10 patchesJohn Crispin2013-09-171-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38031
* lantiq: add tplink header id to sysupgrade and fix a commentJohn Crispin2013-08-061-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37719
* adds new lantiq kernel. once the codebase is fully tested and know to be ↵John Crispin2010-12-121-0/+25
working on all the devices previously supported by ifxmips, we will drop ifxmips support. SVN-Revision: 24526