[OpenWrt-Devel] [PATCH procd] system: reject sysupgrade of broken firmware images

Rafał Miłecki rafal at milecki.pl
Sun Sep 1 04:58:10 EDT 2019

On 2019-09-01 00:14, Karl Palsson wrote:
> What's the point of "force" if it doesn't force? Are we going to
> add a second -F to "really force" ? Or is it going to be "oh, -F
> failed for some lame reason, so I'll use mtd write, and still
> complain anyway"

Firmware can be marked as:
1) Invalid
2) Broken

Force option is to bypass invalid check only.

Invalid fw state may mean broken checksum or no device model match.
Broken fw state should mean unrecognized fw image format.

I'm not saying every target has to use that as it surely won't fit all
of them nicely. I can say it's going to fit Broadcom platform very well

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

More information about the openwrt-devel mailing list