Commit Graph

804 Commits

Author SHA1 Message Date
SiegfriedSiegert 47e7e1e796 Add common/command 2026-02-05 13:59:13 +01:00
SiegfriedSiegert 553782a2ea Add common/include/utils_internal.h 2026-02-05 13:22:05 +01:00
GerhardHoffmann f2af48eee3 after dc-download, check if device-controller reboots successfully 2026-02-05 12:41:39 +01:00
GerhardHoffmann a30f8334f1 Replace TEST_DC_DOWNLOAD with m_debug. 2026-02-05 12:37:34 +01:00
GerhardHoffmann ea1abc68da Replace TEST_DC_DOWNLOAD with m_debug. 2026-02-05 12:37:19 +01:00
GerhardHoffmann 9c40321857 Minor: init. m_debug to false. 2026-02-05 12:36:39 +01:00
GerhardHoffmann 0c6b219d31 read ATBUpdateDCsettings in *.ini file 2026-02-05 12:36:13 +01:00
GerhardHoffmann de9304f867 Add define for TEST_DC_DOWNLOAD and add corresponding code
to test the download without actual dc-controller on the PTU.
2026-02-05 12:29:44 +01:00
OswaldoPalma 47ac11fb9a "after dc_download restart autorequest or else E255" 2026-02-05 12:29:40 +01:00
OswaldoPalma 379ca35db2 "shortened time to sendnextblock." 2026-02-05 12:29:34 +01:00
OswaldoPalma fc41883e6a "increased BL_start Timer (500 -> 1000) " 2026-02-05 12:29:12 +01:00
GerhardHoffmann ff5d0a891c startBootloader():
set wait time to 1000ms.
    set try counter to 10.
    a message to ask for general bl installation (in hardware)
2026-02-05 12:05:29 +01:00
GerhardHoffmann 4d91d1e5bb turn dc-download on 2026-02-05 12:04:14 +01:00
GerhardHoffmann bef618a778 testing... 2026-02-05 12:02:52 +01:00
GerhardHoffmann d8112800d5 cleaning up source. rename doUndate() to run(). 2026-02-05 11:46:57 +01:00
GerhardHoffmann 98996af2b2 read ini-file and determine device controller to install 2026-02-05 11:46:50 +01:00
GerhardHoffmann eb3f05ff19 preparing dc-update 2026-02-05 11:46:07 +01:00
GerhardHoffmann 5b621298c4 take over some code from mainwindow 2026-02-05 11:45:00 +01:00
GerhardHoffmann 579997b318 to be removed 2026-02-05 11:44:45 +01:00
GerhardHoffmann 6a32c75754 use qcoreapplication -> no window or widgets 2026-02-05 11:44:34 +01:00
GerhardHoffmann 724be1568d remove main-window (not needed) 2026-02-05 11:44:08 +01:00
SiegfriedSiegert d85eabf3e6 save files with comment (was 8f822c5) 2026-02-05 11:05:22 +01:00
SiegfriedSiegert d2d0eb40aa Revert "Remove any reference to device controller as downloading jsons/dc-firmware"
This reverts commit 6b0a784fc8.
2026-02-05 10:26:56 +01:00
GerhardHoffmann 518bd87033 save for christmas 2026-02-05 09:18:41 +01:00
GerhardHoffmann 6b0a784fc8 Remove any reference to device controller as downloading jsons/dc-firmware
will be done by ATBDownloadDCJsonFiles and ATBDownloadDCFirmware binaries.
2026-02-05 08:42:42 +01:00
GerhardHoffmann 093d77ddd1 Update::updateBinary():
begin with starting "/opt/app/tools/atbupdate/ATBDownloadDCFirmware".
2026-02-05 08:38:49 +01:00
GerhardHoffmann ec57f9ba20 Minor: remove unused code. 2026-02-05 08:37:42 +01:00
GerhardHoffmann 96828f6e25 getCommandResult():
reset result if necessary (for instance for showing current result
	in GUI.
2026-02-05 08:37:20 +01:00
GerhardHoffmann e1e2008aa6 read dc-verion directly from binary file 2026-02-05 08:36:17 +01:00
GerhardHoffmann e82b92b95b Mior: remove debugs 2026-02-05 08:34:59 +01:00
GerhardHoffmann 808f01e1af init some vars to defaults 2026-02-05 08:34:29 +01:00
GerhardHoffmann cf85965946 start with downloading dc: parsing command arguments. started to implement the acrual download 2026-02-05 08:33:58 +01:00
SiegfriedSiegert e1e6d1613a Merge branch 'removed-apsim-restart' 1.5.9 2026-02-04 10:13:15 +01:00
GerhardHoffmann 5a2ced4a96 set version to 1.5.9 2025-06-16 13:39:03 +02:00
GerhardHoffmann 3b3456196f removed restart of apism in case ISMAS is unreachable 2025-06-16 13:34:51 +02:00
GerhardHoffmann c63fa92ff7 script to be started if update-tool finished unexpectedly 2025-05-20 14:19:57 +02:00
GerhardHoffmann 42624409ba set version to 1.5.8 1.5.8 2025-05-16 08:42:50 +02:00
GerhardHoffmann c49ff5045b set version to 1.5.7 2025-05-16 08:40:13 +02:00
GerhardHoffmann 358fd80c47 Use applicationPid() of update-tool as event-id. (used by christian) 2025-05-14 10:44:09 +02:00
GerhardHoffmann 8a2d710cf8 Use pid of update-tool as event-id. (used by christian) 2025-05-14 10:42:27 +02:00
GerhardHoffmann 1ea1cdc3e6 set version to 1.5.7 after merge of pu/portrait 2025-02-19 12:08:17 +01:00
SiegfriedSiegert 348fb15508 Ui: support portrait mode 2025-02-19 11:39:08 +01:00
GerhardHoffmann 061c57ef51 set verion to 1.5.6 1.5.6 2024-11-22 12:59:13 +01:00
GerhardHoffmann e82417dde7 MainWindow::MainWindow():
Add status timer, to show proceeding update, so user does not exit
	application / restart machine.
2024-11-22 12:55:27 +01:00
GerhardHoffmann 1e271201c5 Set version to 1.5.5. 1.5.5 2024-11-21 09:15:33 +01:00
GerhardHoffmann da66d75a45 getPSAInstalled():
call ptuPackagesVersion. Convert returned JSON-array into JsonObject
	to be appended to CMD_SENDVERSION.
2024-11-21 09:14:05 +01:00
GerhardHoffmann 7accabfa53 Add variables for handling ptu-package-versions and append corresponding data
to CMD_SENDVERSION.
2024-11-21 09:12:35 +01:00
GerhardHoffmann 201a1cbab9 privateUpdate():
Make sure opkg-commands re executed aunder certain error conditions:

	Failure of customerEnvironment(), filesToUpdate() or
	syncCustomerRepositoryAndFS().
1.5.4
2024-10-23 13:23:13 +02:00
GerhardHoffmann 9a9cce126a Minor: extended comment 2024-10-23 13:22:42 +02:00
GerhardHoffmann da0fa54d28 gitPull():
Add important comment for the case that an remote host key change:
	'git pull' handles the issue itself, and continues to pull the repository
	using the ssh-key provided in the .keys/ directory.
2024-10-23 12:58:48 +02:00