OpenWrt 21.02 status

Luiz Angelo Daros de Luca luizluca at gmail.com
Sat Jul 17 18:40:30 PDT 2021


> > 2) I was pretty fuzzy about what people should do if their target did migrate to DSA. Do we have a guide to help those people through the transition?
>
> We do not support a migration and people have to start with a new fresh
> installation. Doing a backup and restoring some settings manually works.

The last time I tried it was very confusing. When I first read about
"new fresh installation", I thought: "install without keeping
settings".
However, OpenWrt returned an image check failure, even when I did not
keep the settings (sysupgrade -n). It was the same type of
error (image validation failed) that would happen if I selected the
wrong firmware (but maybe with a different content). The only way
to install it was forcing the operation, which might also allow an
incompatible image to be installed (bricking the device). Please
reconsider some form of upgrade path that validates the image and
allows the user to upgrade without a force or going back
to factory before reinstalling OpenWrt with DSA. Something like
"update package foo to version n.m.z or upgrade to 19.07.9 before
installing 21.02 for proper image validation". Most users will not be
confident to apply a forced installation.

>From wiki upgrading to 21.02 page:

"Don't worry - If you try to upgrade with the wrong target, sysupgrade
will refuse to proceed with an error message like this:
Image version mismatch. image 1.1 device 1.0 Please wipe config during
upgrade (force required) or reinstall. Config cannot be migrated from
swconfig to DSA Image check failed"

My experience and the message content indicates that it will show for
all migrations from "swconfig" to "DSA" and not only for "wrong
target".

I tried to start a discussion about it in an email "Usability issues
for DSA upgrade" (jun/28) but I got no answer.

It would also be great if we could detect a config from a pre-dsa
system and restore everything but skipping or renaming DSA
relevant files (nework, wifi?) DSA) with a suffix like '.pre-dsa'.

DSA is missing a lot of docs. For example: is there a simple, secure
way to detect a system is using DSA for a specific switch (or device)?
Is it possible to exist a device with two switches and only one of
them uses DSA?

Regards,



More information about the openwrt-devel mailing list