22f25e5251Replaced 'git clone' with 'git clone --filter=blob:none' to speed up cloning of customer-repository.Gerhard Hoffmann2023-10-18 11:36:13 +02:00
504e242d42Implemented getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()Gerhard Hoffmann2023-10-18 11:31:15 +02:00
731cdcbe09Added getATBUpdateToolYoctoVersion() and getATBUpdateToolYoctoInstallationStatus()Gerhard Hoffmann2023-10-18 11:30:12 +02:00
b4e2d4c54aMinor: Move reading of machine_nr, customer_nr and zone_nr upwards.Gerhard Hoffmann2023-10-18 11:28:06 +02:00
42961dea40Add command-parameters yoctoVersionOption (yocto-version of ATBUpdateTool as reported by opkg), and yoctoInstallStatusOption (info if ATBUpdateTool is installed as reported by opkg).Gerhard Hoffmann2023-10-18 11:26:30 +02:00
4b9dcc5e99Set version to 1.3.11: integrate extended version (VERSION + last git commit) in send-last-version-message.Gerhard Hoffmann2023-10-12 12:13:49 +02:00
53639b55c9Integrate call parameter -V (= --extended-version) to show extended version (including last git commit)Gerhard Hoffmann2023-10-12 12:12:16 +02:00
3a83efbd3fIntegrate extended version of ATBUpdateTool into send-last-version command to ISMAS.Gerhard Hoffmann2023-10-12 12:11:48 +02:00
c9d6a8d245Integrate extended version of ATBUpdateTool into send-last-versionGerhard Hoffmann2023-10-12 12:10:24 +02:00
91db59b9f3Integrate version of ATBUpdateTool in send-last-version.Gerhard Hoffmann2023-10-12 12:09:19 +02:00
4e7ce2cd70set version to 1.3.10: remove timeout on opkg-commands. tested download of DC2C_cash.conf file.Gerhard Hoffmann2023-10-10 16:05:16 +02:00
47fac31223remove timeout for process runtime for opkg-commandsGerhard Hoffmann2023-10-10 16:03:52 +02:00
0d353cfbcfCheck if opkg_command failed, and if this is the case, stop the update-process without showing a wrong UPDATE-SUCCESS.Gerhard Hoffmann2023-10-10 16:01:45 +02:00
3223c430beDo not rsync opkg_commnds to local file systems: this sync is not needed.Gerhard Hoffmann2023-09-28 12:00:24 +02:00
c09682ea33Always execute commands contained in opkg_commands, even if no change in opkg_commands. WAIT button in ISMAS must still be activated.Gerhard Hoffmann2023-09-28 11:57:17 +02:00
9c213d0a97Added some better debug output in the slots concerned with the text edit of the main window ("update status"). Use insertPlainText() when adding to the text edit to simplify code.Gerhard Hoffmann2023-09-10 16:55:32 +02:00
18378afdc5Did some testing with event filters on the main window. not used.Gerhard Hoffmann2023-09-10 16:54:54 +02:00
103b3f3f9cisATBQTRunning(): Use std::fstream to read /proc/<pid>/status, as the lines end on '\r', not on '\n'.Gerhard Hoffmann2023-09-10 16:46:59 +02:00
ff6a6e0e45Use libCAslave.so as default library to use for downloading the device-controller-firmware.Gerhard Hoffmann2023-09-10 16:45:40 +02:00
9a65cb4456Add some debug message when adding content to the text edit of the GUI.Gerhard Hoffmann2023-09-09 15:06:21 +02:00
df0951d671Add the steps to prepare the bootloader for device-controller-firmware download using cutom-events of type update-dc-event.Gerhard Hoffmann2023-09-09 15:04:41 +02:00
60cc752819Add connect for showning a status message in status bar.Gerhard Hoffmann2023-09-09 15:03:52 +02:00
57b4716e2aAdd emergency test function: if device stays in bootloader then use it to make the device to leave the bootloader.Gerhard Hoffmann2023-09-09 15:02:45 +02:00
15f28e9ffdAdd m_update-object and prepare for doing the bootloader setup for downloading the device controller firmware.Gerhard Hoffmann2023-09-09 15:01:03 +02:00
a07893ddabdoUpdate() 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.Gerhard Hoffmann2023-09-09 14:59:05 +02:00
5158878ce2Extend comment for: USING THE BOOTLOADER. Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,Gerhard Hoffmann2023-09-09 14:54:48 +02:00
b2798b349eFixed reg-exp for name of device controller firmare version.Gerhard Hoffmann2023-09-09 14:41:53 +02:00
64dce44fe1Move update-object into main window. Activate using ISMAS WAIT button.Gerhard Hoffmann2023-09-09 14:40:43 +02:00
7e96b65c1bMove m_update-object to main window. Add signal for showing status messages at status bar of ATBUpdateTool gui.Gerhard Hoffmann2023-09-09 14:38:53 +02:00
ba71728979Move 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.Gerhard Hoffmann2023-09-09 14:30:53 +02:00
e82742a609Add 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().Gerhard Hoffmann2023-09-09 14:27:50 +02:00
6773a7243aSave name of device-controller-plugin (either libCAmaster or libCAslave) in the Update-object.Gerhard Hoffmann2023-09-06 09:12:25 +02:00
22c8997f1eSet autoRequest to false and pass a pointer to the device-controller-plugin to the main window instead to the worker (thread).Gerhard Hoffmann2023-09-06 09:10:14 +02:00
9531a08b4aAdd 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.Gerhard Hoffmann2023-09-06 09:07:45 +02:00
c065b57f0cRemove 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.Gerhard Hoffmann2023-09-06 09:04:43 +02:00