View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004364 | Networks | Hardware | public | 2021-07-27 00:37 | 2025-06-14 11:47 |
Reporter | DigitalMy | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0004364: Router Netgear WNDR4700 | ||||
Description | This 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 Reproduce | Buffer 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 | ||||
Tags | No tags attached. | ||||
|
Installed OpenWrt 18.06.4 It works stable |
|
Inserted 2.5 inch HDD 950GB SATA Mounted to root file system |
|
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. |
|
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” |
|
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 ... |
|
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 |