[OpenWrt-Devel] Sysupgrade possibly broken in recent development snapshots: "message": "Firmware image couldn't be validated"

Petr Štetiar ynezz at true.cz
Tue Dec 31 04:58:01 EST 2019

Petr Novák <petrn at me.com> [2019-12-31 09:42:53]:

> root at OpenWrt:~# sysupgrade -v https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2711/openwrt-brcm2708-bcm2711-rpi-4-ext4-sysupgrade.img.gz
> wget: SSL support not available, please install one of the libustream-.*[ssl|tls] packages as well as the ca-bundle and ca-certificates packages.

use http:// or install the recommended packages in order to be able to use

> Image metadata not found
> Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware
> Reading partition table from bootdisk...
> Reading partition table from image...
> Invalid partition table on /tmp/image.bs
> Failed to parse message data
> sh: out of range

The download of firmware image has failed, but the sysupgrade process
continues, so this errors are "expected", following patch[1] should fix some
of this.

1. https://git.openwrt.org/6dbaf71411e7f16cc1c920b6a63bbe33ef2b8921

-- ynezz

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list