Warning while upgrading to latest firmware (swconfig to DSA migration)

Model: Xiaomi Mi Router 3G
Current Version: OpenWrt 19.07.3
Latest version: OpenWrt 21.02.1

While trying to upload the sysupgrade file, I am getting below error. I have taken backup (tar.gz) just in case.


Should I ignore this warning and force upgrade? Will the backup save my ass?

does the SHA match ?

upgrading from 19 to 21 usually requires a reset of all setting, due to migration from swconfig to DSA.

Good call. Take note of /etc/config/network changes.

You should follow the advice and "wipe config during upgrade".
So, unselect the "Keep settings"...

The backup will brick you if you restore it to the new firmware.
The old network config (/etc/config/network) is not compatible with the new DSA switch config.

Usually all other config files are compatible.
("system" may have a wrong LED config, but does not brick you.)

You might also read this for a quick & dirty approach...

Yes the SHA does match.

How do I migrate the configuration after upgrade? I had a very had time configuring the network last time don't want the hassle again.

What I did was use a file compare app (BeyondCompare) to see the differences between the old config and the new config...and use that as a guide.


1 Like

Hey, after using the compare on the config/network file did you replace with the missing ones?

Because @hnyman mentioned old config is not compatible with DSA

The main difference is in /etc/config/network. In general only migrate settings that you have changed, since the default sections of most of the configs have also changed over the years.

1 Like

What triggers the warning as my target is converted DSA but I still get the DSA warning on every upgrade.
Below is my network config I'm guessing something is triggeing the DSA warning ?

config interface 'loopback'
	option proto 'static'
	option ipaddr ''
	option netmask ''
	option device 'lo'

config globals 'globals'
	option ula_prefix 'fdf6:0e5c:4f41::/48'

config interface 'Adults_Lan'
	option proto 'static'
	option ipaddr ''
	option netmask ''
	option ip6assign '60'
	option device 'br-Adults_Lan'

config interface 'Kids_Lan'
	option proto 'static'
	option type 'bridge'
	option ipaddr ''
	option netmask ''

config interface 'Wan'
	option proto 'dhcp'
	option peerdns '0'
	list dns ''
	option device 'wan'
	option metric '1'

config interface 'Wan6'
	option proto 'dhcpv6'
	option reqaddress 'none'
	option reqprefix 'auto'
	option device 'wan'
	option metric '2'
	option auto '0'

config device
	option name 'br-Adults_Lan'
	option type 'bridge'
	list ports 'lan'

config device
	option name 'br-Kids_Lan'

config interface 'Wwan'
	option proto 'qmi'
	option device '/dev/cdc-wdm0'
	option auth 'none'
	option metric '3'
	option pdptype 'ipv4'
	option auto '0'

See post


Thanks I was thinking it was a config setting somewhere