Upgrading Mikrotik RB922 (19.07 ar71xx -> 20.x ath79)

Koen Vandeputte koen.vandeputte at citymesh.com
Thu Jan 7 09:36:44 EST 2021


Hi all,

I'm playing around with Mikrotik stuff to test flashing from 19.07 
ar71xx towards master using sysupgrade.

Trying this natively using sysupgrade shows Invalid firmware image:


dd 
'if=/tmp/openwrt-ath79-mikrotik-mikrotik_routerboard-922uags-5hpacd-squashfs-sysupgrade.bin' 
'skip=0' 'bs=4' 'count=1'
+ identify_magic 73797375
+ local 'magic=73797375'
+ echo 'unknown 73797375'
+ local 'file_type=unknown 73797375'
+ '[' 0 '=' 0 -a 'unknown 73797375' '!=' ubi -a 'unknown 73797375' '!=' 
ubifs ]
+ echo 'Invalid sysupgrade file.'
Invalid sysupgrade file.

Looks like it trips over "file_type"

Anyone any idea how to fix this properly?

Thanks,

Koen




More information about the openwrt-devel mailing list