[bcm63xx] help in adding Netgear D6400 support

Enrico Mioso mrkiko.rs at gmail.com
Wed Jan 6 11:46:29 EST 2021


Follow-up:
logs from an attempt to flash my image via TFTP (CFE starts it upon failed boot):

HELO
CPUI
L1CI
HELO
CPUI
L1CI
4.1601A-1.0.38-116.17
DRAM
----
PHYS
STRF
400H
PHYE
DDR2
SIZ4
SIZ3
SIZ2
DINT
USYN
LSYN
MFAS
LMBE
RACE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
FPS0
BT02
0001
BT05
0492
NAN3
RFS2
NAN8
NAN3
RFS1
NAN5

BCM63268 Platform Boot Code V1.0.5-4.16L.01A
CFE version 1.0.38-116.17 for BCM963268 (32bit,SP,BE)
Build Date: Thu Jan 11 15:33:16 CST 2018 (eric at linux)
Copyright (C) 2000-2013 Broadcom Corporation.

Chip ID: BCM63168D0, MIPS: 400MHz, DDR: 400MHz, Bus: 200MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 134217728 bytes (128MB)
Boot Address: 0xb8000000

NAND ECC BCH-8, page size 0x800 bytes, spare size used 64 bytes
NAND flash device: Spansion S34ML01G1, id 0x01f1 block 128KB size 131072KB
Attempt to read block number(1024) beyond the nand max blk(1023) 
Attempt to read block number(1025) beyond the nand max blk(1023) 
Attempt to read block number(1026) beyond the nand max blk(1023) 
Attempt to read block number(1027) beyond the nand max blk(1023) 
Attempt to read block number(1028) beyond the nand max blk(1023) 
Attempt to read block number(1029) beyond the nand max blk(1023) 
Attempt to read block number(1030) beyond the nand max blk(1023) 
Attempt to read block number(1031) beyond the nand max blk(1023) 
Attempt to read block number(1032) beyond the nand max blk(1023) 
Attempt to read block number(1033) beyond the nand max blk(1023) 
Attempt to read block number(1034) beyond the nand max blk(1023) 
Attempt to read block number(1035) beyond the nand max blk(1023) 
Attempt to read block number(1036) beyond the nand max blk(1023) 
Attempt to read block number(1037) beyond the nand max blk(1023) 
Attempt to read block number(1038) beyond the nand max blk(1023) 
Attempt to read block number(1039) beyond the nand max blk(1023) 
Attempt to read block number(1040) beyond the nand max blk(1023) 
Attempt to read block number(1041) beyond the nand max blk(1023) 
Attempt to read block number(1042) beyond the nand max blk(1023) 
Attempt to read block number(1043) beyond the nand max blk(1023) 
Attempt to read block number(1044) beyond the nand max blk(1023) 
Attempt to read block number(1045) beyond the nand max blk(1023) 
Attempt to read block number(1046) beyond the nand max blk(1023) 
Attempt to read block number(1047) beyond the nand max blk(1023) 
Attempt to read block number(1024) beyond the nand max blk(1023) 
Attempt to read block number(1025) beyond the nand max blk(1023) 
Attempt to read block number(1026) beyond the nand max blk(1023) 
Attempt to read block number(1027) beyond the nand max blk(1023) 
Attempt to read block number(1028) beyond the nand max blk(1023) 
Attempt to read block number(1029) beyond the nand max blk(1023) 
Attempt to read block number(1030) beyond the nand max blk(1023) 
Attempt to read block number(1031) beyond the nand max blk(1023) 
Attempt to read block number(1032) beyond the nand max blk(1023) 
Attempt to read block number(1033) beyond the nand max blk(1023) 
Attempt to read block number(1034) beyond the nand max blk(1023) 
Attempt to read block number(1035) beyond the nand max blk(1023) 
Attempt to read block number(1036) beyond the nand max blk(1023) 
Attempt to read block number(1037) beyond the nand max blk(1023) 
Attempt to read block number(1038) beyond the nand max blk(1023) 
Attempt to read block number(1039) beyond the nand max blk(1023) 
Attempt to read block number(1040) beyond the nand max blk(1023) 
Attempt to read block number(1041) beyond the nand max blk(1023) 
Attempt to read block number(1042) beyond the nand max blk(1023) 
Attempt to read block number(1043) beyond the nand max blk(1023) 
Attempt to read block number(1044) beyond the nand max blk(1023) 
Attempt to read block number(1045) beyond the nand max blk(1023) 
Attempt to read block number(1046) beyond the nand max blk(1023) 
Attempt to read block number(1047) beyond the nand max blk(1023) 
Attempt to read block number(1024) beyond the nand max blk(1023) 
Attempt to read block number(1025) beyond the nand max blk(1023) 
Attempt to read block number(1026) beyond the nand max blk(1023) 
Attempt to read block number(1027) beyond the nand max blk(1023) 
Attempt to read block number(1028) beyond the nand max blk(1023) 
Attempt to read block number(1029) beyond the nand max blk(1023) 
Attempt to read block number(1030) beyond the nand max blk(1023) 
Attempt to read block number(1031) beyond the nand max blk(1023) 
Attempt to read block number(1032) beyond the nand max blk(1023) 
Attempt to read block number(1033) beyond the nand max blk(1023) 
Attempt to read block number(1034) beyond the nand max blk(1023) 
Attempt to read block number(1035) beyond the nand max blk(1023) 
Attempt to read block number(1036) beyond the nand max blk(1023) 
Attempt to read block number(1037) beyond the nand max blk(1023) 
Attempt to read block number(1038) beyond the nand max blk(1023) 
Attempt to read block number(1039) beyond the nand max blk(1023) 
Attempt to read block number(1040) beyond the nand max blk(1023) 
Attempt to read block number(1041) beyond the nand max blk(1023) 
Attempt to read block number(1042) beyond the nand max blk(1023) 
Attempt to read block number(1043) beyond the nand max blk(1023) 
Attempt to read block number(1044) beyond the nand max blk(1023) 
Attempt to read block number(1045) beyond the nand max blk(1023) 
Attempt to read block number(1046) beyond the nand max blk(1023) 
Attempt to read block number(1047) beyond the nand max blk(1023) 
Board IP address                  : 192.168.1.1:ffffff00 
Host IP address                   : 192.168.1.100 
Gateway IP address                : 
Run from flash/host/tftp (f/h/c)  : 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 
Default host ramdisk file name    : 
Default ramdisk store address     : 
Board Id (0-29)                   : 963168MBV17A302 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 00:00:00:00:00:01 
PSI Size (1-64) KBytes            : 24 
Enable Backup PSI [0|1]           : 0 
System Log Size (0-256) KBytes    : 0 
Auxillary File System Size Percent: 0 
Main Thread Number [0|1]          : 0 
Voice Board Configuration (0-13)  : 
Region Number                     : 2

External switch id = 53125

  Port 3 is WAN port, disable Learn.
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
Booting from latest image (0xbbd80000) ...
ERROR: A JFFS2 directory entry for vmlinux.lz was not found.
enter ui_cmd_tftpd 
Start TFTP server
Loading : ...
Finished loading 8781844 bytes
Loading .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................**Exception 32: EPC=80605B00, Cause=0000801C (BusErrWr )
                 RA=80605B80, VAddr=00000000

         0  ($00) = 00000000     AT ($01) = 00000000
         v0 ($02) = 88000000     v1 ($03) = 80800031
         a0 ($04) = 00015F90     a1 ($05) = 4C298752
         a2 ($06) = 00000000     a3 ($07) = 00000000
         t0 ($08) = 00000000     t1 ($09) = 00000000
         t2 ($10) = 00000000     t3 ($11) = 42000018
         t4 ($12) = 8061F3A8     t5 ($13) = 00000000
         t6 ($14) = 00000000     t7 ($15) = 3F1B8C86
         s0 ($16) = 80000C6C     s1 ($17) = 80105CC8
         s2 ($18) = 80003D50     s3 ($19) = 80601000
         s4 ($20) = 00020000     s5 ($21) = 0000000C
         s6 ($22) = 00000000     s7 ($23) = 00000000
         t8 ($24) = 004E414E     t9 ($25) = 00000020
         k0 ($26) = 80748070     k1 ($27) = 806470D0
         gp ($28) = 8064CFE0     sp ($29) = 807481A8
         fp ($30) = 807481A8     ra ($31) = 80605B80


Resetting board in 60 seconds...

OEM logs: successful boot
even tough I am not able to re-flash the original firmware image right now...

HELO
CPUI
L1CI
HELO
CPUI
L1CI
4.1601A-1.0.38-116.17
DRAM
----
PHYS
STRF
400H
PHYE
DDR2
SIZ4
SIZ3
SIZ2
DINT
USYN
LSYN
MFAS
LMBE
RACE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
FPS0
BT02
0001
BT01
0444
NAN3
RFS1
NAN5

BCM63268 Platform Boot Code V1.0.5-4.16L.01A
CFE version 1.0.38-116.17 for BCM963268 (32bit,SP,BE)
Build Date: Thu Jan 11 15:33:16 CST 2018 (eric at linux)
Copyright (C) 2000-2013 Broadcom Corporation.

Chip ID: BCM63168D0, MIPS: 400MHz, DDR: 400MHz, Bus: 200MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 134217728 bytes (128MB)
Boot Address: 0xb8000000

NAND ECC BCH-8, page size 0x800 bytes, spare size used 64 bytes
NAND flash device: Spansion S34ML01G1, id 0x01f1 block 128KB size 131072KB
Board IP address                  : 192.168.1.1:ffffff00 
Host IP address                   : 192.168.1.100 
Gateway IP address                : 
Run from flash/host/tftp (f/h/c)  : 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 
Default host ramdisk file name    : 
Default ramdisk store address     : 
Board Id (0-29)                   : 963168MBV17A302 
Number of MAC Addresses (1-32)    : 11 
Base MAC Address                  : 00:00:00:00:00:01 
PSI Size (1-64) KBytes            : 24 
Enable Backup PSI [0|1]           : 0 
System Log Size (0-256) KBytes    : 0 
Auxillary File System Size Percent: 0 
Main Thread Number [0|1]          : 0 
Voice Board Configuration (0-13)  : 
Region Number                     : 2

External switch id = 53125

  Port 3 is WAN port, disable Learn.
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1^H1^H0
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 1^H1^H0
Booting from latest image (0xb8020000) ...
Decompression OK!
Entry at 0x8049e1f0
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found
Closing DMA Channels
Starting program at 0x8049e1f0
Linux version 3.4.11-rt19 (eric at linux) (gcc version 4.6.2 (Buildroot 2011.11) ) #3 SMP PREEMPT Mon Jun 24 17:05:49 CST 2019
963168MBV17A302 prom init
CPU revision is: 0002a080 (Broadcom BMIPS4350)
DSL SDRAM reserved: 0x132000
Determined physical RAM map:
  memory: 07ece000 @ 00000000 (usable)
Zone PFN ranges:
   DMA      0x00000000 -> 0x00001000
   Normal   0x00001000 -> 0x00007ece
Movable zone start PFN for each node
Early memory PFN ranges
     0: 0x00000000 -> 0x00007ece
On node 0 totalpages: 32462
free_area_init_node: node 0, pgdat 805ac090, node_mem_map 81000000
   DMA zone: 32 pages used for memmap
   DMA zone: 0 pages reserved
   DMA zone: 4064 pages, LIFO batch:0
   Normal zone: 222 pages used for memmap
   Normal zone: 28144 pages, LIFO batch:7
PERCPU: Embedded 7 pages/cpu @81103000 s5664 r8192 d14816 u32768
pcpu-alloc: s5664 r8192 d14816 u32768 alloc=8*4096
pcpu-alloc: [0] 0 [0] 1 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32208
Kernel command line: ro noinitrd  irqaffinity=0
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
Memory: 122388k/129848k available (4724k kernel code, 7460k reserved, 1021k data, 220k init, 0k highmem)
Preemptible hierarchical RCU implementation.
NR_IRQS:128
console [ttyS0] enabled
Calibrating delay loop... 397.31 BogoMIPS (lpj=198656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
--Kernel Config--
   SMP=1
   PREEMPT=1
   DEBUG_SPINLOCK=0
   DEBUG_MUTEXES=0
Broadcom Logger v0.1 Jun 14 2019 14:34:53
CPU revision is: 0002a080 (Broadcom BMIPS4350)
Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
Brought up 2 CPUs
NET: Registered protocol family 16
Internal 1P2 VREG will be shutdown if unused...Unused, turn it off (00008ab7-00008ab8=-1<300)
registering PCI controller with io_map_base unset
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0xa0f00000-0xa0ffffff]
pci_bus 0000:00: root bus resource [io  0xa2000000-0xa200ffff]
pci 0000:00:00.0: [14e4:435f] type 00 class 0x028000
pci 0000:00:00.0: reg 10: [mem 0x10004000-0x10005fff]
pci 0000:00:09.0: [14e4:6300] type 00 class 0x0c0310
pci 0000:00:09.0: reg 10: [mem 0x10002600-0x100026ff]
pci 0000:00:0a.0: [14e4:6300] type 00 class 0x0c0320
pci 0000:00:0a.0: reg 10: [mem 0x10002500-0x100025ff]
PCI host bridge to bus 0000:01
pci_bus 0000:01: root bus resource [mem 0x11000000-0x11efffff]
pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
pci 0000:01:00.0: [14e4:6326] type 01 class 0x060400
pci 0000:01:00.0: PME# supported from D0 D3hot
pci 0000:02:00.0: [14e4:4360] type 00 class 0x028000
pci 0000:02:00.0: reg 10: [mem 0x00000000-0x00007fff 64bit]
pci 0000:02:00.0: supports D1 D2
pci 0000:01:00.0: BAR 8: assigned [mem 0x11000000-0x110fffff]
pci 0000:02:00.0: BAR 0: assigned [mem 0x11000000-0x11007fff 64bit]
pci 0000:01:00.0: PCI bridge to [bus 02-02]
pci 0000:01:00.0:   bridge window [mem 0x11000000-0x110fffff]
PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
bcmhs_spi bcmhs_spi.1: master is unqueued, this is deprecated
bcmleg_spi bcmleg_spi.0: master is unqueued, this is deprecated
skbFreeTask created successfully
BLOG v3.0 Initialized
BLOG Rule v1.0 Initialized
Broadcom IQoS v0.1 Jun 14 2019 14:37:49 initialized
Broadcom GBPM v0.1 Jun 14 2019 14:37:49 initialized
NET: Registered protocol family 8
NET: Registered protocol family 20
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS mismatch (64 != 16), using 16 bytes
bcm_tstamp initialized, (hpt_freq=200000000 2us_div=200 2ns_mult=5 2ns_shift=0)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.18)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 239
io scheduler noop registered (default)
Broadcom NAND controller (BrcmNand Controller)
mtd->oobsize=0, mtd->eccOobSize=0
NAND_CS_NAND_XOR=00000000
B4: NandSelect=40000001, nandConfig=15142200, chipSelect=0
brcmnand_read_id: CS0: dev_id=01f1001d
After: NandSelect=40000001, nandConfig=15142200
Block size=00020000, erase shift=17
NAND Config: Reg=15142200, chipSize=128 MB, blockSize=128K, erase_shift=11
busWidth=1, pageSize=2048B, page_shift=11, page_mask=000007ff
timing1 not adjusted: 6574845b
timing2 not adjusted: 00001e96
BrcmNAND mfg 1 f1 SPANSION_S30ML01GP_08 128MB on CS0

Found NAND on CS0: ACC=f7881010, cfg=15142200, flashId=01f1001d, tim1=6574845b, tim2=00001e96
BrcmNAND version = 0x0400 128MB @00000000
brcmnand_scan: B4 nand_select = 40000001
brcmnand_scan: After nand_select = 40000001
handle_acc_control: default CORR ERR threshold  1 bits
ACC: 16 OOB bytes per 512B ECC step; from ID probe: 16
page_shift=11, bbt_erase_shift=17, chip_shift=27, phys_erase_shift=17
Brcm NAND controller version = 4.0 NAND flash size 128MB @18000000
ECC layout=brcmnand_oob_bch8_16_2k
brcmnand_scan:  mtd->oobsize=64
brcmnand_scan: oobavail=11, eccsize=512, writesize=2048
brcmnand_scan, eccsize=512, writesize=2048, eccsteps=4, ecclevel=8, eccbytes=13
-->brcmnand_default_bbt
brcmnand_default_bbt: bbt_td = bbt_bch8_16_main_descr
Bad block table Bbt0 found at page 0000ffc0, version 0x01 for chip on CS0
Bad block table 1tbB found at page 0000ff80, version 0x01 for chip on CS0
brcmnand_reset_corr_threshold: default CORR ERR threshold  1 bits for CS0
brcmnand_reset_corr_threshold: CORR ERR threshold changed to 6 bits for CS0
nand_read_bbt: Bad block at 0x05240000
brcmnandCET: Did not find CET, recreating
brcmnandCET: Status -> Deferred
Creating 8 MTD partitions on "brcmnand.0":
0x000000020000-0x000003780000 : "rootfs"
0x000003780000-0x000006ee0000 : "rootfs_update"
0x000006f00000-0x000007700000 : "data"
0x000007700000-0x000007b00000 : "storage1"
0x000007b00000-0x000007f00000 : "storage2"
0x000000000000-0x000000020000 : "nvram"
0x000000020000-0x000003780000 : "image"
0x000003780000-0x000006ee0000 : "image_update"
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk at qualcomm.com>
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
ehci_hcd 0000:00:0a.0: setting latency timer to 64
ehci_hcd 0000:00:0a.0: EHCI Host Controller
ehci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0a.0: Enabling legacy PCI PM
ehci_hcd 0000:00:0a.0: irq 18, io mem 0x10002500
ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
ohci_hcd 0000:00:09.0: setting latency timer to 64
ohci_hcd 0000:00:09.0: OHCI Host Controller
ohci_hcd 0000:00:09.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:09.0: irq 17, io mem 0x10002600
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new interface driver usblp
brcmboard: brcm_board_init entry
DYING GASP IRQ initialized 
Serial: BCM63XX driver $Revision: 3.00 $
Magic SysRq with Auxilliary trigger char enabled (type ^ h for list of supported commands)
ttyS0 at MMIO 0xb0000180 (irq = 13) is a BCM63XX
ttyS1 at MMIO 0xb00001a0 (irq = 42) is a BCM63XX
Total # RxBds=1448
bcmPktDmaBds_init: Broadcom Packet DMA BDs initialized

bcmPktDma_init: Broadcom Packet DMA Library initialized
IPSEC SPU: SUCCEEDED 
GACT probability NOT on
Mirror/redirect action on
u32 classifier
     input device check on
     Actions configured
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
Initializing MCPD Module
Ebtables v2.0 registered
ebt_time registered
ebt_ftos registered
ebt_wmm_mark registered
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (jffs2 filesystem) readonly on device 31:0.
Freeing unused kernel memory: 220k freed
init started: BusyBox v1.17.2 (2019-06-14 15:10:16 CST)
starting pid 264, tty '': '/bin/sh -l -c "bcm_boot_launcher start"'
Mounting filesystems...
jffs2: Empty flash at 0x0012fc6c ends at 0x00130000
jffs2: Empty flash at 0x0020110c ends at 0x00201800
jffs2: Empty flash at 0x00205d88 ends at 0x00206000
jffs2: Empty flash at 0x0020710c ends at 0x00207800
jffs2: Empty flash at 0x0020a10c ends at 0x0020a800
jffs2: Empty flash at 0x0020b90c ends at 0x0020c000
jffs2: Empty flash at 0x0020d10c ends at 0x0020d800
jffs2: Empty flash at 0x003333e8 ends at 0x00333800
jffs2: Empty flash at 0x0033710c ends at 0x00337800
jffs2: Empty flash at 0x0033890c ends at 0x00339000
jffs2: Empty flash at 0x0033e608 ends at 0x0033e800
Configuring system...
jffs2: notice: (270) check_node_data: wrong data CRC in data node at 0x002ef26c: read 0xf26997ef, calculated 0x47d0f05d.
Loading drivers and kernel modules...

chipinfo: module license 'proprietary' taints kernel.
Disabling lock debugging due to kernel taint
brcmchipinfo: brcm_chipinfo_init entry
bcmxtmrt: Broadcom BCM3168D0 ATM/PTM Network Device v0.6 Jun 14 2019 14:37:27
Broadcom Ingress QoS Module  Char Driver v0.1 Jun 14 2019 14:36:47 Registered<243>

Broadcom Ingress QoS ver 0.1 initialized
BPM: tot_mem_size=134217728B (128MB), buf_mem_size <15%> =20132655B (19MB), num of buffers=7767, buf size=2592
Broadcom BPM Module Char Driver v0.1 Jun 14 2019 14:36:36 Registered<244>
NBUFF v1.0 Initialized
Initialized fcache state
Broadcom Packet Flow Cache  Char Driver v2.2 Jun 14 2019 14:36:48 Registered<242>
Created Proc FS /procfs/fcache
Broadcom Packet Flow Cache registered with netdev chain
Broadcom Packet Flow Cache learning via BLOG enabled.
[FHW]  pktDbgLvl[0xc010e7b0]=0
[FHW]  fhw_construct: 
Initialized Fcache HW accelerator layer state
flwStatsThread created
Constructed Broadcom Packet Flow Cache v2.2 Jun 14 2019 14:36:48
chipId 0x631680D0
Broadcom Forwarding Assist Processor (FAP) Char Driver v0.1 Jun 14 2019 14:36:37 Registered <241>
Enabling SMISBUS PHYS_FAP_BASE[0] is 0x10c01000
FAP Soft Reset Done
4ke Reset Done
Enabling SMISBUS PHYS_FAP_BASE[1] is 0x10c01000
FAP Soft Reset Done
4ke Reset Done
FAP Debug values at 0xa5ea1760 0xa5f21760
fapGso_LoopBkThread created successfully
Allocated FAP0 SWQ_HOST2FAP_GSO_LOOPBACK_Q mem=a5d54000 : 16384 bytes
Allocated FAP0 SWQ_FAP2HOST_GSO_LOOPBACK_Q mem=a7afc000 : 16384 bytes
GSO LOOPBACK Cached HOST2FAP Q INFO:
  Swq =b0825ee0 qStart=a5d54000 qEnd=a5d58000 msgSize=4 dqm=18 fapId=0
GSO LOOPBACK Cached FAP2HOST Q INFO:
  Swq =b0825ec0 qStart=a7afc000 qEnd=a7b00000 msgSize=2 dqm=19 fapId=0
Allocated FAP0 TM SDRAM Queue Storage (a5eb27f0) : 390144 bytes @ a5f80000
Allocated FAP1 TM SDRAM Queue Storage (a5f327f0) : 390144 bytes @ a5800000
[NTC fapProto] fapReset  : Reset FAP Protocol layer
Broadcom Packet Flow Cache HW acceleration enabled.
[FAP0] DSPRAM : stack <0x80000000><1536>, global <0x80000600><4280>, free <2376>, total<8192>
[FAP1] DSPRAM : stack <0x80000000><1536>, global <0x80000600><4280>, free <2376>, total<8192>
[FAP0] PSM : addr<0x80002000>, used <24320>, free <256>, total <24576>
[FAP1] PSM : addr<0x80002000>, used <24320>, free <256>, total <24576>
[FAP0] DQM : availableMemory 14660 bytes, nextByteAddress 0xE000489C
[FAP1] DQM : availableMemory 14660 bytes, nextByteAddress 0xE000489C
[FAP0] Initializing FAP4KE GSO LOOPBACK on fapIdx=0 ...
[FAP1] FAP BPM Initialized.
[FAP0] SWQ: HOST2FAP_GSO_LOOPBACK 
[FAP0] >>>>------------------
[FAP0] swq =80007ee0 msgSize =4 words , maxDepth=1024
[FAP0] qStart =a5d54000 qEnd=a5d58000
[FAP0] rdPtr =a5d54000 wrPtr=a5d54000 count=0
[FAP0]  processed =0 dropped =0 
[FAP0]  Associated DQM=18 dir HOST2FAP
[FAP0] ------------------<<<<
[FAP0] SWQ: FAP2HOST_GSO_LOOPBACK 
[FAP0] >>>>------------------
[FAP0] swq =80007ec0 msgSize =2 words , maxDepth=2048
[FAP0] qStart =a7afc000 qEnd=a7b00000
[FAP0] rdPtr =a7afc000 wrPtr=a7afc000 count=0
[FAP0]  processed =0 dropped =0 
[FAP0]  Associated DQM=19 dir FAP2HOST
[FAP0] ------------------<<<<
[FAP0] FAP4KE GSO LOOPBACK Init Done...
[FAP0] FAP BPM Initialized.
fapDrv_construct: FAP0: pManagedMemory=b0820650. wastage 8 bytes
fapDrv_construct: FAP1: pManagedMemory=b0a20650. wastage 8 bytes
bcmPktDma_bind: FAP Driver binding successfull
[FAP1] FAP TM: ON
[FAP0] FAP TM: ON
bcmxtmcfg: bcmxtmcfg_init entry
adsl: adsl_init entry
Broadcom BCMPROCFS v1.0 initialized
Broadcom BCM63168D0 Ethernet Network Device v0.1 Jun 14 2019 14:37:16
Broadcom GMAC Char Driver v0.1 Jun 14 2019 14:37:24 Registered<249>
Broadcom GMAC Driver v0.1 Jun 14 2019 14:37:24 Initialized
fapDrv_psmAlloc: fapIdx=1, size: 4800, offset=b0a20650 bytes remaining 7000
ETH Init: Ch:0 - 200 tx BDs at 0xb0a20650
fapDrv_psmAlloc: fapIdx=0, size: 4800, offset=b0820650 bytes remaining 7000
ETH Init: Ch:1 - 200 tx BDs at 0xb0820650
fapDrv_psmAlloc: wastage 8 bytes
fapDrv_psmAlloc: fapIdx=0, size: 4808, offset=b0821910 bytes remaining 2184
ETH Init: Ch:0 - 600 rx BDs at 0xb0821910
[FAP0] enetRxChannel 0
fapDrv_psmAlloc: wastage 8 bytes
fapDrv_psmAlloc: fapIdx=1, size: 4808, offset=b0a21910 bytes remaining 2184
ETH Init: Ch:1 - 600 rx BDs at 0xb0a21910
[FAP1] enetRxChannel 1
dgasp: kerSysRegisterDyingGaspHandler: bcmsw registered 
eth4: <Ext sw port: 1> <Logical : 09> PHY_ID <0x20180001 : 0x01> MAC : 00:00:00:00:00:01
eth3: <Ext sw port: 2> <Logical : 10> PHY_ID <0x20180002 : 0x02> MAC : 00:00:00:00:00:01
eth2: <Ext sw port: 3> <Logical : 11> PHY_ID <0x20180003 : 0x03> MAC : 00:00:00:00:00:01
eth1: <Ext sw port: 4> <Logical : 12> PHY_ID <0x20180004 : 0x04> MAC : 00:00:00:00:00:01
eth0: <Int sw port: 3> <Logical : 03> PHY_ID <0x0010000c : 0x0c> MAC : 00:00:00:00:00:01
Ethernet Auto Power Down and Sleep: Enabled
NComm TMS V6.80 Kernel Module loaded.
[NTC arl] arlEnable : Enabled ARL binding to FAP
Broadcom Address Resolution Logic Processor (ARL) Char Driver v0.1 Jun 14 2019 14:36:35 Registered <245>
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
--SMP support
wl: dsl_tx_pkt_flush_len=338
wl: norm_wmark_tot=2110, pktc_wmark_tot=2048
Initializing WLCSM Module
wl 0000:00:00.0: setting latency timer to 64
wl: passivemode=1
wl0: creating kthread wl0-kthrd
wl: napimode=0
Neither SPROM nor OTP has valid image
wl:srom/otp not programmed, using main memory mapped srom info(wombo board)
wl:loading /etc/wlan/bcm6362_map.bin
srom rev:8
wl0: allocskbmode=1 currallocskbsz=1024
+++++ Added gso loopback support for dev=wl0 <85e64000>
wl0: Broadcom BCM435f 802.11 Wireless Controller 6.37.15.24.cpe4.16L01A.0-kdb
dgasp: kerSysRegisterDyingGaspHandler: wl0 registered 
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
wl: passivemode=1
wl1: creating kthread wl1-kthrd
wl: napimode=0
Neither SPROM nor OTP has valid image
wl:srom/otp not programmed, using main memory mapped srom info(wombo board)
wl:loading /etc/wlan/bcm4360_map.bin
wl: updating srom from flash...
wl: updating srom from flash...
srom rev:11
wl: reading /etc/wlan/bcm4360_nvramvars.bin, file size=32
wl1: allocskbmode=1 currallocskbsz=3500
+++++ Added gso loopback support for dev=wl1 <848da000>
wl1: Broadcom BCM4360 802.11 Wireless Controller 6.37.15.24.cpe4.16L01A.0-kdb
dgasp: kerSysRegisterDyingGaspHandler: wl1 registered 
p8021ag: p8021ag_init entry
Broadcom 802.1Q VLAN Interface, v0.1
Starting SWMDK...
Note: Loading 6300 MDK (default) driver for 63168 chip 
Note: Forcing 53115 driver for 53125 
Switch MDK: num_switches = 2
Switch MDK: unit = 0; phy_pbmp = 0x8; config_pbmp = 0x18 
Switch MDK: unit = 1; phy_pbmp = 0x1e; config_pbmp = 0x1e 
Switch MDK link poll tEnergy Efficient Ethernet: Enabled
hread: unit=0; phypbmp=0x8 config_pbmp=0x18
Switch MDK link poll thread: unit=1; phypbmp=0x1e config_pbmp=0x1e
start parsing board_data !!
start parsing nvram
Reading board data...
WSC UUID: 0xf88866477f4ba9cd362783cf208fd1a2
wps_uuid=0xf88866477f4ba9cd362783cf208fd1a2
Sku Number in CFE (2)
read_board_data(936) region_num=2 2 (WW)

read_board_data(952) region_num (2) sku_name (WW) 
Update 5GHz RF table.
NTP synchronized date/time: Mon May 28 09:45:51 2018
MAC address of 1st STA connected: A0-D7-95-40-84-DA
Internet Time date/time: Thu Oct 15 14:33:25 2037
wps_led_ioctl: WLAN_N_RADIO_ON 
wps_led_ioctl: WLAN_G_RADIO_ON 
[gpio set] 38 = 0 
To set eth0 as WA
>>>> swPort=3
N port
[gpio set] 17 = 0 
[gpio set] 16 = 1 
[gpio set] 0 = 1 
[gpio set] 1 = 1 
[gpio set] 38 = 0 
sh: can't create /proc/sys/net/ipv4/neigh/br0/base_reachable_time: nonexistent directory
Powered up 
Powered up 
Powered up 
Powered up 
Reading board data...
WSC UUID: 0xf88866477f4ba9cd362783cf208fd1a2
wps_uuid=0xf88866477f4ba9cd362783cf208fd1a2
Sku Number in CFE (2)
read_board_data(936) region_num=2 2 (WW)

read_board_data(952) region_num (2) sku_name (WW) 
Update 5GHz RF table.
mknod: /dev/spiv6: File exists
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.0.0 lke_9.0.0_r233352_b11, LBD=ON, ioctl, bdi, sd(0), fua, bz, tr) loaded at c10ae000
NTFS support included
Big endian platform
optimized: speed
Build_for__NETGEAR_D6400_k3.4.11_2014-07-07_lke_9.0.0_r233352_b11

set_led_settings : state=2
wps_led_ioctl: led_control_settings_smp = 0x2
[gpio set] 38 = 0 
[gpio set] 9 = 1 board_ioctl: invalid command c0184237, cmd 55 .

Initialise conn table 2048 entries
Powered up 
Powered up 
Powered up 
Powered up 
set_eth_mac: set 'eth1' to A0:04:60:ED:CA:35
ADDRCONF(NETDEV_UP): eth1: link is not ready
device eth1 entered promiscuous mode
set_eth_mac: set 'eth2' to A0:04:60:ED:CA:35
ADDRCONF(NETDEV_UP): eth2: link is not ready
device eth2 entered promiscuous mode
set_eth_mac: set 'eth3' to A0:04:60:ED:CA:35
ADDRCONF(NETDEV_UP): eth3: link is not ready
device eth3 entered promiscuous mode
set_eth_mac: set 'eth4' to A0:04:60:ED:CA:35
ADDRCONF(NETDEV_UP): eth4: link is not ready
device eth4 entered promiscuous mode
set_eth_mac: set 'wl0' to A0:04:60:ED:CA:35
device wl0 entered promiscuous mode
device wl1 entered promiscuous mode
br0: port 6(wl1) entered forwarding state
br0: port 6(wl1) entered forwarding state
br0: port 5(wl0) entered forwarding state
br0: port 5(wl0) entered forwarding state
ARPING to 255.255.255.255 from 192.168.0.1 via br0
br0: port 6(wl1) entered forwarding state
br0: port 5(wl0) entered forwarding state
Sent 3 probe(s) (3 broadcast(s))
Received 0 reply (0 request(s), 0 broadcast(s))
set_eth_mac: set ADDRCONF(NETDEV_UP): eth0: link is not ready
'eth0' to A0:04:60:ED:CA:36

###################################mount openvpn /storage1
>>>> xdslUtil_CfgProfileInit(364) xDSL settings: 0x980
>>>> xdslUtil_CfgProfileIn*** dslThread dslPid=730
BcmAdsl_Initialize=0xC02E3050, g_pFnNotifyCallback=0xC031E0C0
it(431) xDSL settings: 0x7987
*** adslCfgParam=0x107987 vdslParam=0x7F00FF ***

  lineId=0 
lmemhdr[2]=0x100CE000, pAdslLMem[2]=0x100CE000
pSdramPHY=0xA7FFFFF8, 0xF5555555 0x55555555
*** XfaceOffset: 0x5FF90 => 0x5FF90 ***
*** PhySdramSize got adjusted: 0xF440C => 0x128840 ***
AdslCoreSharedMemInit: shareMemSize=38816(38816)
AdslCoreHwReset:  pLocSbSta=837a8000 bkupThreshold=3072
AdslCoreHwReset:  AdslOemDataAddr = 0xA7FB2EC0
VersionInfo: A2pv6F039t.d26d
***BcmDiagsMgrRegisterClient: 0 ***
dgasp: kerSysRegisterDyingGaspHandler: dsl0 registered 
fapDrv_psmAlloc: fapIdx=1, size: 1600, offset=b0a22be0 bytes remaining 584
XTM Init: Ch:0 - 200 rx BDs at 0xb0a22be0
fapDrv_psmAlloc: fapIdx=1, size: 128, offset=b0a23220 bytes remaining 456
XTM Init: Ch:1 - 16 rx BDs at 0xb0a23220
bcmxtmrt: PTM/ATM Non-Bonding Mode configured in system
DSL PTM Bonding DisableDSL ATM Bonding Disable=============converting WLAN parameters===================
[gpio set] 38 = 0 
wps_led_ioctl: WLAN_N_RADIO_ON 
wps_led_ioctl: WLAN_G_RADIO_ON 
No ACL rule orderacosFW_accessCtrlEnable 2582 bEnable: 0
acosFW_accessCtrlMode 2589 mode: 1
acosFW_accessCtrlConfig 2596
  defined! Init all rules order to 0!
interface br0 IP address is 192.168.0.1
info, udhcp server (v0.9.8) started
error, unable to parse 'option wins '
error, unable to parse 'option domain '
shm ID: 98307
  Get a correct Segment_ID: 98307 and semaphore ID:65538
Can't find handler for ASP command: wlg_cgi_get_isolation_status(0);
Can't find handler for ASP command: wlg_cgi_get_isolation_status(1);
Can't find handler for ASP command: russia_specific_support("h_start");
Can't find handler for ASP command: russia_specific_support("h_end");
Can't find handler for ASP command: nvram_inmatch("device_name", "0", "/*")
Can't find handler for ASP command: nvram_inmatch("device_name", "0", "*/")
POT integrity check OK.
POT time is up.
Can't find handler for ASP command: wlg_cgi_get_isolation_status();
Can't find handler for ASP command: qos_cgi_get_bandwidth("ToSet_qos_bw_uplink");
Can't find handler for ASP command: qos_cgi_support_qos_down_streaming();
Can't find handler for ASP command: usb_cgi_get_register_state();
Can't find handler for ASP command: usb_cgi_get_invite_state();
Can't find handler for ASP command: gui_cgi_show_on_web_page("notShowOnR6400", "html", "start");
Can't find handler for ASP command: gui_cgi_show_on_web_page("notShowOnR6400", "html", "end");
Can't find handler for ASP command: check_is_index()
Can't find handler for ASP command: cdl_cgi_set_hijack(1);
[c]the file size is 70178 (0x11222)
wl0: no IPv6 routers present
[c]the file size is 68303 (0x10acf)
check_fw init_check_fw_sche sche_day=[2], sche_hour=[2], sche_min=[22]
check_fw wait 440508 Sec
check_fw current time:Thu Jan  1 00:00:12 2015
check_fw wake up time:Tue Jan  6 02:22:00 2015
kcg 354 :GPL NetUSB up!
WLmngr Daemon is running
bcmSystemex: echo "l1_powersave" > /sys/module/pcie_aspm/parameters/policy
app: echo "l1_powersave" > /sys/module/pcie_aspm/parameters/policy
wl1: no IPv6 routers present
bcmSystemex: cat /proc/version > /tmp/wl_smp
app: cat /proc/version > /tmp/wl_smp
main at 797 wl_cnt=2 is_smp_system=1
bcmSystemex: /bin/wlevt
app: /bin/wlevt
could not initialize msg, ret=9002[c]the file size is 74975 (0x124df)
INFO1A44: NetUSB 1.10.10, 0003040B : Jun 20 2019 15:05:23
INFO1A46: 7423: D6400 :D6400 
INFO1A47:  AUTH ISOC
INFO1A48:  MOVE_HEAD emb_lp filterAudio
INFO074B:  0 : tunnelID emusblp 0 
INFO074B:  1 : tunnelID emusblp 1 
INFO074B:  2 : tunnelID emusblp 2 
INFO074B:  3 : tunnelID emusblp 3 
INFO074B:  4 : tunnelID emusblp 4 
INFO074B:  5 : tunnelID emusblp 5 
INFO074B:  6 : tunnelID emusblp 6 
INFO074B:  7 : tunnelID emusblp 7 
INFO074B:  8 : tunnelID emusblp 8 
INFO074B:  9 : tunnelID emusblp 9 
INFO0B43:  --- checkSBusTimeoutThread start ---
usbcore: registered new interface driver KC NetUSB General Driver
INFO1AAE: Reset device when disconnect
INFO01FE:  init proc : PAGE_SIZE 4096
INFO1939:  infomap c11cd640 
INFO193D:  bndev : br0 
INFO1942:  sleep to wait br0 to wake up
INFO173B: tcpConnector() started... : br0 
[c]the file size is 71181 (0x1160d)
[c]the file size is 67468 (0x1078c)
wlmngr.c::wlmngr_init at 355 Adapter idx=0
bcmSystemex: wlctl -i wl0 aspm 0x2
app: wlctl -i wl0 aspm 0x2
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
New===========m_instance_wl[0].m_ifcName[0]=wl0
New===========m_instance_wl[0].m_ifcName[1]=wl0.1
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
[c]the file size is 73537 (0x11f41)
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Ethernet Auto Power Down and Sleep: Disabled
Energy Efficient Ethernet changed to disabled
killall: hspotap: no process killed
[c]the file size is 70533 (0x11385)
killall: xagent: no process killed
killall: bsd: no process killed
br0: port 5(wl0) entered disabled state
[c]the file size is 72144 (0x119d0)
++++++ run-xagnet.sh ++++++

starting pid 927, tty '': '-/bin/sh -l -c consoled'


BusyBox v1.17.2 (2019-06-14 15:10:16 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# [c]the file size is 70748 (0x1145c)
can't open mtd file lang_tbl_wr_path!
antonyxx: reload from FS
acsd: scan in progress ...
acsd: scan in progress ...
acsd: scan in progress ...
acsd: scan in progress ...
acsd: scan in progress ...
acsd: scan in progress ...
acsd: scan in progress ...
Info: No FWPT default policies.
ifconfig: SIOCSIFMTU: No such device
rmmod: can't unload 'AccessCntl': unknown symbol in module, or unknown parameter
acsd: scan in progress ...
httpd: turn off USB Led.
[gpio set] 18 = 1 
acsd: scan in progress ...
add active user:192.168.0.71
httpd: ipv6 socket bound in 80.
acsd: scan in progress ...
bftpd: segment_id:98307
shared memory reattached at address 0x77f98000
write pid:1006 tp /var/run/bftpd_wan.pid.
bftpd: socket bound in 0.0.0.0:21
IOCTL_AG_REGION_SET: English
acsd: scan in progress ...
acsd: scan in progress ...
acsd: selected channel spec: 0x100b
acsd: Adjusted channel spec: 0x100b
acsd: selected DFS-exit channel spec: 0x100b
acsd: selected channel spec: 0x100b
acsd: Adjusted channel spec: 0x100b
acsd: selected channel spec: 0x100b
br0: port 5(wl0) entered forwarding state
br0: port 5(wl0) entered forwarding state
device wl0.1 entered promiscuous mode
br0: port 7(wl0.1) entered forwarding state
br0: port 7(wl0.1) entered forwarding state
m_instance_wl[0].m_ifcName[0]=wl0
wlmngr.c::wlmngr_init at 386 Adapter idx=0
wlmngr.c::wlmngr_setup at 831 Adapter idx=0
bcmSystemex: killall -9 lld2d 2>/dev/null
bcmSystemex: killall -9 wps_ap 2>/dev/null
bcmSystemex: killall -9 wps_enr 2>/dev/null
bcmSystemex: killall -15 wps_monitor 2>/dev/null
bcmSystemex: killall -9 nas 2>/dev/null
bcmSystemex: killall -9 eapd 2>/dev/null
bcmSystemex: killall -9 acsd 2>/dev/null
bcmSystemex: killall -15 hspotap
bcmSystemex: killall -15 bsd
Setting SSID: "thfswifi"
Setting SSID: "NETGEAR-Guest"
bcmSystemex: ifconfig wl0 down 2>/dev/null
bcmSystemex: ifconfig wl0.1 down 2>/dev/null
bcmSystemex: ifconfig wl0 > /var/hwaddr 
bcmSystemex: ifconfig wl0 hw ether A0:04:60:ED:CA:35 2>/dev/null
bcmSystemex: ifconfig wl0.1 hw ether 62:04:60:ed:ca:34 2>/dev/null
chipinfo_stbc = 1 (idx=0)
Get lock failed!
bcmSystemex: /bin/acsd
bcmSystemex: ifconfig wl0 up
bcmSystemex: brctl addif br0 wl0.1
bcmSystemex: ifconfig wl0.1 up
bcmSystemex: sendarp -s br0 -d br0


wlmngr_init Wlan Init Done!
wlmngr.c::wlmngr_init at 355 Adapter idx=1
bcmSystemex: wlctl -i wl1 aspm 0x2
New===========m_instance_wl[1].m_ifcName[0]=wl1
New===========m_instance_wl[1].m_ifcName[1]=wl1.1
...


More information about the openwrt-devel mailing list