platform/core/system/upgrade-tools.git
7 years agoTW1: Update recovery kernel
Sunmin Lee [Thu, 2 Nov 2017 09:54:16 +0000 (18:54 +0900)]
TW1: Update recovery kernel

Recovery kernel was introduced in Tizen 4.0.
This image also needs to be updated.

Change-Id: I5b52c77c4e23049c5a003c022eb8d4d737077a96
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoSupport specifying target for multi device env.
Sunmin Lee [Thu, 2 Nov 2017 00:42:27 +0000 (09:42 +0900)]
Support specifying target for multi device env.

Make upgrade-automation script use serial option of sdb
in order to support multi device connected environment.

Change-Id: Iebc5ae247df97e4f27feccb3a339addb6ded6261
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoBinary sameness is not an error
Sunmin Lee [Wed, 25 Oct 2017 10:19:45 +0000 (19:19 +0900)]
Binary sameness is not an error

It is not an error that some binary in both images are same
while generate delta.
It should be just skipped, not be aborted.

Change-Id: I49d179a148634247981cee8a2cbc8f50b4436c5b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoIntegrate input config files
Kichan Kwon [Thu, 26 Oct 2017 02:31:33 +0000 (11:31 +0900)]
Integrate input config files

Change-Id: I69a90f0861f27418dc9500a963762d5018706811
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoUpdate type EXTRA is not suppoerted yet
Sunmin Lee [Tue, 17 Oct 2017 11:25:56 +0000 (20:25 +0900)]
Update type EXTRA is not suppoerted yet

EXTRA update for recovery is not fully supported yet.
Disable this option.

Change-Id: I14e7810bb7784600a28ed2ad87adf2187059c6ea
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMerge "Add TW2 target" into tizen
Sunmin Lee [Tue, 24 Oct 2017 10:57:04 +0000 (10:57 +0000)]
Merge "Add TW2 target" into tizen

7 years agoRemove experimental code and add fix for symlinks
shirsh.kumar [Wed, 20 Sep 2017 10:26:41 +0000 (15:56 +0530)]
Remove experimental code and add fix for symlinks

Change-Id: Ifca98ae5fd8449f3f2a7e0aa012fcb099e1b6680
Signed-off-by: shirsh.kumar <shirsh.kumar@samsung.com>
7 years agoAdd TW2 target
Sunmin Lee [Tue, 17 Oct 2017 11:22:45 +0000 (20:22 +0900)]
Add TW2 target

Change-Id: If3ce8b985df611feb0acbc40c6e2a5f8ed9bbbd3
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoAdd README
Sunmin Lee [Mon, 25 Sep 2017 02:08:56 +0000 (11:08 +0900)]
Add README

Change-Id: I0a23aaba0bef99eafe5fec961dde97f61d772346
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoupgrade-automation.sh: get update package directly
Sunmin Lee [Fri, 8 Sep 2017 00:04:47 +0000 (09:04 +0900)]
upgrade-automation.sh: get update package directly

Simplify the interface of upgrade automation script
to use update pacakge (delta.tar) directly rather than find it.

Change-Id: Id997275659e427d88f41de77783f6bf544316ed8
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoDetach meaningless "-d" option from sdb
Kichan Kwon [Wed, 20 Sep 2017 08:19:09 +0000 (17:19 +0900)]
Detach meaningless "-d" option from sdb

- "-d" option is used for selecting target device
- Therefore, we don't have to use it without argument
- Moreover, it can be occur error when the target device
  is connected with ethernet

Change-Id: Ieef57be3fff4b765ad05f772b5c23d7dac90a356
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoUpdate package with some binaries extracted from image
Sunmin Lee [Mon, 4 Sep 2017 03:30:09 +0000 (12:30 +0900)]
Update package with some binaries extracted from image

Some binaries which is necessary for upgrade have to be extracted
from image of new version. This patch implements file extracting
function for this reason.

Change-Id: Iecf9598e169bb307d7ec5c02e6deea3ae7d1714b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoAdd automated upgrade script tool
Sunmin Lee [Mon, 28 Aug 2017 02:55:13 +0000 (11:55 +0900)]
Add automated upgrade script tool

This patch provides a script for automated upgrade.
- upgrade-automation.sh: script for automated upgrade test with device

Change-Id: I84add57261f2d10d13fdc35f9fccd5ed29899cec
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoAdd automated delta generation script
Sunmin Lee [Mon, 28 Aug 2017 02:55:13 +0000 (11:55 +0900)]
Add automated delta generation script

This patch provides a script for automated delta generation.

Change-Id: I688a1af6c0779cb1d75acf46bffb58c3dab92d4b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoFULL_IMG delta in case of missing in old_tar
Sunmin Lee [Fri, 25 Aug 2017 01:11:37 +0000 (10:11 +0900)]
FULL_IMG delta in case of missing in old_tar

Until tizen 3.0, ramdisk images had not been supported.
It causes that the upg cannot generate delta of ramdisks
because they are missing.

This patch supports FULL_IMG in case of not in old_tar
just includes full image as raw data which can be used
at client.

Change-Id: I0d89e86dbac363300ac5f7eb4dcd6e849ecd5fa1
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoCreate delta.tar with delta.ua in it
Sunmin Lee [Thu, 25 May 2017 06:03:43 +0000 (15:03 +0900)]
Create delta.tar with delta.ua in it

delta.ua should be included into delta package (delta.tar), too.
It would be extracted from RAMDISK2 of new binary.

Change-Id: Icb8b89b61ad3095b62bace19875e1ab6c2965115
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoUnify UPG bin directory
Sunmin Lee [Wed, 23 Aug 2017 09:18:16 +0000 (18:18 +0900)]
Unify UPG bin directory

Most of bin scripts in each target is same.
There is no reason of separating bin directory at each target.
This patch integrates these scripts to common bin diretory.

Change-Id: Icf7597a25a196f43666683c0de5fb7b9dfc3d977
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoInitial codes of tota-upg
Sunmin Lee [Fri, 14 Jul 2017 05:34:38 +0000 (14:34 +0900)]
Initial codes of tota-upg

Change-Id: I5bef4311c1ceb5a91d836f4aed9aefd7d7c0f5af

7 years agoInitial empty repository
Tizen Infrastructure [Mon, 3 Jul 2017 03:47:08 +0000 (03:47 +0000)]
Initial empty repository