Banana PI R4 and 25.12 interface name change

Hello,

Does anybody already upgrade openwrt from 24 to 25 ?

I’m asking because I see in release notes:

  • Bananapi BPI-R4: Interfaces ''eth1'' was renamed to ''sfp-lan'' or ''lan4'', and interface ''eth2'' was renamed to ''sfp-wan'' to match the labels. You have to upgrade without saving the configuration.

As far I understand I have to reset the configuration and reinstall from scratch.

But can I modify files in /etc/ to modify eth2 to SFP-wan without commiting in uci and then upgrade ?

I did. I just renamed eth1 and eth2 in /etc/config/network to sfp-lan and sfp-wan correspondingly. Then add to /etc/config/system line option compat_version '1.1' into system section or you can do it like this `uci set system.@system[0].compat_version='1.1'

uci commit system`
dont reload configuration just upgrade. Everything works properly and i didn’t setup anything else

What does compat_version do ?

prevents silent upgrade to incompatible version.

Thank you i will try then

Been sitting here today thinking about upgrading mine this weekend. Might have just saved me a bit of work.

How did you apgrade then? Owut, attended sysupgrade or via luci? Or is all of them save?

Additional information, hope can help

i made own image using image builder locally and flashed it using Flash new firmware image

I tried it and can confirm it works. So thanks for the explanation!

Only this command changes nothing in my “system” file, i had to manually add the option.

Thanks aegoroff,

Your solution works. Thanks

However, SSD cannot access after upgrade (I am using Crucial P3 Plus PCIe 4.0 NVMe M.2). it used to work on 25.10.6.

Thanks again

Hi !

And thanks for the tip : it works like a charm

Did you reverse, after upgrade, the /etc/config/system file, and delete option compat_version '1.1' ?

no i did't reverse config and option still there