tools/lthor.git
11 years agoFixed OpenSUSE 1.23 build 89/13489/1
Ed Bartosh [Thu, 25 Apr 2013 13:53:54 +0000 (16:53 +0300)]
Fixed OpenSUSE 1.23 build

Change-Id: I462628a57597e2cc8892bd705fdbf426361cf024
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoFixed deb packaging issues found by lintian 88/13488/1
Ed Bartosh [Thu, 25 Apr 2013 13:27:00 +0000 (16:27 +0300)]
Fixed deb packaging issues found by lintian

The following changes have been made:
- removed libc6-dev from the list of build dependencies as it is
  build essential
- Used real Standard-Version
- Used misc:Depends macro
- Updated short description
- Added long description
- Updated package version

Change-Id: Ifa1a52d4e2f109255aa4d1ecb68dc166b57ffa42
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoChange AUTHORS
jaehoon.you [Tue, 2 Apr 2013 12:08:30 +0000 (21:08 +0900)]
Change AUTHORS

Change-Id: Ib2991a1a6844e5a1827268f0fb4a8303c18f8269
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
11 years agoFix and Add some error message
jaehoon.you [Tue, 2 Apr 2013 11:55:28 +0000 (20:55 +0900)]
Fix and Add some error message

1. In some cases, lthor needs enough memory
(Reported by Vyacheslav Barinov in SRR)
So, notify message added.
2. fix print format about error message.

Change-Id: I42fcea8c21d4183e8909293d2101cebd19ef9dc5
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
11 years agoAdd udev rules for supporting Ubuntu 12.10
jaehoon.you [Tue, 2 Apr 2013 11:43:07 +0000 (20:43 +0900)]
Add udev rules for supporting Ubuntu 12.10

In Ubuntu 12.10, modem-manager interrupt and close Tizen device.
so, add exceptional udev rules for ttyACM connection.

lthor Version 1.2 -> 1.3

Change-Id: I0c88084a8ff0f2e2f39d2b76e6568a81cf1a3e87
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
11 years agoIncluded udev rules into packages
Ed Bartosh [Mon, 28 Jan 2013 08:31:26 +0000 (10:31 +0200)]
Included udev rules into packages

Udev rules set device mode to 0666 in order to give flashing
permissions to everyone. This is handy for developers to being able to
flash devices from user account.

Change-Id: Ibb3ccb6b54c3f3c56df66ad0d17772806f622129
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoUpdated licence information
Ed Bartosh [Mon, 3 Dec 2012 14:12:07 +0000 (16:12 +0200)]
Updated licence information

Used Apache 2.0 licence for deb and rpm packaging.

Change-Id: I1b54726fa3a13c6752ae76eb3c9f9407708f58f4
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years ago[Prevent] fix Tizen 35853, and update authors list
jaehoon.you [Wed, 9 Jan 2013 06:54:42 +0000 (15:54 +0900)]
[Prevent] fix Tizen 35853, and update authors list

Tizen 35853 : DEADCODE
original code is "assert(chunksize > 0 && chunksize <= trans_unit_size);"
(reference send_chunks() : line 125)
but chunksize already checked before line:1086 (chunksize <= 0)
then, chunksize always bigger than 0 .
so, exclamation mark is moved to another location
and conditional sentence is switched.

Change-Id: I9e5a2f998fb506fd152da856f4c9455f027207a6
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
11 years agochange license file name
Chanho Park [Wed, 23 Jan 2013 07:04:39 +0000 (16:04 +0900)]
change license file name

This patch changes license file name which has meaning of license.

Change-Id: I832a1bfddf65aad2e1765d1b5ba5685f21e39241
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
11 years agoadd license/author informations
Chanho Park [Tue, 15 Jan 2013 01:29:55 +0000 (10:29 +0900)]
add license/author informations

This commit adds license files based on APLv2 license.

Change-Id: Ie80e337479f31660cf6298f7f3ed25fcee985356
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
11 years ago[Prevent] fix Tizen 36515,36516,37705 - STRING_OVERFLOW, RESOURCE_LEAK
jaehoon.you [Tue, 8 Jan 2013 11:37:24 +0000 (20:37 +0900)]
[Prevent] fix Tizen 36515,36516,37705 - STRING_OVERFLOW, RESOURCE_LEAK

Change-Id: I184458fd8419d4e32a9a493f2258dbbdd2637980
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
11 years agoMerge "Added option to check protocol availability"
YoungJin Lee [Tue, 20 Nov 2012 23:54:00 +0000 (08:54 +0900)]
Merge "Added option to check protocol availability"

11 years agoPackaged for Debian and Ubuntu
Ed Bartosh [Mon, 12 Nov 2012 17:11:46 +0000 (19:11 +0200)]
Packaged for Debian and Ubuntu

Change-Id: I5f99117eb0bd506dd1d83d691a0b0e9c5f08c944
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoPackaged for rpm distros
Ed Bartosh [Tue, 6 Nov 2012 16:37:48 +0000 (18:37 +0200)]
Packaged for rpm distros

This is a first commit regarding packaging. It implements packaging for
RPM. Debian packaging will follow.

Change-Id: Ibe45191cd3d06c387c6000c45c1b56ff820d0a87
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoAdded option to check protocol availability
Ed Bartosh [Tue, 6 Nov 2012 12:51:02 +0000 (14:51 +0200)]
Added option to check protocol availability

This is a first draft(not working yet) to implement a check for LTHOR protocol.
It's needed by our testing software. It should be able to first check if device
is in flashable mode and then perform flashing by running lthor <image.tar>.

To implement this feature correctly I need your help. Is there any way
in THOR protocol to inform the device that it should again wait for
handshake? If I just perform handshake and get information from the
device it will not be possible to flash it after that, because it will
be in active mode, waiting for the commands, not for the handshake.

Is it possible to contact you by email or this is the only communication
channel I can use?

Thank you,
Ed

Change-Id: Ic4cfa954885408343b5aad20fa805b2788c49ee7
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
11 years agoinitial commit of lthor
YoungJin Lee [Fri, 2 Nov 2012 10:55:18 +0000 (19:55 +0900)]
initial commit of lthor

Change-Id: Ifd62a81919f2a88a22b38627dd467d53c5408823

11 years agoInitial empty repository
Jung Minsun [Wed, 31 Oct 2012 02:13:51 +0000 (11:13 +0900)]
Initial empty repository