From owner-freebsd-mips@FreeBSD.ORG Wed Jun 3 10:42:10 2009 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE1F3106568D for ; Wed, 3 Jun 2009 10:42:10 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f163.google.com (mail-fx0-f163.google.com [209.85.220.163]) by mx1.freebsd.org (Postfix) with ESMTP id 6C65B8FC12 for ; Wed, 3 Jun 2009 10:42:10 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by fxm7 with SMTP id 7so2555955fxm.43 for ; Wed, 03 Jun 2009 03:42:09 -0700 (PDT) Received: by 10.204.102.76 with SMTP id f12mr731286bko.137.1244025729247; Wed, 03 Jun 2009 03:42:09 -0700 (PDT) Received: from terran.mk.farlep.net (i183-101-19-89.vpdn.way.kv.chereda.net [89.19.101.183]) by mx.google.com with ESMTPS id 9sm1999444fks.28.2009.06.03.03.42.08 (version=SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 03:42:08 -0700 (PDT) Sender: Alex RAY Date: Wed, 3 Jun 2009 13:41:40 +0300 From: Alexandr Rybalko To: "freebsd-mips@freebsd.org" Message-Id: <20090603134140.a0a241b3.ray@dlink.ua> Organization: D-Link X-Mailer: Sylpheed 2.6.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: BCM5836 D-Link DIR-330 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 10:42:11 -0000 Results the same as DIR-320, but bfe with different PHY (switch BCM5325E) And different USB core. entry: mips_init() Cache info: picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 cpu0: Broadcom processor v6.144 MMU: Standard TLB, 32 entries L1 i-cache: 2 ways of 512 sets, 16 bytes per line L1 d-cache: 2 ways of 512 sets, 16 bytes per line Config1=0x3ed96c82 Va=0xc0000000 Ve=ffffc000 init kernel_segmap va >> = 768 nkpt:120 avail_start:0x419000 avail_end:0x2000000 KDB: debugger backends: ddb KDB: current backend: ddb hz=100 cyl_per_hz:132000 cyl_per_usec:132 freq:132000000 cyl_per_hz:1320000 cyl_per_sec:132000000 Copyright (c) 1992-2009 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-CURRENT #533 r120:192973MS: Wed Jun 3 12:33:29 EEST 2009 root@terran.mk.farlep.net:/usr/home/ray/Projects/MIPS/FreeBSD/obj/mips/usr/home/ray/Projects/MIPS/FreeBSD/src/sys/BCM4704 real memory = 32894976 (32124K bytes) Physical memory chunk(s): 0x00419000 - 0x01f43fff, 28487680 bytes (6955 pages) avail memory = 28135424 (26MB) null: nfslock: pseudo-device mem: nexus0: clock0: on nexus0 clock0: [FILTER] siba0: start 18000000 len 00010000 siba0: idlo = 100422dd siba0: idhi = 42438003 siba0: chipcore id = 00000800 siba0: ccid = 00094704, cc_id = 4704, cc_rev = 0009 siba0: 9 cores detected. siba0: after remapping: start 18000000 len 00009000 siba0: at mem 0x18000000-0x18008fff on nexus0 siba_attach: entry siba_setup_devinfo: core=0 Vendor=4243 Dev=800 Rev=003 siba0: corid=0800 regions count 4 0=18000000x1000 1=1fc00000x400000 2=1c000000x2000000 3=1a000000x2000000 siba_setup_devinfo: core=1 Vendor=4243 Dev=806 Rev=006 siba0: corid=0806 regions count 1 0=18001000x1000 siba_setup_devinfo: core=2 Vendor=4243 Dev=806 Rev=006 siba0: corid=0806 regions count 1 0=18002000x1000 siba_setup_devinfo: core=3 Vendor=4243 Dev=808 Rev=003 siba0: corid=0808 regions count 1 0=18003000x1000 siba_setup_devinfo: core=4 Vendor=4243 Dev=804 Rev=008 siba0: corid=0804 regions count 3 0=18004000x1000 1=08000000x8000000 2=40000000x40000000 siba_setup_devinfo: core=5 Vendor=4243 Dev=816 Rev=003 siba0: corid=0816 regions count 1 0=18005000x1000 siba_setup_devinfo: core=6 Vendor=4243 Dev=807 Rev=002 siba0: corid=0807 regions count 1 0=18006000x1000 siba_setup_devinfo: core=7 Vendor=4243 Dev=80b Rev=000 siba0: corid=080b regions count 1 0=18007000x1000 siba_setup_devinfo: core=8 Vendor=4243 Dev=80f Rev=002 siba0: corid=080f regions count 4 0=18008000x1000 1=00000000x8000000 2=10000000x8000000 3=80000000x20000000 siba_cc0: at mem 0x18000000-0x18000fff irq 0 on siba0 siba_cc0: [FILTER] siba_cc0: Core Revision 3 siba_cc0: Number of UARTs 2 siba_cc0: UARTs clock select 0x08 siba_cc0: UART use internal divided clock siba_cc0: UART use GPIO pins 15:12 siba_cc0: PCMCIA, IDE & Prog siba_cc0: Parallel flash siba_cc0: Type of PLL 0x04 uart0: [FILTER] uart0: fast interrupt uart0: console (115200,n,8,1) siba_cc_attach: done bfe0: at mem 0x18001000-0x18001fff irq 1 on siba0 bfe0: PHY Reset would not complete. mii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 1 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 2 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 3 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 4 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 untagged CPU MII to VLAN=1 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 0 untagged to VLAN=2 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 tagged CPU MII to VLAN=2 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmiibus0: on bfe0 bfeswitch0: PHY 0 on miibus0 bfeswitch0: 100baseTX-FDX bfe0: Ethernet address: 00:1b:11:31:df:0a bfe0: [MPSAFE] bfe0: [ITHREAD] bfe1: at mem 0x18002000-0x18002fff irq 1 on siba0 bfe1: BUG! Timeout waiting for bit 00000002 of register f98 to set. bfe1: PHY Reset would not complete. mii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 1 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 2 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 3 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 4 untagged to VLAN=1 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 untagged CPU MII to VLAN=1 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutbfe_robo_config_vlan: Add port 0 untagged to VLAN=2 mii_wreg: timeoutbfe_robo_config_vlan: Add port 5 tagged CPU MII to VLAN=2 mii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_rreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmii_wreg: timeoutmiibus1: on bfe1 bfeswitch1: PHY 0 on miibus1 bfeswitch1: 100baseTX-FDX bfe1: Ethernet address: 00:1b:11:31:df:0a bfe1: [MPSAFE] bfe1: [ITHREAD] ohci0: at mem 0x18003000-0x18003fff irq 3 on siba0 ohci0: [MPSAFE] ohci0: [ITHREAD] usbus0 on ohci0 siba0: at device 4 (no driver attached) siba_mips0: at mem 0x18005000-0x18005fff on siba0 siba_mips0: SBIPSFlag=03020100 siba_mips0: SBIPSFlagHigh=00000000 siba_mips0: SBIntVec=000000f0 siba0: at device 6 (no driver attached) siba0: at device 7 (no driver attached) siba_sdram0: at mem 0x18008000-0x18008fff on siba0 Device configuration finished. Timecounter "MIPS32" frequency 132000000 Hz quality 800 Timecounters tick every 10.000 msec usbus0: 12Mbps Full Speed USB v1.0 bootpc_init: wired to interface 'bfe0' bfe0: PHY Reset would not complete. Sending DHCP Discover packet from interface bfe0 (00:1b:11:31:df:0a) ugen0.1: at usbus0 uhub0: on usbus0 Received DHCP Offer packet on bfe0 from 0.0.0.0 (accepted) (no root path) uhub0: 2 ports with 2 removable, self powered uhub_reattach_port:365: giving up port reset - device vanished! Sending DHCP Request packet from interface bfe0 (00:1b:11:31:df:0a) Received DHCP Ack packet on bfe0 from 0.0.0.0 (accepted) (got root path) uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! bfe0 at 192.168.0.1 server 0.0.0.0 subnet mask 255.255.255.0 rootfs 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips Adjusted interface bfe0 Trying to mount root from nfs: NFS ROOT: 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips warning: no time-of-day clock registered, system time will not be set accurately warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Interface bfe0 IP-Address 192.168.0.1 Broadcast 192.168.0.255 uhub_reattach_port:365: giving up port reset - device vanished! No suitable dump device was found. uhub_reattach_port:365: giving up port reset - device vanished! Entropy harvesting:. mount_nfs: can't update /var/db/mounttab for 192.168.0.90:/usr/home/ray/Projects/MIPS/FreeBSD/rootfs-mips uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! uhub_reattach_port:365: giving up port reset - device vanished! mount_mfs: mount exited with error code 1 mount_mfs: mount exited with error code 1 mount: proc : Operation not supported by device Mounting /etc/fstab filesystems failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! Jan 1 00:00:26 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode Enter full pathname of shell or RETURN for /bin/sh -- Alexandr Rybalko