R7800 with corrupted firmware image and faulty LAN. Gosh

Boot the initramfs and fully explore what does and does not work before trying to install. The most common reason for Ethernet ports to fail is EMP damage from nearby lightning, which is prone to make all the hardware that may still work dodgy and unreliable. I don't see any practical use case for a router with no Ethernet and no wifi.

3 Likes

You can still use it as a wired router, if you attach two usb ethernet adapters.

Wouldn't do it myself, but if one would really want it up and running...

Thanks for digging this up. Interesting idea.

Could you explain the part about needing an usb hub and not attaching the memory stick directly? Way to trigger usb device search?

As far as I understood it, USB power managed by a GPIO - which defaults to off in the OEM u-boot.

that won't be a problem once OpenWrt/ the initramfs image (well, the kernel with the correct DTS enabling it) has booted up, but if you want to boot from USB, you're in a catch.

2 Likes

Yes, I also suspect the USB power enable GPIO. Unfortunately, for me the trick with the powered USB hub only ever worked after a reboot from OpenWrt which would be kinda preventive to USB boot a corrupted system. I guess, that might depend on the exact USB hub and/or USB memory stick being used as at least the OP found a combination of USB devices which work for him. Probably, a much better and saver approach would be to do a register write (e.g. using U-Boot mw command) to enable that (those) GPIO(s). As I'm not familiar enough with this Qualcomm chips and missing any kind of reference manual I did not go down that endeavor. However, looking at the Linux GPIO driver could also reveal that information.

1 Like

So, updates with my attempts.

I manage to regularly run the board from USB, I can provide the steps if needed as I saved the commands in a textfile.

I have a so-so working WAN connection, so I can sorta install all needed packages to move images into /tmp

From there I run sysupgrade -v -F /tmp/r7800***.img
I tried several factory images: openwrt, Voxel and Netgear, but the rsult is always the same, that I will post here (sorry if it's long and boring):

sysupgrade -v -F /tmp/r7800netgear-1.0.2.52.img
Image metadata not found
Image check failed but --force given - will update anyway!
Cannot save config while running from ramdisk.
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... ntpd udhcpc odhcp6c dnsmasq ubusd urngd logd rpcd netifd odhcpd uhttpd
Sending KILL to remaining processes ...
Performing system upgrade...
tar: invalid tar magic
cannot find ubi mtd partition rootfs
ubiupdatevol: error!: file size must be specified if input is stdin
tar: invalid tar magic
sysupgrade successful
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
umount: can't unmount /: Invalid argument
[  461.443193] reboot: Restarting system


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:b0:39:56:97:cb:c4
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:b0:39:56:97:cb:c3
eth0, eth1
Hit any key to stop autoboot:  0

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !

Loading from device 0: nand0 (offset 0x1480000)

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK
MMC Device 0 not found

Loading from nand0, offset 0x1480000
   Image Name:   ARM OpenWrt Linux-5.4.154
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2750052 Bytes = 2.6 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.154
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2750052 Bytes = 2.6 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.154 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16325-88151b8303)) #0 SMP Sun Oct 24 09:01:35 2021
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 474824K/491520K available (6268K kernel code, 196K rwdata, 920K rodata, 1024K init, 240K bss, 16696K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from 0xc0b00c18 with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000259] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000277] pid_max: default: 32768 minimum: 301
[    0.000485] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000503] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001560] CPU: Testing write buffer coherency: ok
[    0.002696] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002875] rcu: Hierarchical SRCU implementation.
[    0.003364] smp: Bringing up secondary CPUs ...
[    0.005285] smp: Brought up 1 node, 2 CPUs
[    0.005301] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005312] CPU: All CPU(s) started in SVC mode.
[    0.015708] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.015856] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015882] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.016027] pinctrl core: initialized pinctrl subsystem
[    0.017169] NET: Registered protocol family 16
[    0.017465] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018812] cpuidle: using governor ladder
[    0.018877] cpuidle: using governor menu
[    0.050852] usbcore: registered new interface driver usbfs
[    0.050930] usbcore: registered new interface driver hub
[    0.050994] usbcore: registered new device driver usb
[    0.051055] pps_core: LinuxPPS API ver. 1 registered
[    0.051068] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.051108] PTP clock support registered
[    0.052042] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.053213] clocksource: Switched to clocksource dg_timer
[    0.054084] thermal_sys: Registered thermal governor 'step_wise'
[    0.056488] NET: Registered protocol family 2
[    0.056652] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.057513] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.057554] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.057596] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.057649] TCP: Hash tables configured (established 4096 bind 4096)
[    0.057755] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.057784] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.058033] NET: Registered protocol family 1
[    0.058086] PCI: CLS 0 bytes, default 64
[    0.059435] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.066437] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.066453] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.106148] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.108228] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.108380] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.108494] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.108760] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.108832] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.108870] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.329375] qcom-pcie 1b500000.pci: Link up
[    0.329544] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.329569] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.329590] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.329609] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.329674] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.329842] pci 0000:00:00.0: supports D1
[    0.329860] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.334166] PCI: bus0: Fast back to back transfers disabled
[    0.334528] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.334883] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.336032] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.340392] PCI: bus1: Fast back to back transfers disabled
[    0.340476] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.340501] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.340630] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.340654] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.341625] pcieport 0000:00:00.0: AER: enabled with IRQ 36
[    0.342191] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.342316] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.342450] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.342710] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.342777] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.342814] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.570672] qcom-pcie 1b700000.pci: Link up
[    0.570842] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.570863] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.570888] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.570951] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.571107] pci 0001:00:00.0: supports D1
[    0.571122] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.575360] PCI: bus0: Fast back to back transfers disabled
[    0.575710] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.576088] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.577325] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.577626] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.581746] PCI: bus1: Fast back to back transfers disabled
[    0.581824] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.581846] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.581978] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.581998] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.582888] pcieport 0001:00:00.0: AER: enabled with IRQ 38
[    0.585531] L2 @ QSB rate. Forcing new rate.
[    0.585768] L2 @ 384000 KHz
[    0.585956] CPU0 @ 800000 KHz
[    0.585968] CPU1 @ QSB rate. Forcing new rate.
[    0.586099] CPU1 @ 384000 KHz
[    0.589837] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.592088] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.594676] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.594732] msm_serial 16340000.serial: uartclk = 7372800
[    0.594806] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM
[    0.594845] msm_serial: console setup on port #0
[    1.384275] printk: console [ttyMSM0] enabled
[    1.389258] msm_serial: driver initialized
[    1.398658] loop: module loaded
[    6.393559] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[    6.393600] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 236
[    6.398694] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[    6.406801] nand: AMD/Spansion S34MS01G2
[    6.413131] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    6.417212] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    6.424513] Creating 8 MTD partitions on "qcom_nand.0":
[    6.431280] 0x000000000000-0x000000c80000 : "qcadata"
[   11.433537] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   11.433572] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   16.433558] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   16.433592] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   21.433554] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   21.433588] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   26.433544] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   26.433578] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   31.433537] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   31.433569] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword

...and it goes forever like this...the result is exactly the same no matter what image I flash.
As usual, this might be trivial to you, but don't know what to do.
So, I keep on thanking you all for your help, because with my knowledge this would be only e-waste.

I'm all ears to your opinion.

Wifi should still be usable, but with no GUI I cannot verify. For the short time being before I bricked it, WLAN was quite reliable, LAN switch was dead but with blinking lights and proper mac addresses (not totally dead, then?), and WAN was working with some interruptions of 2 seconds a time. A lightning is a good bet, but sometimes electronical devices get back to life in unexpected ways from they faults.

My ambition is to double check the WAN port is fully functional, convert it in a LAN port (I think it is possible somehow), link the r7800 to an existing wifi net I have (a wlan client basically), and use the available ports and grunt for a nexcloud setup. "I have a dream" :sunglasses: :rofl:

That sounds like something I can try and do once I recover a GUI, for ease of mind...considering my scarce knowledge I won't discover any new virgin land, but I have nothing to loose, and if needed I can offer my device for experimentation, providing me some commands to launch! :sweat_smile:

Not sure what image that is. But with OpenWrt one can usually only sysupgrade actual OpenWrt sysupgrade images.

https://downloads.openwrt.org/releases/21.02.2/targets/ipq806x/generic/openwrt-21.02.2-ipq806x-generic-netgear_r7800-squashfs-sysupgrade.bin

I tried with all of them, but they all have problems writing to the nand...

I found a way to flash nand through nmrpflash too...it works, using WAN instead of LAN...but log is always complaining about ubi mtd partitions not found...and again, I flashed something like 10 different roms (different owners and different builds). Logs are all different but hang while reading from nand.

Can you tell me the command to issue to do mtd write instead of sysupgrade? I might give a try from the usb method, and see if it correctly writes to nand! :man_shrugging:

Well, you don't need all of them. You just need a proper regular OpenWrt sysupgrade image and then one would need to see what exactly is going on. We or at least I will not comment on some random images from unknown sources. I also do not believe in any such approach of just trying to brute force random stuff. Please do give us the verbose output of such entire sysupgrade attempt and then we may infer what is going on.

1 Like

Sounds like you might need to use the factory image first. It contains an unified image of kernel+rootfs consequtively with rootfs as UBI. There is padding after kernel, so that the rootfs starts from the correct place.

Sysupgrade routine expects to find the UBI partition structure already there. Sysupgrade first writes kernel to its location and then separately writes the rootfs into the ubifs. (I should check from the sysupgrade sources, what happens if the UBI is unusable)

That is actually strange.

Might be that in addition to the Lan ports, also the flash chip is partially fried.

You are right. Sorry.

Following, is a TTL log collected running a nmrp flash (https://downloads.openwrt.org/releases/21.02.2/targets/ipq806x/generic/openwrt-21.02.2-ipq806x-generic-netgear_r7800-squashfs-factory.img) with the builtin nmrp UBoot command:


U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:b0:39:56:97:cb:c4
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:b0:39:56:97:cb:c3
eth0, eth1
Hit any key to stop autoboot:  0
(IPQ) # nmrp
Mac2 unit failed

 Client starts...[Listening] for ADVERTISE...TT
NMRP CONFIGING
Recv FW-UP option

No ST-UP option

NMRP WAITING FOR UPLOAD FIRMWARE or STRING TABLES!
Mac2 unit failed
Listening on Port : 69, IP Address: 10.164.183.252 ...

waiting nmrp server to upload firmware!
TMac2 unit failed
Listening on Port : 69, IP Address: 10.164.183.252 ...
TMac2 unit failed
Listening on Port : 69, IP Address: 10.164.183.252 ...
TMac2 unit failed
Listening on Port : 69, IP Address: 10.164.183.252 ...
TMac2 unit failed
Listening on Port : 69, IP Address: 10.164.183.252 ...

 retry tftp_upload count exceeded;
TT
Rcv:
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        ......................................
Done!
Bytes transferred = 9175169 (8c0081 hex)
TFTP upload done
Ignore Magic number checking when upgrade via NMRP,Magic number is 27051956!
 131072 bytes read: OK
HW ID on board: 29764958+0+128+512+4x4+4x4+cascade
HW ID on image: 29764958+0+128+512+4x4+4x4+cascade
Firmware Image HW ID matched Board HW ID

Erasing: off 1480000, size 20000
Erasing at 0x1480000 -- 100% complete. Cleanmarker written at 0x1480000.
OK
Writing: from RAM addr 42000080, to NAND off 1480000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 14a0000, size 20000
Erasing at 0x14a0000 -- 100% complete. Cleanmarker written at 0x14a0000.
OK
Writing: from RAM addr 42020080, to NAND off 14a0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 14c0000, size 20000
Erasing at 0x14c0000 -- 100% complete. Cleanmarker written at 0x14c0000.
OK
Writing: from RAM addr 42040080, to NAND off 14c0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 14e0000, size 20000
Erasing at 0x14e0000 -- 100% complete. Cleanmarker written at 0x14e0000.
OK
Writing: from RAM addr 42060080, to NAND off 14e0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1500000, size 20000
Erasing at 0x1500000 -- 100% complete. Cleanmarker written at 0x1500000.
OK
Writing: from RAM addr 42080080, to NAND off 1500000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1520000, size 20000
Erasing at 0x1520000 -- 100% complete. Cleanmarker written at 0x1520000.
OK
Writing: from RAM addr 420a0080, to NAND off 1520000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1540000, size 20000
Erasing at 0x1540000 -- 100% complete. Cleanmarker written at 0x1540000.
OK
Writing: from RAM addr 420c0080, to NAND off 1540000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1560000, size 20000
Erasing at 0x1560000 -- 100% complete. Cleanmarker written at 0x1560000.
OK
Writing: from RAM addr 420e0080, to NAND off 1560000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1580000, size 20000
Erasing at 0x1580000 -- 100% complete. Cleanmarker written at 0x1580000.
OK
Writing: from RAM addr 42100080, to NAND off 1580000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 15a0000, size 20000
Erasing at 0x15a0000 -- 100% complete. Cleanmarker written at 0x15a0000.
OK
Writing: from RAM addr 42120080, to NAND off 15a0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 15c0000, size 20000
Erasing at 0x15c0000 -- 100% complete. Cleanmarker written at 0x15c0000.
OK
Writing: from RAM addr 42140080, to NAND off 15c0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 15e0000, size 20000
Erasing at 0x15e0000 -- 100% complete. Cleanmarker written at 0x15e0000.
OK
Writing: from RAM addr 42160080, to NAND off 15e0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1600000, size 20000
Erasing at 0x1600000 -- 100% complete. Cleanmarker written at 0x1600000.
OK
Writing: from RAM addr 42180080, to NAND off 1600000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1620000, size 20000
Erasing at 0x1620000 -- 100% complete. Cleanmarker written at 0x1620000.
OK
Writing: from RAM addr 421a0080, to NAND off 1620000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1640000, size 20000
Erasing at 0x1640000 -- 100% complete. Cleanmarker written at 0x1640000.
OK
Writing: from RAM addr 421c0080, to NAND off 1640000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1660000, size 20000
Erasing at 0x1660000 -- 100% complete. Cleanmarker written at 0x1660000.
OK
Writing: from RAM addr 421e0080, to NAND off 1660000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 1680000, size 20000
Erasing at 0x1680000 -- 100% complete. Cleanmarker written at 0x1680000.
OK
Writing: from RAM addr 42200080, to NAND off 1680000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 16a0000, size 20000
Erasing at 0x16a0000 -- 100% complete. Cleanmarker written at 0x16a0000.
OK
Writing: from RAM addr 42220080, to NAND off 16a0000, size 20000
 131072 bytes written: OK
Alive-timer 15
Erasing: off 16c0000, size 20000
Erasing at 0x16c0000 -- 100% complete. Cleanmarker written at 0x16c0000.
OK
Writing: from RAM addr 42240080, to NAND off 16c0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 16e0000, size 20000
Erasing at 0x16e0000 -- 100% complete. Cleanmarker written at 0x16e0000.
OK
Writing: from RAM addr 42260080, to NAND off 16e0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1700000, size 20000
Erasing at 0x1700000 -- 100% complete. Cleanmarker written at 0x1700000.
OK
Writing: from RAM addr 42280080, to NAND off 1700000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1720000, size 20000
Erasing at 0x1720000 -- 100% complete. Cleanmarker written at 0x1720000.
OK
Writing: from RAM addr 422a0080, to NAND off 1720000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1740000, size 20000
Erasing at 0x1740000 -- 100% complete. Cleanmarker written at 0x1740000.
OK
Writing: from RAM addr 422c0080, to NAND off 1740000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1760000, size 20000
Erasing at 0x1760000 -- 100% complete. Cleanmarker written at 0x1760000.
OK
Writing: from RAM addr 422e0080, to NAND off 1760000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1780000, size 20000
Erasing at 0x1780000 -- 100% complete. Cleanmarker written at 0x1780000.
OK
Writing: from RAM addr 42300080, to NAND off 1780000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 17a0000, size 20000
Erasing at 0x17a0000 -- 100% complete. Cleanmarker written at 0x17a0000.
OK
Writing: from RAM addr 42320080, to NAND off 17a0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 17c0000, size 20000
Erasing at 0x17c0000 -- 100% complete. Cleanmarker written at 0x17c0000.
OK
Writing: from RAM addr 42340080, to NAND off 17c0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 17e0000, size 20000
Erasing at 0x17e0000 -- 100% complete. Cleanmarker written at 0x17e0000.
OK
Writing: from RAM addr 42360080, to NAND off 17e0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1800000, size 20000
Erasing at 0x1800000 -- 100% complete. Cleanmarker written at 0x1800000.
OK
Writing: from RAM addr 42380080, to NAND off 1800000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1820000, size 20000
Erasing at 0x1820000 -- 100% complete. Cleanmarker written at 0x1820000.
OK
Writing: from RAM addr 423a0080, to NAND off 1820000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1840000, size 20000
Erasing at 0x1840000 -- 100% complete. Cleanmarker written at 0x1840000.
OK
Writing: from RAM addr 423c0080, to NAND off 1840000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1860000, size 20000
Erasing at 0x1860000 -- 100% complete. Cleanmarker written at 0x1860000.
OK
Writing: from RAM addr 423e0080, to NAND off 1860000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1880000, size 20000
Erasing at 0x1880000 -- 100% complete. Cleanmarker written at 0x1880000.
OK
Writing: from RAM addr 42400080, to NAND off 1880000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 18a0000, size 20000
Erasing at 0x18a0000 -- 100% complete. Cleanmarker written at 0x18a0000.
OK
Writing: from RAM addr 42420080, to NAND off 18a0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 18c0000, size 20000
Erasing at 0x18c0000 -- 100% complete. Cleanmarker written at 0x18c0000.
OK
Writing: from RAM addr 42440080, to NAND off 18c0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 18e0000, size 20000
Erasing at 0x18e0000 -- 100% complete. Cleanmarker written at 0x18e0000.
OK
Writing: from RAM addr 42460080, to NAND off 18e0000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1900000, size 20000
Erasing at 0x1900000 -- 100% complete. Cleanmarker written at 0x1900000.
OK
Writing: from RAM addr 42480080, to NAND off 1900000, size 20000
 131072 bytes written: OK
Alive-timer 16
Erasing: off 1920000, size 20000
Erasing at 0x1920000 -- 100% complete. Cleanmarker written at 0x1920000.
OK
Writing: from RAM addr 424a0080, to NAND off 1920000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1940000, size 20000
Erasing at 0x1940000 -- 100% complete. Cleanmarker written at 0x1940000.
OK
Writing: from RAM addr 424c0080, to NAND off 1940000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1960000, size 20000
Erasing at 0x1960000 -- 100% complete. Cleanmarker written at 0x1960000.
OK
Writing: from RAM addr 424e0080, to NAND off 1960000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1980000, size 20000
Erasing at 0x1980000 -- 100% complete. Cleanmarker written at 0x1980000.
OK
Writing: from RAM addr 42500080, to NAND off 1980000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 19a0000, size 20000
Erasing at 0x19a0000 -- 100% complete. Cleanmarker written at 0x19a0000.
OK
Writing: from RAM addr 42520080, to NAND off 19a0000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 19c0000, size 20000
Erasing at 0x19c0000 -- 100% complete. Cleanmarker written at 0x19c0000.
OK
Writing: from RAM addr 42540080, to NAND off 19c0000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 19e0000, size 20000
Erasing at 0x19e0000 -- 100% complete. Cleanmarker written at 0x19e0000.
OK
Writing: from RAM addr 42560080, to NAND off 19e0000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1a00000, size 20000
Erasing at 0x1a00000 -- 100% complete. Cleanmarker written at 0x1a00000.
OK
Writing: from RAM addr 42580080, to NAND off 1a00000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1a20000, size 20000
Erasing at 0x1a20000 -- 100% complete. Cleanmarker written at 0x1a20000.
OK
Writing: from RAM addr 425a0080, to NAND off 1a20000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1a40000, size 20000
Erasing at 0x1a40000 -- 100% complete. Cleanmarker written at 0x1a40000.
OK
Writing: from RAM addr 425c0080, to NAND off 1a40000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1a60000, size 20000
Erasing at 0x1a60000 -- 100% complete. Cleanmarker written at 0x1a60000.
OK
Writing: from RAM addr 425e0080, to NAND off 1a60000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1a80000, size 20000
Erasing at 0x1a80000 -- 100% complete. Cleanmarker written at 0x1a80000.
OK
Writing: from RAM addr 42600080, to NAND off 1a80000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1aa0000, size 20000
Erasing at 0x1aa0000 -- 100% complete. Cleanmarker written at 0x1aa0000.
OK
Writing: from RAM addr 42620080, to NAND off 1aa0000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1ac0000, size 20000
Erasing at 0x1ac0000 -- 100% complete. Cleanmarker written at 0x1ac0000.
OK
Writing: from RAM addr 42640080, to NAND off 1ac0000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1ae0000, size 20000
Erasing at 0x1ae0000 -- 100% complete. Cleanmarker written at 0x1ae0000.
OK
Writing: from RAM addr 42660080, to NAND off 1ae0000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1b00000, size 20000
Erasing at 0x1b00000 -- 100% complete. Cleanmarker written at 0x1b00000.
OK
Writing: from RAM addr 42680080, to NAND off 1b00000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1b20000, size 20000
Erasing at 0x1b20000 -- 100% complete. Cleanmarker written at 0x1b20000.
OK
Writing: from RAM addr 426a0080, to NAND off 1b20000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1b40000, size 20000
Erasing at 0x1b40000 -- 100% complete. Cleanmarker written at 0x1b40000.
OK
Writing: from RAM addr 426c0080, to NAND off 1b40000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1b60000, size 20000
Erasing at 0x1b60000 -- 100% complete. Cleanmarker written at 0x1b60000.
OK
Writing: from RAM addr 426e0080, to NAND off 1b60000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1b80000, size 20000
Erasing at 0x1b80000 -- 100% complete. Cleanmarker written at 0x1b80000.
OK
Writing: from RAM addr 42700080, to NAND off 1b80000, size 20000
 131072 bytes written: OK
Alive-timer 17
Erasing: off 1ba0000, size 20000
Erasing at 0x1ba0000 -- 100% complete. Cleanmarker written at 0x1ba0000.
OK
Writing: from RAM addr 42720080, to NAND off 1ba0000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1bc0000, size 20000
Erasing at 0x1bc0000 -- 100% complete. Cleanmarker written at 0x1bc0000.
OK
Writing: from RAM addr 42740080, to NAND off 1bc0000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1be0000, size 20000
Erasing at 0x1be0000 -- 100% complete. Cleanmarker written at 0x1be0000.
OK
Writing: from RAM addr 42760080, to NAND off 1be0000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1c00000, size 20000
Erasing at 0x1c00000 -- 100% complete. Cleanmarker written at 0x1c00000.
OK
Writing: from RAM addr 42780080, to NAND off 1c00000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1c20000, size 20000
Erasing at 0x1c20000 -- 100% complete. Cleanmarker written at 0x1c20000.
OK
Writing: from RAM addr 427a0080, to NAND off 1c20000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1c40000, size 20000
Erasing at 0x1c40000 -- 100% complete. Cleanmarker written at 0x1c40000.
OK
Writing: from RAM addr 427c0080, to NAND off 1c40000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1c60000, size 20000
Erasing at 0x1c60000 -- 100% complete. Cleanmarker written at 0x1c60000.
OK
Writing: from RAM addr 427e0080, to NAND off 1c60000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1c80000, size 20000
Erasing at 0x1c80000 -- 100% complete. Cleanmarker written at 0x1c80000.
OK
Writing: from RAM addr 42800080, to NAND off 1c80000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1ca0000, size 20000
Erasing at 0x1ca0000 -- 100% complete. Cleanmarker written at 0x1ca0000.
OK
Writing: from RAM addr 42820080, to NAND off 1ca0000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1cc0000, size 20000
Erasing at 0x1cc0000 -- 100% complete. Cleanmarker written at 0x1cc0000.
OK
Writing: from RAM addr 42840080, to NAND off 1cc0000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1ce0000, size 20000
Erasing at 0x1ce0000 -- 100% complete. Cleanmarker written at 0x1ce0000.
OK
Writing: from RAM addr 42860080, to NAND off 1ce0000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1d00000, size 20000
Erasing at 0x1d00000 -- 100% complete. Cleanmarker written at 0x1d00000.
OK
Writing: from RAM addr 42880080, to NAND off 1d00000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1d20000, size 20000
Erasing at 0x1d20000 -- 100% complete. Cleanmarker written at 0x1d20000.
OK
Writing: from RAM addr 428a0080, to NAND off 1d20000, size 20000
 131072 bytes written: OK
Alive-timer 18
Erasing: off 1d40000, size 20000
Erasing at 0x1d40000 -- 100% complete. Cleanmarker written at 0x1d40000.
OK
Writing: from RAM addr 428c0080, to NAND off 1d40000, size 20000
 131072 bytes written: OK
Alive-timer 18
 131072 bytes read: OK
Original board MODEL ID: R7800
New MODEL ID from image: R7800
Updating MODEL ID
 131072 bytes read: OK
Erasing: off 1200000, size 20000
Erasing at 0x1200000 -- 100% complete. Cleanmarker written at 0x1200000.
OK
Writing: from RAM addr 5fe87ac4, to NAND off 1200000, size 20000
 131072 bytes written: OK
Alive-timer 18
done

NMRP Send Closing REQ

NMRP CLOSEDRestore to factory default
Erasing at 0x7e60000 -- 100% complete. Cleanmarker written at 0x7e60000.
nand erase OK

press ctrl+C to continue.....

when I press CTRL C this follows:


T Bytes transferred = 9175169 (8c0081 hex)

TFTP upload done

Ignore Magic number checking when upgrade via NMRP,Magic number is 27051956!

131072 bytes read: OK

HW ID on board: 29764958+0+128+512+4x4+4x4+cascade

HW ID on image: 29764958+0+128+512+4x4+4x4+cascade

Firmware Image HW ID matched Board HW ID

Erasing: off 1480000, size 20000

Erasing at 0x1480000 -- 100% complete. Cleanmarker written at 0x1480000.

OK

Writing: from RAM addr 42000080, to NAND off 1480000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 14a0000, size 20000

Erasing at 0x14a0000 -- 100% complete. Cleanmarker written at 0x14a0000.

OK

Writing: from RAM addr 42020080, to NAND off 14a0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 14c0000, size 20000

Erasing at 0x14c0000 -- 100% complete. Cleanmarker written at 0x14c0000.

OK

Writing: from RAM addr 42040080, to NAND off 14c0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 14e0000, size 20000

Erasing at 0x14e0000 -- 100% complete. Cleanmarker written at 0x14e0000.

OK

Writing: from RAM addr 42060080, to NAND off 14e0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1500000, size 20000

Erasing at 0x1500000 -- 100% complete. Cleanmarker written at 0x1500000.

OK

Writing: from RAM addr 42080080, to NAND off 1500000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1520000, size 20000

Erasing at 0x1520000 -- 100% complete. Cleanmarker written at 0x1520000.

OK

Writing: from RAM addr 420a0080, to NAND off 1520000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1540000, size 20000

Erasing at 0x1540000 -- 100% complete. Cleanmarker written at 0x1540000.

OK

Writing: from RAM addr 420c0080, to NAND off 1540000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1560000, size 20000

Erasing at 0x1560000 -- 100% complete. Cleanmarker written at 0x1560000.

OK

Writing: from RAM addr 420e0080, to NAND off 1560000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1580000, size 20000

Erasing at 0x1580000 -- 100% complete. Cleanmarker written at 0x1580000.

OK

Writing: from RAM addr 42100080, to NAND off 1580000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 15a0000, size 20000

Erasing at 0x15a0000 -- 100% complete. Cleanmarker written at 0x15a0000.

OK

Writing: from RAM addr 42120080, to NAND off 15a0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 15c0000, size 20000

Erasing at 0x15c0000 -- 100% complete. Cleanmarker written at 0x15c0000.

OK

Writing: from RAM addr 42140080, to NAND off 15c0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 15e0000, size 20000

Erasing at 0x15e0000 -- 100% complete. Cleanmarker written at 0x15e0000.

OK

Writing: from RAM addr 42160080, to NAND off 15e0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1600000, size 20000

Erasing at 0x1600000 -- 100% complete. Cleanmarker written at 0x1600000.

OK

Writing: from RAM addr 42180080, to NAND off 1600000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1620000, size 20000

Erasing at 0x1620000 -- 100% complete. Cleanmarker written at 0x1620000.

OK

Writing: from RAM addr 421a0080, to NAND off 1620000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1640000, size 20000

Erasing at 0x1640000 -- 100% complete. Cleanmarker written at 0x1640000.

OK

Writing: from RAM addr 421c0080, to NAND off 1640000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1660000, size 20000

Erasing at 0x1660000 -- 100% complete. Cleanmarker written at 0x1660000.

OK

Writing: from RAM addr 421e0080, to NAND off 1660000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 1680000, size 20000

Erasing at 0x1680000 -- 100% complete. Cleanmarker written at 0x1680000.

OK

Writing: from RAM addr 42200080, to NAND off 1680000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 16a0000, size 20000

Erasing at 0x16a0000 -- 100% complete. Cleanmarker written at 0x16a0000.

OK

Writing: from RAM addr 42220080, to NAND off 16a0000, size 20000

131072 bytes written: OK

Alive-timer 15

Erasing: off 16c0000, size 20000

Erasing at 0x16c0000 -- 100% complete. Cleanmarker written at 0x16c0000.

OK

Writing: from RAM addr 42240080, to NAND off 16c0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 16e0000, size 20000

Erasing at 0x16e0000 -- 100% complete. Cleanmarker written at 0x16e0000.

OK

Writing: from RAM addr 42260080, to NAND off 16e0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1700000, size 20000

Erasing at 0x1700000 -- 100% complete. Cleanmarker written at 0x1700000.

OK

Writing: from RAM addr 42280080, to NAND off 1700000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1720000, size 20000

Erasing at 0x1720000 -- 100% complete. Cleanmarker written at 0x1720000.

OK

Writing: from RAM addr 422a0080, to NAND off 1720000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1740000, size 20000

Erasing at 0x1740000 -- 100% complete. Cleanmarker written at 0x1740000.

OK

Writing: from RAM addr 422c0080, to NAND off 1740000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1760000, size 20000

Erasing at 0x1760000 -- 100% complete. Cleanmarker written at 0x1760000.

OK

Writing: from RAM addr 422e0080, to NAND off 1760000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1780000, size 20000

Erasing at 0x1780000 -- 100% complete. Cleanmarker written at 0x1780000.

OK

Writing: from RAM addr 42300080, to NAND off 1780000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 17a0000, size 20000

Erasing at 0x17a0000 -- 100% complete. Cleanmarker written at 0x17a0000.

OK

Writing: from RAM addr 42320080, to NAND off 17a0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 17c0000, size 20000

Erasing at 0x17c0000 -- 100% complete. Cleanmarker written at 0x17c0000.

OK

Writing: from RAM addr 42340080, to NAND off 17c0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 17e0000, size 20000

Erasing at 0x17e0000 -- 100% complete. Cleanmarker written at 0x17e0000.

OK

Writing: from RAM addr 42360080, to NAND off 17e0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1800000, size 20000

Erasing at 0x1800000 -- 100% complete. Cleanmarker written at 0x1800000.

OK

Writing: from RAM addr 42380080, to NAND off 1800000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1820000, size 20000

Erasing at 0x1820000 -- 100% complete. Cleanmarker written at 0x1820000.

OK

Writing: from RAM addr 423a0080, to NAND off 1820000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1840000, size 20000

Erasing at 0x1840000 -- 100% complete. Cleanmarker written at 0x1840000.

OK

Writing: from RAM addr 423c0080, to NAND off 1840000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1860000, size 20000

Erasing at 0x1860000 -- 100% complete. Cleanmarker written at 0x1860000.

OK

Writing: from RAM addr 423e0080, to NAND off 1860000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1880000, size 20000

Erasing at 0x1880000 -- 100% complete. Cleanmarker written at 0x1880000.

OK

Writing: from RAM addr 42400080, to NAND off 1880000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 18a0000, size 20000

Erasing at 0x18a0000 -- 100% complete. Cleanmarker written at 0x18a0000.

OK

Writing: from RAM addr 42420080, to NAND off 18a0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 18c0000, size 20000

Erasing at 0x18c0000 -- 100% complete. Cleanmarker written at 0x18c0000.

OK

Writing: from RAM addr 42440080, to NAND off 18c0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 18e0000, size 20000

Erasing at 0x18e0000 -- 100% complete. Cleanmarker written at 0x18e0000.

OK

Writing: from RAM addr 42460080, to NAND off 18e0000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1900000, size 20000

Erasing at 0x1900000 -- 100% complete. Cleanmarker written at 0x1900000.

OK

Writing: from RAM addr 42480080, to NAND off 1900000, size 20000

131072 bytes written: OK

Alive-timer 16

Erasing: off 1920000, size 20000

Erasing at 0x1920000 -- 100% complete. Cleanmarker written at 0x1920000.

OK

Writing: from RAM addr 424a0080, to NAND off 1920000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1940000, size 20000

Erasing at 0x1940000 -- 100% complete. Cleanmarker written at 0x1940000.

OK

Writing: from RAM addr 424c0080, to NAND off 1940000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1960000, size 20000

Erasing at 0x1960000 -- 100% complete. Cleanmarker written at 0x1960000.

OK

Writing: from RAM addr 424e0080, to NAND off 1960000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1980000, size 20000

Erasing at 0x1980000 -- 100% complete. Cleanmarker written at 0x1980000.

OK

Writing: from RAM addr 42500080, to NAND off 1980000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 19a0000, size 20000

Erasing at 0x19a0000 -- 100% complete. Cleanmarker written at 0x19a0000.

OK

Writing: from RAM addr 42520080, to NAND off 19a0000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 19c0000, size 20000

Erasing at 0x19c0000 -- 100% complete. Cleanmarker written at 0x19c0000.

OK

Writing: from RAM addr 42540080, to NAND off 19c0000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 19e0000, size 20000

Erasing at 0x19e0000 -- 100% complete. Cleanmarker written at 0x19e0000.

OK

Writing: from RAM addr 42560080, to NAND off 19e0000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1a00000, size 20000

Erasing at 0x1a00000 -- 100% complete. Cleanmarker written at 0x1a00000.

OK

Writing: from RAM addr 42580080, to NAND off 1a00000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1a20000, size 20000

Erasing at 0x1a20000 -- 100% complete. Cleanmarker written at 0x1a20000.

OK

Writing: from RAM addr 425a0080, to NAND off 1a20000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1a40000, size 20000

Erasing at 0x1a40000 -- 100% complete. Cleanmarker written at 0x1a40000.

OK

Writing: from RAM addr 425c0080, to NAND off 1a40000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1a60000, size 20000

Erasing at 0x1a60000 -- 100% complete. Cleanmarker written at 0x1a60000.

OK

Writing: from RAM addr 425e0080, to NAND off 1a60000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1a80000, size 20000

Erasing at 0x1a80000 -- 100% complete. Cleanmarker written at 0x1a80000.

OK

Writing: from RAM addr 42600080, to NAND off 1a80000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1aa0000, size 20000

Erasing at 0x1aa0000 -- 100% complete. Cleanmarker written at 0x1aa0000.

OK

Writing: from RAM addr 42620080, to NAND off 1aa0000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1ac0000, size 20000

Erasing at 0x1ac0000 -- 100% complete. Cleanmarker written at 0x1ac0000.

OK

Writing: from RAM addr 42640080, to NAND off 1ac0000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1ae0000, size 20000

Erasing at 0x1ae0000 -- 100% complete. Cleanmarker written at 0x1ae0000.

OK

Writing: from RAM addr 42660080, to NAND off 1ae0000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1b00000, size 20000

Erasing at 0x1b00000 -- 100% complete. Cleanmarker written at 0x1b00000.

OK

Writing: from RAM addr 42680080, to NAND off 1b00000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1b20000, size 20000

Erasing at 0x1b20000 -- 100% complete. Cleanmarker written at 0x1b20000.

OK

Writing: from RAM addr 426a0080, to NAND off 1b20000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1b40000, size 20000

Erasing at 0x1b40000 -- 100% complete. Cleanmarker written at 0x1b40000.

OK

Writing: from RAM addr 426c0080, to NAND off 1b40000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1b60000, size 20000

Erasing at 0x1b60000 -- 100% complete. Cleanmarker written at 0x1b60000.

OK

Writing: from RAM addr 426e0080, to NAND off 1b60000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1b80000, size 20000

Erasing at 0x1b80000 -- 100% complete. Cleanmarker written at 0x1b80000.

OK

Writing: from RAM addr 42700080, to NAND off 1b80000, size 20000

131072 bytes written: OK

Alive-timer 17

Erasing: off 1ba0000, size 20000

Erasing at 0x1ba0000 -- 100% complete. Cleanmarker written at 0x1ba0000.

OK

Writing: from RAM addr 42720080, to NAND off 1ba0000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1bc0000, size 20000

Erasing at 0x1bc0000 -- 100% complete. Cleanmarker written at 0x1bc0000.

OK

Writing: from RAM addr 42740080, to NAND off 1bc0000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1be0000, size 20000

Erasing at 0x1be0000 -- 100% complete. Cleanmarker written at 0x1be0000.

OK

Writing: from RAM addr 42760080, to NAND off 1be0000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1c00000, size 20000

Erasing at 0x1c00000 -- 100% complete. Cleanmarker written at 0x1c00000.

OK

Writing: from RAM addr 42780080, to NAND off 1c00000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1c20000, size 20000

Erasing at 0x1c20000 -- 100% complete. Cleanmarker written at 0x1c20000.

OK

Writing: from RAM addr 427a0080, to NAND off 1c20000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1c40000, size 20000

Erasing at 0x1c40000 -- 100% complete. Cleanmarker written at 0x1c40000.

OK

Writing: from RAM addr 427c0080, to NAND off 1c40000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1c60000, size 20000

Erasing at 0x1c60000 -- 100% complete. Cleanmarker written at 0x1c60000.

OK

Writing: from RAM addr 427e0080, to NAND off 1c60000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1c80000, size 20000

Erasing at 0x1c80000 -- 100% complete. Cleanmarker written at 0x1c80000.

OK

Writing: from RAM addr 42800080, to NAND off 1c80000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1ca0000, size 20000

Erasing at 0x1ca0000 -- 100% complete. Cleanmarker written at 0x1ca0000.

OK

Writing: from RAM addr 42820080, to NAND off 1ca0000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1cc0000, size 20000

Erasing at 0x1cc0000 -- 100% complete. Cleanmarker written at 0x1cc0000.

OK

Writing: from RAM addr 42840080, to NAND off 1cc0000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1ce0000, size 20000

Erasing at 0x1ce0000 -- 100% complete. Cleanmarker written at 0x1ce0000.

OK

Writing: from RAM addr 42860080, to NAND off 1ce0000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1d00000, size 20000

Erasing at 0x1d00000 -- 100% complete. Cleanmarker written at 0x1d00000.

OK

Writing: from RAM addr 42880080, to NAND off 1d00000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1d20000, size 20000

Erasing at 0x1d20000 -- 100% complete. Cleanmarker written at 0x1d20000.

OK

Writing: from RAM addr 428a0080, to NAND off 1d20000, size 20000

131072 bytes written: OK

Alive-timer 18

Erasing: off 1d40000, size 20000

Erasing at 0x1d40000 -- 100% complete. Cleanmarker written at 0x1d40000.

OK

Writing: from RAM addr 428c0080, to NAND off 1d40000, size 20000

131072 bytes written: OK

Alive-timer 18

131072 bytes read: OK

Original board MODEL ID: R7800

New MODEL ID from image: R7800

Updating MODEL ID

131072 bytes read: OK

Erasing: off 1200000, size 20000

Erasing at 0x1200000 -- 100% complete. Cleanmarker written at 0x1200000.

OK

Writing: from RAM addr 5fe87b3c, to NAND off 1200000, size 20000

131072 bytes written: OK

Alive-timer 18

done

NMRP Send Closing REQ

T T T T T T T T T

Retry to wait TFTP Client's Data count exceeded; starting again

Mac2 unit failed

Listening on Port : 69, IP Address: 10.164.183.252 ...

TMac2 unit failed

Listening on Port : 69, IP Address: 10.164.183.252 ...

TMac2 unit failed

Listening on Port : 69, IP Address: 10.164.183.252 ...

TMac2 unit failed

Listening on Port : 69, IP Address: 10.164.183.252 ...

TMac2 unit failed

Listening on Port : 69, IP Address: 10.164.183.252 ...

retry tftp_upload count exceeded;

TTT

retry conf count exceeded;

Client starts...[Listening] for ADVERTISE...TTT

Retry count exceeded; boot the image as usual

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

Firmware recovering from TFTP server is stopped or failed! :(

nmrp server is stopped or failed !

(IPQ) #

and then I reboot the board with phisical switch and this happens:

U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:b0:39:56:97:cb:c4
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:b0:39:56:97:cb:c3
eth0, eth1
Hit any key to stop autoboot:  0
Mac2 unit failed

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !

Loading from device 0: nand0 (offset 0x1480000)

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK
MMC Device 0 not found

Loading from nand0, offset 0x1480000
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2752844 Bytes = 2.6 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2752844 Bytes = 2.6 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.179 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16495-bf0c965af0)) #0 SMP Wed Feb 16 20:29:10 2022
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 474824K/491520K available (6274K kernel code, 196K rwdata, 920K rodata, 1024K init, 239K bss, 16696K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from 0xc0b00c18 with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000248] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000268] pid_max: default: 32768 minimum: 301
[    0.000468] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000488] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001538] CPU: Testing write buffer coherency: ok
[    0.002690] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002872] rcu: Hierarchical SRCU implementation.
[    0.003371] smp: Bringing up secondary CPUs ...
[    0.005305] smp: Brought up 1 node, 2 CPUs
[    0.005320] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005330] CPU: All CPU(s) started in SVC mode.
[    0.016032] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.016177] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016203] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.016339] pinctrl core: initialized pinctrl subsystem
[    0.017481] NET: Registered protocol family 16
[    0.017772] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.019142] cpuidle: using governor ladder
[    0.019207] cpuidle: using governor menu
[    0.050347] usbcore: registered new interface driver usbfs
[    0.050430] usbcore: registered new interface driver hub
[    0.050497] usbcore: registered new device driver usb
[    0.050557] pps_core: LinuxPPS API ver. 1 registered
[    0.050569] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.050608] PTP clock support registered
[    0.052449] clocksource: Switched to clocksource dg_timer
[    0.053312] thermal_sys: Registered thermal governor 'step_wise'
[    0.055741] NET: Registered protocol family 2
[    0.055907] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.056799] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.056842] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.056902] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.056955] TCP: Hash tables configured (established 4096 bind 4096)
[    0.057050] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.057078] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.057292] NET: Registered protocol family 1
[    0.057356] PCI: CLS 0 bytes, default 64
[    0.058686] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.065886] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.065902] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.103124] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.105211] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.105361] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.105475] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.105748] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.105820] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.105859] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.328154] qcom-pcie 1b500000.pci: Link up
[    0.328321] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.328344] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.328365] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.328382] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.328444] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.328616] pci 0000:00:00.0: supports D1
[    0.328634] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.332844] PCI: bus0: Fast back to back transfers disabled
[    0.333206] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.333561] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.334709] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.338979] PCI: bus1: Fast back to back transfers disabled
[    0.339067] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.339091] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.339220] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.339244] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.340230] pcieport 0000:00:00.0: AER: enabled with IRQ 36
[    0.340816] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.340948] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.341081] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.341340] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.341407] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.341440] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.569951] qcom-pcie 1b700000.pci: Link up
[    0.570109] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.570129] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.570147] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.570204] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.570355] pci 0001:00:00.0: supports D1
[    0.570370] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.574542] PCI: bus0: Fast back to back transfers disabled
[    0.574893] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.575271] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.576515] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.576819] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.580846] PCI: bus1: Fast back to back transfers disabled
[    0.580921] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.580944] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.581075] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.581095] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.582010] pcieport 0001:00:00.0: AER: enabled with IRQ 38
[    0.584655] L2 @ QSB rate. Forcing new rate.
[    0.584890] L2 @ 384000 KHz
[    0.585078] CPU0 @ 800000 KHz
[    0.585092] CPU1 @ QSB rate. Forcing new rate.
[    0.585224] CPU1 @ 384000 KHz
[    0.588976] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.591223] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.593857] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.593911] msm_serial 16340000.serial: uartclk = 7372800
[    0.593990] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM
[    0.594028] msm_serial: console setup on port #0
[    1.373847] printk: console [ttyMSM0] enabled
[    1.378806] msm_serial: driver initialized
[    1.388222] loop: module loaded
[    6.382810] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[    6.382849] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   11.382799] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   11.382833] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   16.382791] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   16.382824] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   16.387876] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[   16.396006] nand: AMD/Spansion NAND 128MiB 1,8V 8-bit
[   16.402362] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   16.407482] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[   16.414846] Creating 8 MTD partitions on "qcom_nand.0":
[   16.421636] 0x000000000000-0x000000c80000 : "qcadata"
[   21.422804] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   21.422836] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   26.422797] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   26.422829] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   31.422789] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   31.422820] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   36.422782] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   36.422814] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword
[   41.422807] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   41.422839] qcom-nandc 1ac00000.nand-controller: failed to copy last codeword


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:b0:39:56:97:cb:c4
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:b0:39:56:97:cb:c3
eth0, eth1
Hit any key to stop autoboot:  0
Mac2 unit failed

 Client starts...[Listening] for ADVERTISE...TTT
Retry count exceeded; boot the image as usual

 nmrp server is stopped or failed !

Loading from device 0: nand0 (offset 0x1480000)

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK
MMC Device 0 not found

Loading from nand0, offset 0x1480000
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2752844 Bytes = 2.6 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.179
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2752844 Bytes = 2.6 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.179 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16495-bf0c965af0)) #0 SMP Wed Feb 16 20:29:10 2022
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu s30220 r8192 d23028 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 474824K/491520K available (6274K kernel code, 196K rwdata, 920K rodata, 1024K init, 239K bss, 16696K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from 0xc0b00c18 with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000022] Switching to timer-based delay loop, resolution 160ns
[    0.000248] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000268] pid_max: default: 32768 minimum: 301
[    0.000468] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000486] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001534] CPU: Testing write buffer coherency: ok
[    0.002679] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002863] rcu: Hierarchical SRCU implementation.
[    0.003359] smp: Bringing up secondary CPUs ...
[    0.005277] smp: Brought up 1 node, 2 CPUs
[    0.005292] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005301] CPU: All CPU(s) started in SVC mode.
[    0.016015] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.016162] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016188] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.016322] pinctrl core: initialized pinctrl subsystem
[    0.017459] NET: Registered protocol family 16
[    0.017750] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.019123] cpuidle: using governor ladder
[    0.019189] cpuidle: using governor menu
[    0.050315] usbcore: registered new interface driver usbfs
[    0.050398] usbcore: registered new interface driver hub
[    0.050465] usbcore: registered new device driver usb
[    0.050525] pps_core: LinuxPPS API ver. 1 registered
[    0.050537] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.050577] PTP clock support registered
[    0.052422] clocksource: Switched to clocksource dg_timer
[    0.053287] thermal_sys: Registered thermal governor 'step_wise'
[    0.055718] NET: Registered protocol family 2
[    0.055885] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.056775] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.056820] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.056881] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.056935] TCP: Hash tables configured (established 4096 bind 4096)
[    0.057034] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.057065] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.057283] NET: Registered protocol family 1
[    0.057347] PCI: CLS 0 bytes, default 64
[    0.058687] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.065900] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.065916] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.105196] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.107284] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.107437] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.107551] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.107824] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.107896] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.107934] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.328125] qcom-pcie 1b500000.pci: Link up
[    0.328293] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.328315] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.328336] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.328351] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.328414] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.328584] pci 0000:00:00.0: supports D1
[    0.328602] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.332819] PCI: bus0: Fast back to back transfers disabled
[    0.333176] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.333532] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.334680] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.338951] PCI: bus1: Fast back to back transfers disabled
[    0.339038] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.339063] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.339192] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.339216] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.340190] pcieport 0000:00:00.0: AER: enabled with IRQ 36
[    0.340778] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.340911] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.341044] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.341300] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.341365] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.341400] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.569923] qcom-pcie 1b700000.pci: Link up
[    0.570083] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.570103] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.570120] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.570178] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.570331] pci 0001:00:00.0: supports D1
[    0.570346] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.574515] PCI: bus0: Fast back to back transfers disabled
[    0.574864] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.575243] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.576478] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.576781] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.580820] PCI: bus1: Fast back to back transfers disabled
[    0.580895] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.580918] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.581049] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.581069] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.581980] pcieport 0001:00:00.0: AER: enabled with IRQ 38
[    0.584638] L2 @ QSB rate. Forcing new rate.
[    0.584877] L2 @ 384000 KHz
[    0.585065] CPU0 @ 800000 KHz
[    0.585079] CPU1 @ QSB rate. Forcing new rate.
[    0.585210] CPU1 @ 384000 KHz
[    0.588961] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.591179] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.593815] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.593867] msm_serial 16340000.serial: uartclk = 7372800
[    0.593944] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM
[    0.593982] msm_serial: console setup on port #0
[    1.373785] printk: console [ttyMSM0] enabled
[    1.378761] msm_serial: driver initialized
[    1.388181] loop: module loaded
[    6.382779] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[    6.382816] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 255
[   11.382769] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   11.382802] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   16.382761] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   16.382795] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   21.382786] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   21.382818] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   26.382779] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   26.382811] qcom-nandc 1ac00000.nand-controller: failure submitting descs for command 144
[   26.387860] nand: No NAND device found
[   26.414250] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[   27.195162] ar8327: qca,phy-rgmii-en is not specified
[   27.197257] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[   27.199218] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[   27.206827] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[   27.213550] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[   27.219272] ipq806x-gmac-dwmac 37200000.ethernet:    DWMAC1000
[   27.226833] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[   27.232545] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[   27.240367] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[   27.248265] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[   27.254074] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[   27.261365] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[   27.268225] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[   27.275755] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[   27.282785] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[   27.288897] ipq806x-gmac-dwmac 37200000.ethernet: device MAC address 1a:4a:27:8b:5b:2b
[   27.299074] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[   27.305394] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[   27.312957] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[   27.319260] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[   27.325543] ipq806x-gmac-dwmac 37400000.ethernet:    DWMAC1000
[   27.333015] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[   27.338706] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[   27.346514] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[   27.354419] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[   27.360146] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[   27.367599] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[   27.374378] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[   27.381847] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[   27.388968] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[   27.395132] ipq806x-gmac-dwmac 37400000.ethernet: device MAC address 9a:d5:46:e5:b1:22
[   27.405421] i2c /dev entries driver
[   27.415071] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[   27.415277] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[   27.423130] sdhci: Secure Digital Host Controller Interface driver
[   27.429411] sdhci: Copyright(c) Pierre Ossman
[   27.435763] sdhci-pltfm: SDHCI platform and OF driver helper
[   27.443880] NET: Registered protocol family 10
[   27.447937] Segment Routing with IPv6
[   27.450228] NET: Registered protocol family 17
[   27.454060] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   27.458466] 8021q: 802.1Q VLAN Support v1.8
[   27.471438] Registering SWP/SWPB emulation handler
[   27.510114] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[   27.526894] s1a: Bringing 0uV into 1050000-1050000uV
[   27.527334] s1a: supplied by regulator-dummy
[   27.531134] s1b: Bringing 0uV into 1050000-1050000uV
[   27.535628] s1b: supplied by regulator-dummy
[   27.540334] s2a: Bringing 0uV into 775000-775000uV
[   27.544807] s2a: supplied by regulator-dummy
[   27.549196] s2b: Bringing 0uV into 775000-775000uV
[   27.553843] s2b: supplied by regulator-dummy
[   ¦[   27.570827] /dev/root: Can't open blockdev
[   27.570847] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[   27.573875] Please append a correct "root=" boot option; here are the available partitions:
[   27.581369] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   27.589537] CPU0: stopping
[   27.597858] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.179 #0
[   27.600543] Hardware name: Generic DT based system
[   27.606716] Function entered at [<c030f874>] from [<c030b870>]
[   27.611310] Function entered at [<c030b870>] from [<c09032f8>]
[   27.617126] Function entered at [<c09032f8>] from [<c030eaa0>]
[   27.622942] Function entered at [<c030eaa0>] from [<c05de344>]
[   27.628758] Function entered at [<c05de344>] from [<c0301a8c>]
[   27.634574] Exception stack(0xc0c01ee0 to 0xc0c01f28)
[   27.640411] 1ee0: 00000000 00000006 1ce50000 dd991a80 dd7db800 00000000 dd990e30 00000006
[   27.645538] 1f00: 00000006 00000000 6c76aee0 6b7f1180 00000015 c0c01f30 c0732d08 c0732d0c
[   27.653679] 1f20: 00000013 ffffffff
[   27.661829] Function entered at [<c0301a8c>] from [<c0732d0c>]
[   27.665130] Function entered at [<c0732d0c>] from [<c0733154>]
[   27.671030] Function entered at [<c0733154>] from [<c034ade4>]
[   27.676848] Function entered at [<c034ade4>] from [<c034b0f4>]
[   27.682663] Function entered at [<c034b0f4>] from [<c0b00db4>]
[   27.688480] Function entered at [<c0b00db4>] from [<00000000>]
[   27.694301] Rebooting in 1 seconds..


U-Boot 2012.07 [local,local] (Sep 03 2015 - 17:33:28)

U-boot 2012.07 dni1 V0.4 for DNI HW ID: 29764958 NOR flash 0MB; NAND flash 128MB; RAM 512MB; 1st Radio 4x4; 2nd Radio 4x4; Cascade
smem ram ptable found: ver: 0 len: 5
DRAM:  491 MiB
NAND:  SF: Unsupported manufacturer 00
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
128 MiB
MMC:
*** Warning - bad CRC, using default environment

PCI0 Link Intialized
PCI1 Link Intialized
In:    serial
Out:   serial
Err:   serial
 131072 bytes read: OK
MMC Device 0 not found
cdp: get part failed for 0:HLOS
Net:   MAC1 addr:b0:39:56:97:cb:c4
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:b0:39:56:97:cb:c3
eth0, eth1
Hit any key to stop autoboot:  0
(IPQ) #

nand-controller: failed to copy last codeword

this codeword error is present in all builds I tried. All of them.

As usual, :pray: :pray: :pray: :pray: :pray: :pray: :pray: :pray: :pray: Thanks.

While I'm not familiar with nmrp and would rather you used the regular OpenWrt sysupgrade mechanism most likely your NAND is defective. Or, of course, the NAND controller. If the former is the case one could in theory just solder in a new part (Not trivial but doable). While if it's the controller inside the SoC then replacing that would be much more involved.

Actually, if one would do a proper hardware defect analysis, one would probably start with verifying the power supply rails. Who knows, maybe something there is broken. However, one would need the schematics or at least some repair manual listing such test points on the PCB.

Probably yes, or got corrupted by me. I even own a soldering station, but since the board has some other problems, I don't know if the effort of swapping the nand chip is reasonable.
BUT...

After followin @hnyman advice, I flashed original firmware on the chip, and everything looks in order with the partitions:

Partition (from dni partition table) qcadata -- Offset:0 Size:64
Partition (from dni partition table) APPSBL -- Offset:64 Size:28
Partition (from dni partition table) APPSBLENV -- Offset:8c Size:4
Partition (from dni partition table) ART -- Offset:90 Size:a
Partition (from dni partition table) ART.bak -- Offset:9a Size:a
Partition (from dni partition table) kernel -- Offset:a4 Size:11
Partition (from dni partition table) rootfs -- Offset:b5 Size:ef
Partition (from dni partition table) netgear -- Offset:1a4 Size:224
Partition (from dni partition table) firmware -- Offset:a4 Size:100
Partition (from dni partition table) crashdump -- Offset:3c8 Size:4
Partition (from dni partition table) language -- Offset:3cc Size:1c
Partition (from dni partition table) config -- Offset:3e8 Size:9
Partition (from dni partition table) pot -- Offset:3f1 Size:9

but it still complains about this:

Loading from device 0: nand0 (offset 0x1480000)

** check kernel image **
   Verifying Checksum ... OK

** check rootfs image **
   Verifying Checksum ... OK
MMC Device 0 not found

Loading from nand0, offset 0x1480000
   Image Name:   Linux-3.4.103
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2176136 Bytes = 2.1 MiB
   Load Address: 41508000
   Entry Point:  41508000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   Linux-3.4.103
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2176136 Bytes = 2.1 MiB
   Load Address: 41508000
   Entry Point:  41508000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
info: "mtdparts" not set
Using machid 0x136c from environment

Starting kernel ...

So it seems to me something is missing from the uboot environment to be passed to the bootup hierarchy (kernel and system loading)...the partitions are there, but uboot does not know where are located, maybe?

I'm not far from dropping the mission, but if you bear with me we can make some final assumptions on the board before throwing it away, and I'll be grateful to you nonetheless, really!

@sumo , @hnyman , can I ask you to run mtdparts in uboot console on your devices?

Pure guesswork: Could this be indicative of a hardware failure?

BTW: What did you pay for this device? Was is advertised as being defective?

Ahahahahah! These are totally reasonable questions, at this point! Ahahahahahah!
I paid 52€, which is not a lot at all. I was betting I could fix it, because sometimes electronics are sold as faulty but they are not HW faulty, only SW. Unfortunately UPS charged me a huge 33€ for customs and "custom intermediation" (hell's fire for them), so ATM this board costs me 85€. Just 15€ less than another used one. F**king sh*t.
I've been really dumb, unfortunate and careless, I guess.

1 Like

Out of curiosity, where are you, and where did you get it?

+1

printenv

(save it in a text file somewhere)