Commit Graph

318 Commits

Author SHA1 Message Date
GerhardHoffmann ff6a6e0e45 Use libCAslave.so as default library to use for downloading the device-controller-firmware. 2023-09-10 16:45:40 +02:00
GerhardHoffmann afbce3b4ea Add new dc-lib 2023-09-09 15:10:53 +02:00
GerhardHoffmann 823e59a582 Set version to 1.3.2 1.3.2 2023-09-09 15:09:59 +02:00
GerhardHoffmann 01cfbddfb1 Add update_dc_event 2023-09-09 15:08:03 +02:00
GerhardHoffmann 838efd3945 Show status message in the status bar of the GUI. 2023-09-09 15:06:58 +02:00
GerhardHoffmann 9a65cb4456 Add some debug message when adding content to the text edit of the GUI. 2023-09-09 15:06:21 +02:00
GerhardHoffmann df0951d671 Add the steps to prepare the bootloader for device-controller-firmware download
using cutom-events of type update-dc-event.
2023-09-09 15:04:41 +02:00
GerhardHoffmann 60cc752819 Add connect for showning a status message in status bar. 2023-09-09 15:03:52 +02:00
GerhardHoffmann 57b4716e2a Add emergency test function: if device stays in bootloader then use it to
make the device to leave the bootloader.
2023-09-09 15:02:45 +02:00
GerhardHoffmann 15f28e9ffd Add m_update-object and prepare for doing the bootloader setup for downloading
the device controller firmware.
2023-09-09 15:01:03 +02:00
GerhardHoffmann a07893ddab doUpdate() and updateDC(): communicate with main window to enter bootloader
(i.e. to prepare device for download of device controller firmware), but do not
perform an actual download at the moment.
2023-09-09 14:59:05 +02:00
GerhardHoffmann d0eb1d12d8 Add some debug output to updateBinary(). 2023-09-09 14:57:49 +02:00
GerhardHoffmann cd59a39569 Add some more debug output to updateBinary(). 2023-09-09 14:57:04 +02:00
GerhardHoffmann 67c8b2f472 Extended comment: USING THE BOOTLOADER. 2023-09-09 14:55:48 +02:00
GerhardHoffmann 5158878ce2 Extend comment for: USING THE BOOTLOADER.
Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,
2023-09-09 14:54:48 +02:00
GerhardHoffmann b6971c1db5 resetDeviceController(): deprecated. 2023-09-09 14:54:12 +02:00
GerhardHoffmann 9df46a1c49 Add some debug output to openSerial(). 2023-09-09 14:53:36 +02:00
GerhardHoffmann 6765b12f0c startBootloader(): deprecated. 2023-09-09 14:52:40 +02:00
GerhardHoffmann 3e925756cf Add getDcSoftAndHardWareVersion() utility. 2023-09-09 14:43:46 +02:00
GerhardHoffmann b2798b349e Fixed reg-exp for name of device controller firmare version. 2023-09-09 14:41:53 +02:00
GerhardHoffmann 64dce44fe1 Move update-object into main window.
Activate using ISMAS WAIT button.
2023-09-09 14:40:43 +02:00
GerhardHoffmann 7e96b65c1b Move m_update-object to main window.
Add signal for showing status messages at status bar of ATBUpdateTool gui.
2023-09-09 14:38:53 +02:00
GerhardHoffmann 276d65a9d8 Add utility isATBQTRunning(). 2023-09-09 14:33:13 +02:00
GerhardHoffmann ba71728979 Move the dc-plugin (and the update-object) into the gui-thread instead of the
worker thread, so the worker-thread cannot block itself when inside a slot
and therefore not able to react to qt-signals.
2023-09-09 14:30:53 +02:00
GerhardHoffmann e82742a609 Add helper class update_dc_event to dend customer messages from the worker-thread
to the gui-thread. The gui-thread will then perform bl_rebootDC, bl_startBL,
bl_checkBL(), bl_isUp() and bl_stopBL().
2023-09-09 14:27:50 +02:00
GerhardHoffmann 6773a7243a Save name of device-controller-plugin (either libCAmaster or libCAslave)
in the Update-object.
2023-09-06 09:12:25 +02:00
GerhardHoffmann 22c8997f1e Set autoRequest to false and pass a pointer to the device-controller-plugin
to the main window instead to the worker (thread).
2023-09-06 09:10:14 +02:00
GerhardHoffmann 9531a08b4a Add a pointer to the device-controller-plugin. The main window will always be
owned by the GUI thread, and the GUI thread is loading the plugin. Hence the
worker-thread does not block itself when inside a QT slot.
2023-09-06 09:07:45 +02:00
GerhardHoffmann c065b57f0c Remove direct member m_hw, a pointer to the device-controller-plugin.
The worker shall not load the plugin, otherwise it would block itself inside
an QT slot.
2023-09-06 09:04:43 +02:00
GerhardHoffmann cef05b7511 Set version to 1.3.1: extended reason in send-last-version 2023-09-04 11:48:15 +02:00
GerhardHoffmann bb35e985ad Using IsmasClient::getReasonForLastSendVersion() 2023-09-04 11:46:37 +02:00
GerhardHoffmann 981a2ea13a Added method getReasonForSendLastVersion() 2023-09-04 11:45:30 +02:00
GerhardHoffmann b14b296011 Added utility getParentName() (name of parent process) 2023-09-04 11:42:12 +02:00
GerhardHoffmann 1ef9853876 Set version of UpdateTool to 1.3.0.
1.3.0: main change: add fetching info for current apiism-version and send
if to ISMAS.
2023-08-30 11:47:56 +02:00
GerhardHoffmann 01d8312aa8 Removed rauc/opkg-members. Added m_apismVersion member. 2023-08-30 11:46:55 +02:00
GerhardHoffmann 507586f9dc Added fetching apism-version. Fixed calls to final_result(). 2023-08-30 11:46:00 +02:00
GerhardHoffmann 12ffa71455 Removed rauc/opkg-versions. Added fetching of apism-version. 2023-08-30 11:44:20 +02:00
GerhardHoffmann a84f495d43 Removed output of rauc/opkg-versions, and added output of apism-version. 2023-08-30 11:42:05 +02:00
GerhardHoffmann 7e4b5006eb Fixed return string of final result(). 2023-08-30 11:41:23 +02:00
GerhardHoffmann 0a28f0d82c Add message for current APISM version 2023-08-30 11:39:37 +02:00
GerhardHoffmann 5427844977 For each customer repository change the file ChangeLog in branch master
as last step. The git commit for this file will be used as output, so this file
has always be the last to be checked in.
2023-08-30 11:36:28 +02:00
GerhardHoffmann a45e552d90 set version to 1.2.0 2023-08-25 08:46:29 +02:00
GerhardHoffmann be28570d23 Minor change for output in status bar. 2023-08-23 16:27:47 +02:00
GerhardHoffmann 1509e8619c Send message to ISMAS when rsyncing a traiff-file 2023-08-23 16:26:55 +02:00
GerhardHoffmann a8df026a80 Added rsyncFile() method. 2023-08-23 16:26:11 +02:00
GerhardHoffmann a803907449 Refined information shown in status bar. 2023-08-22 13:49:42 +02:00
GerhardHoffmann afd31f1b27 Fill in opkg related info. 2023-08-22 13:49:09 +02:00
GerhardHoffmann f8fef38009 Add last-commit for traiff and add info for opkg_commands. 2023-08-22 13:47:57 +02:00
GerhardHoffmann cbe1fd387d After "rsync", compare etc/psa_tariff and /etc/psa_tariff, if they contain the
same traiff-files (as they should).
2023-08-22 12:31:15 +02:00
GerhardHoffmann 1620b73d01 Added sameFilesInDirs(): check for two different directories if the contain the
same files (comparison by name and by git-blob).
2023-08-22 12:29:52 +02:00