OpenWrt Forum Archive

Topic: System Upgrade in Luci web page

The content of this topic has been archived on 16 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi
I try to upgrade new firmware from Luci web page because it is easy, I think.
What I did was I choose the .bin upgradable file under 'Flash new firmware image' and press 'flash image' button. But not successful.
Error message said
"The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform."

I checked how to upgrade wiki page and information is not up to date and not relevant to my situation.

How to convert to supported format?

router model? what firmware are you running now?

Sounds like you have ran into bug 15495, which was caused by r40411 and fixed by r40426.

https://dev.openwrt.org/ticket/15495

https://dev.openwrt.org/changeset/40411
https://dev.openwrt.org/changeset/40426

If your current firmware is between those versions, you have to edit /lib/functions.sh by hand and add the function find_mtd_index() back to it. (You have to perform the actions done by r40426.)

Alternative:
I have also uploaded the whole functions.sh to my dropbox folder. You could download it from there
https://www.dropbox.com/s/d0vb2ifxa2tzbf2/functions.sh

log into router console
cd /lib
wget https://www.dropbox.com/s/d0vb2ifxa2tzbf2/functions.sh

(or possibly wget --no-check-certificate https://www.dropbox.com/s/d0vb2ifxa2tzbf2/functions.sh )

Thanks gentlemen for response.

My router is WR710n and I flash with openwrt-ar71xx-generic-tl-wr710n-v1-squashfs-factory.bin
and try to upgrade with openwrt-ar71xx-generic-tl-wa701n-v1-squashfs-sysupgrade.bin

I noticed that I have 2 file of openwrt-ar71xx-generic-tl-wr710n-v1-squashfs-factory.bin
They have same name but different size (8M and 4M). I don't know why, when I put them in the same folder, it did not override. (Normally folder will not accept same file name).

And my firmware is r40462 and kennel version is 3.10.34.  I got them form Luci web page.

Today I try to upgrade again and same result.

I try to upgrade because I cannot install some packages like kmod-usb-acm

you cannot flash wa701 firm on wr710 hardware!

search in forum about failed kmod install on trunk, you will find the reason easilly wink

OMG.
I need to take a break. I cannot differentiate between 710 and 701.

Thanks for your highlight.
Upgrade done successfully.
opkg installation done successfully. big_smile

Thanks all.

The discussion might have continued from here.