[OpenWrt-Devel] [BUG] NAND sysupgrade broke ubifs on Netgear WNDR3700v4/4300.

Paul Blazejowski paulb at blazebox.homeip.net
Tue Jun 24 17:32:12 EDT 2014


On Tue, 2014-06-24 at 23:15 +0200, John Crispin wrote:
> 
> On 24/06/2014 22:43, Paul Blazejowski wrote:
> > i get "The uploaded image file does not contain a supported format.
> > Make sure that you choose the generic image format for your
> > platform." from web interface.
> > 
> > this is what i have:
> > 
> > -rw-r--r-- 1 diffie diffie 8919040 2014-06-24 15:58 
> > bin/ar71xx/openwrt-ar71xx-nand-wndr3700v4-squashfs-sysupgrade.tar
> > 
> > should i push it from shell using sysupgrade script?
> > 
> 
> it will work from shell, i will look into why it fails via webui.

guess not ;-(


root at router:/tmp# sysupgrade -v -T
openwrt-ar71xx-nand-wndr3700v4-squashfs-sysupgrade.tar 
Invalid sysupgrade file.
Image check 'platform_check_image' failed.

> 
> 
> 
> 
> 
> > thanks!
> > 
> > 
> > On Tue, 2014-06-24 at 22:32 +0200, John Crispin wrote:
> >> 
> >> On 24/06/2014 22:25, Paul Blazejowski wrote:
> >>> Hi again,
> >>> 
> >>> thanks for the tftp fix, flushing just became so much faster
> >>> and easier.
> >>> 
> >>> Tested trunk r41336 after your jffs2 fix and the image boots
> >>> fine, restored my configuration changes, rebooted the router
> >>> and all changes are saved now. I will post the working dmesg to
> >>> the ticket at https://dev.openwrt.org/ticket/16840 but it is
> >>> safe to say that you can close it ;-) now.
> >>> 
> >>> Sysupgrade image(s) for 3700v4 and 4300 do not work now, guess
> >>> this is next on the list...
> >>> 
> >> 
> >> i tested 4300 and it works. you need to use the
> >> *-ubi-sysupgrade.tar file.
> >> 
> >> 
> >> 
> >> 
> >>> Thank you, -paul
> >>> 
> >>> On Tue, 2014-06-24 at 20:18 +0200, John Crispin wrote:
> >>>> 
> >>>> On 24/06/2014 19:05, Paul Blazejowski wrote:
> >>>>> John,
> >>>>> 
> >>>>> Yes i use the reset with pin and from there i tftp the 
> >>>>> original firmware from netgear after that i go to the gui
> >>>>> and upload the open-wrt image because the router will not
> >>>>> accept the wndr3700v4 image (there's a cosmetic fix for
> >>>>> that, i created a patch that someone from the forums has
> >>>>> sent months ago to this list but it was never accepted...) 
> >>>>> https://dev.openwrt.org/ticket/16840
> >>>>> 
> >>>>> With that patch tftp'ing the 
> >>>>> openwrt-ar71xx-nand-wndr3700v4-ubi-factory.img works
> >>>>> without need to flash the original firmware.
> >>>>> 
> >>>>> If there's another method that can be used to flash the 
> >>>>> image(s) please let me know i would want to try any
> >>>>> alternative ways of flashing and could learn a thing or two
> >>>>> in the process as well ;-)
> >>>>> 
> >>>>> Thank you, -paul
> >>>> 
> >>>> 
> >>>> Hi,
> >>>> 
> >>>> i just pushed the V vs v fix and another fix that removes
> >>>> the jffs2 magic. i think this might have been the cause of
> >>>> the problems. please retry with current trunk and let me know
> >>>> if the problem is gone or still there
> >>>> 
> >>>> John _______________________________________________ 
> >>>> openwrt-devel mailing list openwrt-devel at lists.openwrt.org 
> >>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >>>>
> >>>>
> >>>>
> >>>> 
> _______________________________________________ openwrt-devel
> >>>> mailing list openwrt-devel at lists.openwrt.org 
> >>>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >>
> >>>> 
> _______________________________________________
> >> openwrt-devel mailing list openwrt-devel at lists.openwrt.org 
> >> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140624/3c4fad09/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list