Hi to all
i have a few XG6846 device
they are working well, and the 6th port (SFP) is helping me a lot
always needed +1 port
my problem is that factory firmware is very limited, so i like to put OpenWRT on it to gain some SNMP information, etc
Nothing special, but i like OpenWRT look&feel
I itend to use these devices as smart L2 switch
i tried to compile own FW for 96328avng, older v4.x and latest v5.x kernel
Initram image boot from network, everything looks fine, execpt, the main thing
there is no network
swconfig shows the chip, but every port is down.
Does someone want to help me to port OpenWRT on this device?
here is the original boot log
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
300H
PHYE
DINT
LSYN
USYN
MSYN
LMBE
RACE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
CFE version 1.0.38-114.101 for BCM96328 (32bit,SP,BE)
Build Date: Tue Jul 9 10:13:28 CST 2013 (mike_chen@cs1.xavi.com.tw)
Copyright (C) 2000-2011 Broadcom Corporation.
HS Serial flash device: name S25FL128, id 0x0118 size 16384KB
Total Flash size: 16384K with 256 sectors
Flash not used for Auxillary File System
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
Board IP address : 192.168.168.1:ffffff00
Host IP address : 192.168.168.66
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 2
Boot image (0=latest, 1=previous) : 0
Board Id (0-10) : 96328avng
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:22:07:c4:4b:a5
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
*** Press any key to stop auto run (2 seconds) ***
Auto run second count down: 0
Booting from latest image (0xb8800000) ...
Code Address: 0x80010000, Entry Address: 0x80286720
Decompression OK!
Entry at 0x80286720
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80286720
Linux version 2.6.30 (mike_chen@cs1) (gcc version 4.4.2 (Buildroot 2010.02-git) ) #28 Thu Apr 30 17:43:16 CST 2015
HS Serial flash device: name S25FL128, id 0x0118 size 16384KB
96328avng prom init
CPU revision is: 0002a075 (Broadcom4350)
DSL SDRAM reserved: 0x100000
Determined physical RAM map:
memory: 03f00000 @ 00000000 (usable)
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x00003f00
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00003f00
On node 0 totalpages: 16128
free_area_init_node: node 0, pgdat 80334130, 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: 94 pages used for memmap
Normal zone: 11938 pages, LIFO batch:1
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16002
Kernel command line: root=31:0 ro noinitrd console=ttyS0,115200
wait instruction: enabled
Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
NR_IRQS:128
PID hash table entries: 256 (order: 8, 1024 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 60304k/64512k available (2545k kernel code, 4188k reserved, 676k data, 120k init, 0k highmem)
Calibrating delay loop... 319.48 BogoMIPS (lpj=159744)
Mount-cache hash table entries: 512
--Kernel Config--
SMP=0
PREEMPT=0
DEBUG_SPINLOCK=0
DEBUG_MUTEXES=0
Broadcom Logger v0.1 Apr 14 2015 17:25:33
net_namespace: 812 bytes
NET: Registered protocol family 16
Total Flash size: 16384K with 256 sectors
Flash not used for Auxillary File System
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 0000:00:09.0: reg 10 32bit mmio: [0x10002600-0x100026ff]
pci 0000:00:0a.0: reg 10 32bit mmio: [0x10002500-0x100025ff]
pci 0000:01:00.0: PME# supported from D0 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:01:00.0: PCI bridge, secondary bus 0000:02
pci 0000:01:00.0: IO window: disabled
pci 0000:01:00.0: MEM window: disabled
pci 0000:01:00.0: PREFETCH window: disabled
PCI: Setting latency timer of device 0000:01:00.0 to 64
BLOG v3.0 Initialized
BLOG Rule v1.0 Initialized
Broadcom IQoS v0.1 Apr 14 2015 17:26:18 initialized
Broadcom GBPM v0.1 Apr 14 2015 17:26:19 initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
squashfs: version 4.0 with LZMA457 ported by BRCM
fuse init (API version 7.11)
msgmni has been set to 117
io scheduler noop registered (default)
pcieport-driver 0000:01:00.0: device [14e4:6328] has invalid IRQ; check vendor BIOS
PCI: Setting latency timer of device 0000:01:00.0 to 64
Driver 'sd' needs updating - please use bus_type methods
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
bcm963xx_mtd driver v2.0
File system address: 0xb8800100
Registered device mtd[BCM63XX RootFS] dev[0] Flash[0xb8800100,2056192]
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:0a.0 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 50, io mem 0x10002500
ehci_hcd 0000:00:0a.0: USB f.f started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
PCI: Enabling device 0000:00:09.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:09.0 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 49, io mem 0x10002600
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
brcmboard: brcm_board_init entry
PCIe: No device found - Powering down
Serial: BCM63XX driver $Revision: 3.00 $
Magic SysRq enabled (type ^ h for list of supported commands)
ttyS0 at MMIO 0xb0000100 (irq = 36) is a BCM63XX
ttyS1 at MMIO 0xb0000120 (irq = 47) is a BCM63XX
Total # RxBds=1920
bcmPktDmaBds_init: Broadcom Packet DMA BDs initialized
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 17
NET: Registered protocol family 15
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:0.
Freeing unused kernel memory: 120k freed
init started: BusyBox v1.17.2 (2015-04-14 17:27:52 CST)
starting pid 187, tty '': '/etc/init.d/rcS'
/etc/init.d/rcS: line 13: syntax error: unexpected ")" (expecting ";;")
starting pid 190, tty '': '-/bin/sh'
BusyBox v1.17.2 (2015-04-14 17:27:52 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
Loading drivers and kernel modules...
chipinfo: module license 'proprietary' taints kernel.
Disabling lock debugging due to kernel taint
brcmchipinfo: brcm_chipinfo_init entry
Broadcom Ingress QoS Module Char Driver v0.1 Apr 14 2015 17:25:56 Registered<243>
Broadcom Ingress QoS ver 0.1 initialized
BPM: tot_mem_size=67108864B (64MB), buf_mem_size=10066329B (9MB), num of buffers=4802, buf size=2096
Broadcom BPM Module Char Driver v0.1 Apr 14 2015 17:25:55 Registered<244>
[NTC bpm] bpm_set_status: BPM status : enabled
NBUFF v1.0 Initialized
Initialized fcache state
Broadcom Packet Flow Cache Char Driver v2.2 Apr 14 2015 17:25:56 Registered<242>
Created Proc FS /procfs/fcache
Broadcom Packet Flow Cache registered with netdev chain
Broadcom Packet Flow Cache learning via BLOG enabled.
Constructed Broadcom Packet Flow Cache v2.2 Apr 14 2015 17:25:56
Broadcom BCM6328B0 Ethernet Network Device v0.1 Apr 14 2015 17:25:58
ETH Init: Ch:0 - 200 tx BDs at 0xa3972000
ETH Init: Ch:0 - 1920 rx BDs at 0xa38a8000
dgasp: kerSysRegisterDyingGaspHandler: bcmsw registered
eth0: MAC Address: 00:22:07:C4:4B:A5
eth0 Link UP 1000 mbps full duplex
message received before monitor task is initialized kerSysSendtoMonitorTask
Init switch ports for igmpsnooping
Init switch LAN1~4 ports for EEE, enable = 0
Marvell switch control module loaded successfully.
xavi_igmpsnooping module loaded successfully.
XAVi fiber control module loaded successfully.
XAVi LED mode module loaded successfully.
XAVi port_limit Apr 14 2015 17:26:04 debug (0)
===== Release Version XG6846_4.12ITT01.69 (build timestamp 150430_1743) =====
[devCtl_catvData][544] catvData: enable 0
Skipped rcl
SFP fiber start
SFP Copper is detected.
disable port 0 egress rate limiting
disable port 1 egress rate limiting
disable port 2 egress rate limiting
disable port 3 egress rate limiting
sendto: Network is unreachable
device eth0 entered promiscuous mode
br0: port 1(eth0) entering forwarding state
monitor task is initialized pid= 281
xavi_switch_daemon started.
xavi_wan started.
Allocating 1 taps...
1 of 1
.:: Gone into daemonland ::.
Switch VTB Flush!
Starting Master Thread... OK
Starting Interface Threads...
1 of 1Add an STU entry for init VTB !
device tap0 entered promiscuous mode
br0: port 2(tap0) entering forwarding state
br0: port 1(eth0) entering disabled state
br0: port 1(eth0) entering forwarding state
CATV: No signal/CATV not connected
GUI & DHCP option 66(url) or 67(file) Not Found.