Upgrade 951G-2Hnd from 19.07.10 to 23.05.5

Colleagues, please tell me how to upgrade from 19.07.10 to 23.05.5 correctly?
I use MikroTik Router Board RB951G-2HnD.


I have version 19.07.10 installed.

When trying to flash version openwrt-23.05.5-ath79-mikrotik-mikrotik_routerboard-951g-2hnd-squashfs-sysupgrade.bin, the web interface displays a very alarming message.
LM_MT2
What's wrong with this situation? Can I force the firmware to install without any risk of negative results?

Thank you for answering my question,
Ogogon.

Please show us the output of:

ubus call system board

This will help us determine if it is safe to directly upgrade with the force option.

That said, it is mandatory to reset and configure from scratch. This means that you must uncheck the "Keep settings" checkbox. Do not attempt to restore a backup from 19.07 into a device running 23.05, however you can always use a backup as a human-readable reference for the existing configuration.

And this might be something related to the ath79 device tree migration from machine files...

1 Like

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.10, r11427-9ce6aa9d8d
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# ubus call system board
{
	"kernel": "4.14.275",
	"hostname": "OpenWrt",
	"system": "Atheros AR9344 rev 2",
	"model": "MikroTik RouterBOARD 951G-2HnD",
	"board_name": "rb-951g-2hnd",
	"release": {
		"distribution": "OpenWrt",
		"version": "19.07.10",
		"revision": "r11427-9ce6aa9d8d",
		"target": "ar71xx/mikrotik",
		"description": "OpenWrt 19.07.10 r11427-9ce6aa9d8d"
	}
}
root@OpenWrt:~# 

No, the force upgrade may not be safe.

Follow the directions in the screenshot to use the initramfs process.

1 Like

Did I understand you correctly? I need to use the DHCP to load from the image openwrt-23.05.5-ath79-mikrotik-mikrotik_routerboard-951g-2hnd-initramfs-kernel.bin, and then flash the image openwrt-23.05.5-ath79-mikrotik-mikrotik_routerboard-951g-2hnd-squashfs-sysupgrade.bin? Or do I just need to, using the current firmware, flash the image of openwrt-23.05.5-ath79-mikrotik-mikrotik_routerboard-951g-2hnd-initramfs-kernel.bin?
Alas, I did not quite understand what the "initramfs process".

I think I figured out how to do this. Thanks to everyone who helped me with advice or tips!

Ogogon.