From owner-freebsd-mips@FreeBSD.ORG Thu Apr 23 14:02:53 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 610B41065673 for ; Thu, 23 Apr 2009 14:02:53 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id D6FC98FC18 for ; Thu, 23 Apr 2009 14:02:52 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from gw ([192.168.10.10] helo=terran.mk.farlep.net) by dlink.ua with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1LwzFg-0003ZQ-Tv; Thu, 23 Apr 2009 16:46:08 +0300 Date: Thu, 23 Apr 2009 17:02:42 +0300 From: Alexandr Rybalko To: Alexandr Rybalko Message-Id: <20090423170242.a7eeae0d.ray@dlink.ua> In-Reply-To: <20090417115152.edd75a22.ray@dlink.ua> References: <20090415161208.ea8c0f3d.ray@dlink.ua> <9d7810dd0904160845i791de4d4q424804e8e50e2a5e@mail.gmail.com> <20090417115152.edd75a22.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 Cc: freebsd-mips@freebsd.org Subject: Re: BCM5354 D-Link DIR-320 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: Thu, 23 Apr 2009 14:02:53 -0000 Current status, if someone interesting. Starting program at 0x807963c0 entry: mips_init() picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 cpu0: Broadcom processor v41.144 MMU: Standard TLB, 32 entries L1 i-cache: 4 ways of 256 sets, 16 bytes per line L1 d-cache: 2 ways of 512 sets, 16 bytes per line Va=0xc0000000 Ve=ffffc000 init kernel_segmap va >> = 768 nkpt:120 avail_start:0x439000 avail_end:0x2000000 KDB: debugger backends: ddb KDB: current backend: ddb hz=100 cyl_per_hz:200000 cyl_per_usec:200 freq:200000000 cyl_per_hz:2000000 cyl_per_sec:200000000 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 #85 r191051M: Wed Apr 22 17:48:25 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 = 32763904 (31996K bytes) Physical memory chunk(s): 0x00439000 - 0x01f44fff, 28360704 bytes (6924 pages) avail memory = 28008448 (26MB) null: mem: nfslock: pseudo-device nexus0: nexus_hinted_child: discovered hinted child siba0 at maddr 0x18000000 (65536) clock0: on nexus0 Establish HARD IRQ 5: filt 0x80236914 handler 0 arg 0 clock0: [FILTER] siba0: start 18000000 len 00010000 siba0: idlo = 600422dd siba0: idhi = 42439004 siba0: chipcore id = 00000800 siba0: ccid = 07025354, cc_id = 5354, cc_rev = 0002 siba0: 7 cores detected. siba0: after remapping: start 18000000 len 00007000 siba0: at mem 0x18000000-0x18006fff on nexus0 siba_attach: entry siba0: corid=0800 regions count 4 0=18000000x1000 1=1fc00000x400000 2=1c000000x2000000 3=1a000000x2000000 siba0: corid=0806 regions count 1 0=18001000x1000 siba0: corid=0816 regions count 1 0=18002000x1000 siba0: corid=0819 regions count=2 func=1 base 18003000x0200 func=2 base Host> 18003800x0100 siba0: corid=080f regions Host> count 4 0=18004000x1000 1=00000000x8000000 2=10000000x8000000 Host> 3=80000000x20000000 siba0: corid=0812 regions count 1 0=18005000x1000 siba0: corid=081c regions count 1 0=18006000x1000 siba_cc0: at mem 0x18000000-0x18000fff irq 0 on siba0 Establish HARD IRQ 0: filt 0 handler 0x80248410 arg 0xc0815e80 siba_cc0: [GIANT-LOCKED] siba_cc0: [ITHREAD] bfe0: at mem 0x18001000-0x18001fff irq 1 on siba0 bfe0: Ethernet address: 00:1b:11:31:df:0a Establish HARD IRQ 1: filt 0 handler 0x8024706c arg 0xc083d000 bfe0: [MPSAFE] bfe0: [ITHREAD] siba_mips0: at mem 0x18002000-0x18002fff on siba0 ehci0: at mem 0x18003000-0x18003fff irq 4 on siba0 Establish HARD IRQ 4: filt 0 handler 0x80248240 arg 0xc0872000 ehci0: [MPSAFE] ehci0: [ITHREAD] usbus0: EHCI version 1.0 usbus0: on ehci0 siba_sdram0: at mem 0x18004000-0x18004fff on siba0 siba0: at device 5 (no driver attached) siba0: at device 6 (no driver attached) Device configuration finished. Timecounter "MIPS32" frequency 200000000 Hz quality 800 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 Root mount waiting for: usbus0 ugen0.1: at usbus0 uhub0: on usbus0 Root mount waiting for: usbus0 uhub0: 2 ports with 2 removable, self powered Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> bfe0 compile, and do initialization, but can`t see PHY, because BCM5354 have switch core (RoboSwitch) instead simple PHY. Working on it. USB compile, and do initialization, but I don`t know, they work or not. :) -- Alexandr Rybalko aka Alex RAY