View Issue Details

IDProjectCategoryView StatusLast Update
0004364NetworksHardwarepublic2025-06-14 11:47
ReporterDigitalMy 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0004364: Router Netgear WNDR4700
DescriptionThis router has USB storage support, SD card slot, SATA tray
Netgear WNDR4700 https://openwrt.org/toh/netgear/wndr4700
CPU APM82181 1GHz, 120MB nand flash (tmpfs), 250MB RAM
WiFi chip Atheros AR9380, Atheros AR9381, Atheros AR8327N Gigabit
Steps To ReproduceBuffer I/O error on dev mtdblock7, logical block 0, async page read
block: extroot: not configured
__nand_correct_data: uncorrectable ECC error
print_req_error: I/O error, dev mtdblock7, sector 0
TagsNo tags attached.

Relationships

related to 0000294 resolvedDigitalMy Set OpenWrt router as gateway to remote network 

Activities

DigitalMy

2021-07-29 00:25

administrator   ~0007060

Installed OpenWrt 18.06.4
It works stable

DigitalMy

2021-07-29 00:26

administrator   ~0007061

Inserted 2.5 inch HDD 950GB SATA
Mounted to root file system

DigitalMy

2022-11-11 22:49

administrator   ~0008195

Last edited: 2022-11-12 00:30

View 4 revisions

After firmware failure router gets IP 192.168.1.1 255.255.255.0
Download original Netgear image from
https://www.downloads.netgear.com/files/GDC/WNDR4700/WNDR4700-V1.0.0.56.zip
Upload it to router using:
tftp -i 192.168.1.1 put C:\downloads\WNDR4700.img
It will reply:
Transfer successful: 9830529 bytes in 8 second(s), 1228816 bytes/s
Download
https://archive.openwrt.org/releases/21.02.5/targets/apm821xx/nand/openwrt-21.02.5-apm821xx-nand-netgear_wndr4700-squashfs-factory.img
Login to web page http://192.168.1.1/
admin password
Update firmware using IMG

This OpenWrt image can be directly uploaded using tftp
tftp -i 192.168.1.1 put C:\downloads\openwrt-21.02.5-apm821xx-nand-netgear_wndr4700-squashfs-factory.img
Login to web page http://192.168.1.1/ again
Set OpenWrt password and other things

Do not try version 22! It will cause cycle reboot (firmware failure). Install versions up to 21.



WNDR4700.jpg (38,259 bytes)
WNDR4700.jpg (38,259 bytes)

DigitalMy

2022-11-13 05:28

administrator   ~0008196

Add ftp share (active)
opkg install vsftpd

Configuration file is located “/etc/vsftpd.conf”
To set the default FTP folder add the following to the config file: “local_root=/mnt/usb1”

DigitalMy

2025-06-14 03:08

administrator   ~0014450

Last edited: 2025-06-14 11:47

View 4 revisions

Fix boot loop:
Serial log has errors

Set computer serverip=192.168.1.7 for tftp
TFTP from server 192.168.1.7; our IP address is 192.168.1.1
Filename 'wndr4700/wndr4700_uImage.bin'.

connect serial 3-pin to "J3" port inside: near USB port: GND, Rx, Tx, V+
Speed 115200

 Bad eraseblock 37 at 0x0000004a0000
 UBI error: no valid UBI magic found inside mtd5
VFS: Cannot open root device "" or unknown-block(0,0): error -6
 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Original firmware boots:
Kernel command line: root=/dev/mtdblock4 rootfstype=squashfs ip=192.168.1.1:192.168.1.7::255.255.255.0:wndr4700:eth0:off panic=1 console=ttyS0,115200
Kernel virtual memory layout:
  * 0xfffe0000..0xffff0000 : fixmap
  * 0xfd800000..0xfe000000 : consistent mem
  * 0xfd800000..0xfd800000 : early ioremap
  * 0xd1000000..0xfd800000 : vmalloc & ioremap
Bad eraseblock 37 at 0x0000004a0000
Creating 12 MTD partitions on "4e4000000.ndfc.nand":
0x000000000000-0x000008000000 : "NAND 128MiB 3,3V 8-bit"
0x000000000000-0x000000180000 : "uboot"
0x000000180000-0x0000001a0000 : "device-tree"
0x0000001a0000-0x000000380000 : "kernel"
0x000000380000-0x0000019e0000 : "rootfs"
mtd: find squashfs magic at 0x380000 of "4e4000000.ndfc.nand"
the correct location of partition "rootfs": 0x000000380000-0x0000019e0000
0x0000019e0000-0x000001a60000 : "config"
0x000001a60000-0x000001ae0000 : "pot"
0x000001ae0000-0x000001de0000 : "traffic_meter"
0x000001de0000-0x000001fa0000 : "language"
0x000001fa0000-0x000007fc0000 : "ecos"
0x000007fc0000-0x000008000000 : "wifi_data"
0x000000180000-0x0000019e0000 : "firmware"
VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
Freeing unused kernel memory: 384k init
Loading data from /dev/mtd5 ...

DigitalMy

2025-06-14 11:33

administrator   ~0014451

To transfer firmware over cable use

fw_recovery
command in U-boot console

tftp -i 192.168.1.1 put C:\Tftpd64\img\WNDR4700-V1.0.0.56.img
command in Windows computer