DGND3700 v2 - Boot loop after installation non stop

It doesn't start anymore, it restarts constantly .. help

what device?

what exactly did you do?

Bye thank you,
model netgear dgnd 3700v2 a little old, but for experiments it is perfect ...
The procedure is the classic , stopped the boot of the router with keyboard connected via serial TTL adapter, manual ip I go 192.168.1.1 and snapshot flashing, stable is not there :slight_smile: ...
Tried with the latest 20 releases ...
in the past a September version had been successfully flashed ..
Thanks and sorry my english

[2.457667] / dev / root: Can't open blockdev
[2.461957] VFS: Cannot open root device "(null)" or unknown-block (0,0): error -6
[2.469623] Please append a correct "root =" boot option; here are the available partitions:

here is the error, no idea how to fix ??

HELO
CPUI
L1CI
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LASY
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
NAN0
BT31
0001
NAN9
NAN3
RFS0
NAN5


CFE version 1.0.38-112.14 for BCM96362 (32bit,SP,BE)
Build Date: 2011年 12月 21日 星期三 18:16:05 CST (sunny@localhost)
Copyright (C) 2000-2011 Broadcom Corporation.

NAND flash device: name <not identified>, id 0x2075 block 16KB size 32768KB
External switch id = 53125 
SC Debug: Setting RGMII TX_CLK DELAY at SWITCH IMP PORT!
SC Debug: Setting RGMII RX_CLK DELAY at SWITCH IMP PORT!
Chip ID: BCM6362B0, MIPS: 400MHz, DDR: 333MHz, Bus: 166MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000

Board IP address                  : 192.168.1.1:ffffff00  
Host IP address                   : 192.168.1.100  
Gateway IP address                :   
Run from flash/host (f/h)         : f  
Default host run file name        : vmlinux  
Default host flash file name      : bcm963xx_fs_kernel  
Boot delay (0-9 seconds)          : 1  
Board Id (0-5)                    : 96362ADVN2xh  
Number of MAC Addresses (1-32)    : 11  
Base MAC Address                  : 4c:60:de:88:0c:fc  
PSI Size (1-64) KBytes            : 24  
Enable Backup PSI [0|1]           : 0  
System Log Size (0-256) KBytes    : 0  
Main Thread Number [0|1]          : 0  

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1#1#0
Enter NMRP_main
Scanning Flash Section 0...
Scanning Flash Section 1...
Scanning Flash Section 2...
Scanning Flash Section 3...
Scanning Flash Section 4...
Scanning Flash Section 5...
Scanning Flash Section 6...
Scanning Flash Section 7...
Scanning Flash Section 8...
Scanning Flash Section 9...
Scanning Flash Section 10...
Scanning Flash Section 11...
Scanning Flash Section 12...
NMRP:LISTENING
### No NMRP Server found ###
Scanning Flash Section 0...
Scanning Flash Section 1...
Scanning Flash Section 2...
Scanning Flash Section 3...
Scanning Flash Section 4...
Scanning Flash Section 5...
Scanning Flash Section 6...
Scanning Flash Section 7...
Scanning Flash Section 8...
Scanning Flash Section 9...
Scanning Flash Section 10...
Scanning Flash Section 11...
Scanning Flash Section 12...


***************************************************

    Sercomm Boot Version 1...0.6



***************************************************

0 Block in Flag Section Find Sercomm Sign!
Entering Firmware : Everything is OK.

Booting from Primary image (0xb8080000) ...
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
22 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[    0.000000] Linux version 5.4.91 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15556-20a0d435d8)) #0 SMP Wed Jan 20 06:47:29 2021
[    0.000000] Detected Broadcom 0x6362 CPU revision b0
[    0.000000] CPU frequency is 400 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xb8000000
[    0.000000] board_bcm963xx: CFE version: 1.0.38-112.14
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a070 (Broadcom BMIPS4350)
[    0.000000] board: board name: 96362ADVN2xh
[    0.000000] MIPS: machine is Netgear DGND3700v2
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26192 r8192 d22960 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: rootfstype=squashfs,ubifs noinitrd console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55460K/65536K available (6236K kernel code, 220K rwdata, 1308K rodata, 1316K init, 209K bss, 10076K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, 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 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x338/0x56c with crng_init=0
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008145] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[    0.046449] pid_max: default: 32768 minimum: 301
[    0.051588] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059146] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072908] rcu: Hierarchical SRCU implementation.
[    0.079274] smp: Bringing up secondary CPUs ...
[    0.085790] SMP: Booting CPU1...
[    9.628460] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
[    9.628479] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    9.628734] CPU1 revision is: 0002a070 (Broadcom BMIPS4350)
[    0.121332] Synchronize counters for CPU 1: 
[    0.121354] SMP: CPU1 is running
[    0.121378] done.
[    0.151929] smp: Brought up 1 node, 2 CPUs
[    0.165469] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.175544] futex hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.182724] pinctrl core: initialized pinctrl subsystem
[    0.190151] NET: Registered protocol family 16
[    0.435757] registering PCI controller with io_map_base unset
[    0.494368] PCI host bridge to bus 0000:00
[    0.498241] random: fast init done
[    0.499093] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[    0.509172] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.516141] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.523143] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.531323] pci 0000:00:00.0: [14e4:6362] type 01 class 0x060400
[    0.537601] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.545222] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.555186] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.562016] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.568806] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.574192] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.588280] clocksource: Switched to clocksource MIPS
[    0.597704] NET: Registered protocol family 2
[    0.605807] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.614619] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.622632] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.629975] TCP: Hash tables configured (established 1024 bind 1024)
[    0.637062] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.643918] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.651798] NET: Registered protocol family 1
[    0.656429] PCI: CLS 0 bytes, default 16
[    0.664853] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.697989] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.704103] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.718973] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.734339] bcm6362-pinctrl 10000080.pin-controller: registered at mmio (ptrval)
[    0.743842] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 11, base_baud = 1562500) is a bcm63xx_uart
[    0.753604] printk: console [ttyS0] enabled
[    0.753604] printk: console [ttyS0] enabled
[    0.762202] printk: bootconsole [early0] disabled
[    0.762202] printk: bootconsole [early0] disabled
[    0.785534] nand: device found, Manufacturer ID: 0x20, Chip ID: 0x75
[    0.792307] nand: ST Micro NAND 32MiB 3,3V 8-bit
[    0.797040] nand: 32 MiB, SLC, erase size: 16 KiB, page size: 512, OOB size: 16
[    0.804591] bcm6368_nand 10000200.nand: detected 32MiB total, 16KiB blocks, 512B pages, 16B OOB, 8-bit, Hamming ECC
[    0.815737] Bad block table found at page 65504, version 0x01
[    0.821916] Bad block table found at page 65472, version 0x01
[    0.829326] 7 fixed-partitions partitions found on MTD device brcmnand.0
[    0.836262] Creating 7 MTD partitions on "brcmnand.0":
[    0.841556] 0x000000000000-0x000000004000 : "cferom"
[    0.849723] 0x000000004000-0x000001c80000 : "wfi"
[    2.224728] 0x000001c80000-0x000001cc0000 : "flag"
[    2.233010] 0x000001cc0000-0x000001d00000 : "pcbasn"
[    2.241181] 0x000001d00000-0x000001d80000 : "xxx"
[    2.249263] 0x000001d80000-0x000001dc0000 : "language_dev"
[    2.258113] 0x000001dc0000-0x000001ec0000 : "scnvram"
[    2.269844] bcm63xx-spi 10000800.spi: at [mem 0x10000800-0x10000f0b flags 0x200] (irq 10, FIFOs size 542)
[    2.285342] libphy: Fixed MDIO Bus: probed
[    2.290701] bcm63xx_enetsw bcm63xx_enetsw.0: IRQ index 1 not found
[    2.340686] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    2.353745] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.360979] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.368133] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.375286] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.382450] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
[    2.394327] NET: Registered protocol family 10
[    2.402859] Segment Routing with IPv6
[    2.406917] NET: Registered protocol family 17
[    2.411599] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.424939] 8021q: 802.1Q VLAN Support v1.8
[    2.457667] /dev/root: Can't open blockdev
[    2.461957] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    2.469623] Please append a correct "root=" boot option; here are the available partitions:
[    2.478236] 1f00              16 mtdblock0 
[    2.478242]  (driver?)
[    2.484948] 1f01           29168 mtdblock1 
[    2.484953]  (driver?)
[    2.491651] 1f02             256 mtdblock2 
[    2.491655]  (driver?)
[    2.498388] 1f03             256 mtdblock3 
[    2.498393]  (driver?)
[    2.505114] 1f04             512 mtdblock4 
[    2.505120]  (driver?)
[    2.511808] 1f05             256 mtdblock5 
[    2.511813]  (driver?)
[    2.518530] 1f06            1024 mtdblock6 
[    2.518535]  (driver?)
[    2.525266] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.533778] Rebooting in 1 seconds..

Tutto il log

mtdsplit parser is not finding the kernel

however there was no changes since June, so I don't know why

log should be like this

[    0.892151] 7 fixed-partitions partitions found on MTD device brcmnand.0
[    0.899094] Creating 7 MTD partitions on "brcmnand.0":
[    0.904379] 0x000000000000-0x000000004000 : "cferom"
[    0.911444] 0x000000004000-0x000001c80000 : "wfi"
[    1.068334] 4 bcm-wfi-fw partitions found on MTD device wfi
[    1.074054] Creating 4 MTD partitions on "wfi":
[    1.078717] 0x000000000000-0x00000009c000 : "cferam"
[    1.085885] 0x00000009c000-0x000001c7c000 : "firmware"
[    1.094789] 0x00000009c000-0x00000059c000 : "kernel"
[    1.102107] 0x00000059c000-0x000001c7c000 : "ubi"
[    1.110243] 0x000001c80000-0x000001cc0000 : "flag"
[    1.117160] 0x000001cc0000-0x000001d00000 : "pcbasn"
[    1.124343] 0x000001d00000-0x000001d80000 : "xxx"
[    1.131125] 0x000001d80000-0x000001dc0000 : "language_dev"
[    1.138853] 0x000001dc0000-0x000001ec0000 : "scnvram"

1 Like

@Noltari any idea?

1 Like

... with today's release it doesn't work ...
Any new idea or test to run? :sleepy:

where do I find if it is possible, the June version ??
.... to try....
Grazie

  1. try from stable branch snapshot
    https://firmware-selector.openwrt.org/?version=21.02-SNAPSHOT&target=bcm63xx%2Fsmp&id=netgear_dgnd3700-v2

  2. start a bug report
    https://bugs.openwrt.org/

  3. you can build your own image
    https://openwrt.org/docs/guide-developer/quickstart-build-images

after git clone, go to the time where the board was added
git checkout 62e7342ddfba605722b1d6700eec3f0aaa9377e5
git checkout -b dgnd3700v2

then continue to build like the guide says

1 Like

This also doesn't work .... :sleepy:

I had already tried to compile my release, without success, now I try as you said ..

I don't know how to open a ticket :sweat_smile: :rofl:

ok done, hope :upside_down_face:

here

Hello,
The boot loop remains in 21.02.0 rc2. I saw this problem first after second time flashing the initial squashfs install. (including the new cfe from openwrt.) First install from original firmware went ok.
Even an additional round of flashing the original firmware and start again with flashing the cfe+squashfs won't solve the problem. (boot loop remains)
So problem might occur as a result of a change to openwrt cfe and afterwards not changed to the original state of boot env with netgears original firmware. Is the cfe bootloader install self-aware/safe?

But that was before I wiped my entire flash accidentally. So no cfe environment anymore. Serial line is dead. So only way back is by jtag. Did anyone already identified the necessary pins yet?

2 Likes

I just installed 21.02.1 from stock through the CFE web interface, and I do not have a bootloop. I'm not sure if the problem is fixed or if it just manifests itself upon a second install (as gromx said)

1 Like

Hi.
Just install 22.03.5. It works. I experimented a few (changed wifi card), than decide to fresh reinstall. Than I went into the bootloop :frowning: So My guess is that the second install is fatal.

Other than going back to using the original netgear firmware, is there no solution to be able to use openwrt again?

Hi.
I used a serial link to monitor every process, and have access to console command.
OpenWrt can be flashed from Netgear firmware. It boots, nevertheless boot fails after 5s. It's unabled to mount a partition.

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I logged both Openwrt and Netgear and tried to find any difference, such as boot adress. I also listed the boot variables, but was unable to notice something worthy.
Ultimatly, I tried to use command for erasing NAND and totally bricked the device. The boot is CFE and I had to discover it.
Conclusion : no success. I'm pretty sure that it's nothing serious to be fixed, but I was unable to find it.