Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3931 - [wndr3700v4] unable to upgrade from ar71xx to ath79 #9074

Closed
openwrt-bot opened this issue Jul 13, 2021 · 4 comments
Closed

FS#3931 - [wndr3700v4] unable to upgrade from ar71xx to ath79 #9074

openwrt-bot opened this issue Jul 13, 2021 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Jul 13, 2021

hamelg:

I'm trying to upgrade my wndr3700v4 router with the image downloaded at https://downloads.openwrt.org/releases/21.02.0-rc3/targets/ath79/nand/openwrt-21.02.0-rc3-ath79-nand-netgear_wndr3700-v4-squashfs-sysupgrade.bin

The file has the correct sum but sysupgrade doesn't accept it.

The current and running image has been built with these settings :
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_nand=y
CONFIG_TARGET_ar71xx_nand_DEVICE_WNDR3700V4=y
any ideas ?

root@OpenWrt:/tmp# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='19.07-SNAPSHOT'
DISTRIB_REVISION='r11333-cc0b70467d'
DISTRIB_TARGET='ar71xx/nand'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='OpenWrt 19.07-SNAPSHOT r11333-cc0b70467d'
DISTRIB_TAINTS='no-all'

root@OpenWrt:/tmp# uname -a
Linux OpenWrt 4.14.229 #0 Fri Apr 9 13:43:38 2021 mips GNU/Linux

root@OpenWrt:/tmp# sha256sum /tmp/openwrt-21.02.0-rc3-ath79-nand-netgear_wndr3700-v4-squashfs-sysupgrade.bin
dacbea4403807a104aac151f1d4973c16477b9095ba698b0f19a4ceaf8e2c38d /tmp/openwrt-21.02.0-rc3-ath79-nand-netgear_wndr3700-v4-squashfs-sysupgrade.bin

root@OpenWrt:/tmp# sysupgrade -n -v /tmp/openwrt-21.02.0-rc3-ath79-nand-netgear_wndr3700-v4-squashfs-sysupgrade.bin
Device wndr3700v4 not supported by this image
Supported devices: netgear,wndr3700-v4
Invalid sysupgrade file.
Image check failed.

@openwrt-bot
Copy link
Author

openwrt-bot commented Jul 14, 2021

walterav1984:

Warning without having access to serial uart bootloader or tested and verified failsafe tftp recovery procedures you are 1 step away from a (semi)BRICKED router!

https://bugs.openwrt.org/index.php?do=details&task_id=3927

@openwrt-bot
Copy link
Author

openwrt-bot commented Jul 14, 2021

hamelg:

thanks for the warning. Hopefully, sysupgrade has detected the issue and has stopped before flashing.
I don't find any information about the support status of this router. It is just listed here without comments:
https://openwrt.org/docs/techref/targets/ath79?dataflt%5B0%5D=subtarget_%3Dnand

Some users use this ath79 image successfully ?

@openwrt-bot
Copy link
Author

openwrt-bot commented Jul 19, 2021

bobc:

Hi, I have flashed 21.02-rc3 on a netgear wndr3700v4.

sysupgrade did not work and left the router in a dysfunctional state, though the bootloader still worked.

To recover, I flashed the factory image via tftp.

I followed [[https://openwrt.org/toh/netgear/wndr3700#recovery_flash_in_failsafe_mode|these tftp instructions]], especially the subsection titled alternative advice.

[[https://github.com/jclehner/nmrpflash|nmrpflash]] appears to be a simpler tftp utility, but I haven't yet tried it.

Good luck!

@openwrt-bot
Copy link
Author

openwrt-bot commented Sep 5, 2021

tones111:

I can confirm that flashing the factory image (21.02.0) via tftp after holding the factory reset button during a power cycle works. Once loaded, the firmware update dialog no longer complains about an incompatible sysupgrade image and it appears to make use of the entire flash area (102MB free after install).

Thanks for the tip bob!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant