[PATCH v2 3/6] base-files: fwtool: implement compatibility check for images
bjorn at mork.no
Thu Jul 16 04:10:00 EDT 2020
Paul Spooren <mail at aparcar.org> writes:
>> Major version increment:
>> This is meant for potential (rare) cases where sysupgrade is
>> not possible at all, because it would break the device.
>> In this case, a warning will be printed, and -n won't help.
> What are those rare cases? I just can't think of anything where not
> even a clean sysupgrade would be possible. Would it mean to go back to
> stock firmware and then upgrade a 2.x version? If there isn't a
> scenario maybe a single integer is easier to handle than a pseudo
Changing partition layout maybe?
I don't think it's necessary to specify the exact upgrade method for
every possible device/scenario. The important part is to prevent
semi-bricking and issue a warning, which should make the user go look
for further upgrade instructions.
More information about the openwrt-devel