Page 13 of 24
Re: Toon firmware: issues (and solutions)
Posted: Wed Jan 03, 2018 9:30 pm
by balans
Hello Michel30
I installed it manually because i couldn`t figure out the error the files where there but the _opkg*.sh file ended up with another error i couldn`t figure out
Code: Select all
>> 2018-01-03 19:14:58 +0000 (pid 9620) _opkg.qb2-ene-4.10.6.script.sh
>> 2018-01-03 19:14:58 +0000 (pid 9620)
>> Unknown ACTION arg! Aborting.
>> 2018-01-03 19:14:58 +0000 (pid 9620) -error-unknown-action 'Unknown ACTION arg! Aborting.'
the list with opkg list_upgradable is empty now
but when i look in the menu the toon version is still 4.9.23 it even shows the update button wich stilll failes with the same error.
Re: Toon firmware: issues (and solutions)
Posted: Wed Jan 03, 2018 10:14 pm
by balans
ok found out i could install the base-qb2-ene - 4.10.6-1196-0 manualy strange it did not come up as upgradable
after that i was able to update from the menu in toon and i`m up with the latest 4.10.6 version.
next disable the ovpn and install the toon store
Re: Toon firmware: issues (and solutions)
Posted: Thu Jan 04, 2018 6:14 pm
by gijsje
gijsje wrote:I did some more study and installed the traffic app on the toon and it is not able to update the traffic and it says it has no internet connection.
If i look at the www status it says it is connected to the internet and i am also able to access it from my computer and the data is coming into domoticz so it is connected to my local network.
It looks like no date from the outside is coming to the toon and then it can of course also not update the time.

Still have no connection to any outside information still no internet access shown
Re: Toon firmware: issues (and solutions)
Posted: Thu Jan 04, 2018 6:36 pm
by Toonz
Hi, just checking: you are referring to the fileinfo app from ToonStore? The original Eneco traffic app is not working anymore. Secondly, do you have the Eneco VPN active or not?
Re: Toon firmware: issues (and solutions)
Posted: Thu Jan 04, 2018 7:39 pm
by gijsje
Toonz wrote:Hi, just checking: you are referring to the fileinfo app from ToonStore? The original Eneco traffic app is not working anymore. Secondly, do you have the Eneco VPN active or not?
To whom is the question?
I am on 4.10 and as i understand from terrorsource the toonstore is not working on that
Re: Toon firmware: issues (and solutions)
Posted: Thu Jan 04, 2018 11:13 pm
by balans
It maybe my messed up installation but if lost happ_thermstat i end up forbidden 403
it used to work like a charm and i really need it for my domoticz setup.
Did i missed something?
Re: Toon firmware: issues (and solutions)
Posted: Thu Jan 04, 2018 11:32 pm
by michel30
There is a new toonstore 1.1.0
See message Marcel in topic toonstore.
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 8:50 pm
by klaphekje
Hey guys, i'm in need of your help again.
During the latest update to 4.10.6 something went apparently wrong with the zwave firmware.
Code: Select all
Configuring firmware-zwave-ctrlr.
* Checking for Z-Wave controller firmware 4.55-serialapi_controller_static_norep_noflirs_nomr_ZW030x_EU.bin
* eeprom 4.55-serialapi_controller_static_norep_noflirs_nomr_eeprom.bin
* Backup eeprom: done.
* Loading kernel module: * Flashing failed - mtd partition 'zwave300' not found!
...
...
Collected errors:
* pkg_run_script: package "firmware-zwave-ctrlr" postinst script returned status 1.
* opkg_configure: firmware-zwave-ctrlr.postinst returned 1.
I tried to reinstall the previous version but this generates the same output "mtd partition 'zwave300' not found!".
In result of this the zwave communication with the power module does not work anymore.
Does anyone have any idea how to fix this?
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:11 pm
by marcelr
Not sure how to fix this, but the message makes sense. On toon, there's no such thing as an mtd partition called zwave300.
What firmware package version are you trying to install?
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:23 pm
by klaphekje
To be honest, nothing specific. i just ran "opkg upgrade" as always to update Toon. That way i can edit iptables.conf directly afterwards before rebooting Toon.
This message came up during the update process.
Do you even have the package "firmware-zwave-ctrlr - 1.8-4.55-NrNfNm-noeep" then
Edit: i have had a problem with strange packages before (squish). Can you submit your list of installed packages (FW4.10.6)? I'd like to compare those to see if there are any differences.
Code: Select all
base-files - 3.0.14-r100
base-passwd - 3.5.20-r1
base-qb2-ene - 4.10.6-1196-0
boot-logos - 1.71
buienradar - 8.3.0-r0
busybox - 1.27.2-r1
busybox-mountall - 1.27.2-r1
busybox-syslog - 1.27.2-r1
ca-certificates - 20160104-r1
chrony - 1.27-r1
cron - 3.0pl1-r8
curl - 7.50.0-r0
directfb - 1.2.8-r1.0
dropbear - 2015.71-r0
firmware-ba - 1.44
firmware-ma - 1.113-master
firmware-zwave-ctrlr - 1.8-4.55-NrNfNm-noeep
flash-gui - 1.651-ene-qeio
flash-lite-adobe - 4.0.3-54-fb0
flash-qwidget-diy - 1.161-qeio
freetype - 2.4.3-r1
gettext - 0.18-r5
glibc - 2.10.1-r37.1
glibc-binary-localedata-de-de - 2.10.1-r37.1
glibc-binary-localedata-en-gb - 2.10.1-r37.1
glibc-binary-localedata-en-us - 2.10.1-r37.1
glibc-binary-localedata-es-es - 2.10.1-r37.1
glibc-binary-localedata-fr-fr - 2.10.1-r37.1
glibc-binary-localedata-it-it - 2.10.1-r37.1
glibc-binary-localedata-nl-nl - 2.10.1-r37.1
glibc-gconv - 2.10.1-r37.1
glibc-gconv-iso8859-1 - 2.10.1-r37.1
glibc-localedata-i18n - 2.10.1-r37.1
glibc-localedata-iso14651-t1 - 2.10.1-r37.1
glibc-localedata-iso14651-t1-common - 2.10.1-r37.1
glibc-localedata-translit-circle - 2.10.1-r37.1
glibc-localedata-translit-compat - 2.10.1-r37.1
glibc-localedata-translit-fraction - 2.10.1-r37.1
glibc-localedata-translit-narrow - 2.10.1-r37.1
glibc-localedata-translit-neutral - 2.10.1-r37.1
glibc-localedata-translit-small - 2.10.1-r37.1
glibc-patch-dns - 2.10.1-r37.2
gnupg - 1.4.10-r3
gnutls - 2.10.4-r11.0
gpgv - 1.4.10-r3
happ-eventmgr - 1.212-master
happ-kpi - 1.406-master
happ-pwrusage - 1.674-master
happ-scsync - 1.267-master
happ-smartplug - 1.203-master
happ-thermstat - 1.1919-release-4.10
happ-usermsg - 1.87-master
happ-weather - 1.147-master
hcb-bxtproxy - 1.349-master
hcb-comm - 1.184-N-master
hcb-config - 1.331-master
hcb-log - 1.79-master
hcb-netcon - 1.346-master
hcb-rrd - 2.159-master
hcb-upnp - 1.87-master
hcb-watchdog - 1.69-master
hdrv-hue - 1.221-master
hdrv-p1 - 1.724-master
hdrv-zwave - 1.1284-master
i2c-tools - 3.0.3-r0
initscripts - 1.2-r6-runlvls
iptables - 1.4.9.1-r7.1
jansson - 1.3-r1.0
joe - 3.1-r3
jpeg - 8b-r1
kernel - 2.6.36-R10-h27
kernel-image - 2.6.36-R10-h27
kernel-module-fat - 2.6.36-R10-h27
kernel-module-ftdi-sio - 2.6.36-R10-h27
kernel-module-msdos - 2.6.36-R10-h27
kernel-module-pl2303 - 2.6.36-R10-h27
kernel-module-rt5370sta - 2.6.36-R10-h27
kernel-module-rt5370sta-cfg - 2.6.36-R10-h27
kernel-module-rtl8191su - 2.6.36-R10-h27
kernel-module-vfat - 2.6.36-R10-h27
kernel-module-zwave300 - 2.6.36-R10-h27
less - 436-r1
libcrypto - 0.9.8m-r14.1
libcrypto1.0.0 - 1.0.2h-r2
libcurl - 7.50.0-r0
libgcc - 4.5-r33.1+svnr170443
libgcrypt - 1.4.1-r0
libgettextlib - 0.18-r5
libgettextsrc - 0.18-r5
libgpg-error - 1.4-r7.1
libhcb-base - 1.293-master
libhcb-boxtalk - 1.123-master
libhcb-com - 1.124-N-master
libhcb-drv - 1.342-master
libhcb-xml - 1.111-master
libjansson4 - 2.10-r1.0
libnetfilter-conntrack - 0.0.101-r0
libpng12 - 1.2.44-r3.0
libssl - 0.9.8m-r14.1
libssl1.0.0 - 1.0.2h-r2
libstdc++ - 4.5-r33.1+svnr170443
libsysfs - 2.1.0-r3
libuuid - 2.18-r36.0
lighttpd - 1.4.33-28
lighttpd-mod-hcb-web - 1.4.33-26
locale-base-de-de - 2.10.1-r37.1
locale-base-en-gb - 2.10.1-r37.1
locale-base-es-es - 2.10.1-r37.1
locale-base-it-it - 2.10.1-r37.1
locale-base-nl-nl - 2.10.1-r37.1
lzo - 1.08-r15
makedevs - 1.0.0-r10
module-init-tools-depmod - 3.12-r6
modutils-initscripts - 1.0-r3
mtd-utils - 1.4.1-r0
ncurses-libncurses - 5.7+20110115-r16
ncurses-libtinfo - 5.7+20110115-r16
openssh-sftp-server - 7.3p1-r10.0
openssl - 1.0.2h-r3
openssl-conf - 1.0.2h-r3
openvpn - 2.3.11-r1
opkg - 0.1.8+svns635-r7-gcv
opkg-collateral - 1.0-r3
pointercal - 0.0-r22
qmf-0 - 1.19-master-r0
qmf-tenantize - 0.1-r0
qt-gui - 1.8075-ene-release-4.10
qt-libs - 5.3.1-06-setpos
qt-squish - 5.3.1-5.1.1-03-setpos-4
samba-nmbd - 3.0.20-r8
sysvinit-inittab - 2.86-r63
sysvinit-utils - 2.86-r63
tenant-eneco-nl - 1.14-master
toonstore - 1.1.0-r0
tsc-certificates - 1.0.0-r0
tslib - 1.0-r28.7hae
tslib-conf - 1.0-r28.7hae
tzdata-americas - 2011b-r8.0
update-modules - 1.0-r10
update-rc.d - 0.7-r2
wastecollection - 2.5-r0
wget - 1.12-r8.3
wireless-tools - 29-r5
wpa-supplicant - 2.6-r0
wpa-supplicant-cli - 2.6-r0
wpa-supplicant-passphrase - 2.6-r0
www-jquery-ui - 1.8.21-16
www-resources - 1.35-master
x11vnc - 0.9.13-r2
zlib - 1.2.3-r7.0
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:25 pm
by marcelr
Doesn't ring a bell .... will check, though.
This is the script that does all the installation of the zwave firmware for you (/usr/lib/opkg/info/firmware-zwave-ctrlr.postinst)
You go wrong at the check of $DEV_FW.
Code: Select all
#!/bin/sh
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
# do not run during ROOTFS generation
# exit 0 to mark this package as installed, this prevents reconfig when installing the ROOTFS to the display
# Prodrive should install the latest version of the firmware during production
[ "$D" ] && exit 0
IMG_EEP="/HCBv2/data/firmware_zwave_ctrlr/4.55-serialapi_controller_static_norep_noflirs_nomr_eeprom.bin"
BACKUP_EEP="/tmp/eeprom_backup.bin"
IMG_FW="/HCBv2/data/firmware_zwave_ctrlr/4.55-serialapi_controller_static_norep_noflirs_nomr_ZW030x_EU.bin"
DEV_EEP='/sys/class/spi_master/spi0/device/spi0.0/eeprom'
SKIP_EEP="1"
##
## first the checks
##
echo "* Checking for Z-Wave controller firmware 4.55-serialapi_controller_static_norep_noflirs_nomr_ZW030x_EU.bin"
echo "* eeprom 4.55-serialapi_controller_static_norep_noflirs_nomr_eeprom.bin"
# backup eeprom
echo -n "* Backup eeprom: "
cat $DEV_EEP > $BACKUP_EEP 2>&1
echo "done."
echo -n "* Loading kernel module: "
modprobe zwave300 2>&1
DEV_FW="`sed /proc/mtd -r -n -e 's,^(mtd.): 00008000 00008000 "zwave300"$,/dev/\1,p'`"
if [ "$DEV_FW" = "" ]
then
echo "* Flashing failed - mtd partition 'zwave300' not found!"
rmmod zwave300
exit 1
fi
if [ ! -s $IMG_FW ]
then
echo "* Flashing failed - image '$IMG_FW' not found/zero!"
rmmod zwave300
exit 2
fi
if [ ! -e "$DEV_EEP" ]
then
echo "* Flashing failed - file '$DEV_EEP' not found!"
rmmod zwave300
exit 4
fi
if [ ! -s $IMG_EEP ]
then
echo "* Flashing failed - image '$IMG_EEP' not found/zero!"
rmmod zwave300
exit 5
fi
MTD_SIZE="`mtd_debug info $DEV_FW | grep mtd.size | cut -d' ' -f3`"
IMG_SIZE="`/bin/ls -l $IMG_FW | xargs | cut -d' ' -f5`"
if [ $IMG_SIZE -gt $MTD_SIZE ]
then
echo "* Flashing failed - partition ($MTD_SIZE) too small for image ($IMG_SIZE)!"
rmmod zwave300
exit 3
fi
# check if data on flash is equal to image data
IMG_FROM_MTD="/tmp/zwave300-current"
echo -n "* Reading existing image... "
dd if=$DEV_FW of=$IMG_FROM_MTD bs=$IMG_SIZE count=1 2>&1 | grep -v -E "(records|seconds)"
echo "done."
cmp -s $IMG_FW $IMG_FROM_MTD && IDENTICAL=1
rm -f $IMG_FROM_MTD
##
## then the writes?
##
if [ "$IDENTICAL" ]
then
echo "* Flashing not needed - $IMG_SIZE data bytes equal."
else
echo "* Images differ, preparing to write images."
# first clear + disable controller firmware
echo -n "* Erasing $DEV_FW ... "
mtd_debug erase $DEV_FW 0 32768 2>&1
# are we doing a 5.0x eeprom?
if [ "${IMG_EEP/5.0/}" != "${IMG_EEP}" ]
then
echo -n "* Patching eeprom image with random HomeID: "
cp $IMG_EEP /tmp/eeprom.bin
# first write HomeID @ offset 8 (truncates file, since func=notrunc not in BusyBox)
dd if=/dev/urandom of=$IMG_EEP bs=4 skip=0 seek=2 count=1 2>&1 | grep -v -E "(records|seconds)"
# then write the rest @ offset 12 from the tmp-file
dd if=/tmp/eeprom.bin of=$IMG_EEP bs=4 skip=3 seek=3 2>&1 | grep -v -E "(records|seconds)"
rm -f /tmp/eeprom.bin
# finish by showing the HomeID
cat $IMG_EEP | hexdump -C -n 12 | head -n 1 | cut -b36-46
fi
if [ -z "$SKIP_EEP" ]
then
# then write eeprom when firmware not running
echo -n "* Writing eeprom image to $DEV_EEP ... "
cat $IMG_EEP > $DEV_EEP 2>&1
echo "done."
else
echo "* No eeprom in this release ... "
fi
# finally write + start new firmware
echo -n "* Writing firmware image to $DEV_FW ... "
cat $IMG_FW > $DEV_FW 2>&1
echo "done."
fi
rmmod zwave300
if [ -z "$SKIP_EEP" ]
then
echo "* Already flashed eeprom. Skip restore"
else
echo -n "* Restoring old eeprom image to $DEV_EEP ... "
cat $BACKUP_EEP > $DEV_EEP 2>&1
echo "done."
fi
# schedule reboot
#echo "* Asking for /tmp/opkg_reboot"
#echo 1 > /tmp/opkg_reboot
exit 0 # OK: guarantee install continues
The first thing to test is whether the kernel module is loaded at all:
and please report what that says. My hunch is that your kernel module for the zwave driver doesn't match the version of the installed kernel.
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:44 pm
by klaphekje
It returns nothing. I assume it's loaded?
Code: Select all
eneco-001:/var# modprobe zwave300
eneco-001:/var#
Some additional info (maybe helpful?)
Code: Select all
eneco-001:/var# modinfo zwave300
filename: /lib/modules/2.6.36-R10-h27/kernel/drivers/prodrive/zwave300_driver_r01/zwave300.ko
license: GPL
author: Valentijn scheifes <valentijn.scheifes@prodrive.nl>
description: MTD SPI driver for Zenys Zwave300 Flash chips
version: 1.0.xx
srcversion: A2EFC76626E29B5EAD8DF3C
depends:
vermagic: 2.6.36-R10-h27 preempt mod_unload modversions ARMv5
eneco-001:/var# lsmod
Module Size Used by
zwave300 3994 0
rt5370sta 760630 1
rtl8191su 333662 0
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:51 pm
by balans
balans wrote:It maybe my messed up installation but if lost happ_thermstat i end up forbidden 403
it used to work like a charm and i really need it for my domoticz setup.
Did i missed something?
resolving my problem
here my fix
edit qmf_release.xml with <item>happ_thermstat</item>
Code: Select all
<hcb_web>
<defaultEntry>/hdrv_zwave/</defaultEntry>
<enforceWhitelist>1</enforceWhitelist>
<whitelist>
<item>hdrv_zwave</item>
<item>hdrv_hue</item>
<item>happ_thermstat</item>
</whitelist>
</hcb_web>
with this extra line my happ_thermstat works again like before
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:52 pm
by marcelr
@klaphekje
OK, please give the output of the following:
followed by
followed by
followed by
Please truncate the output of the latter to the last few relevant lines, pertaining to the zwave driver.
Re: Toon firmware: issues (and solutions)
Posted: Fri Jan 05, 2018 9:57 pm
by marcelr
@balans
You might have edited the file qmf_release.xml according to the Fix-403-forbidden manual:
viewtopic.php?f=87&t=11235#p82535
But your solution works equally well.