mercenaruss / zigstar_addons

Home Assistant add-ons for Flashing ZigStar Devices
Apache License 2.0
55 stars 3 forks source link

Error: '/root/firmware.gbl' does not appear to be a valid GBL image #24

Closed henning99k closed 4 months ago

henning99k commented 6 months ago

I get this error: Error: '/root/firmware.gbl' does not appear to be a valid GBL image

What is wrong?

I have tried both: https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/blob/master/Dongle-E/Router/Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl https://github.com/xsp1989/zigbeeFirmware/blob/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP/ncp-uart-sw_6.10.3_115200.gbl

I close ZHA before starting.

Configuration in YMAL: network_device: 127.0.0.1 device: >- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230329144712-if00 device_type: true firmware_url: >- https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/blob/master/Dongle-E/Router/Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl bootloader_baudrate: "115200" flow_control: false verbose: false

Log-file: s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service banner: starting


Add-on: ZigStar Silicon Labs FW Flasher ZigStar Silicon Labs firmware flasher add-on

Add-on version: 0.1.1 You are running the latest version of this add-on. System: Home Assistant OS 11.4 (aarch64 / raspberrypi4-64) Home Assistant Core: 2024.1.6 Home Assistant Supervisor: 2023.12.1

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service banner successfully started s6-rc: info: service universal-silabs-flasher: starting [08:44:02] INFO: Starting universal-silabs-flasher with /dev/ttyACM0 (bootloader baudrate 115200) Error: '/root/firmware.gbl' does not appear to be a valid GBL image: ValidationError('Image is truncated: tag value is cut off') [08:44:03] INFO: universal-silabs-flasher-up script exited with code 1 s6-rc: warning: unable to start service universal-silabs-flasher: command exited 1 s6-rc: info: service banner: stopping /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service banner successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

mercenaruss commented 4 months ago

Hello,you need to use raw link: https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/raw/master/Dongle-E/Router/Z3RouterUSBDonlge_EZNet6.10.3_V1.0.0.gbl