tools/lthor.git
8 years agoAdd gitignore
Krzysztof Opasiak [Tue, 22 Mar 2016 09:15:08 +0000 (10:15 +0100)]
Add gitignore

Change-Id: I4126d7a25a29414dc92f776da7c2d34c731e2fa9
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
8 years agoUpdate lthor version
Jaewon Kim [Fri, 31 Oct 2014 09:17:52 +0000 (18:17 +0900)]
Update lthor version

This patch update lthor version to 1.5

Change-Id: Ie25e95b6fd5e4a601c64bdf8c4a3d66f0ed64005
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
8 years agoAdd to pass abnormal file
Jaewon Kim [Fri, 31 Oct 2014 05:29:02 +0000 (14:29 +0900)]
Add to pass abnormal file

When trying abnormal file(not matched with pit) download,
lthor pass this file.

Change-Id: Ib3c46fdd2f82a4299dfbfcaa9ad64f4b30accb56
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
8 years agoAdd ttyACM check for lthor
Jaewon Kim [Fri, 12 Sep 2014 10:27:52 +0000 (19:27 +0900)]
Add ttyACM check for lthor

This patch add ttyACM check to find correct port for lthor
even if there are several ttyACM port.

Change-Id: Icb87a9ebbabec2e5fa7c3312efff972488dbc3d1
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
8 years agoRemove vendor and product match code
Jaewon Kim [Thu, 11 Sep 2014 08:59:32 +0000 (17:59 +0900)]
Remove vendor and product match code

This patch remove vendor and product ID checking code
to support various boards

Change-Id: I6e1bca14e504a072f93d661666a9c623802ef472
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
8 years agoUpdate URL in spec file
Gaurav Kalra [Sun, 16 Jun 2013 12:05:04 +0000 (17:35 +0530)]
Update URL in spec file

Change-Id: I6913146ba412e2514b0e99c50908a2441f4c9fd0

8 years agoCorrecting usage help for check protocol
Gaurav Kalra [Wed, 19 Jun 2013 16:41:13 +0000 (22:11 +0530)]
Correcting usage help for check protocol

Change-Id: If17ad57e29b50f01011c3435c81fb8f522eaa0b4

10 years agoIncreased version in debian/changelog 92/13492/1 release-20160315 release-20160411 release-20160531 release-20160615 release-test-0.1 release-test-20150810
Ed Bartosh [Sun, 8 Dec 2013 17:01:39 +0000 (19:01 +0200)]
Increased version in debian/changelog

Change-Id: Ic49555ddc4d72ed837e78b6a953293c412394a34
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
10 years agoSupport MAC OS X 10.7,10.8 91/13491/1
jaehoon.you [Fri, 11 Oct 2013 09:07:57 +0000 (18:07 +0900)]
Support MAC OS X 10.7,10.8

On OS X the serial device must be opened with O_NONBLOCK flag.
Later this flag must be cleared before write operations otherwise
only small chunks data can be written at once.
Tested on OS X (10.8.4).

Author : Piotr Wilczek <p.wilczek@samsung.com>

Change-Id: I2b77cf16aacd491af9c94203fe7dfc49ce361516
Signed-off-by: jaehoon.you <jaehoon.you@samsung.com>
10 years agoFixed packaging 90/13490/1
Ed Bartosh [Mon, 28 Oct 2013 14:25:57 +0000 (16:25 +0200)]
Fixed packaging

No need in Makefile and .dsc file as we're using git-buildpackage
service in Jenkins job.

Change-Id: Ie417a54693dd9ab4a6b5c372c8563b66a4a6d801
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
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