From owner-freebsd-mips@FreeBSD.ORG Mon May 19 17:42:47 2008 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 265901065672 for ; Mon, 19 May 2008 17:42:47 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.242]) by mx1.freebsd.org (Postfix) with ESMTP id C98978FC1A for ; Mon, 19 May 2008 17:42:46 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by hs-out-0708.google.com with SMTP id m63so1911489hsc.11 for ; Mon, 19 May 2008 10:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=GVRgSW5i9Cc4WhLrOhiTXg1XE4NjWlNVyxFKvrstYIY=; b=WSCWrBSMOa9teEl2+FDQ9ohPTovVLhmDybZA0q2koH3AmkxSCTU9I/HEU3RQE75TXbrjWrdnZGW14WJQtak3I6EVT6uLpbBrC6J92CjtS3hyJHvdiswZNqLxcCGj91CNkVdhxwjBZXGXrpdJldC4rWVCX20eS/Qm2Ee9qormYog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=bFk3EffMNzcozqJ6E99zJxxIMNIvAut19p/jYva9fiWuOK0ggc16jq0//2/mamdVewEePt8iRNp/ioIDRpwZ8FcWnpC/uFazLyNqOHorUccNvSukilxlT5dbfAjqPRHIChgFdwaBHlH82yI8GWdKl0W823bFDSiTOV9QNeZ1kBU= Received: by 10.90.99.6 with SMTP id w6mr5461337agb.9.1211217509768; Mon, 19 May 2008 10:18:29 -0700 (PDT) Received: by 10.90.117.17 with HTTP; Mon, 19 May 2008 10:18:29 -0700 (PDT) Message-ID: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> Date: Mon, 19 May 2008 10:18:29 -0700 From: "Jerry Toung" To: freebsd-mips@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd on mips64 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, 19 May 2008 17:42:47 -0000 Hello List, The company I work for is very interested in moving from FreeBSD/x86 to MIPS. To start, we are planning on getting an evaluation board from either RAZA microelectronics with an XLR processor (MIPS64) or from Cavium with an OCTEON (MIPS64). I understand that the FreeBSD/mips port is still under development. Because we are motivated, I would like to join the project and help as much as I can. I went to http://wiki.freebsd.org/FreeBSD/mips and got the snapshot from August 10, 2007 and also installed gxemul (GXemul 0.4.2) from the ports of my 6.2 machine. I wasn't able to retrieve gonzo's patches at http://gonzo.kiev.ua/mips/freebsd-gxemul-0.4.1.patch as per src/EMULATION 1- Please look at the pasted output at the bottom of the email and advise on what's wrong so I can boot to single user mode or to where ever you guys are now. 2- Based on my requirements above (xlr or octeon), could you advise on where I should start/what I will need for this port so I can get up to speed and contribute? (i.e docs, books, current source code, etc) 3- what is the current road map? what's on the TODO list as of now. I am sure I'll have more questions as we move forward. Thank you for listening. Jerry jtoung : gxemul -Vv -e malta -C 4kc -d /dev/null /usr/home/jtoung/FreeBSD/mips.build/mips/usr/home/jtoung/src/sys/MALTA/kernel GXemul 0.4.2 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 10.10.10.10 machine "default": memory: 64 MB cpu0: 4Kc (I+D = 16+16 KB) machine: MALTA (evbmips, little endian) bootstring: kernel diskimage: /dev/null IDE DISK id 0, read/write, 0 MB (0 sectors) loading /usr/home/jtoung/FreeBSD/mips.build/mips/usr/home/jtoung/src/sys/MALTA/kernel starting cpu0 at 0x801292f0 (gp=0x80355140) ------------------------------------------------------------------------------- GXemul> c [ ns16550 (tty0): read from iir: 0x01 ] [ ns16550 (tty0): read from mcr: 0x00 ] [ ns16550 (tty0): write to lctl: 0x83 (Divisor Latch access, setting mode 8N1) ] [ ns16550 (tty0): speed set to 115200 bps ] [ ns16550 (tty0): write to lctl: 0x03 (setting mode 8N1) ] [ ns16550 (tty0): write to fifo control: 0x00 ] [ ns16550 (tty0): write to mcr: 0x0b ] [ ns16550 (tty0): read from iir: 0x03 ] entry: mips_init() picache_stride = 4096 picache_loopcount = 4 pdcache_stride = 4096 pdcache_loopcount = 4 Installing exception vector: [0x80000000..0x80000080] <- [0x802efc18..0x802efc94] Exception vector at 80000000 almost out of space Installing exception vector: [0x80000080..0x80000100] <- [0x802efd08..0x802efd20] Installing exception vector: [0x80000100..0x80000180] <- [0x802efb3c..0x802efb54] Installing exception vector: [0x80000200..0x80000280] <- [0x802efa60..0x802efa98] Installing exception vector: [0x80000180..0x80000200] <- [0x802efa60..0x802efa98] Physical memory chunk(s): 0x35e2b0 - 0xffffff, 13245776 bytes (3233 pages) Kernel page table maps 4096 4K pages and is 511K [ yamon_emul(): syscon: TODO ] MIPS32 clock: 100000000 Hz Copyright (c) 1992-2007 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 7.0-CURRENT #0: Fri May 16 15:32:46 PDT 2008 jtoung@jtoung-bsd. :/usr/home/jtoung/FreeBSD/mips.build/mips/usr/home/jtoung/src/sys/MALTA [ exception TLBS vaddr=0xe0000000 pc=0x802f478c ] [ exception TLBS vaddr=0xe0002000 pc=0x802f478c ] [ exception TLBS vaddr=0xe0004000 pc=0x802f478c ] [ exception TLBS vaddr=0xe0006000 pc=0x802f478c ] [ exception TLBS vaddr=0xe0008000 pc=0x802f478c ] ............................................................................................................... [ exception TLBS vaddr=0xe0000010 pc=0x802cd53c ] [ exception TLBS vaddr=0xe0004010 pc=0x802cd53c ] [ exception TLBS vaddr=0xe0006010 pc=0x802cd53c ] [ exception TLBS vaddr=0xe000e010 pc=0x802cd53c ] ....................................................................................................................... [ exception TLBS vaddr=0xe006c000 pc=0x802f478c ] [ exception TLBS vaddr=0xe003103c pc=0x802e1600 ] [ exception TLBS vaddr=0xe003202c pc=0x802e1600 ] [ exception TLBS vaddr=0xe003400c pc=0x802e1600 ] From owner-freebsd-mips@FreeBSD.ORG Mon May 19 20:29:17 2008 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 049671065678 for ; Mon, 19 May 2008 20:29:17 +0000 (UTC) (envelope-from nicolas.belan@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id B71D18FC17 for ; Mon, 19 May 2008 20:29:16 +0000 (UTC) (envelope-from nicolas.belan@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so2075618pyb.10 for ; Mon, 19 May 2008 13:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=EP6MIBtLXCTEf3dMOifTWmFnKVlRzDL57MNLCWpGDQs=; b=etTyobbDfCT+C9J4xX4PJzE7fXHoRM1jFbid0Kz2AyQ4UK9bkaIrB0S49A3maV37o1pKK6l/HSJBowm3pdgNlQtkhXksMKGGlEbZBME/b/ita7SPHuflmXKTDYD+Zm5/pjYWVEKOcBN8zZAJywstpjsfE6h9GNI2MQUmC1uP8m8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HByPlciXvLCQYRUKtGc2EqCBfDhE26Yc8PYzqh6rPvyCpuOt4aBF5HP0zUK5UvYIQgBPD9VidJDuFuuXhYliymOfaFM0SNekVHcwjgefN7W+J1/grof07ybeFvfmVeN2epjX+KIEM/NF9PRs90CvKGko8tldDgYQXdC0LcbO7DA= Received: by 10.141.43.5 with SMTP id v5mr3897517rvj.216.1211227304656; Mon, 19 May 2008 13:01:44 -0700 (PDT) Received: by 10.141.86.3 with HTTP; Mon, 19 May 2008 13:01:44 -0700 (PDT) Message-ID: <1fb9e9d00805191301n351949d6j6c042089a6bff595@mail.gmail.com> Date: Mon, 19 May 2008 22:01:44 +0200 From: "=?ISO-8859-1?Q?Nicolas_B=E9lan?=" To: freebsd-mips@freebsd.org In-Reply-To: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> Subject: Re: freebsd on mips64 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, 19 May 2008 20:29:17 -0000 Hello all ! I am also very interested to use FreeBSD o my routerboard 532, which is a MIPS 4Kc 32 bits little endian. I have some experience on cavium boards, and it is a very good processor ! (we are using them on Linux now ...) But, be carefull that you are only able to unleash all the octeon power using "cavium simple executive" software (don't worry, using SMP linux with cavium SDK, we are able to reach wirespeed on UDP throughput very quickly) For the moment, I have seen some mips commit on CURRENT, but it seems that cross compiling and "standard" makefile procedure is not commited yet. If anyone have good pointers for that, I may be nice ! I have some time to spend to test mips (cross) compilation. Nicolas. 2008/5/19 Jerry Toung : > Hello List, > The company I work for is very interested in moving from FreeBSD/x86 to > MIPS. > To start, we are planning on getting an evaluation board from either RAZA > microelectronics > with an XLR processor (MIPS64) or from Cavium with an OCTEON (MIPS64). > > I understand that the FreeBSD/mips port is still under development. Because > we are motivated, > I would like to join the project and help as much as I can. > I went to http://wiki.freebsd.org/FreeBSD/mips and got the snapshot from > August 10, 2007 and also > installed gxemul (GXemul 0.4.2) from the ports of my 6.2 machine. I wasn't > able to retrieve gonzo's patches at > http://gonzo.kiev.ua/mips/freebsd-gxemul-0.4.1.patch as per src/EMULATION > > 1- Please look at the pasted output at the bottom of the email and advise on > what's wrong so > I can boot to single user mode or to where ever you guys are now. > > 2- Based on my requirements above (xlr or octeon), could you advise on where > I should start/what I will need for > this port so I can get up to speed and contribute? (i.e docs, books, current > source code, etc) > > 3- what is the current road map? what's on the TODO list as of now. > > I am sure I'll have more questions as we move forward. Thank you for > listening. > Jerry > > jtoung : gxemul -Vv -e malta -C 4kc -d /dev/null > /usr/home/jtoung/FreeBSD/mips.build/mips/usr/home/jtoung/src/sys/MALTA/kernel > GXemul 0.4.2 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 10.10.10.10 > machine "default": > memory: 64 MB > cpu0: 4Kc (I+D = 16+16 KB) > machine: MALTA (evbmips, little endian) > bootstring: kernel > diskimage: /dev/null > IDE DISK id 0, read/write, 0 MB (0 sectors) > loading > /usr/home/jtoung/FreeBSD/mips.build/mips/usr/home/jtoung/src/sys/MALTA/kernel > starting cpu0 at 0x801292f0 (gp=0x80355140) > ------------------------------------------------------------------------------- > > GXemul> c > [ ns16550 (tty0): read from iir: 0x01 ] > [ ns16550 (tty0): read from mcr: 0x00 ] > [ ns16550 (tty0): write to lctl: 0x83 (Divisor Latch access, setting mode > 8N1) ] > [ ns16550 (tty0): speed set to 115200 bps ] > [ ns16550 (tty0): write to lctl: 0x03 (setting mode 8N1) ] > [ ns16550 (tty0): write to fifo control: 0x00 ] > [ ns16550 (tty0): write to mcr: 0x0b ] > [ ns16550 (tty0): read from iir: 0x03 ] > entry: mips_init() > picache_stride = 4096 > picache_loopcount = 4 > pdcache_stride = 4096 > pdcache_loopcount = 4 > Installing exception vector: > [0x80000000..0x80000080] <- [0x802efc18..0x802efc94] > Exception vector at 80000000 almost out of space > Installing exception vector: > [0x80000080..0x80000100] <- [0x802efd08..0x802efd20] > Installing exception vector: > [0x80000100..0x80000180] <- [0x802efb3c..0x802efb54] > Installing exception vector: > [0x80000200..0x80000280] <- [0x802efa60..0x802efa98] > Installing exception vector: > [0x80000180..0x80000200] <- [0x802efa60..0x802efa98] > Physical memory chunk(s): > 0x35e2b0 - 0xffffff, 13245776 bytes (3233 pages) > Kernel page table maps 4096 4K pages and is 511K > [ yamon_emul(): syscon: TODO ] > MIPS32 clock: 100000000 Hz > Copyright (c) 1992-2007 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 7.0-CURRENT #0: Fri May 16 15:32:46 PDT 2008 > jtoung@jtoung-bsd. > :/usr/home/jtoung/FreeBSD/mips.build/mips/usr/home/jtoung/src/sys/MALTA > [ exception TLBS vaddr=0xe0000000 pc=0x802f478c ] > [ exception TLBS vaddr=0xe0002000 pc=0x802f478c ] > [ exception TLBS vaddr=0xe0004000 pc=0x802f478c ] > [ exception TLBS vaddr=0xe0006000 pc=0x802f478c ] > [ exception TLBS vaddr=0xe0008000 pc=0x802f478c ] > ............................................................................................................... > [ exception TLBS vaddr=0xe0000010 pc=0x802cd53c ] > [ exception TLBS vaddr=0xe0004010 pc=0x802cd53c ] > [ exception TLBS vaddr=0xe0006010 pc=0x802cd53c ] > [ exception TLBS vaddr=0xe000e010 pc=0x802cd53c ] > ....................................................................................................................... > [ exception TLBS vaddr=0xe006c000 pc=0x802f478c ] > [ exception TLBS vaddr=0xe003103c pc=0x802e1600 > ] > [ exception TLBS vaddr=0xe003202c pc=0x802e1600 > ] > [ exception TLBS vaddr=0xe003400c pc=0x802e1600 > ] > _______________________________________________ > 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" > -- ---- Nicolas From owner-freebsd-mips@FreeBSD.ORG Wed May 21 04:16:36 2008 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 6A19D1065674 for ; Wed, 21 May 2008 04:16:36 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 173F88FC1D for ; Wed, 21 May 2008 04:16:36 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m4L4DEjG002455; Tue, 20 May 2008 22:13:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 20 May 2008 22:14:31 -0600 (MDT) Message-Id: <20080520.221431.-1749705977.imp@bsdimp.com> To: jrytoung@gmail.com From: "M. Warner Losh" In-Reply-To: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> References: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-mips@FreeBSD.org Subject: Re: freebsd on mips64 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, 21 May 2008 04:16:36 -0000 In message: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> "Jerry Toung" writes: : The company I work for is very interested in moving from FreeBSD/x86 to : MIPS. Most excellent. : To start, we are planning on getting an evaluation board from either RAZA : microelectronics : with an XLR processor (MIPS64) or from Cavium with an OCTEON (MIPS64). FreeBSD does run on an XLR processor, but there's no supporave for it in the CVS sources. RAZA Microelectronics doesn't release enough information about their parts without an NDA that prevents their release. FreeBSD also runs on a Cavium OCTEON processor. However, the code to do that is in limbo at the moment due to a last minute issue that came up with it. I'm sure the issue will be resolved in short order, but until then, it only works in my office at home... : I understand that the FreeBSD/mips port is still under development. Because : we are motivated, : I would like to join the project and help as much as I can. : I went to http://wiki.freebsd.org/FreeBSD/mips and got the snapshot from : August 10, 2007 and also : installed gxemul (GXemul 0.4.2) from the ports of my 6.2 machine. I wasn't : able to retrieve gonzo's patches at : http://gonzo.kiev.ua/mips/freebsd-gxemul-0.4.1.patch as per src/EMULATION They have been folded into gxemul 0.4.2.1 and newer. : 1- Please look at the pasted output at the bottom of the email and advise on : what's wrong so : I can boot to single user mode or to where ever you guys are now. I think starting with the FreeBSD/mips that's in CVS would be a better start. : 2- Based on my requirements above (xlr or octeon), could you advise on where : I should start/what I will need for : this port so I can get up to speed and contribute? (i.e docs, books, current : source code, etc) To get up to speed on the port, I'd recommend buying the 'See Mips Run, 2nd Edition.' This is a very good book, despite having Linux in the subtitle.... I'd grab the current CVS tree. It is presently missing the compilers, which we should make some patches for soon. : 3- what is the current road map? what's on the TODO list as of now. The current road map is to consolidate our the current sources by fixing bugs that bite people installing on real hardware, as well as expanding the number of cores supported. This is a bit vague, which gives you the freedom to contribute in many different places. Warner From owner-freebsd-mips@FreeBSD.ORG Wed May 21 21:00:17 2008 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 21AC71065670 for ; Wed, 21 May 2008 21:00:17 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id CD8428FC0A for ; Wed, 21 May 2008 21:00:16 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by wx-out-0506.google.com with SMTP id h27so2407364wxd.7 for ; Wed, 21 May 2008 14:00:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=6iKT6KikL8vFt+BKYNeT1+boj3NlcXpDZnRkQuV57lo=; b=P4z5cnkmEwpoTh3Fu9488kAnsiq7g6qVNuNC74nJ49EcOUOQ0dODvckkXo1p08rovQkMWtT0qODRui/wtBRx0pEcrELgrswpCUagNz/otL2ucFlt9lohzMGBQjYdKcwHSUWFs2meUzeE13x92rj5YV9ezbz6owqr9L7YtBdOC/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LB/Cfv4j1YrFNl32HWst40Yfg3kEmf1w2YfmHh7QrQ67I54bKLE3HVp8RZXuXoRA1KSbMaJMXdXw2NF82EDRHIfOhWoksWubXLf5v3T6RFe56X+Fdn7kF7gHdD5Ci7/2MGYM+ofMqWpCWpEh3mlHBbvLMXUB3MmtTCU/lg02aoI= Received: by 10.90.26.9 with SMTP id 9mr860428agz.62.1211403615958; Wed, 21 May 2008 14:00:15 -0700 (PDT) Received: by 10.90.117.17 with HTTP; Wed, 21 May 2008 14:00:15 -0700 (PDT) Message-ID: <86068e730805211400h17e4fe35h186a6158b490e302@mail.gmail.com> Date: Wed, 21 May 2008 14:00:15 -0700 From: "Jerry Toung" To: "M. Warner Losh" In-Reply-To: <20080520.221431.-1749705977.imp@bsdimp.com> MIME-Version: 1.0 References: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> <20080520.221431.-1749705977.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mips@freebsd.org Subject: Re: freebsd on mips64 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, 21 May 2008 21:00:17 -0000 On Tue, May 20, 2008 at 9:14 PM, M. Warner Losh wrote: > > FreeBSD also runs on a Cavium OCTEON processor. However, the code to > do that is in limbo at the moment due to a last minute issue that came > up with it. I'm sure the issue will be resolved in short order, but > until then, it only works in my office at home... do you mind sharing that code? it's going to be particularly relevant to me as I make progress. > > > To get up to speed on the port, I'd recommend buying the 'See Mips > Run, 2nd Edition.' This is a very good book, despite having Linux in > the subtitle.... I will purchase that book then > > I'd grab the current CVS tree. It is presently missing the compilers, > which we should make some patches for soon. > > > ok. I checked out FreeBSD/mips from HEAD yesterday and overwrote my local copy of sys/mips with that one. I also overwrote my local copy of sys/conf/files.mips with the one from CVS, then ran: make TARGET_ARCH=mips kernel-toolchain make TARGET_ARCH=mips NO_MODULES=yes MIPS_LITTLE_ENDIAN=yes buildkernel KERNCONF=MALTA buildkernel exit with 'unknown option for SOFTFLOAT and ISA_MIPS32'. Fine, I comment them out althought I don't think I should, then buildkernel exit with error: cc: /usr/home/jtoung/MIPS/src/sys/mips/mips/mips_subr.c: No such file or directory mkdep: compile fail so the file mips_subr.c is missing. My cross-compiling machine runs 6.2 STABLE by the way. Please someone advise on SOFTFLOAT, ISA_MIPS32 and mips_subr.c Thank you, Jerry From owner-freebsd-mips@FreeBSD.ORG Wed May 21 22:12:58 2008 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 EABB2106567A for ; Wed, 21 May 2008 22:12:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8DA858FC20 for ; Wed, 21 May 2008 22:12:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m4LMC0KU058893; Wed, 21 May 2008 16:12:01 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 21 May 2008 16:13:19 -0600 (MDT) Message-Id: <20080521.161319.179951597.imp@bsdimp.com> To: jrytoung@gmail.com From: "M. Warner Losh" In-Reply-To: <86068e730805211400h17e4fe35h186a6158b490e302@mail.gmail.com> References: <86068e730805191018l3a6feedal1d47fd77f5b50f72@mail.gmail.com> <20080520.221431.-1749705977.imp@bsdimp.com> <86068e730805211400h17e4fe35h186a6158b490e302@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-mips@freebsd.org Subject: Re: freebsd on mips64 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, 21 May 2008 22:12:59 -0000 In message: <86068e730805211400h17e4fe35h186a6158b490e302@mail.gmail.com> "Jerry Toung" writes: : On Tue, May 20, 2008 at 9:14 PM, M. Warner Losh wrote: : > FreeBSD also runs on a Cavium OCTEON processor. However, the code to : > do that is in limbo at the moment due to a last minute issue that came : > up with it. I'm sure the issue will be resolved in short order, but : > until then, it only works in my office at home... : : do you mind sharing that code? it's going to be particularly relevant to me : as I make progress. I don't mind sharing. However, there are others that do mind so I regret to say that right now, I can't. If the others work out the issues they have, then I may be able to share. : > To get up to speed on the port, I'd recommend buying the 'See Mips : > Run, 2nd Edition.' This is a very good book, despite having Linux in : > the subtitle.... : : I will purchase that book then I have both editions. The second one is better than the first, and there's very little in the first that you'd miss in the second. I only have both because I've been hacking on mips a long time. : > I'd grab the current CVS tree. It is presently missing the compilers, : > which we should make some patches for soon. : > : > : > ok. I checked out FreeBSD/mips from HEAD yesterday and overwrote my local : copy of sys/mips with that one. I also overwrote my local copy of : sys/conf/files.mips with the one from CVS, then ran: : make TARGET_ARCH=mips kernel-toolchain : make TARGET_ARCH=mips NO_MODULES=yes MIPS_LITTLE_ENDIAN=yes buildkernel : KERNCONF=MALTA : : buildkernel exit with 'unknown option for SOFTFLOAT and ISA_MIPS32'. Fine, I : comment them out althought I don't think I should, then buildkernel exit : with error: : : cc: /usr/home/jtoung/MIPS/src/sys/mips/mips/mips_subr.c: No such file or : directory : mkdep: compile fail : : so the file mips_subr.c is missing. My cross-compiling machine runs 6.2 : STABLE by the way. : : Please someone advise on SOFTFLOAT, ISA_MIPS32 and mips_subr.c I'll take a look at those... The first two are most likely silly forgotten commits. The last one is a file that was removed. You can remove it from the files.mips file. It was unused by the current mips code. Warner From owner-freebsd-mips@FreeBSD.ORG Thu May 22 17:30:45 2008 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 3F39C106567A for ; Thu, 22 May 2008 17:30:45 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id D35798FC16 for ; Thu, 22 May 2008 17:30:44 +0000 (UTC) (envelope-from jrytoung@gmail.com) Received: by wr-out-0506.google.com with SMTP id 50so199324wra.13 for ; Thu, 22 May 2008 10:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=gnWQn7Ybuv+wBmwI5gCgK35ZRZDhe9tAs2NU65Wyu9A=; b=B/226B1uLXSyOpiMpANP7RcxsvWSxkk3L1ajaCs5F4eNMH2tbhQB6JB7HQEaob8RLLLy4m+zKZcwdOakY6CoV3ZVM4VKiqmO1EilnIfoubZVLwhLnR5KPPOlhXvj2I9HtDYRoyiJGvKqvhv9t22LM9bibJqGS95Hu6hOS1qIosM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=FxTJa6gJrtwWcYCKFTnHbbf/6D8PL8BeeTmzTxhKz8bk5vDDN9KyXFQbtFdNN43RHTaPsJmFkU6DTD4dmcrgLcpChHPr6R+AEaTSQjbpTpq7Q0bFuCPdeUNDu55jtTmROpgbX/Y6ciLPW4/cFo+hBpCkglK15h/kY4chQRJrFqI= Received: by 10.115.18.1 with SMTP id v1mr473570wai.81.1211477443766; Thu, 22 May 2008 10:30:43 -0700 (PDT) Received: by 10.115.94.7 with HTTP; Thu, 22 May 2008 10:30:43 -0700 (PDT) Message-ID: <86068e730805221030y14c82544h64429067413a50d0@mail.gmail.com> Date: Thu, 22 May 2008 10:30:43 -0700 From: "Jerry Toung" To: freebsd-mips@freebsd.org, "M. Warner Losh" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: mips build from HEAD 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, 22 May 2008 17:30:45 -0000 I patched files.mips and options.mips, now make buildkernel complains about opt_cputype.h missing. If I comment out that include file, locore.S fails with several opcode unresolved. -I/usr/home/jtoung/MIPS/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -EL -fno-pic -mno-abicalls -G0 -march=mips32 -msoft-float -mno-dsp -ffreestanding /usr/home/jtoung/MIPS/src/sys/mips/mips/exception.S:57:25: error: opt_cputype.h: No such file or directory /usr/home/jtoung/MIPS/src/sys/mips/mips/swtch.S:58:25: error: opt_cputype.h: No such file or directory /usr/home/jtoung/MIPS/src/sys/mips/mips/tlb.S:58:25: error: opt_cputype.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /usr/obj/mips/usr/home/jtoung/MIPS/src/sys/MALTA. *** Error code 1 Stop in /usr/home/jtoung/MIPS/src. *** Error code 1 Stop in /usr/home/jtoung/MIPS/src. From owner-freebsd-mips@FreeBSD.ORG Fri May 23 20:15:56 2008 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 CCBB51065671 for ; Fri, 23 May 2008 20:15:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF948FC12 for ; Fri, 23 May 2008 20:15:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (server.baldwin.cx [208.65.91.234]) by elvis.mu.org (Postfix) with ESMTP id B924B1A4D8E for ; Fri, 23 May 2008 12:58:08 -0700 (PDT) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m4NJvx9l019394 for ; Fri, 23 May 2008 15:57:59 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: mips@freebsd.org Date: Fri, 23 May 2008 15:26:55 -0400 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805231526.55969.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 23 May 2008 15:57:59 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/7222/Fri May 23 08:53:12 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Subject: Patch for kgdb 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, 23 May 2008 20:15:56 -0000 These are the changes I mentioned earlier to David to catch the kgdb mips support up to the recent changes to kgdb. What is there now won't compile (binary can't link) and also won't work. --- //depot/vendor/freebsd/src/gnu/usr.bin/gdb/kgdb/trgt_mips.c 2008/05/20 23:42:06 +++ //depot/user/jhb/kgdb/gnu/usr.bin/gdb/kgdb/trgt_mips.c 2008/05/23 19:12:28 @@ -54,7 +54,7 @@ struct kthr *kt; struct pcb pcb; - kt = kgdb_thr_lookup_tid(ptid_get_tid(inferior_ptid)); + kt = kgdb_thr_lookup_tid(ptid_get_pid(inferior_ptid)); if (kt == NULL) return; if (kvm_read(kvm, kt->pcb, &pcb, sizeof(pcb)) != sizeof(pcb)) { @@ -82,6 +82,11 @@ fprintf_unfiltered(gdb_stderr, "XXX: %s\n", __func__); } +void +kgdb_trgt_new_objfile(struct objfile *objfile) +{ +} + struct kgdb_frame_cache { CORE_ADDR pc; CORE_ADDR sp; -- John Baldwin From owner-freebsd-mips@FreeBSD.ORG Sat May 24 12:53:22 2008 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 811171065674 for ; Sat, 24 May 2008 12:53:22 +0000 (UTC) (envelope-from hecyro_71@yahoo.it) Received: from aa011msr.fastwebnet.it (aa011msr.fastwebnet.it [85.18.95.71]) by mx1.freebsd.org (Postfix) with ESMTP id 23D9D8FC28 for ; Sat, 24 May 2008 12:53:22 +0000 (UTC) (envelope-from hecyro_71@yahoo.it) Received: from [28.241.179.29] (28.241.179.29) by aa011msr.fastwebnet.it (8.0.013.5) id 483216FE00A070A7 for freebsd-mips@FreeBSD.org; Sat, 24 May 2008 14:42:15 +0200 Message-ID: From: "Simon from Italy" To: Date: Sat, 24 May 2008 14:42:11 +0200 X-Priority: 1 X-Mailer: Oxilog e-mailing 2 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Antivirus: avast! (VPS 080523-0, 23/05/2008), Outbound message X-Antivirus-Status: Clean Cc: Subject: Do you want to jump on my motorbyke? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hecyro_71@yahoo.it List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 12:53:22 -0000 Hello, i=92m italian boy=2E I have 36 years and I love to travel in motorbyke in Europe, beach or = mountain and camping, in my vacations=2E The past summers I have been on the beaches of Spain, France, Croatia, = Holland, but also Hungary, Switzerland, Austria, Belgium, Germany, = Slovenia, Poland, Republik Czech, Repubblik Slovanska, Lithuania, = Latvia...=20 I search a girl that she loves to travel in motorbyke and that she wants = to make from travel=92s partner in order to organize the next vacations.=20 Usually I make of the trance of vacations from 10 - 15 days and succeed = not to spend very.=20 My period for vacations is: 25/5 - 2/6 or 6/6 - 16/6 or 21/6 - 30/6 or 1/8 - 24/8 I=92m single and I search girl in order to amuse themselves and to = discover new worlds, new cultures, new people...=20 Do you want to jump on my motorbyke? Simon hecyro_71@yahoo.it ___________________________________________________________________________= ________________________________________________ Ciao, sono un ragazzo italiano=2E Ho 36 anni e amo trascorrere le vacanze girando in moto per l'Europa, = spiagge o montagna e campeggi=2E Le scorse estati sono stato sulle spiagge di Spagna, Francia, Croazia, = Olanda, Lituania, ma anche in Ungheria, Svizzera, Austria, Belgio, = Germania, Slovenia, Repubblica Ceca, Repubblica Slovacca, Polonia, = Lussemburgo, Lituania, Lettonia..=2E Cerco una ragazza, a cui piaccia la moto e che voglia fare da compagna di = viaggio per organizzare le prossime vacanze=2E Io ho le ferie in questi periodi: 25/5 - 2/6 o 6/6 - 16/6 o 21/6 - 30/6 o 1/8 - 24/8 Solitamente riesco a non spendere molto=2E Sono single e sto solo cercando una COMPAGNA DI VIAGGIO per divertirsi e = scoprire nuovi mondi, nuove culture, gente nuova..=2E Salti in sella? Simone hecyro_71@yahoo.it Message envoy=E9 par la version d'essai d'Oxilog e-mailing=2E Attention : La soci=E9t=E9 Oxilog n'est pas =E0 l'origine de l'envoi de ce message et = n'est pas responsable de son contenu=2E Pour toute demande ou r=E9clamation, veuillez contacter l'exp=E9diteur de = ce message. From owner-freebsd-mips@FreeBSD.ORG Sat May 24 16:36:59 2008 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 BE757106567C for ; Sat, 24 May 2008 16:36:59 +0000 (UTC) (envelope-from espartano.mail@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8A2028FC14 for ; Sat, 24 May 2008 16:36:59 +0000 (UTC) (envelope-from espartano.mail@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so852468pyb.10 for ; Sat, 24 May 2008 09:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UZpcwFkWrhsH1z5wmySNhJiovH3bCdmO2g3yjvk+bC8=; b=At0nRvwbF3LUXCPqeRJB3dsy6iP9c8LHIGyjsaiuLccYG1A9j0RSFdF6bkvIJ4r3mtMj9XTg5tAzpZa5F/tHQw2JNlaOp5VuVlbNiJk7MZiOanMCz9evCST/Kwx1V6QVuYJfG5Co7rJoa2HjnACGrlXE96f80T2nQ3G5slbipUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gABT60aF2aYOVFeSRLyDF6wQSHnNX+YGFHSCQS5ZMuxRn6dViEynEswljdIZSVePXBVXCtre7YQ+kg+apK6cFj+kcPA5h4M3rdVLh3NlJg/rKldAWpDV22athyt5dnuBopF7iu7dnKciECokXmoUMF61AVCuyKuZe5jBSHL4GCs= Received: by 10.114.180.1 with SMTP id c1mr3263053waf.121.1211645488353; Sat, 24 May 2008 09:11:28 -0700 (PDT) Received: by 10.114.60.10 with HTTP; Sat, 24 May 2008 09:11:28 -0700 (PDT) Message-ID: Date: Sat, 24 May 2008 11:11:28 -0500 From: Espartano To: hecyro_71@yahoo.it In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-mips@freebsd.org Subject: Re: Do you want to jump on my motorbyke? 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, 24 May 2008 16:36:59 -0000 2008/5/24 Simon from Italy : > Hello, i'm italian boy. > > I have 36 years and I love to travel in motorbyke in Europe, beach or mountain and camping, in my vacations. > > The past summers I have been on the beaches of Spain, France, Croatia, Holland, but also Hungary, Switzerland, Austria, Belgium, Germany, Slovenia, Poland, Republik Czech, Repubblik Slovanska, Lithuania, Latvia... > > I search a girl that she loves to travel in motorbyke and that she wants to make from travel's partner in order to organize the next vacations. > > Usually I make of the trance of vacations from 10 - 15 days and succeed not to spend very. > > My period for vacations is: > 25/5 - 2/6 > or > 6/6 - 16/6 > or > 21/6 - 30/6 > or > 1/8 - 24/8 > > I'm single and I search girl in order to amuse themselves and to discover new worlds, new cultures, new people... > > Do you want to jump on my motorbyke? > > Simon > hecyro_71@yahoo.it > o_O WTF !!! -- "Linux is for people who hate Windows, BSD is for people who love UNIX". "Social Engineer -> Because there is no patch for human stupidity" "The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep." "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."