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

Paul Blazejowski paulb at blazebox.homeip.net
Sun Jul 20 11:56:10 EDT 2014


Hi,

sorry your email got lost somehow on my end... And the machine hosting
mailing list is down at the moment it seems.

here is the info:

root at router:~# cat /tmp/sysinfo/*
wndr4300
NETGEAR WNDR3700v4/WNDR4300


thanks,
-paul

On Sat, 2014-07-19 at 14:52 -0400, Paul Blazejowski wrote:
> John,
> 
> any update on this issue? i strongly believe that the hard-coded
> wndr4300 string somewhere in the source is the culprit of the problem
> since the wndr3700v4 board_detection is identified as wndr4300 thus the
> sysupgrade works for 4300 but not for 3700v4.
> 
> Regards,
> -paul
> 
> 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.
> > 
> > 
> > 
> > 
> > 
> > > 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/20140720/76d299e2/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