R7800 with corrupted firmware image and faulty LAN. Gosh

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)

I bought it on ebay from someone in London...and I'm in Italy.

:slightly_smiling_face: there is hope?

(IPQ) # printenv
baudrate=115200
bootargs=console=ttyHSL1,115200n8
bootcmd=sleep 2;   nmrp;  if loadn_dniimg 0 0x1480000 0x44000000 && chk_dniimg 0x44000000; then bootipq2; else fw_recovery; fi
bootdelay=2
eth1addr=b0:39:56:97:cb:c3
ethact=eth0
ethaddr=b0:39:56:97:cb:c4
ipaddr=192.168.1.1
loadaddr=0x42000000
machid=136c
modelid=R7800
serverip=192.168.1.10
stderr=serial
stdin=serial
stdout=serial
updateloader=ipq_nand linux && nand erase 0x01180000 0x00080000 && imgaddr=0x42000000 && source $imgaddr:script

Environment size: 527/262140 bytes
(IPQ) #


Is there anyone that has experience with this commands?

(IPQ) # mtdparts
mtdparts variable not set, see 'help mtdparts'
no partitions defined

defaults:
mtdids  : nand0=msm_nand
mtdparts: none
(IPQ) # help mtdparts
mtdparts - define flash/nand partitions

Usage:
mtdparts
    - list partition table
mtdparts delall
    - delete all partitions
mtdparts del part-id
    - delete partition (e.g. part-id = nand0,1)
mtdparts add <mtd-dev> <size>[@<offset>] [<name>] [ro]
    - add partition
mtdparts default
    - reset partition table to defaults

-----

this command uses three environment variables:

'partition' - keeps current partition identifier

partition  := <part-id>
<part-id>  := <dev-id>,part_num

'mtdids' - linux kernel mtd device id <-> u-boot device id mapping

mtdids=<idmap>[,<idmap>,...]

<idmap>    := <dev-id>=<mtd-id>
<dev-id>   := 'nand'|'nor'|'onenand'<dev-num>
<dev-num>  := mtd device number, 0...
<mtd-id>   := unique device tag used by linux kernel to find mtd device (mtd->name)

'mtdparts' - partition list

mtdparts=mtdparts=<mtd-def>[;<mtd-def>...]

<mtd-def>  := <mtd-id>:<part-def>[,<part-def>...]
<mtd-id>   := unique device tag used by linux kernel to find mtd device (mtd->name)
<part-def> := <size>[@<offset>][<name>][<ro-flag>]
<size>     := standard linux memsize OR '-' to denote all remaining space
<offset>   := partition start offset within the device
<name>     := '(' NAME ')'
<ro-flag>  := when set to 'ro' makes partition read-only (not used, passed to kernel)
(IPQ) #

I think manually setting the mtd partitions might even solve the problem!

@sumo had 7800, he should be able to post his printenv.

That looks normal with r7800

See a normal serial boot log from year 2017...

1 Like

Ah. Yes indeed. It is identical. So absence of mtd parts in uboot is not a problem. Once kernel loads it should be able to locate the partitions. Mine does not.
@sumo a mtdparts log is not required, as the uboot log posted by @hnyman is equal to mine. Thanks anyway. I revert to your method now.
The test procedure goes like this now:

  • Already flashed latest OEM firmware from Netgear. Version 1.0.2.90

  • Will flash Openwrt "factory" firmware Version 19.07.9 on top of OEM, so we have same level of USB boot uImage you gave me (that is the only thing that works :slightly_smiling_face: )

  • Try and see if it loads (but think not)

  • will do a simple sysupgrade and see what happens

  • report back to you...

i dont see evidence of this...

edit my bad just saw this now..

you NEED a custom image with firewall disabled / ssh / http on wan (well wan port in lan brige is better) in case it is just your lan that's fried... (well you technically can load that from usb now :slight_smile: )

edit: by the looks of things you CAN tftp images now... and as you mentioned sysupgrading... I think i'm lost with where you are at...

I really do not understand why you keep going back and forth to some random image(s). I won't be able to help you with any of this.

No, I think that error is/was always there on that ancient vendor U-Boot.

Yep, sorry, had to dig it out of the e-waste junkyard again. Here you go:

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:7f:b9:3e:41:36
athrs17_reg_init: complete
athrs17_vlan_config ...done
S17c init  done
MAC2 addr:b0:7f:b9:3e:41:35
eth0, eth1
Hit any key to stop autoboot:  0
(IPQ) # pri
baudrate=115200
bootargs=console=ttyHSL1,115200n8
bootcmd=sleep 2;   nmrp;  if loadn_dniimg 0 0x1480000 0x44000000 && chk_dniimg 0x44000000; then bootipq2; else fw_recovery; fi
bootdelay=2
eth1addr=b0:7f:b9:3e:41:35
ethact=eth0
ethaddr=b0:7f:b9:3e:41:36
ipaddr=192.168.1.1
loadaddr=0x42000000
machid=136c
modelid=R7800
serverip=192.168.1.10
stderr=serial
stdin=serial
stdout=serial
updateloader=ipq_nand linux && nand erase 0x01180000 0x00080000 && imgaddr=0x42000000 && source $imgaddr:script

Environment size: 527/262140 bytes
(IPQ) #
1 Like

The one you are seeing now is the latest OEM firmware, as it made sense to me what hnyman said: if NAND is scrambled, an OEM image might set up the scrambled partitions with its padding.

I will flash 19.07.9 factory on top of the OEM, and follow your indications now.
Will report back.

@anon50098793 , ATM two things are kind of working:

  1. nmrp flash method, using the comfy command available in UBoot. I found out it searches thoroughly, till it finds my pc connected on the WAN port instead of one of LAN (they're all dead). I am now accustomed with this method.

  2. @sumo method is working as well. I can load the system from USB, and from there I can launch a sysupgrade, but I'm less familiar with it, as the number of commands before issuing the sysupgrade one are quite a lot, and the whole procedure relays on the presence of internet connection, which is flacky because of faulty ports.

I was actually talking about the OpenWrt factory image...
(Not sysupgrade, but the factory image that is meant for initial install from OEM)
That might initialize the UBI part that is after kernel and contains rootfs.

But looking at all the logs and your attempts, I think that your device is pretty much a lost cause.

this is the serial log just after flashing owrt factory image version 19.07.9

(IPQ) # nmrp
Mac2 unit failed

 Client starts...[Listening] for ADVERTISE...
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;
T
Rcv:
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        .................................................................
        ..............
Done!
Bytes transferred = 8388737 (800081 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
 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.....


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-4.14.267
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2207891 Bytes = 2.1 MiB
   Load Address: 42208000
   Entry Point:  42208000
Automatic boot of image at addr 0x44000000 ...
   Image Name:   ARM OpenWrt Linux-4.14.267
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2207891 Bytes = 2.1 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 4.14.267 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11405-2a3558b0de)) #0 SMP Wed Feb 16 20:47:59 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] random: get_random_bytes called from 0xc09008e0 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s29388 r8192 d23860 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 477376K/491520K available (4994K kernel code, 160K rwdata, 756K rodata, 1024K init, 235K bss, 14144K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc07e0820   (5987 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a28240   ( 161 kB)
[    0.000000]        .bss : 0xc0a2a000 - 0xc0a64e10   ( 236 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000007] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000021] Switching to timer-based delay loop, resolution 160ns
[    0.000235] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000260] pid_max: default: 32768 minimum: 301
[    0.000379] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000397] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000972] CPU: Testing write buffer coherency: ok
[    0.001722] Setting up static identity map for 0x42300000 - 0x42300060
[    0.001879] Hierarchical SRCU implementation.
[    0.002604] smp: Bringing up secondary CPUs ...
[    0.004431] smp: Brought up 1 node, 2 CPUs
[    0.004450] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004461] CPU: All CPU(s) started in SVC mode.
[    0.013665] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.013826] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013851] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.013945] pinctrl core: initialized pinctrl subsystem
[    0.014894] NET: Registered protocol family 16
[    0.015146] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.016381] cpuidle: using governor ladder
[    0.016447] cpuidle: using governor menu
[    0.038622] msm_bus_fabric_init_driver
[    0.039977] usbcore: registered new interface driver usbfs
[    0.040049] usbcore: registered new interface driver hub
[    0.040120] usbcore: registered new device driver usb
[    0.040176] pps_core: LinuxPPS API ver. 1 registered
[    0.040190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.040221] PTP clock support registered
[    0.041946] clocksource: Switched to clocksource dg_timer
[    0.044929] NET: Registered protocol family 2
[    0.045088] IP idents hash table entries: 8192 (order: 4, 65536 bytes)
[    0.045782] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.045823] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.045877] TCP: Hash tables configured (established 4096 bind 4096)
[    0.045969] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.045996] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.046149] NET: Registered protocol family 1
[    0.047306] No memory allocated for crashlog
[    0.047601] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.051992] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.052011] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.058816] io scheduler noop registered
[    0.058835] io scheduler deadline registered (default)
[    0.060457] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.060564] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.060662] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.061439] OF: PCI: host bridge /soc/pci@1b500000 ranges:
[    0.061481] OF: PCI:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.061508] OF: PCI:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.169621] qcom-pcie 1b500000.pci: link up
[    0.169790] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.169815] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.169836] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.169854] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.170367] PCI: bus0: Fast back to back transfers disabled
[    0.172680] PCI: bus1: Fast back to back transfers disabled
[    0.172781] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.172806] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.172935] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.172960] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.173487] pcieport 0000:00:00.0: AER enabled with IRQ 35
[    0.174011] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.174122] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.174213] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.174971] OF: PCI: host bridge /soc/pci@1b700000 ranges:
[    0.175010] OF: PCI:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.175033] OF: PCI:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.284829] qcom-pcie 1b700000.pci: link up
[    0.284967] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.284986] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.285002] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.285460] PCI: bus0: Fast back to back transfers disabled
[    0.287794] PCI: bus1: Fast back to back transfers disabled
[    0.287883] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.287906] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.288038] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.288058] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.288537] pcieport 0001:00:00.0: AER enabled with IRQ 68
[    0.290878] L2 @ QSB rate. Forcing new rate.
[    0.291097] L2 @ 384000 KHz
[    0.291275] CPU0 @ 800000 KHz
[    0.291288] CPU1 @ QSB rate. Forcing new rate.
[    0.291416] CPU1 @ 384000 KHz
[    0.295324] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.297277] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.299665] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.299770] msm_serial 16340000.serial: uartclk = 7372800
[    0.299857] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 460800) is a MSM
[    0.299898] msm_serial: console setup on port #0
[    1.026235] console [ttyMSM0] enabled
[    1.030923] msm_serial: driver initialized
[    1.039269] loop: module loaded
[    6.032298] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[    6.032335] qcom-nandc 1ac00000.nand: failure submitting descs for command 236
[    6.037465] nand: Could not find valid ONFI parameter page; aborting
[   11.042284] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   11.042317] qcom-nandc 1ac00000.nand: failure submitting descs for command 144
[   11.047365] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xa1
[   11.054470] nand: AMD/Spansion NAND 128MiB 1,8V 8-bit
[   11.060898] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[   11.066032] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[   11.073399] Creating 8 MTD partitions on "qcom_nand.0":
[   11.080174] 0x000000000000-0x000000c80000 : "qcadata"
[   16.082296] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   16.082330] qcom-nandc 1ac00000.nand: failed to copy last codeword
[   21.082290] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   21.082322] qcom-nandc 1ac00000.nand: failed to copy last codeword
[   26.082282] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   26.082314] qcom-nandc 1ac00000.nand: failed to copy last codeword
[   31.082275] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   31.082307] qcom-nandc 1ac00000.nand: failed to copy last codeword
[   36.082300] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   36.082331] qcom-nandc 1ac00000.nand: failed to copy last codeword


Apart from the codeword error, the other strange message IMHO is this:

[    6.032298] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[    6.032335] qcom-nandc 1ac00000.nand: failure submitting descs for command 236
[    6.037465] nand: Could not find valid ONFI parameter page; aborting
[   11.042284] adm-dma-engine 18300000.dma: dma_sync_wait: timeout!
[   11.042317] qcom-nandc 1ac00000.nand: failure submitting descs for command 144

@sumo , should I run the board from USB as you taught me and flash latest sysupgrade image?

Question is whether or not that boots without any NAND failures. As long as the kernel has such low-level issues I don't believe you will get any much further. I might be able to send you a replacement NAND part. However, the tricky part will be how to get that sufficiently initialized so it will boot off of it again once soldered in.

Do you think I can boot off a small usb drive setting it as default storage, instead of using the nand?
I'd be a happy man, if the WAN port could be turned into a LAN. Could still use this expensive device as personal cloud system, perhaps.

If by booting one means really the very first code the SoC is executing e.g. after it's on-chip boot ROM, then I doubt that can be changed. Likely U-Boot will always need to reside in NAND. Whether that vendor U-Boot allows setting a custom auto boot command is another question.