Dear friends,

I have a RG200E-AB home gateway, DB120 and RG200E hardware is very similar, I use the DB120 firmware, but does not start properly.
I should modify which files to build the matching firmware?

Tony
2013.04.30

# TTL INFO

CFE version 1.0.37-104.4 for BCM96358 (32bit,SP,BE)
Build Date: Mon Sep  6 11:47:49 CST 2010 (zfjimmy@SWD150)
Copyright (C) 2000-2009 Broadcom Corporation.

Parallel flash device: name AM29LV320MT, id 0x2201 size 16384KB
Initializing ethernet hardware 0
Auto-negotiation timed-out
10 MB Half-Duplex (assumed)
Chip ID: BCM6358A1, MIPS: 300MHz
Main Thread: TP0
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xbe000000

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
Boot image (0=latest, 1=previous) : 0
Check Reset Default Hold [0|1]    : 0
Board Id (0-15)                   : 96358VW2
Number of MAC Addresses (1-32)    : 11
Base MAC Address                  : b4:41:7a:0d:c3:20
PSI Size (1-64) KBytes            : 48
Main Thread Number [0|1]          : 0
User Password                     : "admin"
WLAN SSID Paramters               : "ChinaNet-Dare,1234567899"
Device Serial Number              : "32000001E40000001"
Device Production Batch           : "20100831"
Device Production Date            : "20100831"

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from latest image (0xbe5e0000) ...
Read flash at blk[47]
Code Address: 0x80010000, Entry Address: 0x80010000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80010000
Closing network.
Closing DMA Channels.
Starting program at 0x80010000
[    0.000000] Linux version 3.7.10 (tony@local) (gcc version 4.6.4 2012121
0 (prerelease) (Linaro GCC 4.6-2012.12) ) #4 Thu Apr 4 14:13:44 CST 2013
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] registering 40 GPIOs
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: 1.0.37-104.4
[    0.000000] bcm63xx_nvram: nvram checksum invalid (expected ffffffff, actual
a9fb7270)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board_bcm963xx: board name: 96358VW2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Reserving 0MB of memory at 0MB for crashkernel
[    0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16
bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
es: 16256
[    0.000000] Kernel command line:  root=/dev/mtdblock2 rootfstype=squashfs,jff
s2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 61464k/65536k available (2284k kernel code, 4072k reserve
d, 585k data, 264k init, 0k highmem)
[    0.000000] NR_IRQS:128
[    0.000000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[    0.036000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.064000] registering PCI controller with io_map_base unset
[    0.080000] bio: create slab <bio-0> at 0
[    0.088000] PCI host bridge to bus 0000:00
[    0.092000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.096000] pci_bus 0000:00: root bus resource [io  0x8000000-0x800ffff]
[    0.100000] pci_bus 0000:00: No busn resource found for root bus, will use [b
us 00-ff]
[    0.116000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
[    0.120000] Switching to clocksource MIPS
[    0.132000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    0.160000] ssb: Found chip with id 0x4318, rev 0x02 and package 0x00
[    0.224000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[    0.232000] NET: Registered protocol family 2
[    0.240000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.248000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.252000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.260000] TCP: reno registered
[    0.264000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.268000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.276000] NET: Registered protocol family 1
[    0.284000] audit: initializing netlink socket (disabled)
[    0.292000] type=2000 audit(0.291:1): initialized
[    0.296000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.304000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT
Y) (c) 2001-2006 Red Hat, Inc.
[    0.312000] msgmni has been set to 120
[    0.320000] io scheduler noop registered
[    0.324000] io scheduler deadline registered (default)
[    0.332000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_
uart
[    0.340000] console [ttyS0] enabled, bootconsole disabled
[    0.340000] console [ttyS0] enabled, bootconsole disabled
[    0.356000] physmap platform flash device: 02000000 at 1e000000
[    0.360000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manuf
acturer ID 0x000001 Chip ID 0x002101
[    0.372000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.376000]   Amd/Fujitsu Extended Query version 1.3.
[    0.380000] number of CFI chips: 1
[    0.384000] bcm63xxpart: CFE boot tag found with version 6 and board type 963
58VW2
[    0.392000] bcm63xxpart: Partition 0 is CFE offset 0 and length 20000
[    0.400000] bcm63xxpart: Partition 1 is rootfs offset 20100 and length 442000

[    0.408000] bcm63xxpart: Partition 2 is kernel offset 462100 and length f021d

[    0.416000] bcm63xxpart: Partition 3 is nvram offset fe0000 and length 20000
[    0.420000] bcm63xxpart: Partition 4 is linux offset 20000 and length fc0000
[    0.428000] bcm63xxpart: Spare partition is offset 560000 and length a80000
[    0.436000] 5 bcm63xxpart partitions found on MTD device physmap-flash.0
[    0.444000] Creating 5 MTD partitions on "physmap-flash.0":
[    0.448000] 0x000000000000-0x000000020000 : "CFE"
[    0.456000] 0x000000020100-0x000000462100 : "rootfs"
[    0.464000] mtd: partition "rootfs" must either start or end on erase block b
oundary or be smaller than an erase block -- forcing read-only
[    0.480000] mtd: partition "rootfs" set to be root filesystem
[    0.484000] split_squashfs: no squashfs found in "physmap-flash.0"
[    0.492000] 0x000000462100-0x00000055231d : "kernel"
[    0.496000] mtd: partition "kernel" must either start or end on erase block b
oundary or be smaller than an erase block -- forcing read-only
[    0.512000] 0x000000fe0000-0x000001000000 : "nvram"
[    0.520000] 0x000000020000-0x000000fe0000 : "linux"
[    0.532000] bcm63xx-spi bcm63xx-spi: at 0xfffe0800 (irq 9, FIFOs size 542) v0
.1.2
[    0.548000] libphy: bcm63xx_enet MII bus: probed
[    0.556000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom
BCM63XX (2)]
[    0.568000] b53_common: unsupported switch detected (BCM5301/BCM53101)
[    0.576000] libphy: bcm63xx_enet MII bus: probed
[    0.580000] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Generic P
HY]
[    0.592000] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.604000] TCP: cubic registered
[    0.608000] NET: Registered protocol family 17
[    0.612000] 8021q: 802.1Q VLAN Support v1.8
[    0.620000] jffs2: Flash size not aligned to erasesize, reducing to 896KiB
[    0.628000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000000: 0x8001 instead
[    0.640000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000004: 0x802c instead
[    0.648000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000008: 0x000f instead
[    0.656000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0000000c: 0x6d00 instead
[    0.668000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000010: 0x0004 instead
[    0.676000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0000001c: 0xfdff instead
[    0.688000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000020: 0xb77f instead
[    0.696000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000024: 0x905e instead
[    0.708000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00000028: 0xd580 instead
[    0.716000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0000002c: 0xad0e instead
[    0.724000] jffs2: Further such events for this erase block will not be print
ed
[    0.752000] jffs2: Old JFFS2 bitmask found at 0x0000a9e0
[    0.756000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    0.800000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020000: 0xdbdd instead
[    0.808000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020004: 0xf506 instead
[    0.820000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020008: 0x2fed instead
[    0.828000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0002000c: 0x4bb2 instead
[    0.840000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020010: 0xfbb1 instead
[    0.848000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020014: 0x7761 instead
[    0.860000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020018: 0x24fd instead
[    0.868000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0002001c: 0x8a9e instead
[    0.880000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020020: 0xa6b6 instead
[    0.888000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00020024: 0xf675 instead
[    0.896000] jffs2: Further such events for this erase block will not be print
ed
[    0.948000] jffs2: Old JFFS2 bitmask found at 0x00039604
[    0.952000] jffs2: You cannot use older JFFS2 filesystems with newer kernels
[    0.972000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040000: 0x186f instead
[    0.980000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040004: 0xe9f8 instead
[    0.992000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040008: 0x9c2c instead
[    1.000000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0004000c: 0x4edc instead
[    1.012000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040010: 0x088c instead
[    1.020000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040014: 0x231b instead
[    1.032000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040018: 0xd7bc instead
[    1.040000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0004001c: 0x1274 instead
[    1.048000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040020: 0x7851 instead
[    1.060000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00040024: 0x629d instead
[    1.068000] jffs2: Further such events for this erase block will not be print
ed
[    1.132000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060000: 0xa0ad instead
[    1.140000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060004: 0x9159 instead
[    1.152000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060008: 0x1379 instead
[    1.160000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0006000c: 0xb4a8 instead
[    1.168000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060010: 0x655f instead
[    1.180000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060014: 0x4c80 instead
[    1.188000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060018: 0xc907 instead
[    1.200000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0006001c: 0x5af3 instead
[    1.208000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060020: 0x9a44 instead
[    1.220000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00060024: 0x0d4c instead
[    1.228000] jffs2: Further such events for this erase block will not be print
ed
[    1.288000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080000: 0x04e0 instead
[    1.300000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080004: 0xa543 instead
[    1.308000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080008: 0xdbbe instead
[    1.320000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0008000c: 0xfd2c instead
[    1.328000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080010: 0x7323 instead
[    1.340000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080014: 0xe968 instead
[    1.348000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080018: 0x7c88 instead
[    1.360000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x0008001c: 0x1554 instead
[    1.368000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080020: 0xd40e instead
[    1.376000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x00080024: 0x0cf6 instead
[    1.388000] jffs2: Further such events for this erase block will not be print
ed
[    1.448000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0000: 0xac3e instead
[    1.460000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0004: 0xa593 instead
[    1.468000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0008: 0x7929 instead
[    1.476000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a000c: 0xf7a5 instead
[    1.488000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0010: 0x8fbe instead
[    1.496000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0014: 0xa867 instead
[    1.508000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0018: 0x7b40 instead
[    1.516000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a001c: 0x2007 instead
[    1.528000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0020: 0xe693 instead
[    1.536000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000a0024: 0xb1ea instead
[    1.548000] jffs2: Further such events for this erase block will not be print
ed
[    1.608000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0000: 0x411f instead
[    1.616000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0004: 0x47bd instead
[    1.628000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0008: 0x6c68 instead
[    1.636000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c000c: 0x1832 instead
[    1.648000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0010: 0xc382 instead
[    1.656000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0014: 0x3952 instead
[    1.668000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0018: 0x6429 instead
[    1.676000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c001c: 0xd67c instead
[    1.684000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0020: 0x8c7d instead
[    1.696000] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
0x000c0024: 0xa9bd instead
[    1.704000] jffs2: Further such events for this erase block will not be print
ed
[    1.768000] jffs2: Cowardly refusing to erase blocks on filesystem with no va
lid JFFS2 nodes
[    1.776000] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 7
[    1.780000] VFS: Cannot open root device "mtdblock2" or unknown-block(31,2):
error -5
[    1.788000] Please append a correct "root=" boot option; here are the availab
le partitions:
[    1.800000] 1f00             128 mtdblock0  (driver?)
[    1.804000] 1f01            4360 mtdblock1  (driver?)
[    1.808000] 1f02             960 mtdblock2  (driver?)
[    1.812000] 1f03             128 mtdblock3  (driver?)
[    1.820000] 1f04           16128 mtdblock4  (driver?)
[    1.824000] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno
wn-block(31,2)