HG261GS BROADCOM版相关信息

这个HG261GS使用的是Broadcom菂芯片,型号是BCM68385_B0,RAM有128MB,NAND也是128MB,FS使用UBI。下面是分区信息:

0x0000002a0000-0x000002880000 : "rootfs"
0x000002880000-0x0000050e0000 : "rootfs_update"
0x000005100000-0x000005500000 : "data"
0x000000000000-0x000000020000 : "nvram"
0x000005500000-0x000005900000 : "ctmdw"
0x000005900000-0x000006100000 : "fhconf"
0x000006100000-0x000006500000 : "fhrootfs"
0x000006500000-0x000006f00000 : "fhlog"
0x000006f00000-0x000007f00000 : "fhbak"
0x000000020000-0x000002880000 : "image"
0x000002880000-0x0000050e0000 : "image_update"
0x000000020000-0x0000002a0000 : "bootfs"

跟HISI版的分区完全不一样了,应该是跟broadcom提供的SDK包有关。而且,这个版的kernel版本号3.4.11,HISI那个是用2.6的版本。

拆开机壳后,可以看到有UART的触点,这个是可以使用TTL来看打印信息,但不能输入,估计只作为log输出用了。下面是打印信息:

D%GHELO

CPUI

L1CI

PLLI

PMCB

HELO

CPUI

L1CI

4.1403_CT01-1.0.38-117.80

DRAM

----

PHYS

ZQDN

PHYE

DINT

TST1

TST2

PASS

----

ZBSS

MAIN

FPS0

BT00

0001

STOP

NAN9

NAN3

RFS1

NAN5





Base: 4.14_03_CT01

CFE version 1.0.38-117.80 for BCM96838 (32bit,SP,BE)

Build Date: Thu May 22 19:58:00 CST 2014 (sunjun@localhost)

Copyright (C) 2000-2013 Broadcom Corporation.



setAllLedsOn

Chip ID: BCM68385_B0, MIPS: 240MHz, DDR: 333MHz, Bus: 240MHz

RDP: 400MHz

Main Thread: TP0

Total Memory: 134217728 bytes (128MB)

Boot Address: 0xbfc00000



NAND flash device: name , id 0xeff1 block 128KB size 131072KB

chipinfo 68385_B0

soc type 68385

wantype0=0x28, 40.gpio_value = 0

wantype1=0x27, 39.gpio_value = 0

lantype0=0x26, 38.gpio_value = 0

lantype1=0x25, 37.gpio_value = 32

lantype2=0x24, 36.gpio_value = 16

lantype3=0x23, 35.gpio_value = 0

boardType = 0x6,nvramData.szBoardId=968385SFU!

BOARD_ID_BY_GPIO=y

AFTER SYN nvramData.szBoardId = 968385SFU

AFTER SYN nvramData.ulVersion = 6

[WANGKAI] BpSetBoardId:968385SFU

[WANGKAI] wk_b:0

WK01

ddr_tm_base_address = 0xa0800000

WK01

WK01

WK01

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  

Default host ramdisk file name    :   

Default ramdisk store address     :   

Board Id (0-45)                   : 968385SFU  

Number of MAC Addresses (1-32)    : 10  

Base MAC Address                  : f8:c9:6c:d1:45:3e  

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  

GPON Serial Number                : "FHTT6CD1453E"  

GPON Password                     : "          "  

MC memory allocation (MB)          : 0  

TM memory allocation (MB)          : 0  

Voice Board Configuration (0-0)   : LE9540  



Creating CPU ring for queue number 0 with 32 packets descriptor=0x80669438

 Done initializing Ring 0 Base=0xa220f7e0K End=0xa220f9e0K calculated entries= 32 RDD Base=0x0220f7e0K descriptor=0x80669438

Open PHY 1 on MAC 0 : link state = Down

Open PHY 2 on MAC 1 : link state = Down

*** Press any key to stop auto run (1 seconds) ***

Auto run second count down: 0

WK01

Booting from only image (0xbfc20000) ...

Decompression OK!

Entry at 0x803ad0f0

Closing network.

rdd_ring_destroy

 Starting program at 0x803ad0f0

Linux version 3.4.11-rt19 (yanliang@localhost) (gcc version 4.6.2 (Buildroot 2011.11) ) #1 SMP PREEMPT Fri Sep 26 17:13:18 CST 2014

968385SFU prom init

CPU revision is: 0002a080 (Broadcom BMIPS4350)

Determined physical RAM map:

 memory: 01400000 @ 06c00000 (reserved)

 memory: 00400000 @ 06800000 (reserved)

 memory: 06800000 @ 00000000 (usable)

Zone PFN ranges:

  DMA      0x00000000 -> 0x00001000

  Normal   0x00001000 -> 0x00006800

Movable zone start PFN for each node

Early memory PFN ranges

    0: 0x00000000 -> 0x00006800

On node 0 totalpages: 26624

free_area_init_node: node 0, pgdat 804c2400, 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: 176 pages used for memmap

  Normal zone: 22352 pages, LIFO batch:3

PERCPU: Embedded 7 pages/cpu @810d3000 s5088 r8192 d15392 u32768

pcpu-alloc: s5088 r8192 d15392 u32768 alloc=8*4096

pcpu-alloc: [0] 0 [0] 1 

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 26416

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: 100184k/106496k available (3756k kernel code, 6312k reserved, 1055k data, 208k init, 0k highmem)

Preemptible hierarchical RCU implementation.

NR_IRQS:256

console [ttyS0] enabled

Allocating memory for DSP module core and initialization code

Allocated DSP module memory - CORE=0x0 SIZE=0, INIT=0x0 SIZE=0

Calibrating delay loop... 237.05 BogoMIPS (lpj=118528)

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 Sep 26 2014 17:05:54

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

registering PCI controller with io_map_base unset

bio: create slab  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 0xeff00000-0xefffffff]

pci_bus 0000:00: root bus resource [io  0xf1000000-0xf100ffff]

bcmhs_spi bcmhs_spi.1: master is unqueued, this is deprecated

skbFreeTask created successfully

BLOG v3.0 Initialized

BLOG Rule v1.0 Initialized

Broadcom IQoS v0.1 Sep 26 2014 17:13:06 initialized

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 0 bytes, default 16

init_bcm_tstamp: unhandled mips_hpt_freq=120000000, adjust constants in bcm_tstamp.c

bcm_tstamp initialized, (hpt_freq=120000000 2us_div=120 2ns_mult=0 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)

msgmni has been set to 195

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=eff18095

After: NandSelect=40000001, nandConfig=15142200

DevId eff18095 may not be supported.  Will use config info

Spare Area Size = 16B/512B

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

ECC level changed to 4

OOB size changed to 16

BrcmNAND mfg 0 0 UNSUPPORTED NAND CHIP 128MB on CS0



Found NAND on CS0: ACC=f7441010, cfg=15142200, flashId=eff18095, tim1=6574845b, tim2=00001e96

BrcmNAND version = 0x80000500 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 = 5.0 NAND flash size 128MB @18000000

ECC layout=brcmnand_oob_bch4_2k

brcmnand_scan:  mtd->oobsize=64

brcmnand_scan: oobavail=35, eccsize=512, writesize=2048

brcmnand_scan, eccsize=512, writesize=2048, eccsteps=4, ecclevel=4, eccbytes=7

-->brcmnand_default_bbt

brcmnand_default_bbt: bbt_td = bbt_slc_bch4_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 3 bits for CS0

brcmnandCET: Status -> Deferred

***** Found UBIFS Marker at 0x0029ff00

Creating 12 MTD partitions on "brcmnand.0":

0x0000002a0000-0x000002880000 : "rootfs"

0x000002880000-0x0000050e0000 : "rootfs_update"

0x000005100000-0x000005500000 : "data"

0x000000000000-0x000000020000 : "nvram"

0x000005500000-0x000005900000 : "ctmdw"

0x000005900000-0x000006100000 : "fhconf"

0x000006100000-0x000006500000 : "fhrootfs"

0x000006500000-0x000006f00000 : "fhlog"

0x000006f00000-0x000007f00000 : "fhbak"

0x000000020000-0x000002880000 : "image"

0x000002880000-0x0000050e0000 : "image_update"

0x000000020000-0x0000002a0000 : "bootfs"

UBI: attaching mtd0 to ubi0

UBI: physical eraseblock size:   131072 bytes (128 KiB)

UBI: logical eraseblock size:    126976 bytes

UBI: smallest flash I/O unit:    2048

UBI: VID header offset:          2048 (aligned 2048)

UBI: data offset:                4096

UBI: max. sequence number:       2

UBI: attached mtd0 to ubi0

UBI: MTD device name:            "rootfs"

UBI: MTD device size:            37 MiB

UBI: number of good PEBs:        303

UBI: number of bad PEBs:         0

UBI: number of corrupted PEBs:   0

UBI: max. allowed volumes:       128

UBI: wear-leveling threshold:    4096

UBI: number of internal volumes: 1

UBI: number of user volumes:     1

UBI: available PEBs:             0

UBI: total number of reserved PEBs: 303

UBI: number of PEBs reserved for bad PEB handling: 3

UBI: max/mean erase counter: 1/0

UBI: image sequence number:  0

UBI: background thread "ubi_bgt0d" started, PID 235

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

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

usbcore: registered new interface driver usblp

i2c /dev entries driver

brcmboard: brcm_board_init entry

****************(BpGetResetToDefaultExtIntr),intr = 0

****************(BpGetLedIndicateExtIntr),intr = 1

LED: Button Interrupt 0x1 is enabled

led: onoff is (1)

Serial: BCM63XX driver $Revision: 3.00 $

Magic SysRq enabled (type ^ h for list of supported commands)

ttyS0 at MMIO 0xb4e00500 (irq = 9) is a BCM63XX

ttyS1 at MMIO 0xb4e00520 (irq = 10) is a BCM63XX

TCP: cubic registered

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

NET: Registered protocol family 15

 *******initialize netlink succese!*******

Initializing MCPD Module

Ebtables v2.0 registered

ebt_time registered

ebt_ftos registered

ebt_wmm_mark registered

8021q: 802.1Q VLAN Support v1.8

UBIFS: mounted UBI device 0, volume 0, name "rootfs_ubifs"

UBIFS: mounted read-only

UBIFS: file system size:   36188160 bytes (35340 KiB, 34 MiB, 285 LEBs)

UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)

UBIFS: media format:       w4/r0 (latest is w4/r0)

UBIFS: default compressor: zlib

UBIFS: reserved for root:  0 bytes (0 KiB)

VFS: Mounted root (ubifs filesystem) readonly on device 0:10.

Freeing unused kernel memory: 208k freed

init started: BusyBox v1.17.2 (2014-09-26 17:20:28 CST)

starting pid 266, tty '': '/bin/sh -l -c "bcm_boot_launcher start"'

Mounting filesystems...

*****start VOIP CHECK!

thread id: 271

cp: can't stat '/fhbak/data_temp/*': No such file or directory

cp: can't stat '/fhbak/fhconf_temp/*': No such file or directory

Begin restore wlan calibration.....

Configuring system...

Loading drivers and kernel modules... 



BOARDID=968385SFU DEVTYPE=simple UPLINK=gpon

bind error ,errno=Address already in use

*****start VOIP CHECK!

thread id: 316

gpon_stack: module license 'Proprietary' taints kernel.

Disabling lock debugging due to kernel taint

LOGGER driver Init Done : 0x86637480

MON: success

START GPON SerDes Init script

 !!!!   PLL locked !!!!!!     !!!!   RX CDR locked !!!!!!     !!!!   TX CDR locked !!!!!!    GPON SerDes Initialization Sequence Done 

# Created object 

MON: success

MON: success

RDPA lan init

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

# Created object 

MON: success

MON: success

MON: success

MON: success

MON: success

RDPA lan init end

Creating CPU ring for queue number 0 with 128 packets descriptor=0xc047afa0

 Done initializing Ring 0 Base=0xa5c85080 End=0xa5c85880 calculated entries= 128 RDD Base=0x05c85080 descriptor=0xc047afa0

MON: success

MON: success

rdpa filter init start!!

# Created object 

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

MON: success

rdpa filter init end

lilac bridge fastpath. compiled Sep 26 2014 , 17:12:33

brcmchipinfo: brcm_chipinfo_init entry

NBUFF v1.0 Initialized

Initialized fcache state

Broadcom Packet Flow Cache  Char Driver v2.2 Sep 26 2014 17:08:24 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[0xc05200e0]=0

[FHW]  fhw_construct: 

Initialized Fcache HW accelerator layer state

wl: Unsupported thread priority 0

flwStatsThread created

Constructed Broadcom Packet Flow Cache v2.2 Sep 26 2014 17:08:24

Broadcom Packet Flow Cache HW acceleration enabled.

i2c i2c-0: Failed to register i2c client gpon_i2c at 0x50 (-16)

i2c i2c-0: Failed to register i2c client gpon_i2c at 0x50 (-16)

i2c i2c-0: Failed to register i2c client gpon_i2c at 0x51 (-16)

i2c i2c-0: Failed to register i2c client gpon_i2c at 0x51 (-16)

Broadcom BCM68385_B0 Ethernet Network Device v0.1 Sep 26 2014 17:12:34

dgasp: kerSysRegisterDyingGaspHandler: bcmsw registered 

eth0: MAC Address: F8:C9:6C:D1:45:3E

eth1: MAC Address: F8:C9:6C:D1:45:3E

optical_wan_type = 1, WAN_GPON=1, WAN_EPON=2

Creating CPU ring for queue number 3 with 512 packets descriptor=0xc047b030

 Done initializing Ring 3 Base=0xa4c84080 End=0xa4c86080 calculated entries= 512 RDD Base=0x04c84080 descriptor=0xc047b030

Loading PCM shim driver

eth0 Link UP 100 mbps half duplex

message received before monitor task is initialized kerSysSendtoMonitorTask 

Endpoint: endpoint_init entry

Endpoint: endpoint_init COMPLETED

Creating CPU ring for queue number 2 with 32 packets descriptor=0xc047b000

 Done initializing Ring 2 Base=0xa3e14c80 End=0xa3e14e80 calculated entries= 32 RDD Base=0x03e14c80 descriptor=0xc047b000

[NTC ploamFsm] printSerialPasswd: SN=46:48:54:54:6c:d1:45:3e

[NTC ploamFsm] printSerialPasswd: PW=20:20:20:20:20:20:20:20:20:20

dgasp: kerSysRegisterDyingGaspHandler: gpon0 registered 

[NTC ploamFsm] bcm_ploamCreate: ploam driver created.

Creating CPU ring for queue number 4 with 64 packets descriptor=0xc047b060

 Done initializing Ring 4 Base=0xa537e080 End=0xa537e480 calculated entries= 64 RDD Base=0x0537e080 descriptor=0xc047b060

Broadcom 802.1Q VLAN Interface, v0.1

PCIe0: No device found - Powering down

PCIe1: No device found - Powering down

ERROR

loading sim card module

epon_chrdev_init()

Creating CPU ring for queue number 5 with 32 packets descriptor=0xc047b090

 Done initializing Ring 5 Base=0xa3e65c80 End=0xa3e65e80 calculated entries= 32 RDD Base=0x03e65c80 descriptor=0xc047b090

EponOamQueueOpen

Creating CPU ring for queue number 6 with 64 packets descriptor=0xc047b0c0

 Done initializing Ring 6 Base=0xa4ce3080 End=0xa4ce3480 calculated entries= 64 RDD Base=0x04ce3080 descriptor=0xc047b0c0

cpu Ring 6 has been flushed

oam: MAC Address: F8:C9:6C:D1:45:3E

[INF rdpadrv] rdpa_cmd_drv_init: Broadcom Runner Packet Processor Char Driver v0.2 Sep 26 2014 17:12:20 Registered. Device: bcmrdpa Ver:<251>



[INF rdpadrv] rdpa_cmd_drv_init: RDPA driver init: OK

rdpa cpu meter start!!

MON: success

MON: success

MON: success

MON: success

rdpa cpu meter end

Open TxPower...

Configuring factorymode...

Saving kernel bootup messages for dumpsysinfo...

Starting cardscan...

The simcard is first detect

the simdriver is remove

user: insert

Starting CMS smd...



===== Release Version 4.14L.03.2 (build timestamp 140926_1715) =====



IOCTL_FB_SW_SIMCARD_ACTIVE:OK

send apdu buf is:The transfer len is 7

 

0xa0,0xa4,0x0,0x0,0x2,0x7f,0x80,

send finished! 



the buffer is exist

the rx_len is -2

IOC_WRITE: error happened

failed to write simcard

receive buf is: 

0xa0,0xa4,0x7f,0x80,0x0,0x0,0x0The transfer len is 7

,0x0,0x0,

receive finished! 



****the file index is 0. ****

send apdu buf is: 

0xa0,0xa4,0x0,0x0,0x2,0x7f,0x80,

send finished! 



the buffer is exist

the rx_len is -2

IOC_WRITE: error happened

failed to write simcard

The transfer len is 7



0xa0,0xa4,0x7f,0x80,0x0,0x0,0x0,0x0,0x0,

receive finished! 



send apdu buf is: 

0xa0,0xa4,0x0,0x0,0x2,0x6f,0x0,

send finished! 



the buffer is exist

the rx_len is -2

IOC_WRITE: error happened

failed to write simcard

The transfer len is 5



0xa0,0xa4,0x6f,0x0,0x0,0x0,0x0,0x0,0x0,

receive finished! 



get response is: 

the buffer is exist

the rx_len is -2

IOC_READ: error happened

failed to read simcard

send apdu buf is: 

0xa0,0xc0,0x0,0x0,0xf,

send finished! 



the get response valuse is 0. 

the file 0 is empty

the card is empty

the card_driver is inslot

>>loadConfig: getCardState got 0

>>loadConfig: processFlag got 0

ctrestore=0

Got primary config file from flash (len=26362), validating....

config file from flash (__primaryPsi) is valid, len=26362, loading into MDM....

set cardObj->cardStatus=0, fhCardStatus = 0, updateFlagP = 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, ret=0

get uploadpre from psp is FALSE

mdm_loadConfig end

Enter adjustForCard

set cardObj->cardStatus=FALSE

wlctl: wl driver adapter not found

wlctl: wl driver adapter not found

wlctl: wl driver adapter not found

Adjust WLAN Configuration, has configuration [0], num [0], defaultnum [2]

get boardid: 968385SFU

ip_tables: (C) 2000-2006 Netfilter Core Team

ip6_tables: (C) 2000-2006 Netfilter Core Team

-----------ENTER RCLIGD--------------

nf_conntrack version 0.5.0 (1568 buckets, 6272 max)

Host MIPS Clock divider pwrsaving is enabled

Energy Efficient Ethernet is disabled

ssk:error:28.993:rutSntp_restart:304:ruobing----getVoipDnsServerIP failed

sntp:error:29.045:main:385:No timezone specified.

Netfilter messages via NETLINK v0.30.

netdev path : eth0.0 -> eth0

BCMVLAN : eth0 mode was set to RG

Created new Tag Rule: dev=eth0, dir=1, tags=0, id=0



Created new Tag Rule: dev=dev_set_wanparam,if_name = eth0.0, wanid = 2, wantype = 0

eth0, dir=1, tags=1, id=0



Created new Tag Rule: dev=eth0, dir=1, tags=2, id=0



Created new Tag Rule: dev=eth0, dir=0, tags=0, id=0



Created new Tag Rule: dev=eth0, dir=0, tags=1, id=0



Created new Tag Rule: dev=eth0, dir=0, tags=2, id=0



device eth0.0 entered promiscuous mode

device eth0 entered promiscuous mode

br0: port 1(eth0.0) entered forwarding state

br_log_state call for send_to_user!

br0: port 1(eth0.0) entered disabled state

br_log_state call for send_to_user!

br0: port 1(eth0.0) entered forwarding state

br_log_state call for send_to_user!

eth0 Link DOWN.

message received before monitor task is initialized kerSysSendtoMonitorTask 

ADDRCONF(NETDEV_UP): eth1: link is not ready

netdev path : eth1.0 -> eth1

BCMVLAN : eth1 mode was set to RG

Created new Tag Rule: dev=eth1, dir=1, tags=0, id=0



Created new Tag Rule: dev=dev_set_wanparam,if_name = eth1.0, wanid = 2, wantype = 0

eth1, dir=1, tags=1, id=0



Created new Tag Rule: dev=eth1, dir=1, tags=2, id=0



Created new Tag Rule: dev=eth1, dir=0, tags=0, id=0



Created new Tag Rule: dev=eth1, dir=0, tags=1, id=0



Created new Tag Rule: dev=eth1, dir=0, tags=2, id=0



device eth1.0 entered promiscuous mode

device eth1 entered promiscuous mode

br0: port 2(eth1.0) entered forwarding state

br_log_state call for send_to_user!

br0: port 1(eth0.0) entered disabled state

br_log_state call for send_to_user!

br0: port 2(eth1.0) entered disabled state

br_log_state call for send_to_user!

br0: port 2(eth1.0) entered forwarding state

br_log_state call for send_to_user!

 ****** enable rstp *****

killall: rstp: no process killed

the rcl_loopback_read is 5, 300, untagged, 0xFFFA 

. 

device br1 already exists; can't create bridge with the same name

***vlanTag is untaged.***

vlan[0] is 0.

vlanTag is   untagged, ethernetType is  0xFFFA 

.

vlancount is  0.

ifr flag is 4099

eth0 is ok  

MAC Address: (f8.c9.6c.d1.45.3e)

**************version 003**************. 

ethernetType is  0xFFFA 

. 

********convert to int is :fffa**********

rstp uses obsolete (PF_INET,SOCK_PACKET)

rstp can not find vlan tag . use fffa mode. 

write pid 919

begin create rstp thread!thread rstp

 bridge_init: prority is 32768, hello is 2, delay is 15, max is 20

_check_stpm_config 

stp_in_stpm_create 

_stp_in_stpm_enable: Bf8c96cd1453e

STP_stpm_enable 

STP_stpm_start

_stp_stpm_init_data

STP_port_init

STP_port_init

STP_port_init

STP_port_init

all, start stpm

changed port is 3. 

  looped flag is 0. 

 set port state:p04==>discarding

changed port is 2. 

  looped flag is 0. 

 set port state:p03==>discarding

changed port is 1. 

  looped flag is 0. 

 set port state:p02==>discarding

changed port is 0. 

  looped flag is 0. 

 set port state:p01==>discarding

changed port is 3. 

  looped flag is 0. 

 set port state:p04==>discarding

send pack is

ff,ff,ff,ff,ff,ff,f8,c9,6c,d1,45,3e,ff,fa,ff,ff,fa,00,00,02,02,4e,80,00,f8,c9,6c,d1,45,3e,00,00,00,00,80,00,f8,c9,6c,d1,45,3e,80,04,00,00,14,00,05,00,0f,00,00,00,00,00,00,00,00,00,00,00,0e,f9,00,00,00,00,

send vlan pack is

ff,ff,ff,ff,ff,ff,f8,c9,6c,d1,45,3e,ff,fa,ff,ff,fa,00,00,02,02,4e,80,00,f8,c9,6c,d1,45,3e,00,00,00,00,80,00,f8,c9,6c,d1,45,3e,80,04,00,00,14,00,05,00,0f,00,00,00,90,00,40,00,00,03,00,00,0e,f9,00,00,00,00,type is 9000, tag1 is 4000, tag2 is 3, tag3 is 0. 

send vlan pack is

ff,ff,ff,ff,ff,ff,f8,c9,6c,d1,45,3e,ff,fa,ff,ff,fa,00,00,02,02,4e,80,00,f8,c9,6c,d1,45,3e,00,00,00,00,80,00,f8,c9,6c,d1,45,3e,80,04,00,00,14,00,05,00,0f,00,00,00,90,00,40,00,00,03,00,00,0e,f9,00,00,00,00,type is 9000, tag1 is 4000, tag2 is 3, tag3 is 0. 

changed port is 2. 

  looped flag is 0. 

 set port state:p03==>discarding

send pack is

ff,ff,ff,ff,ff,ff,f8,c9,6c,d1,45,3e,ff,fa,ff,ff,fa,00,00,02,02,4e,80,00,f8,c9,6c,d1,45,3e,00,00,00,00,80,00,f8,c9,6c,d1,45,3e,80,03,00,00,14,00,05,00,0f,00,00,00,00,00,00,00,00,00,00,00,0e,f9,00,00,00,00,

changed port is 1. 

  looped flag is 0. 

 set port state:p02==>discarding

changed port is 0. 

  looped flag is 0. 

 set port state:p01==>discarding

lrwxrwxrwx    1 admin    root            17 Jan  1 00:00 /fhrootfs/loopback.log -> /var/loopback.log

 bridge_init OK ,begin recv_packet

pthread_join sucess!!!

eth0 Link UP 100 mbps full duplex

message received before monitor task is initialized kerSysSendtoMonitorTask 

ADDRCONF(NETDEV_CHANGE): eth0.0: link becomes ready

br0: port 1(eth0.0) entered forwarding state

br_log_state call for send_to_user!

***** find poninterface is down ! ****

iptables: Bad rule (does a matching rule exist in that chain?).

ssk:error:35.007:rcl_cTPppoeEmulatorObject:1152:start up this node!

monitor task is initialized pid= 642 

ssk:error:35.410:initFHVoiceBoundIpIfWanSideUpLocked:245:Failed to get WAN Connection object

create tid thread succes, main pid is 642

create tid2 thread succes, main pid is 642



call main_loop_back end

***** find poninterface is down ! ****

***** find poninterface is down ! ****

***** find poninterface is down ! ****

changed port is 3. 

  device_type is HG261G. 

 ******* enter hg221_convert_port, and  port is 3.  *******

command is : bs /b/c port/index=lan3 emac_cfg={enable=yes}  .

MON: success

Starting batchupgrade...

set port state:p04==>forwarding

changed port is 2. 

  device_type is HG261G. 

 ******* enter hg221_convert_port, and  port is 2.  *******

command is : bs /b/c port/index=lan2 emac_cfg={enable=yes}  .

MON: success

set port state:p03==>forwarding

changed port is 1. 

  device_type is HG261G. 

 ******* enter hg221_convert_port, and  port is 1.  *******

command is : bs /b/c port/index=lan1 emac_cfg={enable=yes}  .

MON: success

set port state:p02==>forwarding

changed port is 0. 

  device_type is HG261G. 

 ******* enter hg221_convert_port, and  port is 0.  *******

command is : bs /b/c port/index=lan0 emac_cfg={enable=yes}  .

MON: success

set port state:p01==>forwarding

httpget Daemon is running

--------shmID is 0-------

####entry recieve processLanHostInfoMsg

ssk:error:36.961:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName processLanHostInfoMsg

ssk:error:36.961:oal_lock:189:lock currently held by pid=1071 func=updateTr69cCfgInfo timeHold=29

ssk:error:36.962:oal_lock:194:timeoutMs=15000

facmode:debug:37.045:main:167:argv[1]=0, mode=0

facmode:debug:37.046:main:189:factory mode is disabled, exit!

####entrygetLayer2InterfaceForHost 

optarg=0 shmId=0 

tr69c:error:37.064:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName getFactoryStatus

tr69c:error:37.096:oal_lock:189:lock currently held by pid=642 func=processLanHostInfoMsg timeHold=85

tr69c:error:37.100:oal_lock:194:timeoutMs=6000

httpget:error:37.099:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName getInitMonitEnable

httpget:error:37.129:oal_lock:189:lock currently held by pid=1071 func=updateTr69cCfgInfo timeHold=25

httpget:error:37.130:oal_lock:194:timeoutMs=6000

ssk:error:37.139:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName processEthAssociateInfoMsg

ssk:error:37.139:oal_lock:189:lock currently held by pid=1071 func=updateTr69cCfgInfo timeHold=36

ssk:error:37.140:oal_lock:194:timeoutMs=15000

tr69c:error:37.153:updateTr69cCfgInfo:1163:could not build full path to 10.131.63.154

UPNPmngr Daemon is running

ENTER new thread

received msg: src=20 dst=65 type=0x10000250

receive unknown msg

WLmngr Daemon is running

optarg=0 shmId=0 

optarg=0 shmId=0 

useConfiguredLogLevel is 1 

cmsObj_get MDMOID_UPNPMNGR_CFG is success 

useConfiguredLogLevel is true 

UpnpmngrCfg loggingLevel is Error 

UpnpmngrCfg loggingDestination is Standard Error 

baseEponMac is f8:c9:6c:d1:45:47

batchupgrade:debug:37.526:oalMsg_initWithFlags:122:commFd=3 connected to smd

batchupgrade:debug:37.526:oalMsg_initWithFlags:144:sent LAUNCHED message to smd

ITMS_REG_SUCCESS

ITMS_REG_SUCCESS

ITMS_REG_SUCCESS

start Quickinstallprocessmsgthread

!start Quickinstallprocessmsgthread

!Quickinstallprocessmsgthread end

!AppProcessMsg() start!

ITMS_REG_SUCCESS

WLMNGR-DAEMON:error:38.060:main:135:could not Fetch the Adapter and exit

device oam entered promiscuous mode

TkExtOamTaskInit success!

OMCI Configuration 

===================================================

Debug-Flags                             = 0

Promisc-Mode                            = 0

Eth-Port-Type                           = ONT





Gpon LCDG or LOF state alarm

OMCI message capture enabled.

gpondef: MAC Address: F8:C9:6C:D1:45:40

netdev path : gpon0 -> gpondef

BCMVLAN : gpondef mode was set to ONT

netdev path : gpon0.0 -> gpon0 -> gpondef

BCMVLAN : gpon0 mode was set to ONT

gpon0.0 MAC address set to F8:C9:6C:D1:45:3E

device gpon0 entered promiscuous mode

device gpondef entered promiscuous mode

veip0 MAC address set to F8:C9:6C:D1:45:3F

netdev path : veip0 -> gpon0.0 -> gpon0 -> gpondef

BCMVLAN : gpon0.0 mode was set to ONT

veip0 MAC address set to F8:C9:6C:D1:45:3E

[MJ] OCS IPC SERVER Start.



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

*                                                 *

*    GPON-ONT                                     *

*                                                 *

*    OMCI Stack Release:  R2.9 V2.7               *

*    ONU Release:  G06D1.000000                   *

*    Build Date:  Sep 26 2014                     *

*    Build Time:  17:18:59                        *

*    Operation Mode:  LILAC_RDPA                  *

*                                                 *

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



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

*****start VOIP CHECK!

thread id: 1261

bind error ,errno=Address already in use

BCM96838 Broadband Router

 > device is register to itms

Created new Tag Rule: dev=gpon0.0, dir=1, tags=2, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=2, id=0



Created new Tag Rule: dev=gpon0.0, dir=1, tags=1, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=1, id=0



Created new Tag Rule: dev=gpon0.0, dir=1, tags=0, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=0, id=0



Created new Tag Rule: dev=gpon0.0, dir=1, tags=1, id=1



Created new Tag Rule: dev=gpon0.0, dir=0, tags=1, id=1



Created new Tag Rule: dev=gpon0.0, dir=1, tags=2, id=1



Created new Tag Rule: dev=gpon0.0, dir=0, tags=2, id=1



[ERROR ploamPort] get_gem_object_by_port_or_flow,1893: Failed to get GEM flow ID by GEM port: error -2



[ERROR ploamPort] ploamIOCgetGemPortCfg,871: ploamIOCgetGemPortCfg: error -2



[ERROR gponctl] gponCtl_getGemPort, 656: EINVAL_PLOAM_GEM_PORT (260)



[NTC ploam] bcm_cfgGemPort: gemPortID=0xfff usQ=0 dsmibidx 255 MaxGems 256

[NTC ploam] bcm_cfgGemPort: EncryptionInfo = 0 

[NTC ploamPort] bcm_cfgGemPort: bcm_cfgGemPort: gemPortIndex = 1 gemPortID = 4095 error = 0 



[NTC ploam] ploamIOCenableGemPort: gemPortIndex=0x1, gemPortId=0xfff, enable=1

mcast_gem <1> added to if 

Created new Tag Rule: dev=gpondef, dir=0, tags=0, id=0



Created new Tag Rule: dev=gpondef, dir=0, tags=1, id=0



Created new Tag Rule: dev=gpondef, dir=0, tags=2, id=0



Created new Tag Rule: dev=gpondef, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=0, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



found ethName:eth0.0.config saved to flash***** fh_updatePonIntfStatus 001  ! ****

***** fh_updatePonIntfStatus 002  ! ****

***** begin fh_updatePonIntfStatus  ! ****

***** fh_updatePonIntfStatus set to up  ! ****

***** find poninterface is up ! ****

***** find poninterface is up ! ****

veip0.1 MAC address set to F8:C9:6C:D1:45:41

netdev path : veip0.1 -> veip0 -> gpon0.0 -> gpon0 -> gpondef

BCMVLAN : veip0 mode was set to RG

Created new Tag Rule: dev=veip0, dir=1, tags=0, id=0



Created new Tag Rule: dev=veip0, dir=0, tags=1, id=0



Created new Tag Rule: dev=veip0, dir=0, tags=2, id=0



[NTC ploam] ploamIOCcfgTcontAllocId: tcontIdx=0x0, allocID=0x101



device veip0 entered promiscuous mode

device gpon0.0 entered promiscuous mode

[ERROR ploamPort] get_gem_object_by_port_or_flow,1893: Failed to get GEM flow ID by GEM port: error -2



[ERROR ploamPort] ploamIOCgetGemPortCfg,871: ploamIOCgetGemPortCfg: error -2



[ERROR gponctl] gponCtl_getGemPort, 656: EINVAL_PLOAM_GEM_PORT (260)



[NTC ploam] bcm_cfgGemPort: gemPortID=0x81 usQ=0 dsmibidx 255 MaxGems 256

[NTC ploam] bcm_cfgGemPort: EncryptionInfo = 0 

[NTC ploamPort] bcm_cfgGemPort: bcm_cfgGemPort: gemPortIndex = 2 gemPortID = 129 error = 0 



[NTC ploam] ploamIOCenableGemPort: gemPortIndex=0x2, gemPortId=0x81, enable=1

Created new Tag Rule: dev=gpondef, dir=0, tags=0, id=1



Created new Tag Rule: dev=gpondef, dir=0, tags=1, id=1



Created new Tag Rule: dev=gpondef, dir=0, tags=2, id=1



Created new Tag Rule: dev=gpon0, dir=0, tags=0, id=1



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=1



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=1



Created new Tag Rule: dev=gpon0.0, dir=0, tags=0, id=1



Created new Tag Rule: dev=gpon0.0, dir=0, tags=1, id=2



Created new Tag Rule: dev=gpon0.0, dir=0, tags=2, id=2



Created new Tag Rule: dev=gpon0.0, dir=1, tags=0, id=1



Created new Tag Rule: dev=gpon0.0, dir=1, tags=1, id=2



Created new Tag Rule: dev=gpon0.0, dir=1, tags=2, id=2



Created new Tag Rule: dev=gpon0, dir=1, tags=0, id=0



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=0



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=0



Created new Tag Rule: dev=gpondef, dir=0, tags=0, id=2



Created new Tag Rule: dev=gpondef, dir=0, tags=1, id=2



Created new Tag Rule: dev=gpondef, dir=0, tags=2, id=2



Created new Tag Rule: dev=gpondef, dir=0, tags=3, id=1



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=2



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=2



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=0



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=0



Created new Tag Rule: dev=gpon0, dir=1, tags=0, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=0, id=2



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=3



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=3



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=1



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=1



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=4



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=4



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=2



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=2



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=5



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=5



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=3



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=3



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=6



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=6



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=4



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=4



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=7



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=7



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=5



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=5



Broadcom Packet Flow Cache flushing the flows

Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=8



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=8



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=6



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=6



Broadcom Packet Flow Cache flushing the flows

Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=9



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=9



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=7



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=7



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=10



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=10



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=8



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=8



Broadcom Packet Flow Cache flushing the flows

iptables: Bad rule (does a matching rule exist in that chain?).

Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=11



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=11



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=9



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=9



iptables: Bad rule (does a matching rule exist in that chain?).

Broadcom Packet Flow Cache flushing the flows

Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=12



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=12



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=10



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=10



iptables: Bad rule (does a matching rule exist in that chain?).

Broadcom Packet Flow Cache flushing the flows

********** pptp cmd enable.  **********

iptables: Bad rule (does a matching rule exist in that chain?).

Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=13



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=13



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=11



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=11Broadcom Packet Flow Cache flushing the flows





Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=14



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=14



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=12



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=12



Broadcom Packet Flow Cache flushing the flows

Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



***** find poninterface is up ! ****

***** find poninterface is up ! ****

Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=15



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=15



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=13



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=13



netdev path : veip0.3 -> veip0 -> gpon0.0 -> gpon0 -> gpondef

BCMVLAN : veip0 mode was set to RG

Created new Tag Rule: dev=veip0, dir=1, tags=0, id=1



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=veip0, dir=1, tags=1, id=0



Created new Tag Rule: dev=veip0, dir=1, tags=2, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=veip0, dir=0, tags=1, id=1



Created new Tag Rule: dev=veip0, dir=0, tags=2, id=1



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=16



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=16



Created new Tag Rule: dev=veip0, dir=0, tags=1, id=2



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=14



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=17



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=14



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=18



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=17



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=15



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=15



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=19



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=18



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=16



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=16



device veip0.3 entered promiscuous mode

br1: port Created new Tag1(veip0.3) entered forwarding state

br_log_state call for send_to_user!

 Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=20



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=19



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=17



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=17



recive kernel date from veip0.3, type=1, states = forwarding, recv len =60

eth num is : veip0.3, out of eth array!please check eth port setting!

 portstate is 0, 0, 0, 0 ,0 ,0 !

 pthread_join sucess!!!

br1: port 1(veip0.3) entered disabled state

br_log_state call for send_to_user!

recive kernel date from veip0.3, type=1, states = disabled, recv len =60

eth num is : veip0.3, out of eth array!please check eth port setting!

 portstate is 0, 0, 0, 0 ,0 ,0 !

 Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=21



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=20



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=18



Created new Tag Rulbr1: port 1(veip0.3) entered forwarding state

e: dev=gpon0, dibr_log_state call for send_to_user!

r=1, tags=2, id=18



recive kernel date from veip0.3, type=1, states = forwarding, recv len =60

eth num is : veip0.3, out of eth array!please check eth port setting!

 portstate is 0, 0, 0, 0 ,0 ,0 !

 Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=22



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=21



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=19



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=19



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=23



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=22



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=20



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=20



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=24



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=23



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=21



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=21



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=25



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=24



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=22



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=22



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



Created new Tag Rule: dev=gpon0, dir=0, tags=1, id=26



Created new Tag Rule: dev=gpon0, dir=0, tags=2, id=25



Created new Tag Rule: dev=gpon0, dir=1, tags=1, id=23



Created new Tag Rule: dev=gpon0, dir=1, tags=2, id=23



Created new Tag Rule: dev=gpon0.0, dir=1, tags=3, id=0



Created new Tag Rule: dev=gpon0.0, dir=0, tags=3, id=0



dev_set_wanparam,if_name = veip0.3, wanid = 3, wantype = 2

Bridge PPPoE Driver Module Build at Sep 26 2014 , 17:12:57

***** find poninterface is up ! ****

***** find poninterface is up ! ****

veip0.2 MAC address set to F8:C9:6C:D1:45:42

netdev path : veip0.2 -> veip0 -> gpon0.0 -> gpon0 -> gpondef

BCMVLAN : veip0 mode was set to RG

Created new Tag Rule: dev=veip0, dir=1, tags=0, id=2



Created new Tag Rule: dev=veip0, dir=0, tags=1, id=3



Created new Tag Rule: dev=veip0, dir=0, tags=2, id=2



***** find poninterface is up ! ****

***** find poninterface is up ! ****

pthreaADDRCONF(NETDEV_CHANGE): veip0.2: link becomes ready

d_join sucess!!!

Broadcom Packet Flow Cache flushing the flows

Broadcom Packet Flow Cache flushing the flows

Broadcom Packet Flow Cache flushing the flows

iptables: Bad rule (does a matching rule exist in that chain?).

iptables: Bad rule (does a matching rule exist in that chain?).

Broadcom Packet Flow Cache flushing the flows

iptables: Bad rule (does a matching rule exist in that chain?).

Broadcom Packet Flow Cache flushing the flows

********** pptp cmd enable.  **********

recovered previous ppp session info ppp1.2(76912b8d0010/5fc4)

iptables: Bad rule (does a matching rule exist in that chain?).

Broadcom Packet Flow Cache flushing the flows

Broadcom Packet Flow Cache flushing the flows

ssk:error:49.250:ssk_main:1096:cannot handle msg type 0x10002252 from 95 (flags=0x20000000)

ssk:error:49.251:processItvDiagInfo:258:dhcpc_pid=1280, dhcpcInfo->addressAssigned=1, dhcpcInfo->ip=10.131.69.111, dhcpcInfo->mask=255.255.252.0.

pthread_join sucess!!!

gpon0.0: no IPv6 routers present

iptables: No chain/target/match by that name.

simpleARP start!!

simpleARP start!!

[RECV simpleARP REPLY] Reply receved from address 10.131.68.1

WARNING: The state match is obsolete. Use conntrack instead.

All services associated with veip0.1 is activated.

PPP: ppp1.2 Start to connect ...

--------shmID is 0-------

tr69c:error:53.237:cancelPeriodicInform:2351:request failed, ret=9003

tr69c:error:53.237:acsDisconnect:370:ACS Disconnect with error 1

ntpdatemain(496):  tr069 wan ip is 10.131.69.111 !

ntpdatemain(500): tr069 wan dns1 is 192.168.200.1 !

ntpdatemain(504): tr069 wan dns2 is 0.0.0.0 !

ntpdatemain(531): get tr069 wan ip is 10.131.69.111 !

gethostbyname_tr069voip_ip 

tr69c:error:53.270:retrySessionConnection:231:ACS connect failed, retryCount = 1, backOffTime = 8000ms

resolve flag = 1, ipaddr=10.131.69.111, dns1=192.168.200.1, dns2=0.0.0.0

gethostbyname_tr069voip_ip 10.131.69.111

pthread_join sucess!!!

saving ppp session info ppp1.2(76912b8d0010/0400)

netdev path : ppp1.2 -> veip0.2 -> veip0 -> gpon0.0 -> gpon0 -> gpondef

rm: can't remove '/data/imgFlag': No such file or directory

rm: can't remove '/data/cfgFlag': No such file or directory

tr69c:error:54.413:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName runRPC

tr69c:error:54.413:oal_lock:189:lock currently held by pid=1718 func=hgcGetConfigData timeHold=5

tr69c:error:54.414:oal_lock:194:timeoutMs=15000

=========================receive Configure-Request,it is LCP or IPCP?

===================================send pap Autherticate-Request

=========================receive Configure-Request,it is LCP or IPCP?

PPP: ppp1.2 IPv4 Connection Up.

***** find poninterface is up ! ****

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

ipconnection status is Connected.  ! 

ipconnection connectionType is IP_Routed.  ! 

ipconnection X_CT_COM_ServiceList is TR069,VOIP.  ! 

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

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

pppconnection status is Connected.  ! 

pppconnection connectionType is PPPoE_Bridged.  ! 

pppconnection X_CT_COM_ServiceList is OTHER.  ! 

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

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

pppconnection status is Connected.  ! 

pppconnection connectionType is IP_Routed.  ! 

pppconnection X_CT_COM_ServiceList is INTERNET.  ! 

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

***** find poninterface is up ! ****

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

ipconnection status is Connected.  ! 

ipconnection connectionType is IP_Routed.  ! 

ipconnection X_CT_COM_ServiceList is TR069,VOIP.  ! 

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

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

pppconnection status is Connected.  ! 

pppconnection connectionType is PPPoE_Bridged.  ! 

pppconnection X_CT_COM_ServiceList is OTHER.  ! 

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

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

pppconnection status is Connected.  ! 

pppconnection connectionType is IP_Routed.  ! 

pppconnection X_CT_COM_ServiceList is INTERNET.  ! 

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

dnsproxy:error:57.917:processCmsMsg:558:unrecognized msg 0x10002669

upnp:error:58.194:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName initLoggingFromConfig

upnp:error:58.195:oal_lock:189:lock currently held by pid=642 func=processPppStateChanged timeHold=1731

upnp:error:58.195:oal_lock:194:timeoutMs=60000

RTNETLINK answers: File exists

pthread_join sucess!!!

tr69c:error:58.584:cmsLck_acquireLockWithTimeoutTraced:101:mdmShmCtx->locked already have lock!callerFuncName setInformStatus

tr69c:error:58.584:oal_lock:189:lock currently held by pid=642 func=processPppStateChanged timeHold=2121

tr69c:error:58.585:oal_lock:194:timeoutMs=6000

init user limit module

user_proc_init

user_num_max=10

iptables: No chain/target/match by that name.

iptables: No chain/target/match by that name.

iptables: No chain/target/match by that name.

iptables: No chain/target/match by that name.

iptables: No chain/target/match by that name.

iptables: No chain/target/match by that name.

iptables v1.4.16.3: Couldn't find target `INPUT_OTHERSWAN'



Try `iptables -h' or 'iptables --help' for more information.

iptables v1.4.16.3: Couldn't find target `bad_packets'



Try `iptables -h' or 'iptables --help' for more information.

WARNING: The state match is obsolete. Use conntrack instead.

iptables: No chain/target/match by that name.

WARNING: The state match is obsolete. Use conntrack instead.

iptables: No chain/target/match by that name.

WARNING: The state match is obsolete. Use conntrack instead.

iptables: No chain/target/match by that name.

iptables: No chain/target/match by that name.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

WARNING: The state match is obsolete. Use conntrack instead.

All services associated with ppp1.2 is activated.

receive msg 0x1000314, can not handle!

ntpdatemain(496):  tr069 wan ip is 10.131.69.111 !

ntpdatemain(500): tr069 wan dns1 is 192.168.200.1 !

ntpdatemain(504): tr069 wan dns2 is 0.0.0.0 !

ntpdatemain(531): get tr069 wan ip is 10.131.69.111 !

gethostbyname_tr069voip_ip 

pthread_join sucess!!!

gethostbyname_tr069voip_ip 10.131.69.111

HG261GS HISI版本信息

电信来安装光纤宽带,使用的是HG261GS作为GPON通讯设备,可以使用超级用户来管理:

user:telecomadmin
passwd:nE7jA%5m

上面是电信的超级用户密码,其实HG261GS本身还有一个更高级别的用户

user:fiberhomehg2x0
passwd:hg2x0

这个用户可以开启TELNET服务,这样就可以进入系统内部来查看相关配置文件了。Telnet的用户如下:

user:telecomadmin
passwd:fiberhome

user:root
passwd:hg2x0

这个root用户就是最高权限了。里面的agent进程,就是tr069的监控程序,但是不能kill掉,否则会导致HG261GS变砖的危险。

这个HG261GS使用的是HISI的芯片:

/ $ cat /proc/cpuinfo 

Processor : ARMv7 Processor rev 1 (v7l)
BogoMIPS : 999.42
Features : swp half thumb fastmult edsp
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x4
CPU part : 0xc09
CPU revision : 1
Hardware : SD5116
Revision : 0000
Serial : 0000000000000000

内部的flash划分如下:

/ $ cat /proc/mtd 
dev: size erasesize name
mtd0: 00200000 00020000 "boot"
mtd1: 00400000 00020000 "KernelA"
mtd2: 01400000 00020000 "AppA"
mtd3: 01000000 00020000 "RootfsA"
mtd4: 00400000 00020000 "KernelB"
mtd5: 01400000 00020000 "AppB"
mtd6: 01000000 00020000 "RootfsB"
mtd7: 00200000 00020000 "ConfigurationA"
mtd8: 00a00000 00020000 "ConfigurationB"
mtd9: 00400000 00020000 "UserLocalCT"
mtd10: 00e00000 00020000 “Userdata"

一贯的华为风格,每个分区都有备份分区,以免升级失败时恢复。

cubieboard上部署Leanote

最近Evernote裁员,所以还是有些准备比较好。关于Leanote的安装,wiki上已经有PC版本的安装方法了,但cubieboard上的安装方法,还不太多。下面开始安装步骤:

  1. 准备运行环境

我在cubieboard上运行debian系统,毕竟支持架构多,软件源也丰富。系统是安装在TF卡内,至于安装的步聚在cubieboard上可以参考,这里不在重述。因为TF卡比较小,所以加了一块SATA HHD,这样把数据和Leanote放在HDD比较方便些。

系统安装好后,开始更新软件,最好是升级到最新版本。国内部分源支持架构不太多,这里推荐使用华中科大的源,速度比较不错,但是受TF卡的读写,更新还是要比HDD时间长一些。

deb http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ wheezy-updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ wheezy-backports main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy-backports main non-free contrib
deb http://mirrors.ustc.edu.cn/debian-security/ wheezy/updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian-security/ wheezy/updates main non-free contrib

然后安装Leanote的相关工具,git, golang, mongodb。

  1. 安装Leanote

上一步把相关工具安装好后,就可以安装Leanote,由于Leanote是使用go语言开发,所以需要下载相关的的go开发库,但是golang.org已经被GFW认证,所以还是下载Leanote-all的完整包即可,https://github.com/leanote/leanote-all/releases

cd /media/data1/
wget https://github.com/leanote/leanote-all/archive/master.zip
unzip master.zip
mkdir gopackage
mv leanote-all-master/src gopackage/
export GOPATH=/media/data1/gopackage:$GOPATH
go install github.com/revel/cmd/revel

上面就是安装revel,最后会在gopackage/bin下有revel的执行文件。接下来就是Leanote数据库的初始化,

cd /media/data1
mkdir leanote-db
mongod --dbpath /media/data1/leanote-db
mongorestore -h localhost -d leanote --directoryperdb \
/media/data1/gopackage/src/github.com/leanote/leanote/mongodb_backup/leanote_install_data

数据库初始化完成后,可以使用mongo命令进入,然后查看leanote数据库。

然后是配置Leanote网站IP地址和端口。

vi gopackage/src/github.com/leanote/leanote/conf/app.conf
site.url=http://192.168.2.159:9000

最后一步就是让Leanote运行,可以通过浏览器来访问此网站

./gopackage/bin/revel run github.com/leanote/leanote

在cubieboard上使用service来管理mongodb时,会出现创建mongodb.lock文件,导致启动失败的情况。因为指定的dbpath目录需要是mongodb的属主和属组。还有/etc/mongodb.conf需要把port前的注释去掉,否则无法mongodb不提供27017端口的服务。

Mac osx下Battle使用美服登录

从英文网站下载battle后,登录美服账号失败,还是会跳转到国服上,可以修改配置文件来登录美服。

vi ~/Library/Application Support/Battle.net/Battle.net.config
"Client":
{
"AllowedRegions": "CN;US;EU;KR",
"AllowedLocales": "zhCN;deDE;enGB;enUS;esMX;esES;frFR;itIT;plPL;ptBR;ruRU;koKR;zhTW"
}

AllowedRegions是允许的地区,AllowedLocales是可以使用的语言。

linux下chrome地址栏速度卡的问题

公司电脑上之前安装ubuntu14.04,可惜unity实在不爽,就安装了KDE的桌面,并把桌面字体改为Wenquanyi,结果chrome就不适应了。具体表现为chrome在地址栏时及其卡,浏览网页时加载有停顿感。google搜索后是因为chrome在Linux下的字体来源自GNOME桌面的设置,而非setting内的字体,而且无衬线字体要设置为非本地化命名的字体,像wenquanyi这些是不行的,改为Droid Sans就很流畅了。

Resource Link:

suselinks.us

MYD-SAM9X5开发板从TF卡启动

MYD-SAM9X5开发板上使用的是DDR金手指接口的核心板,核心板上的CPU是AT91SAM9X25。通常开发或升级程序时,会使用TF卡来启动芯片进入工作状态或运行kernel和ROOTFS。下面就是如何制做一个TF卡,然开发板从TF卡启动。AT91SAM9X25默认有多种启动方式,内置的ROM CODE会依次检测是否有可启动的设备,有的话就会直接启动,不再检测后面的启动项,跟PC的BIOS是相同的道理。

准备工具:

Linux系统
TF卡一张
TF读卡器一个

1.准备TF卡分区

新买或已有的TF卡上,有分区需要删除后创建新的分区。使用linux自带的fdisk工具,创建分区

sudo fdisk /dev/sdb
Command (m for help): n
Command action
e extended
p primary partition (1-4) p
Partition number (1-4): 1

Command (m for help): t
b

以上就是创建一个分区,并且设置system id为FAT32。接下来继续在fdisk中设置first sector的位置

Command (m for help): x
b
1
64

x表示进入expert模式,b表示移动sector,1表示对第一个分区操作,64是first sector的位置,然后敲“w”就可以写入分区操作后退出了。

然后是对分区格式化文件系统

sudo mkfs.vfat -F 32 /dev/sdb1

2.部署启动文件

启动文件使用AT91Bootstrap编译得到

sudo mount /dev/sdb1 /mnt
cp at91sam9x5ek-sdcardboot-3.1.bin /mnt/BOOT.BIN
sudo umount /mnt

这里cp过去的文件,官方方档建议最好是大写的BOOT.BIN,然后把TF卡插入开发板即可从TF卡启动了。

MPLAB IDE v8.5打开后自动退出

在windows7 32bit上安装MPLAB IDE v8.5后,打开后就自动退出了。找到安装目录下,运行程序就可以修复了。

..\Microchip\MPLAB IDE\Utilities\SetDefaultMPLABStartup\SetDefaultMPLABStartup.exe

最新文章

最近回复

  • Blackrose: 感谢拍砖!嗯,那句话...
  • aa: “Raspberry...
  • Blackrose: 外部只是帮你把芯片启...
  • : 内部时钟比外部的频率...
  • Blackrose: 你这评论比正文更有内容么
  • 7hao: CR+LF ...
  • Blackrose: 可以是你更新软件源后...
  • sxk: 博主,我的系统是ub...
  • Blackrose: 你深得精髓么
  • qihao: 这篇文章的简单总结就...

分类

归档

其它