Update firmware 4.5.1 to 4.6.6 experience

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
vleeuwen
Beiträge: 1609
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Update firmware 4.5.1 to 4.6.6 experience

Beitrag von vleeuwen » 04 Jun 2020, 00:22

Start TXT
Start RoboPro
Connection: USB cable.

Start Putty with screen -r (optional)

Start test interface.

Popup with message update firmware. Answer with Ok within 2 sec. If you wait to long the update doesn't work.
During +/- 1:40 min nothing is happening.

On the console screen (repeating):

Code: Alles auswählen

Received send file block command
Received send file block command
Received send file block command
IOs/s DL=0 OL=0, Cam DL=0 OL=0, I2C tr=0 by=0
Received send file block command
Received send file block command
Then their is a green line on the message box and the time runs from 1:40.

On the console screen you will see now:

Code: Alles auswählen

Received send file close command
Received send file open command
Received send file block command
Received send file close command
Received run command command
total 56136
drwx------    2 root     root            80 Jun  3 23:37 .
drwxrwxrwt    7 root     root           640 Jun  3 23:37 ..
-r-x------    1 root     root      57477296 Jun  3 23:37 executable
-r-x------    1 root     root           512 Jun  3 23:37 signature
+ readlink -f /tmp/tmp.kgcoab/executable
+ SCRIPTPATH=/tmp/tmp.kgcoab/executable
+ dirname /tmp/tmp.kgcoab/executable
+ SCRIPTFLDR=/tmp/tmp.kgcoab
+ [ 0 = 0 ]
+ + grep -n -m 1 ^PAYLOADTOOLSBEG:$ /tmp/tmp.kgcoab/executable
cut -d : -f 1
+ payloadtoolsbeg_match=350
+ cut -d : -f 1
+ grep -n -m 1 ^PAYLOADTOOLSEND:$ /tmp/tmp.kgcoab/executable
+ payloadtoolsend_match=495
+ payloadtools_start=351
+ payloadtools_length=144
+ tail -n +351 /tmp/tmp.kgcoab/executable
+ head -n 144
+ openssl enc -base64 -d
+ gzip -d -
+ chmod u+x /tmp/tmp.kgcoab/ShowProgressOld
+ basename /tmp/tmp.kgcoab/executable
+ [ executable = executable ]
+ umask 077
+ mktemp -d -p /tmp
+ EXECFLDR=/tmp/tmp.4AAlkL
+ mv /tmp/tmp.kgcoab/executable /tmp/tmp.4AAlkL/executable
+ mv /tmp/tmp.kgcoab/signature /tmp/tmp.4AAlkL/signature
+ mv /tmp/tmp.kgcoab/ShowProgressOld /tmp/tmp.4AAlkL/ShowProgressOld
+ touch /tmp/tmp.kgcoab/executable
+ touch /tmp/tmp.kgcoab/signature
+ SCRIPTFLDR=/tmp/tmp.4AAlkL
+ SCRIPTPATH=/tmp/tmp.4AAlkL/executable
+ screen -m -d -S update /bin/sh -c /bin/sh /tmp/tmp.4AAlkL/executable restart 2>&1 | /tmp/tmp.4AAlkL/ShowProgressOld
+ exit 0
IOs/s DL=0 OL=0, Cam DL=0 OL=0, I2C tr=0 by=0

[screen is terminating]
After this, the uploading of the installation file to the TXT is ready and the installation proces starts on the TXT.
Do nothing and wait until the TXT will switch of after some minutes.

This first time I switch on the TXT, it shows a grey screen.
After switching off and on the TXT boot fine and shows his normal screen.
The update was done.

Antworten