From owner-freebsd-mips@FreeBSD.ORG Fri Mar 30 23:13:37 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E9CF16A402; Fri, 30 Mar 2007 23:13:37 +0000 (UTC) (envelope-from gonzo@univ.kiev.ua) Received: from bugor.portaone.com (bugor.portaone.com [65.61.203.147]) by mx1.freebsd.org (Postfix) with ESMTP id 51FF013C44B; Fri, 30 Mar 2007 23:13:37 +0000 (UTC) (envelope-from gonzo@univ.kiev.ua) Received: from mail.pbxpress.com ([65.61.203.142] helo=leaf.pbxpress.com) by bugor.portaone.com (8.11.3/8.11.3) with ESMTP (TLSv1:AES256-SHA:256)id 1HXQ7I-000Jsm-Ec; Fri, 30 Mar 2007 15:02:44 -0800 Received: from [192.168.1.100] (82.193.105.77.ipnet.kiev.ua [82.193.105.77]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id l2UN3idV009183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Mar 2007 15:04:47 -0800 (PST) (envelope-from gonzo@univ.kiev.ua) Message-ID: <460D96D0.8010700@univ.kiev.ua> Date: Sat, 31 Mar 2007 02:01:36 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 1.5.0.9 (X11/20070115) MIME-Version: 1.0 To: freebsd-mips@freebsd.org, freebsd-embedded@freebsd.org Content-Type: multipart/mixed; boundary="------------000905090103090209090803" X-Spam-Status: No, recieved from customer server pbxpress.com or rt.portaone.com Cc: Subject: FreeBSD/MIPS project status update 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, 30 Mar 2007 23:13:37 -0000 This is a multi-part message in MIME format. --------------000905090103090209090803 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On behalf of FreeBSD/MIPS team I'm proud to announce that project has reached single-user stage. On the moment FreeBSD/MIPS runs only in malta board emulation mode of GXemul though adm5120 support is on it's way and people with real MIPS-based hardware can start playing with latest repo snapshot bringing FreeBSD on it. Many thanks to all who contributed with their time, efforts and experience. Especially to #bsdmips crowd for patience to newbies :) Attached mips.txt is a "recording" of sample GXemul session. Current p4 repo snapshot: http://kanar.ci0.org/mips2.tar.gz Check http://wiki.freebsd.org/FreeBSD/mips for sample build script P4 URL: http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/mips2/... -- gonzo --------------000905090103090209090803 Content-Type: text/plain; name="mips.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mips.txt" GXemul 0.4.1 Copyright (C) 2003-2006 Anders Gavare Read the source code and/or documentation for other Copyright messages. Simple setup... net: simulating 10.0.0.0/8 (max outgoing: TCP=100, UDP=100) simulated gateway: 10.0.0.254 (60:50:40:30:20:10) using nameserver 192.168.0.1 machine "default": memory: 64 MB cpu0: 4Kc (I+D = 16+16 KB) machine: MALTA (evbmips, little endian) bootstring: kernel diskimage: /usr/home/gonzo/FreeBSD/mips.img IDE DISK id 0, read/write, 512 MB (1048576 sectors) loading /tftpboot/kernel starting cpu0 at 0x80127420 (gp=0x8033e180) ------------------------------------------------------------------------------- GXemul> c entry: mips_init() picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 mips_cache_ops.mco_pdcache_wbinv_all == 0x802dcdb0 Exception vector at 80000000 almost out of space Kernel page table maps 16384 4K pages and is 511K KDB: debugger backends: ddb KDB: current backend: ddb cp: (null) cannot determine clock frequency, defaulting to 10MHz Copyright (c) 1992-2006 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 7.0-CURRENT #65: Fri Mar 30 19:03:48 EEST 2007 gonzo@jeeves.bluezbox.com:/home/gonzo/FreeBSD/mips.build/mips/home/gonzo/FreeBSD/p4/mips2/src/sys/MALTA cpu0: MIPS Technologies processor v1.128 MMU: Standard TLB, 16 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 clock0: on motherboard clock0: [FAST] gt0: on motherboard pcib0: on gt0 [ 8259: TODO: Level triggered (MCA bus) ] [ 8259: WARNING: Bit 2 set ] [ 8259: TODO: Level triggered (MCA bus) ] [ 8259: WARNING: Bit 2 set ] pcib0: [FAST] pci0: on pcib0 uart0: <8250 or 16450 or compatible> on obio0 uart0: [FAST] uart0: console (115200,n,8,1) pci0: at device 9.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376 at device 9.1 on pci0 ata0: on atapci0 ata0: WARNING - DMA allocation failed, disabling DMA ata1: on atapci0 ata1: WARNING - DMA allocation failed, disabling DMA Timecounter "MIPS32" frequency 10000000 Hz quality 800 Timecounters tick every 10.000 msec ad0: 514MB at ata0-master PIO4 Trying to mount root from ufs:ad0s1a warning: no time-of-day clock registered, system time will not be set accurately Enter full pathname of shell or RETURN for /bin/sh: # mount -o rw / # hostname mips.bluezbox.com # uname -a FreeBSD mips.bluezbox.com 7.0-CURRENT FreeBSD 7.0-CURRENT #65: Fri Mar 30 19:03:48 EEST 2007 gonzo@jeeves.bluezbox.com:/home/gonzo/FreeBSD/mips.build/mips/home/gonzo/FreeBSD/p4/mips2/src/sys/MALTA mips # cd /root # ls .cshrc .profile args.c hello.c .login Makefile hello signal.c # cat Makefile CFLAGS=-msoft-float -G0 -mabicalls -EL -Wl,-EL -static -march=mips32 CC=cc all: hello signal args hello: hello.c $(CC) $(CFLAGS) -o hello hello.c signal: signal.c $(CC) $(CFLAGS) -o signal signal.c args: args.c $(CC) $(CFLAGS) -o args args.c clean: rm -f signal hello args # cat hello.c #include int main(int argc, char * argv[]) { printf("Hello world\n"); } # cat args.c #include int main(int argc, char * argv[]) { int i ; printf("Arguments: %d\n", argc); for(i = 0; i < argc; i++) { printf("#%d == '%s'\n", i, argv[i]); } } # cat signal.c #include #include void sig_int(int signum) { printf("Interrupted!\n"); exit(0); } void sig_general(int signum) { printf("Signal: %d!\n", signum); } int main(int argc, char * argv[]) { int i = 0; signal(SIGINT, sig_int); signal(SIGUSR1, sig_general); signal(SIGUSR2, sig_general); while(i < 10) { sleep(1); if(i % 2) kill(getpid(), SIGUSR1); else kill(getpid(), SIGUSR2); printf(">> %d\n", i++); } kill(getpid(), SIGINT); i = 0; while(i < 10) { printf(">> %d\n", i++); sleep(1); } } # make cc -msoft-float -G0 -mabicalls -EL -Wl,-EL -static -march=mips32 -o signal signal.c cc -msoft-float -G0 -mabicalls -EL -Wl,-EL -static -march=mips32 -o args args.c # make clean rm -f signal hello args # make cc -msoft-float -G0 -mabicalls -EL -Wl,-EL -static -march=mips32 -o hello hello.c cc -msoft-float -G0 -mabicalls -EL -Wl,-EL -static -march=mips32 -o signal signal.c cc -msoft-float -G0 -mabicalls -EL -Wl,-EL -static -march=mips32 -o args args.c # ls -la total 2340 drwxr-xr-x 2 root wheel 512 Mar 30 19:41 . drwxr-xr-x 18 root wheel 512 Mar 27 13:27 .. -rw-r--r-- 2 root wheel 801 Mar 27 13:27 .cshrc -rw-r--r-- 1 root wheel 293 Mar 27 13:27 .login -rw-r--r-- 2 root wheel 251 Mar 27 13:27 .profile -rw-r--r-- 1 root wheel 283 Mar 30 16:09 Makefile -rwxr-xr-x 1 root wheel 367585 Mar 30 19:40 args -rw-r--r-- 1 root wheel 173 Mar 30 19:14 args.c -rwxr-xr-x 1 root wheel 367586 Mar 30 19:40 hello -rw-r--r-- 1 root wheel 91 Mar 27 18:17 hello.c -rwxr-xr-x 1 root wheel 372613 Mar 30 19:40 signal -rw-r--r-- 1 root wheel 552 Mar 27 17:42 signal.c # file hello args signal hello: ELF 32-bit LSB executable, MIPS, version 1 (FreeBSD), for FreeBSD 7.0 (700018), statically linked, for FreeBSD 7.0 (700018), not stripped args: ELF 32-bit LSB executable, MIPS, version 1 (FreeBSD), for FreeBSD 7.0 (700018), statically linked, for FreeBSD 7.0 (700018), not stripped signal: ELF 32-bit LSB executable, MIPS, version 1 (FreeBSD), for FreeBSD 7.0 (700018), statically linked, for FreeBSD 7.0 (700018), not stripped # ./hello Hello world # ./args this is a test Arguments: 5 #0 == './args' #1 == 'this' #2 == 'is' #3 == 'a' #4 == 'test' # ./signal Signal: 31! >> 0 Signal: 30! >> 1 Signal: 31! >> 2 Signal: 30! >> 3 Signal: 31! >> 4 Signal: 30! >> 5 Signal: 31! >> 6 Signal: 30! >> 7 Signal: 31! >> 8 Signal: 30! >> 9 Interrupted! # who am i who: /var/run/utmp: No such file or directory # id uid=0(root) gid=0(wheel) groups=0(wheel) # ifconfig -a lo0: flags=8008 mtu 16384 # ifconfig lo0 127.0.0.1 # ifconfig -a lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # ping -c 10 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=2.470 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=1.646 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=1.645 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=1.643 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=1.645 ms 64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=1.641 ms 64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=1.646 ms 64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=1.643 ms 64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=1.643 ms 64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=1.645 ms --- 127.0.0.1 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.641/1.727/2.470/0.248 ms # halt -p Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 --------------000905090103090209090803-- From owner-freebsd-mips@FreeBSD.ORG Fri Mar 30 23:58:54 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84ED116A400; Fri, 30 Mar 2007 23:58:54 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.178]) by mx1.freebsd.org (Postfix) with ESMTP id 526B913C45A; Fri, 30 Mar 2007 23:58:53 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/smtpout08/MantshX 4.0) with ESMTP id l2UNe6be009903; Fri, 30 Mar 2007 16:40:06 -0700 (PDT) Received: from [172.24.104.91] (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id l2UNe00s008382 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 30 Mar 2007 16:40:05 -0700 (PDT) In-Reply-To: <460D96D0.8010700@univ.kiev.ua> References: <460D96D0.8010700@univ.kiev.ua> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0C83CF10-DC37-4128-83B0-427E324AAE69@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Fri, 30 Mar 2007 16:39:11 -0700 To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: freebsd-embedded@freebsd.org, freebsd-mips@freebsd.org Subject: Re: FreeBSD/MIPS project status update 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, 30 Mar 2007 23:58:54 -0000 On Mar 30, 2007, at 4:01 PM, Oleksandr Tymoshenko wrote: > On behalf of FreeBSD/MIPS team I'm proud to announce that > project has reached single-user stage. Congratulations! That's a big milestone to reach. -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-mips@FreeBSD.ORG Sat Mar 31 06:27:05 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AA0316A401; Sat, 31 Mar 2007 06:27:05 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.freebsd.org (Postfix) with ESMTP id C5FDE13C44B; Sat, 31 Mar 2007 06:27:04 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from localhost (ardelean@localhost) by servww6.ww.uni-erlangen.de (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id l2V6COv30592; Sat, 31 Mar 2007 08:12:24 +0200 Date: Sat, 31 Mar 2007 08:12:24 +0200 (CEST) From: Gheorghe Ardelean To: Oleksandr Tymoshenko In-Reply-To: <460D96D0.8010700@univ.kiev.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-embedded@freebsd.org, freebsd-mips@freebsd.org Subject: Re: FreeBSD/MIPS project status update 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: Sat, 31 Mar 2007 06:27:05 -0000 > On behalf of FreeBSD/MIPS team I'm proud to announce that > project has reached single-user stage. On the moment FreeBSD/MIPS Congratulations! That's really good news! Regards, Gheorghe Ardelean. From owner-freebsd-mips@FreeBSD.ORG Sat Mar 31 12:43:36 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B47EE16A402 for ; Sat, 31 Mar 2007 12:43:36 +0000 (UTC) (envelope-from herakles@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 0A99713C465 for ; Sat, 31 Mar 2007 12:43:35 +0000 (UTC) (envelope-from herakles@gmx.net) Received: (qmail 342 invoked by uid 0); 31 Mar 2007 12:16:55 -0000 Received: from 80.143.71.182 by www009.gmx.net with HTTP; Sat, 31 Mar 2007 14:16:55 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" Date: Sat, 31 Mar 2007 14:16:55 +0200 From: "Dennis Borgmann" In-Reply-To: Message-ID: <20070331121655.209400@gmx.net> MIME-Version: 1.0 References: To: Gheorghe Ardelean , gonzo@univ.kiev.ua X-Authenticated: #309994 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+ikh0Gwvei2k6fsUbPvd6zyT69aQCaMuAOy9WpyQ cAapWxm2LK5V1rinKaEl2lWjdbBgsgeoT8Tw== Content-Transfer-Encoding: 7bit X-GMX-UID: UiBnKb5pMydhZr3vbmplirBjaGRhZtqo Cc: freebsd-embedded@freebsd.org, freebsd-mips@freebsd.org Subject: Re: FreeBSD/MIPS project status update 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: Sat, 31 Mar 2007 12:43:36 -0000 -------- Original-Nachricht -------- Datum: Sat, 31 Mar 2007 08:12:24 +0200 (CEST) Von: Gheorghe Ardelean An: Oleksandr Tymoshenko CC: freebsd-embedded@freebsd.org, freebsd-mips@freebsd.org Betreff: Re: FreeBSD/MIPS project status update > > > On behalf of FreeBSD/MIPS team I'm proud to announce that > > project has reached single-user stage. On the moment FreeBSD/MIPS > Congratulations from my side as well! Very, very well done! Thanks to all those, who worked on this! Go on with the good work! Dennis From owner-freebsd-mips@FreeBSD.ORG Sat Mar 31 19:54:01 2007 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 402B116A402 for ; Sat, 31 Mar 2007 19:54:01 +0000 (UTC) (envelope-from rnsanchez@wait4.org) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id 2DEB613C45B for ; Sat, 31 Mar 2007 19:54:01 +0000 (UTC) (envelope-from rnsanchez@wait4.org) Received: from spunkymail-a1.g.dreamhost.com (sd-green-bigip-66.dreamhost.com [208.97.132.66]) by sumo.dreamhost.com (Postfix) with ESMTP id 6F3071B567E for ; Sat, 31 Mar 2007 12:26:14 -0700 (PDT) Received: from sauron.lan.box (unknown [200.180.179.22]) by spunkymail-a1.g.dreamhost.com (Postfix) with ESMTP id E604DFFA99 for ; Sat, 31 Mar 2007 12:26:12 -0700 (PDT) Date: Sat, 31 Mar 2007 16:26:07 -0300 From: Ricardo Nabinger Sanchez To: freebsd-mips@freebsd.org Message-Id: <20070331162607.cd5f39ef.rnsanchez@wait4.org> In-Reply-To: <460D96D0.8010700@univ.kiev.ua> References: <460D96D0.8010700@univ.kiev.ua> Organization: SYS_WAIT4 X-Mailer: Sylpheed 2.4.0beta6 (GTK+ 2.10.9; i386-unknown-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD/MIPS project status update 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: Sat, 31 Mar 2007 19:54:01 -0000 On Sat, 31 Mar 2007 02:01:36 +0300 Oleksandr Tymoshenko wrote: > On behalf of FreeBSD/MIPS team I'm proud to announce that > project has reached single-user stage. On the moment FreeBSD/MIPS > runs only in malta board emulation mode of GXemul though adm5120 > support is on it's way and people with real MIPS-based hardware > can start playing with latest repo snapshot bringing FreeBSD on it. WOW! Congratulations! :D Regards. -- Ricardo Nabinger Sanchez Powered by FreeBSD "Left to themselves, things tend to go from bad to worse."