Toon firmware - update script

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon firmware - update script

Post by TerrorSource »

mAiden wrote:Can your script also downgrade @TheHogNL ?
Get the following notification to a forced update to 4.18.8..

Code: Select all


INIT: Id "qtqt" respawning too fast: disabled for 5 minutes
INIT: Id "qtqt" respawning too fast: disabled for 5 minutes

Why did you do that! :roll:

4.18.8 is not (yet) supported by the update script and the ToonStore...
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon firmware - update script

Post by mAiden »

TerrorSource wrote:
mAiden wrote:Can your script also downgrade @TheHogNL ?
Get the following notification to a forced update to 4.18.8..

Code: Select all


INIT: Id "qtqt" respawning too fast: disabled for 5 minutes
INIT: Id "qtqt" respawning too fast: disabled for 5 minutes

Why did you do that! :roll:

4.18.8 is not (yet) supported by the update script and the ToonStore...
For status used it was necessary to do a factory reset. Quby / Eneco force nowadays the latest version when you do to the end of installation wizard.
Member of the Toon Software Collective
soepie78
Starting Member
Starting Member
Posts: 10
Joined: Tue Feb 20, 2018 12:59 pm

Re: Toon firmware - update script

Post by soepie78 »

I used the update script, chose 4.16.8, and now my toon won't boot.
It stays in a grey screen with a Logo light grey.
Luckely i've got my ssh up again, but when i try the scipt this is my output:

Code: Select all

Which version do you want to upgrade to?
4.16.8
Alright, I will try to upgrade to 4.16.8
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Could not enable VPN in a normal reasonable time!
DEBUG information:
192.168.178.0/24 dev eth0 scope link  src 192.168.178.48
default via 192.168.178.1 dev eth0  metric 10
# <persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 ping.quby.nl
# </persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1               localhost.localdomain           localhost              eneco-001-071382
172.19.16.1             feed.hae.orig           feed
127.0.0.1  feed.hae.int  feed
END DEBUG information
Quitting the upgrade. It was a nice try tho...
killall: openvpn: no process killed
what can i do?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

PM me your mobile number. I will then contact you and start a teamviewer session to check your Toon.
Member of the Toon Software Collective
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon firmware - update script

Post by mAiden »

soepie78 wrote:I used the update script, chose 4.16.8, and now my toon won't boot.
It stays in a grey screen with a Logo light grey.
Luckely i've got my ssh up again, but when i try the scipt this is my output:

Code: Select all

Which version do you want to upgrade to?
4.16.8
Alright, I will try to upgrade to 4.16.8
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Now starting the VPN tunnel and waiting for it to be alive and configured...
Could not enable VPN in a normal reasonable time!
DEBUG information:
192.168.178.0/24 dev eth0 scope link  src 192.168.178.48
default via 192.168.178.1 dev eth0  metric 10
# <persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1 ping.quby.nl
# </persistent /etc/hosts content from /etc/hosts.template file>
127.0.0.1               localhost.localdomain           localhost              eneco-001-071382
172.19.16.1             feed.hae.orig           feed
127.0.0.1  feed.hae.int  feed
END DEBUG information
Quitting the upgrade. It was a nice try tho...
killall: openvpn: no process killed
what can i do?
How looks you're inittab?
Member of the Toon Software Collective
soepie78
Starting Member
Starting Member
Posts: 10
Joined: Tue Feb 20, 2018 12:59 pm

Re: Toon firmware - update script

Post by soepie78 »

this is my inittab:

Code: Select all

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:5:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# HCBv2 static stuff
ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev
qtqt:245:respawn:/usr/bin/startqt >/dev/null 2>&1
gett:235:respawn:/sbin/getty -L 115200 ttymxc0 vt102
# automatic (re)start of x11vnc:
#x11v:5:respawn:/usr/bin/x11vnc

# WARNING: auto-managed by '/etc/init.d/HCBv2 inittabwrap' with '/HCBv2/etc/star
#          lines containing 'inittabwrap' will be removed automagically.
netc:235:respawn:/etc/init.d/HCBv2 inittabwrap hcb_netcon
comm:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_comm
even:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_eventmgr
kpik:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_kpi
pwru:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_pwrusage
scsy:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_scsync
smar:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_smartplug
ther:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_thermstat
user:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_usermsg
weat:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_weather
bxtp:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_bxtproxy
conf:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_config
logl:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_log
rrdr:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_rrd
watc:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_watchdog
hueh:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_hue
p1p1:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_p1
zwav:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_zwave
ligh:345:respawn:/etc/init.d/HCBv2 inittabwrap lighttpd
# end of 'inittabwrap' section.

- /etc/inittab 60/60 100%
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon firmware - update script

Post by mAiden »

soepie78 wrote:this is my inittab:

Code: Select all

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:5:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# HCBv2 static stuff
ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev
qtqt:245:respawn:/usr/bin/startqt >/dev/null 2>&1
gett:235:respawn:/sbin/getty -L 115200 ttymxc0 vt102
# automatic (re)start of x11vnc:
#x11v:5:respawn:/usr/bin/x11vnc

# WARNING: auto-managed by '/etc/init.d/HCBv2 inittabwrap' with '/HCBv2/etc/star
#          lines containing 'inittabwrap' will be removed automagically.
netc:235:respawn:/etc/init.d/HCBv2 inittabwrap hcb_netcon
comm:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_comm
even:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_eventmgr
kpik:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_kpi
pwru:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_pwrusage
scsy:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_scsync
smar:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_smartplug
ther:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_thermstat
user:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_usermsg
weat:345:respawn:/etc/init.d/HCBv2 inittabwrap happ_weather
bxtp:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_bxtproxy
conf:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_config
logl:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_log
rrdr:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_rrd
watc:345:respawn:/etc/init.d/HCBv2 inittabwrap hcb_watchdog
hueh:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_hue
p1p1:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_p1
zwav:345:respawn:/etc/init.d/HCBv2 inittabwrap hdrv_zwave
ligh:345:respawn:/etc/init.d/HCBv2 inittabwrap lighttpd
# end of 'inittabwrap' section.

- /etc/inittab 60/60 100%
That one looks good.
Give Toon a error on you're console? when you boot them? Connect Toon to serial interface, you can see everything what happends.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Just had a chance to look wat was wrong with your Toon.
After starting qt manually (/usr/bin/startqt) it immediatly stopped with message 'drawables.rcc' not found.

It seemed that the symbolic links in /qmf/qml towards the rcc files where missing. Not sure yet how this is possible as I am currently unaware when these links are made during the upgrade to 4.16.8
However, it was easily fixed using these commands:

Code: Select all

cd /qmf/qml
ln -s resources-static-base.rcc resources.rcc
ln -s drawables-base.rcc drawables.rcc
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Ok, just found where these links normally are created.
In /qmf/bin/qmf-tenantize.sh, which is started just after a upgrade, the tenant version (in most of our cases Eneco) is checked and then the correct resource file is linked (base or Electrabel for Boxx devices).

So, running /qmf/bin/qmf-tenantize.sh again should have fixed your issue also. Probably the update went wrong somewhere causing this not to run.
Member of the Toon Software Collective
soepie78
Starting Member
Starting Member
Posts: 10
Joined: Tue Feb 20, 2018 12:59 pm

Re: Toon firmware - update script

Post by soepie78 »

Fantastic Hogg!

Up and running agian, with 0.1 degree steps temp reading!
makkie2002
Member
Member
Posts: 66
Joined: Fri Aug 18, 2017 3:28 pm

Re: Toon firmware - update script

Post by makkie2002 »

Hi,

After a long time I decided it was time to upgrade my Toon by the script. As suggested I first upgraded to 4.10.6, which was succesfull!
I then upgraded to 4.15.6 ... which was not successfull as after reboot the Toon seems to be stuck at the orange Toon bootscreen. Now and then Toon seems to reboot by itself as the screen briefly flashes to black. But I do not get into the GUI. I can connect over ssh, but also this seems to indicate a reboot from time to time. I can see "/HCBv2/sbin/qt-gui -platform linuxfb -plugin Tslib" using most of the CPU.

Please help.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Try to start qt manually (/usr/bin/startqt) and try to understand the output. Or just PM me if you want me to help you remotely.
Member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

In a PM conversation I adviced him to install 4.16.8. The logs from qt where not that conclusive but my best guess what that the 4.15.8 installation had failed somewhere.
After the update to 4.16.8 his Toon is working fine.

@Toonz, please make a 4.16.8 (and 4.18.8 ) resources file for the Boxx for him so he can tentantize towards Boxx (he's belgian :) )
Member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon firmware - update script

Post by Toonz »

That 's fine. Can do after I return from holiday.
Do we have the original boxx resource files already?
member of the Toon Software Collective
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon firmware - update script

Post by TheHogNL »

Yes it is installed on each Toon also (called resources-static-ebl.rcc or something). Only need to reverse engineer all the code again (very hard labour.. but worth it).
Member of the Toon Software Collective
Post Reply

Return to “Toon Firmware”