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

Paul Blazejowski paulb at blazebox.homeip.net
Tue Jun 24 13:05:10 EDT 2014


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

On Tue, 2014-06-24 at 18:48 +0200, John Crispin wrote:
> Hi,
> 
> On 23/06/2014 20:22, Paul Blazejowski wrote:
> > Hello list,
> > 
> > Have found bug in the ubifs component when mounting images on 
> > wndr3700v4/4300 routers. This happens in trunk builds after r41130
> > but does not happen before r41118.
> > 
> > Please take a look at bug https://dev.openwrt.org/ticket/16803 i
> > have filed on this issue.
> > 
> > Unfortunately i do not have any fixes for this but i am willing to
> > test patches and debug in hopes of getting this fixed.
> 
> looking at that log it looks like you flashed different to me :) do
> you perhaps use the recovery method ?
> 
> i am currently using an initramfs which i boot and then i sysupgrade
> from there. because of this i dont see the 0xdeadc0de that you see as
> it is only in the ubi file -->
> 
> echo -ne '\xde\xad\xc0\xde' > $(KDIR_TMP)/jffs2.eof
>         $(call
> ubinize,ubinize-$(9).ini,$(KDIR_TMP),$(KDIR_TMP)/$(2)-root.ubi,128KiB,2048,-E
> 5)
> 
> however to test further i need to know how you flashed :)
> 
> 	John
> 
> > 
> > On a side note, sysupgrade image for wndr4300 does work from the
> > web interface on my 3700v4 router but the wndr3700v4 image does
> > not. Guess one bugat a time ;-).
> > 
> > cheerios, -paulb
> > 
> > 
> 
> 
> 
> 
> > 
> > _______________________________________________ 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/e82cc7b7/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