Syupgrade from LEDE 17.0.x to OpenWrt 18.06.1 on MitraStar Technology Corp. STG-212 Clone

Hi @ all!

I tried to sysupgrade from
LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)
and
LEDE Reboot 17.01.5 r3919-38e704be71 / LuCI lede-17.01 branch (git-18.180.55366-b78664c)

to openwrt 18.06.1.

Neither luci nor shell upgrade with sysupgrade -n -F sysupgrade-image worked out.

Any ideas?

 cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00e00000 00020000 "boot"
mtd1: 07200000 00020000 "ubi"

 ubinfo
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:59
Present UBI devices:            ubi0

 df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2048      2048         0 100% /rom
tmpfs                    62560       320     62240   1% /tmp
/dev/ubi0_2              99664        36     94792   0% /overlay
overlayfs:/overlay       99664        36     94792   0% /
tmpfs                      512         0       512   0% /dev

What's the output of sysupgrade if you upgrade from shell?

1 Like

unfortunately nothing but - force flag, so overriding - and auto-disconnecting for reboot:

root@openwrt-nas:/tmp# sysupgrade -n -F openwrt-18.06.1-oxnas-ox820-mitrastar-stg212-ubifs-sysupgrade.tar

Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
killall: watchdog: no process killed

-> switches back to Lede 17.01.4 (first install)

same with

root@LEDE:/tmp# sysupgrade -n -F openwrt-18.06.1-oxnas-ox820-mitrastar-stg212-squashfs-sysupgrade.tar
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
killall: watchdog: no process killed

back to 17.01.5:

root@LEDE:/tmp# sysupgrade -n -F lede-17.01.5-oxnas-stg212-squashfs-sysupgrade.t
ar
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
killall: watchdog: no process killed

no problem:

BusyBox v1.25.1 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (17.01.5, r3919-38e704be71)
    \________\/    -----------------------------------------------------------

=== 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@LEDE:~#

Try to disable every service (wifi, dnsmasq, ...) before you do a sysupgrade or upgrade from failsave mode...

What is the output without -F?
You should be sure that you have the right image before you use the force option...

working on default configs from image with no additional devices/services in use

same with 18.06:

root@LEDE:/tmp# sysupgrade -n -F openwrt-18.06.0-oxnas-ox820-mitrastar-stg212-squashfs-sysupgrade.tar
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
killall: watchdog: no process killed

switches back to 17.01.4

every lede-sysupgrade works - 18.x openwrt sysuprade seems to roll back to rescue

Hello,

I have the same issue with upgrading to 18 version.
Any solution?

Someone found a solution to update from 17.01.4 to an 18.06 version ? I tried it but the device came up with the 17s version everytime.

1 Like

I just succeed update maximum from 17.01.4 to the 17.01.7 version. Version 18,19 dont work "Image check 'fwtool_check_image"

Possible problem to be here? It's empty.
sysupgrade.conf

This file contains files and directories that should

be preserved during an upgrade.

/etc/example.conf

/etc/openvpn/

The "empty" conf file is for sure not the problem!

Try the factory install method or use the force option of sysupgrage.

Hello

I have the problem myself I made Lede 17.01.4 according to these instructions but I don't get the update to openwrt 19.xx. can it be that you should first bottle the bootloader in the mdt4 and then the software? So I found a bootloader that is intended for openwrt from Lede, I can’t flash the nandwrite either.
Can someone write a HOWTO get from Lede 17.xx to Openwrt 19.xx please

u-Boot for openwrt 15.05

Thank you

I can not speak English

How did you upgrade from 17.01.4 to 17.01.7 ?