From owner-freebsd-mips@FreeBSD.ORG Mon Apr 13 07:57:29 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 B7B69106564A for ; Mon, 13 Apr 2009 07:57:29 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5291A8FC15 for ; Mon, 13 Apr 2009 07:57:29 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by ewy19 with SMTP id 19so1859918ewy.43 for ; Mon, 13 Apr 2009 00:57:28 -0700 (PDT) Received: by 10.216.22.206 with SMTP id t56mr1452245wet.131.1239607776361; Mon, 13 Apr 2009 00:29:36 -0700 (PDT) Received: from terran.mk.farlep.net (i249-101-19-89.vpdn.way.kv.chereda.net [89.19.101.249]) by mx.google.com with ESMTPS id p10sm12192054gvf.1.2009.04.13.00.29.35 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Apr 2009 00:29:35 -0700 (PDT) Sender: Alex RAY Date: Mon, 13 Apr 2009 10:29:23 +0300 From: Alexandr Rybalko To: "M. Warner Losh" Message-Id: <20090413102923.44a5d4be.ray@dlink.ua> In-Reply-To: <20090408.225222.-1540396370.imp@bsdimp.com> References: <22964143.post@talk.nabble.com> <20090408.225222.-1540396370.imp@bsdimp.com> 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: lucky.veeramallu@gmail.com, freebsd-mips@freebsd.org Subject: Re: how to change entry point for secondary boot loader ? 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: Mon, 13 Apr 2009 07:57:30 -0000 On Wed, 08 Apr 2009 22:52:22 -0600 (MDT) "M. Warner Losh" wrote: >> In message: <22964143.post@talk.nabble.com> >> Lucky443 writes: >> : >> : Hi All, >> : I have a KMC board with mips VR4131 processor. The target board >> already : having cmon boot loader on flash. Now I need to put my >> yamon boot loader : which I modified according to the requirement on >> the flash. As we know MIPS : have fixed starting address 0xbfc00000, >> how to change this address to other : address so that after power on >> it can enter to the new address (boot : loader). >> : If any one has some idea, please help me >> : Thanks in advance. >> >> You can't change MIPS' power-on address. It is hard-coded for a >> reason... >> >> If you put yamon on the flash, it should start instead of cmon... Good day. Some MIPS board have ability to add alternate window if flash bigger than 4M, for BCM5354 chip it is 0x1c000000, when flash 8M size. Then lower 4M accessible via 0x1fc00000 and via 0x1c000000, bigger 4M only via 0x1c000000, because 0x1fc00000 segment end on 0x20000000 boundary. >> >> Warner >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" -- Alexandr Rybalko From owner-freebsd-mips@FreeBSD.ORG Wed Apr 15 13:38:02 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B57F41065675 for ; Wed, 15 Apr 2009 13:38:02 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 283A28FC28 for ; Wed, 15 Apr 2009 13:38:01 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by ewy19 with SMTP id 19so3078015ewy.43 for ; Wed, 15 Apr 2009 06:38:01 -0700 (PDT) Received: by 10.210.126.18 with SMTP id y18mr4151100ebc.28.1239801141929; Wed, 15 Apr 2009 06:12:21 -0700 (PDT) Received: from terran.mk.farlep.net (i249-101-19-89.vpdn.way.kv.chereda.net [89.19.101.249]) by mx.google.com with ESMTPS id m5sm19310241gve.22.2009.04.15.06.12.20 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 06:12:21 -0700 (PDT) Sender: Alex RAY Date: Wed, 15 Apr 2009 16:12:08 +0300 From: Alexandr Rybalko To: mips@freebsd.org Message-Id: <20090415161208.ea8c0f3d.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: Subject: 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: Wed, 15 Apr 2009 13:38:03 -0000 Good time of day! Good news! Successful boot at D-Link DIR-320 with MIPS32 CPU BCM5354 CFE> boot -tftp -raw -addr=0x807963c0 -max=0x770000 CFE> 192.168.0.90:kernel.tramp.bin cmd = boot -tftp -raw -addr=0x807963c0 -max=0x770000 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp Dev:eth0 File:192.168.0.90:kernel.tramp.bin Options:(null) Loading: entry point=807963C0 ..... 3010096 bytes read Entry at 0x807963c0 Closing network. 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:0x2ddd60 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 #4 r191051M: Wed Apr 15 15:49:10 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): 0x002de000 - 0x002fffff, 139264 bytes (34 pages) 0x003c1000 - 0x01f3dfff, 28823552 bytes (7037 pages) avail memory = 28614656 (27MB) mem: nfslock: pseudo-device null: nexus0: clock0: on nexus0 Establish HARD IRQ 5: filt 0x801dc574 handler 0 arg 0 clock0: [FILTER] siba0: start 18000000 len 00001000 siba0: idlo = 600422dd siba0: idhi = 42439004 siba0: chipcore id = 00000800 siba0: ccid = 07025354, cc_id = 5354, cc_rev = 0002 siba0: 0 cores detected. nexus_alloc_resource: could not reserve resource siba0: unable to allocate entire aperture Device configuration finished. Timecounter "MIPS32" frequency 200000000 Hz quality 800 Timecounters tick every 10.000 msec Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> -- Alexandr Rybalko From owner-freebsd-mips@FreeBSD.ORG Wed Apr 15 14:24:57 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 9B2381065702 for ; Wed, 15 Apr 2009 14:24:57 +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 185C38FC1C for ; Wed, 15 Apr 2009 14:24:57 +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 1Lu5IT-0001Jo-02 for freebsd-mips@freebsd.org; Wed, 15 Apr 2009 16:37:01 +0300 Date: Wed, 15 Apr 2009 16:53:09 +0300 From: Alexandr Rybalko To: freebsd-mips@freebsd.org Message-Id: <20090415165309.edc95734.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: 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: Wed, 15 Apr 2009 14:24:58 -0000 Good time of day! Good news! Successful boot at D-Link DIR-320 with MIPS32 CPU BCM5354 CFE> boot -tftp -raw -addr=0x807963c0 -max=0x770000 CFE> 192.168.0.90:kernel.tramp.bin cmd = boot -tftp -raw -addr=0x807963c0 -max=0x770000 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp Dev:eth0 File:192.168.0.90:kernel.tramp.bin Options:(null) Loading: entry point=807963C0 ..... 3010096 bytes read Entry at 0x807963c0 Closing network. 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:0x2ddd60 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 #4 r191051M: Wed Apr 15 15:49:10 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): 0x002de000 - 0x002fffff, 139264 bytes (34 pages) 0x003c1000 - 0x01f3dfff, 28823552 bytes (7037 pages) avail memory = 28614656 (27MB) mem: nfslock: pseudo-device null: nexus0: clock0: on nexus0 Establish HARD IRQ 5: filt 0x801dc574 handler 0 arg 0 clock0: [FILTER] siba0: start 18000000 len 00001000 siba0: idlo = 600422dd siba0: idhi = 42439004 siba0: chipcore id = 00000800 siba0: ccid = 07025354, cc_id = 5354, cc_rev = 0002 siba0: 0 cores detected. nexus_alloc_resource: could not reserve resource siba0: unable to allocate entire aperture Device configuration finished. Timecounter "MIPS32" frequency 200000000 Hz quality 800 Timecounters tick every 10.000 msec Manual root filesystem specification: : Mount using filesystem eg. ufs:/dev/da0a ? List valid disk boot devices Abort manual input mountroot> -- Alexandr Rybalko From owner-freebsd-mips@FreeBSD.ORG Wed Apr 15 14:37:31 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 084261065670 for ; Wed, 15 Apr 2009 14:37:31 +0000 (UTC) (envelope-from zeon@zeon.kiev.ua) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 728918FC24 for ; Wed, 15 Apr 2009 14:37:30 +0000 (UTC) (envelope-from zeon@zeon.kiev.ua) Received: by ewy19 with SMTP id 19so3112282ewy.43 for ; Wed, 15 Apr 2009 07:37:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.211.180.10 with SMTP id h10mr316279ebp.26.1239804751807; Wed, 15 Apr 2009 07:12:31 -0700 (PDT) In-Reply-To: <20090415161208.ea8c0f3d.ray@dlink.ua> References: <20090415161208.ea8c0f3d.ray@dlink.ua> Date: Wed, 15 Apr 2009 17:12:31 +0300 Message-ID: <9d7810dd0904150712n5df6915eq36a0928c0d64e72@mail.gmail.com> From: Nikita Olenets To: Alexandr Rybalko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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: Wed, 15 Apr 2009 14:37:32 -0000 On Wed, Apr 15, 2009 at 4:12 PM, Alexandr Rybalko wrote: > Good time of day! > > Good news! > > Successful boot at D-Link DIR-320 with MIPS32 CPU BCM5354 > > > CFE> boot -tftp -raw -addr=3D0x807963c0 -max=3D0x770000 > CFE> 192.168.0.90:kernel.tramp.bin > cmd =3D boot -tftp -raw -addr=3D0x807963c0 -max=3D0x770000 > 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp Dev:eth0 > File:192.168.0.90:kernel.tramp.bin Options:(null) Loading: entry > point=3D807963C0 ..... 3010096 bytes read > Entry at 0x807963c0 > Closing network. > Starting program at 0x807963c0 > entry: mips_init() > =A0picache_stride =A0 =A0=3D 4096 > =A0picache_loopcount =3D 4 > =A0pdcache_stride =A0 =A0=3D 4096 > =A0pdcache_loopcount =3D 4 > cpu0: Broadcom processor v41.144 > =A0MMU: Standard TLB, 32 entries > =A0L1 i-cache: 4 ways of 256 sets, 16 bytes per line > =A0L1 d-cache: 2 ways of 512 sets, 16 bytes per line > Va=3D0xc0000000 Ve=3Dffffc000 > init kernel_segmap va >> =3D 768 nkpt:120 > avail_start:0x2ddd60 avail_end:0x2000000 > KDB: debugger backends: ddb > KDB: current backend: ddb > hz=3D100 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 #4 r191051M: Wed Apr 15 15:49:10 EEST > 2009 > root@terran.mk.farlep.net:/usr/home/ray/Projects/MIPS/FreeBSD/obj/mips/us= r/home/ray/Projects/MIPS/FreeBSD/src/sys/BCM4704 > real memory =A0=3D 32763904 (31996K bytes) Physical memory chunk(s): > 0x002de000 - 0x002fffff, 139264 bytes (34 pages) > 0x003c1000 - 0x01f3dfff, 28823552 bytes (7037 pages) > avail memory =3D 28614656 (27MB) > mem: > nfslock: pseudo-device > null: > nexus0: > clock0: on nexus0 > Establish HARD IRQ 5: filt 0x801dc574 handler 0 arg 0 > clock0: [FILTER] > siba0: start 18000000 len 00001000 > siba0: idlo =3D 600422dd > siba0: idhi =3D 42439004 > siba0: =A0chipcore id =3D 00000800 > siba0: ccid =3D 07025354, cc_id =3D 5354, cc_rev =3D 0002 > siba0: 0 cores detected. > nexus_alloc_resource: could not reserve resource > siba0: unable to allocate entire aperture > Device configuration finished. > Timecounter "MIPS32" frequency 200000000 Hz quality 800 > Timecounters tick every 10.000 msec > > Manual root filesystem specification: > =A0: =A0Mount using filesystem > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 eg. ufs:/dev/da0a > =A0? =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0List valid disk boot devices > =A0 =A0 =A0 =A0 Abort manual input > > mountroot> > > -- > Alexandr Rybalko > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > Congratulations! Head of network resource management group Nikita Olenets zeon@zeon.kiev.ua ZEON-UANIC ZEON-RIPE From owner-freebsd-mips@FreeBSD.ORG Thu Apr 16 15:13:20 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE57110657B2; Thu, 16 Apr 2009 15:13:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDFE8FC16; Thu, 16 Apr 2009 15:13:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n3GFDILX088548; Thu, 16 Apr 2009 11:13:18 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n3GFDIqm041331; Thu, 16 Apr 2009 11:13:18 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1E4317302F; Thu, 16 Apr 2009 11:13:18 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090416151318.1E4317302F@freebsd-current.sentex.ca> Date: Thu, 16 Apr 2009 11:13:18 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 15:13:22 -0000 TB --- 2009-04-16 14:34:45 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-04-16 14:34:45 - starting HEAD tinderbox run for mips/mips TB --- 2009-04-16 14:34:45 - cleaning the object tree TB --- 2009-04-16 14:35:08 - cvsupping the source tree TB --- 2009-04-16 14:35:08 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/mips/mips/supfile TB --- 2009-04-16 14:35:16 - building world TB --- 2009-04-16 14:35:16 - MAKEOBJDIRPREFIX=/obj TB --- 2009-04-16 14:35:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-04-16 14:35:16 - TARGET=mips TB --- 2009-04-16 14:35:16 - TARGET_ARCH=mips TB --- 2009-04-16 14:35:16 - TZ=UTC TB --- 2009-04-16 14:35:16 - __MAKE_CONF=/dev/null TB --- 2009-04-16 14:35:16 - cd /src TB --- 2009-04-16 14:35:16 - /usr/bin/make -B buildworld >>> World build started on Thu Apr 16 14:35:18 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies [...] mkdep -f .depend -a /src/usr.sbin/rarpd/rarpd.c echo rarpd: /obj/mips/src/tmp/usr/lib/libc.a >> .depend ===> usr.sbin/raycontrol (depend) rm -f .depend mkdep -f .depend -a -I/src/usr.sbin/raycontrol/../../sys /src/usr.sbin/raycontrol/raycontrol.c /src/usr.sbin/raycontrol/raycontrol.c:47:31: error: dev/ray/if_rayreg.h: No such file or directory /src/usr.sbin/raycontrol/raycontrol.c:48:31: error: dev/ray/if_raymib.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /src/usr.sbin/raycontrol. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-04-16 15:13:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-04-16 15:13:18 - ERROR: failed to build world TB --- 2009-04-16 15:13:18 - 1717.05 user 225.09 system 2312.82 real http://tinderbox.des.no/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Apr 16 15:45:41 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99134106564A for ; Thu, 16 Apr 2009 15:45:41 +0000 (UTC) (envelope-from zeon@zeon.kiev.ua) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 126CA8FC24 for ; Thu, 16 Apr 2009 15:45:40 +0000 (UTC) (envelope-from zeon@zeon.kiev.ua) Received: by ewy19 with SMTP id 19so462086ewy.43 for ; Thu, 16 Apr 2009 08:45:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.15.85 with SMTP id e63mr281535wee.199.1239896740062; Thu, 16 Apr 2009 08:45:40 -0700 (PDT) In-Reply-To: <20090415161208.ea8c0f3d.ray@dlink.ua> References: <20090415161208.ea8c0f3d.ray@dlink.ua> Date: Thu, 16 Apr 2009 18:45:40 +0300 Message-ID: <9d7810dd0904160845i791de4d4q424804e8e50e2a5e@mail.gmail.com> From: Nikita Olenets To: Alexandr Rybalko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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, 16 Apr 2009 15:45:42 -0000 Hello! Alexandr, can you tell about step-by-step process of installation FreeBSD on this device? Tnaks. On Wed, Apr 15, 2009 at 4:12 PM, Alexandr Rybalko wrote: > Good time of day! > > Good news! > > Successful boot at D-Link DIR-320 with MIPS32 CPU BCM5354 > > > CFE> boot -tftp -raw -addr=3D0x807963c0 -max=3D0x770000 > CFE> 192.168.0.90:kernel.tramp.bin > cmd =3D boot -tftp -raw -addr=3D0x807963c0 -max=3D0x770000 > 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp Dev:eth0 > File:192.168.0.90:kernel.tramp.bin Options:(null) Loading: entry > point=3D807963C0 ..... 3010096 bytes read > Entry at 0x807963c0 > Closing network. > Starting program at 0x807963c0 > entry: mips_init() > =A0picache_stride =A0 =A0=3D 4096 > =A0picache_loopcount =3D 4 > =A0pdcache_stride =A0 =A0=3D 4096 > =A0pdcache_loopcount =3D 4 > cpu0: Broadcom processor v41.144 > =A0MMU: Standard TLB, 32 entries > =A0L1 i-cache: 4 ways of 256 sets, 16 bytes per line > =A0L1 d-cache: 2 ways of 512 sets, 16 bytes per line > Va=3D0xc0000000 Ve=3Dffffc000 > init kernel_segmap va >> =3D 768 nkpt:120 > avail_start:0x2ddd60 avail_end:0x2000000 > KDB: debugger backends: ddb > KDB: current backend: ddb > hz=3D100 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 #4 r191051M: Wed Apr 15 15:49:10 EEST > 2009 > root@terran.mk.farlep.net:/usr/home/ray/Projects/MIPS/FreeBSD/obj/mips/us= r/home/ray/Projects/MIPS/FreeBSD/src/sys/BCM4704 > real memory =A0=3D 32763904 (31996K bytes) Physical memory chunk(s): > 0x002de000 - 0x002fffff, 139264 bytes (34 pages) > 0x003c1000 - 0x01f3dfff, 28823552 bytes (7037 pages) > avail memory =3D 28614656 (27MB) > mem: > nfslock: pseudo-device > null: > nexus0: > clock0: on nexus0 > Establish HARD IRQ 5: filt 0x801dc574 handler 0 arg 0 > clock0: [FILTER] > siba0: start 18000000 len 00001000 > siba0: idlo =3D 600422dd > siba0: idhi =3D 42439004 > siba0: =A0chipcore id =3D 00000800 > siba0: ccid =3D 07025354, cc_id =3D 5354, cc_rev =3D 0002 > siba0: 0 cores detected. > nexus_alloc_resource: could not reserve resource > siba0: unable to allocate entire aperture > Device configuration finished. > Timecounter "MIPS32" frequency 200000000 Hz quality 800 > Timecounters tick every 10.000 msec > > Manual root filesystem specification: > =A0: =A0Mount using filesystem > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 eg. ufs:/dev/da0a > =A0? =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0List valid disk boot devices > =A0 =A0 =A0 =A0 Abort manual input > > mountroot> > > -- > Alexandr Rybalko > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > --=20 Head of network resource management group Nikita Olenets zeon@zeon.kiev.ua ZEON-UANIC ZEON-RIPE From owner-freebsd-mips@FreeBSD.ORG Fri Apr 17 09:36:16 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DA381065673 for ; Fri, 17 Apr 2009 09:36:16 +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 8B5D78FC20 for ; Fri, 17 Apr 2009 09:36:15 +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 1LujXx-0007tI-Gt; Fri, 17 Apr 2009 11:35:41 +0300 Date: Fri, 17 Apr 2009 11:51:52 +0300 From: Alexandr Rybalko To: Nikita Olenets Message-Id: <20090417115152.edd75a22.ray@dlink.ua> In-Reply-To: <9d7810dd0904160845i791de4d4q424804e8e50e2a5e@mail.gmail.com> References: <20090415161208.ea8c0f3d.ray@dlink.ua> <9d7810dd0904160845i791de4d4q424804e8e50e2a5e@mail.gmail.com> 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=UTF-8 Content-Transfer-Encoding: 8bit Cc: 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: Fri, 17 Apr 2009 09:36:18 -0000 On Thu, 16 Apr 2009 18:45:40 +0300 Nikita Olenets wrote: >> Hello! >> Alexandr, can you tell about step-by-step process of installation >> FreeBSD on this device? >> Tnaks. Good day! No installation, I`d just compile BCM47xx kernel, and start it in CFE bootloader. We need to do drivers for this chip and this board. P.S. [ru] Еще не время радоваться. >> >> On Wed, Apr 15, 2009 at 4:12 PM, Alexandr Rybalko >> wrote: >> > Good time of day! >> > >> > Good news! >> > >> > Successful boot at D-Link DIR-320 with MIPS32 CPU BCM5354 >> > >> > >> > CFE> boot -tftp -raw -addr=0x807963c0 -max=0x770000 >> > CFE> 192.168.0.90:kernel.tramp.bin >> > cmd = boot -tftp -raw -addr=0x807963c0 -max=0x770000 >> > 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp Dev:eth0 >> > File:192.168.0.90:kernel.tramp.bin Options:(null) Loading: entry >> > point=807963C0 ..... 3010096 bytes read >> > Entry at 0x807963c0 >> > Closing network. >> > 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:0x2ddd60 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 #4 r191051M: Wed >> > Apr 15 15:49:10 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): >> > 0x002de000 - 0x002fffff, 139264 bytes (34 pages) >> > 0x003c1000 - 0x01f3dfff, 28823552 bytes (7037 pages) >> > avail memory = 28614656 (27MB) >> > mem: >> > nfslock: pseudo-device >> > null: >> > nexus0: >> > clock0: on nexus0 >> > Establish HARD IRQ 5: filt 0x801dc574 handler 0 arg 0 >> > clock0: [FILTER] >> > siba0: start 18000000 len 00001000 >> > siba0: idlo = 600422dd >> > siba0: idhi = 42439004 >> > siba0:  chipcore id = 00000800 >> > siba0: ccid = 07025354, cc_id = 5354, cc_rev = 0002 >> > siba0: 0 cores detected. >> > nexus_alloc_resource: could not reserve resource >> > siba0: unable to allocate entire aperture >> > Device configuration finished. >> > Timecounter "MIPS32" frequency 200000000 Hz quality 800 >> > Timecounters tick every 10.000 msec >> > >> > Manual root filesystem specification: >> >  :  Mount using filesystem >> >                       eg. ufs:/dev/da0a >> >  ?                  List valid disk boot devices >> >         Abort manual input >> > >> > mountroot> >> > >> > -- >> > Alexandr Rybalko >> > _______________________________________________ >> > freebsd-mips@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> > To unsubscribe, send any mail to >> > "freebsd-mips-unsubscribe@freebsd.org" >> > >> >> >> >> -- >> Head of network resource management group >> Nikita Olenets >> >> zeon@zeon.kiev.ua >> ZEON-UANIC >> ZEON-RIPE -- Рыбалко Александр Консультант D-Link Украина From owner-freebsd-mips@FreeBSD.ORG Fri Apr 17 14:46:37 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 5F8A51065985 for ; Fri, 17 Apr 2009 14:46:37 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id BA4898FC29 for ; Fri, 17 Apr 2009 14:46:35 +0000 (UTC) (envelope-from ray@ddteam.net) Received: by fxm11 with SMTP id 11so946360fxm.43 for ; Fri, 17 Apr 2009 07:46:35 -0700 (PDT) Received: by 10.204.123.136 with SMTP id p8mr2386737bkr.21.1239979594861; Fri, 17 Apr 2009 07:46:34 -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 b17sm3388713fka.24.2009.04.17.07.46.32 (version=SSLv3 cipher=RC4-MD5); Fri, 17 Apr 2009 07:46:33 -0700 (PDT) Sender: Alex RAY Date: Fri, 17 Apr 2009 17:46:31 +0300 From: Alexandr Rybalko To: Alexandr Rybalko Message-Id: <20090417174631.536e38b4.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: Fri, 17 Apr 2009 14:46:40 -0000 Latest news. I`m get all memory regions from SSB. Try to start OHCI and EHCI on region defined by Broadcom. But always in trap :( CFE> boot -tftp -raw -addr=0x807963c0 -max=0x770000 192.168.0.90:kernel.tramp.bin cmd = boot -tftp -raw -addr=0x807963c0 -max=0x770000 192.168.0.90:kernel.tramp.bin Loader:raw Filesys:tftp Dev:eth0 File:192.168.0.90:kernel.tramp.bin Options:(null) Loading: entry point=807963C0 ...... 3250901 bytes read Entry at 0x807963c0 Closing network. 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 #38 r191051M: Fri Apr 17 17:26:12 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 = 28012544 (26MB) mem: null: nfslock: pseudo-device nexus0: nexus_hinted_child: discovered hinted child siba0 at maddr 0x18000000 (65536) clock0: on nexus0 Establish HARD IRQ 5: filt 0x801f9154 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: siba_read_4 siba0: siba_dev_match(4243, 0900, 04) siba0: corid=0800 base0 18000000 size 1000 siba0: corid=0800 base1 1fc00000 size 400000 siba0: corid=0800 base2 1c000000 size 2000000 siba0: corid=0800 base3 1a000000 size 2000000 siba0: siba_read_4 siba0: siba_dev_match(4243, 0806, 09) siba0: corid=0806 regions count 1 siba0: corid=0806 base0 18001000 size 1000 siba0: siba_read_4 siba0: siba_dev_match(4243, 0816, 08) siba0: corid=0816 regions count 1 siba0: corid=0816 base0 18002000 size 1000 siba0: siba_read_4 siba0: siba_dev_match(4243, 0819, 02) siba0: corid=0819 regions count 2 siba0: corid=0819 func=1 base 18003000 size 0200 siba0: corid=0819 func=2 base 18003800 size 0100 siba0: siba_read_4 siba0: siba_dev_match(4243, 080f, 04) siba0: corid=080f regions count 4 siba0: corid=080f base0 18004000 size 1000 siba0: corid=080f base1 00000000 size 8000000 siba0: corid=080f base2 10000000 size 8000000 siba0: corid=080f base3 80000000 size 20000000 siba0: siba_read_4 siba0: siba_dev_match(4243, 0812, 0d) siba0: corid=0812 regions count 1 siba0: corid=0812 base0 18005000 size 1000 siba0: siba_read_4 siba0: siba_dev_match(4243, 081c, 02) siba0: corid=081c regions count 1 siba0: corid=081c base0 18006000 size 1000 siba_cc0: at mem 0x18000000-0x18000fff irq 0 on siba0 siba_alloc_resource: proxying request to parent Establish HARD IRQ 0: filt 0 handler 0x80206b50 arg 0 siba_cc0: [GIANT-LOCKED] siba_cc0: [ITHREAD] siba0: at device 1 (no driver attached) siba_mips0: at mem 0x18002000-0x18002fff on siba0 ehci0: at mem 0x18003000-0x18003fff irq 3 on siba0 siba_alloc_resource: proxying request to parent Establish HARD IRQ 3: filt 0 handler 0x8003f194 arg 0xc084f000 ehci0: [MPSAFE] ehci0: [ITHREAD] Trap cause = 7 (bus error (load or store) - kernel mode) [thread pid 0 tid 100000 ] Stopped at ehci_init+0xa4: lbu v0,0(v1) -- Alexandr Rybalko