#22083: kernel 4.1.16 BCM63XX Neufbox6 rtl8366 switch broken ?
-------------------------+------------------------
Reporter: zouhair.s@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Trunk
Keywords: |
-------------------------+------------------------
Hi, i can't get working lan port in Neufbox6 (NB6-FXC-r2) BCM63XX based
hardware.
{{{
CFE version 1.0.37-106.5 for BCM96362 (32bit,SP,BE)
Build Date: mar. mars 1 09:45:57 CET 2011 (arno@golgoth13)
Copyright (C) 2000-2009 Broadcom Corporation.
boot...
HS Serial flash device: name MX25L128E, id 0xc218 size 16384KB
Total Flash size: 16384K with 256 sectors
RTL8367R probed
TX/RX delay set on switch side!
Chip ID: BCM6362B0, MIPS: 400MHz, DDR: 333MHz, Bus: 166MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 67108864 bytes (64MB)
Boot Address: 0xb8000000
CFE Release: NB6-BOOTLOADER-R1.32.0
Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
CFE Release: NB6-BOOTLOADER-R1.32.0
Board Id (0-11) : NB6-FXC-r2
Number of MAC Addresses (1-32) : 11
Base MAC Address : 30:7e:cb:xx:xx:xx
PSI Size (1-64) KBytes : 24
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image OpenWRT-r49031 (0xb8010100) ...
Code Address: 0x80A00000, Entry Address: 0x80a00000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 4.1.16 (moi@zz) (gcc version 5.3.0 (OpenWrt
GCC 5.3.0 r49031) ) #7 Sun Mar 20 18:01:38 UTC 2016
[ 0.000000] Detected Broadcom 0x6362 CPU revision b0
[ 0.000000] CPU frequency is 400 MHz
[ 0.000000] 64MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.5
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a070 (Broadcom BMIPS4350)
[ 0.000000] board: board name: NB6
[ 0.000000] MIPS: machine is SFR neufbox 6 (Sercomm)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem
0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16
bytes.
[ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases,
linesize 16 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 16256
[ 0.000000] Kernel command line: root=/dev/mtdblock2
rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 0.000000] Memory: 59524K/65536K available (2973K kernel code, 142K
rwdata, 724K rodata, 1272K init, 193K bss, 6012K reserved, 0K cma-
reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] clocksource MIPS: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 9556302233 ns
[ 0.000015] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every
10737418237ns
[ 0.008573] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.046839] pid_max: default: 32768 minimum: 301
[ 0.052142] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.058916] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.072604] clocksource jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.084059] NET: Registered protocol family 16
[ 0.115469] Switched to clocksource MIPS
[ 0.122490] NET: Registered protocol family 2
[ 0.128882] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[ 0.136125] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.142686] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.149635] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.155696] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.162738] NET: Registered protocol family 1
[ 0.169060] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.183858] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.189866] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.202701] io scheduler noop registered
[ 0.206756] io scheduler deadline registered (default)
[ 0.213656] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 11,
base_baud = 1562500) is a bcm63xx_uart
[ 0.223289] console [ttyS0] enabled
[ 0.223289] console [ttyS0] enabled
[ 0.230412] bootconsole [early0] disabled
[ 0.230412] bootconsole [early0] disabled
[ 0.245128] bcm63xx-spi bcm63xx-spi: at 0xb0000800 (irq 10, FIFOs size
542)
[ 0.254241] m25p80 spi1.0: found mx25l12805d, expected m25p80
[ 0.260227] m25p80 spi1.0: mx25l12805d (16384 Kbytes)
[ 0.265692] bcm63xxpart: CFE boot tag found with version 6 and board
type NB6-FXC-r2
[ 0.273718] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.280344] bcm63xxpart: Partition 1 is kernel offset 10100 and length
139d30
[ 0.287656] bcm63xxpart: Partition 2 is rootfs offset 149e30 and length
ea61d0
[ 0.295090] bcm63xxpart: Partition 3 is nvram offset ff0000 and length
10000
[ 0.302349] bcm63xxpart: Partition 4 is linux offset 10000 and length
fe0000
[ 0.309606] 5 bcm63xxpart partitions found on MTD device spi1.0
[ 0.315696] Creating 5 MTD partitions on "spi1.0":
[ 0.320638] 0x000000000000-0x000000010000 : "CFE"
[ 0.327013] 0x000000010100-0x000000149e30 : "kernel"
[ 0.333485] 0x000000149e30-0x000000ff0000 : "rootfs"
[ 0.339945] mtd: device 2 (rootfs) set to be root filesystem
[ 0.348736] 1 squashfs-split partitions found on MTD device rootfs
[ 0.355099] 0x0000003f0000-0x000000ff0000 : "rootfs_data"
[ 0.362119] 0x000000ff0000-0x000001000000 : "nvram"
[ 0.368600] 0x000000010000-0x000000ff0000 : "linux"
[ 0.376365] rtl8366_smi: gpio_request failed for 18, err=-517
[ 0.419092] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.427091] NET: Registered protocol family 10
[ 0.435883] NET: Registered protocol family 17
[ 0.440549] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.453526] 8021q: 802.1Q VLAN Support v1.8
[ 0.460699] rtl8366_smi: gpio_request failed for 18, err=-517
[ 0.473524] VFS: Mounted root (squashfs filesystem) readonly on device
31:2.
[ 0.496900] Freeing unused kernel memory: 1272K (803d2000 - 80510000)
[ 2.120720] init: Console is alive
[ 2.124458] init: - watchdog -
[ 3.661257] usbcore: registered new interface driver usbfs
[ 3.667112] usbcore: registered new interface driver hub
[ 3.672751] usbcore: registered new device driver usb
[ 3.748933] rtl8366_smi: gpio_request failed for 18, err=-517
[ 3.777347] SCSI subsystem initialized
[ 3.794789] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.804365] ehci-platform: EHCI generic platform driver
[ 3.911511] ehci-platform ehci-platform: EHCI Host Controller
[ 3.917464] ehci-platform ehci-platform: new USB bus registered,
assigned bus number 1
[ 3.925932] ehci-platform ehci-platform: irq 18, io mem 0xb0002500
[ 3.943490] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00,
overcurrent ignored
[ 3.953368] hub 1-0:1.0: USB hub found
[ 3.957691] hub 1-0:1.0: 2 ports detected
[ 3.962689] rtl8366_smi: gpio_request failed for 18, err=-517
[ 3.975258] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.984075] ohci-platform: OHCI generic platform driver
[ 3.989642] ohci-platform ohci-platform: Generic Platform OHCI
controller
[ 3.996662] ohci-platform ohci-platform: new USB bus registered,
assigned bus number 2
[ 4.004894] ohci-platform ohci-platform: irq 17, io mem 0xb0002600
[ 4.068909] hub 2-0:1.0: USB hub found
[ 4.073316] hub 2-0:1.0: 2 ports detected
[ 4.078323] rtl8366_smi: gpio_request failed for 18, err=-517
[ 4.094387] usbcore: registered new interface driver usb-storage
[ 4.111338] init: - preinit -
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
level
ip: RTNETLINK answers: File exists
[ 8.269186] random: nonblocking pool is initialized
[ 8.315095] jffs2: notice: (272) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
xref (0 dead, 0 orphan) found.
[ 8.333741] mount_root: switching to jffs2 overlay
[ 8.384523] procd: - early -
[ 8.387809] procd: - watchdog -
[ 9.181394] procd: - ubus -
[ 9.344707] procd: - init -
Please press Enter to activate this console.
[ 10.880567] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.993427] usbcore: registered new interface driver dvb_usb_dib0700
[ 11.006006] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.032521] nf_conntrack version 0.5.0 (949 buckets, 3796 max)
[ 11.099350] xt_time: kernel timezone is -0000
[ 18.017488] device eth0.1 entered promiscuous mode
[ 18.022444] device eth0 entered promiscuous mode
[ 18.029049] br-lan: port 1(eth0.1) entered forwarding state
[ 18.034836] br-lan: port 1(eth0.1) entered forwarding state
[ 20.035490] br-lan: port 1(eth0.1) entered forwarding state
}}}
cat /etc/config/network
{{{
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd9c:10c9:6823::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 9t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0 9t'
}}}
no output with:
swconfig list
Any idea ?
Thanks.
--
Ticket URL: <https://dev.openwrt.org/ticket/22083>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets