Skip to content

Firmware to 1.5.1 update failed #605

Description

@na-am

hi @ all

I'm getting these errors:

root@iot2050-debian:/mnt# fw_printenv fw_version
fw_version=2023.10-V01.04.04-0-gd3b7b08
root@iot2050-debian:/mnt# 
root@iot2050-debian:/mnt# dpkg -i iot2050-firmware-update_arm64.deb 
(Reading database ... 158915 files and directories currently installed.)
Preparing to unpack iot2050-firmware-update_arm64.deb ...
Unpacking iot2050-firmware-update (0.5) over (0.5) ...
Setting up iot2050-firmware-update (0.5) ...
root@iot2050-debian:/mnt# 
root@iot2050-debian:/mnt# iot2050-firmware-update IOT2050-FW-Update-PKG-V01.05.01-0-g605c620.tar.xz 
Current board: _SIMATIC IOT2050 Advanced M2_
Traceback (most recent call last):
  File "/usr/sbin/iot2050-firmware-update", line 1063, in <module>
    CODE = main(sys.argv)
           ^^^^^^^^^^^^^^
  File "/usr/sbin/iot2050-firmware-update", line 978, in main
    if not tarball.check_firmware():
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/sbin/iot2050-firmware-update", line 648, in check_firmware
    if len(self.get_file_name(self.FIRMWARE_TYPES[0])) <= 0:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/sbin/iot2050-firmware-update", line 686, in get_file_name
    self.__check_os(target_os, self._board_info.os_info):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/sbin/iot2050-firmware-update", line 642, in __check_os
    os_info[tos.key], ".", sep="")
    ~~~~~~~^^^^^^^^^
KeyError: 'BUILD_ID'
root@iot2050-debian:/mnt# 

any hints/ideas?

thx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions