From owner-freebsd-sparc Sun Oct 29 10:32:24 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id F1E0B37B4C5 for ; Sun, 29 Oct 2000 10:32:18 -0800 (PST) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id UAA85233; Sun, 29 Oct 2000 20:32:06 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Sun, 29 Oct 2000 20:32:06 +0200 (EET) From: Narvi To: "Michael C . Wu" Cc: bpechter@shell.monmouth.com, sparc@FreeBSD.ORG Subject: Re: Sparc port going 64 bit In-Reply-To: <20001026224736.A74924@peorth.iteration.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 26 Oct 2000, Michael C . Wu wrote: > On Wed, Oct 25, 2000 at 12:27:43PM -0400, Bill Pechter scribbled: > | > On Wed, Oct 25, 2000 at 08:40:02AM -0400, Bill Pechter wrote: > | > | > > FreeBSD is the best Unix for i386... but we've not shown any real moves to > | > > the multiplatform area. > | > > | > Uh... the Alpha? The IA-64? The Mac-PowerPC? > | Not to disagree, but the Alpha is it at this time. Period. > > Please try contributing to our different architecture ports. :) > > | Anyone have FreeBSD running on an IA-64 at this time in real production? > | Does intel use it in production yet? Bet they're not yet. > > You are asking a lot from an architecture that really just came out this year. > > | as far as PowerPC -- > | Anyone have it running on a PowerPC box at this time in production? > > Please read previous emails in the thread. The PPC port is under its way. > We are hoping for some help. > > | IBM had Solaris available on PowerPC and NT for a real short time > | around 94... Guess how many people bet on that combo. > > AIX is better for that. > > | I had a lot of PowerPC boxes here running AIX... (some with MacOS and > | AIX on an IBM MicroChannel 7012 box). Right now it's Solaris, WinNT/9x, > | Mandrake Linux, and my last FreeBSD box... (running 4.0-Stable and > | my home grown backup program migrating to Solaris 8 and Veritas NetBackup). > > And? > > David O'Brien has repeatedly offered Sparc hardware for people willing > to work on the Sparc port. People have been offered PPC hardware too. > I personally just bought an Ultra5 to attempt to help. It cost me $500 > on EBay. It is not too expensive for a hobby. ;) > Agreed. Now, anybody know of a source in Ireland? I need a newer home computer anyways... Maybe I should just try to think harder why my employer should give me one to keep at home 8-) 8-) 8-) > -- > +------------------------------------------------------------------+ > | keichii@peorth.iteration.net | keichii@bsdconspiracy.net | > | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | > +------------------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Oct 30 13: 1:43 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 925AE37B4C5 for ; Mon, 30 Oct 2000 13:01:41 -0800 (PST) Received: from homer.softweyr.com (mail.dobox.com [208.187.122.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F8086E343A for ; Mon, 30 Oct 2000 13:01:40 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 13qLx8-0000GB-00; Mon, 30 Oct 2000 13:54:46 -0700 Message-ID: <39FDE016.3D4C1422@softweyr.com> Date: Mon, 30 Oct 2000 13:54:46 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Narvi Cc: sparc@FreeBSD.ORG Subject: Re: Sparc port going 64 bit References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Narvi wrote: > > On Thu, 26 Oct 2000, Michael C . Wu wrote: > > > On Wed, Oct 25, 2000 at 12:27:43PM -0400, Bill Pechter scribbled: > > > > | IBM had Solaris available on PowerPC and NT for a real short time > > | around 94... Guess how many people bet on that combo. > > > > AIX is better for that. AIX is better for something? Please check again, you're mistaken. > > David O'Brien has repeatedly offered Sparc hardware for people willing > > to work on the Sparc port. People have been offered PPC hardware too. > > I personally just bought an Ultra5 to attempt to help. It cost me $500 > > on EBay. It is not too expensive for a hobby. ;) > > > > Agreed. > > Now, anybody know of a source in Ireland? I need a newer home computer > anyways... eBay UK? > Maybe I should just try to think harder why my employer should give me one > to keep at home 8-) 8-) 8-) Promise them a bunch of work you can get done. Then deliver it, slowly. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Oct 30 21:54:28 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id DB35A37B479 for ; Mon, 30 Oct 2000 21:54:26 -0800 (PST) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id VAA04839 for ; Mon, 30 Oct 2000 21:54:27 -0800 Date: Mon, 30 Oct 2000 21:54:27 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: sparc@freebsd.org Subject: ultrabsd.org, sparcbsd.org (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FreeBSD snoozed. ---------- Forwarded message ---------- Date: Tue, 31 Oct 2000 01:54:48 +0100 (MET) From: hubert@feyrer.de To: netbsd-advocacy@netbsd.org Cc: port-sparc@netbsd.org, port-sparc64@netbsd.org, port-i386@netbsd.org Subject: ultrabsd.org, sparcbsd.org FYI, the following web sites now point to some of our (NetBSD) web pages: * http://www.ultrabsd.org/ * http://www.sparcbsd.org/ Enjoy! - Hubert -- Hubert Feyrer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Oct 31 4:35: 9 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail05.syd.optusnet.com.au (mail05.syd.optusnet.com.au [203.2.75.115]) by hub.freebsd.org (Postfix) with ESMTP id E27B037B4C5 for ; Tue, 31 Oct 2000 04:35:03 -0800 (PST) Received: from bender (adlax5-092.dialup.optusnet.com.au [198.142.109.92]) by mail05.syd.optusnet.com.au (8.9.3/8.9.3) with SMTP id XAA03600; Tue, 31 Oct 2000 23:31:13 +1100 Message-ID: <009801c04336$7e45ea20$0200000a@lan.diskiller.net> From: "Martin Minkus" To: "Gerald Heinig" , References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> Subject: Re: Anyone out there ? Date: Tue, 31 Oct 2000 23:01:16 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I've got an old SparcServer 10 sitting around, and after trying OpenBSD and Linux on it, i'm very interested in the > > possibility of porting my favourite OS to it. > > > > Whilist i'm a competent C coder, and have done ASM (MIPS/SGI), i have effectively no experience as a kernel coder. > > > > It also seems the FreeBSD/Sparc port is quite dead ? :( > > Well, I wouldn't call it 'dead': I'd say 'suspended animation'. > There was a flurry of activity about 8 months ago, maybe a bit longer, by two guys who wanted to get the ball rolling. I > believe they're students and by the looks of things they've found they have substantially less free time than they > anticipated. Well, i don't know anything about it, and i don't know where their work is, so it looks like i'm starting the FreeBSD/sparc port from scratch. > The consensus seemed to be: > > a) We start from a FreeBSD 2.2.7-ish base and work with the NetBSD sources for guidance, since these two seem to be > rather similar (or so I'm told). I'm using OpenBSD 2.7. > b) A few weeks ago someone posted the OpenBoot specification, which we'll need to write a boot loader and to understand > what the NetBSDers are doing. This is very useful, as the original document from http://www.ieee.org costs about US$ 160 > - one reason I didn't start on the project when I did have the time (unlike now). Where can i find this? I've found only general documentation on OpenBoot, and in layman terms what happens in the boot sequence. The OpenBSD sparc_boot (?) man page also describes the boot procedure. Essentially, the OpenBoot bios loads the 1st stage bootloader from a certain location within the beggining of the ufs filesystem. It has harcoded in, the location and block numbers for the 2nd stage boot loader, that is larger in size. The 2nd stage bootloader has support for ufs, and can therefore locate and load the kernel (and preload kernel modules, in the case of FreeBSD?). I've modified the bootloader on OpenBSD already, changing the text to read FreeBSD/sparc boot, etc, and installed the new bootblocks just fine. It works and boots OpenBSD as normal. > c) You (or whoever) start with locore.s and port that over. I've been studying this file on OpenBSD/sparc. > My own thoughts on the matter are: (I'm not a FreeBSD kernel hacker, though I do have Solaris kernel experience) > > a) Sit down with a copy of the FreeBSD i386 and Alpha versions of locore.s and try to find out what it exactly *does*. > You'll need to pester several people either on this list or on freebsd-hackers (another reason, incidentally, which > stopped me: freebsd-hackers has a phenomenal mail volume - more or less 150 mails a day, IIRC). Haven't gotten this far yet :). I've been studying the OpenBSD/sparc locore.s, and alot of the stuff in the file makes sense, but i'm no kernel hacker, so i have a long way to go. I'm picking up sparc asm as i go (its not hard) as i've had experience with MIPS asm, which is just a fairly simliar RISC load/store architecture. > b) Compare with the NetBSD SPARC version and spot the diffs/similarities. I've been studying the OpenBSD SPARC locore.s like i stated, but haven't compared with FreeBSD's i386 or Alpha locore.s yet. Infact, i don't know x86 or alpha asm ... My main goal atm. is to get familiar with the OpenBSD kernel code, make useful changes, *then* comparing it to the existing code in the FBSD kernel, and working on implementing its locore.s > c) Write some small programs that can be loaded and executed by the OpenBoot firmware. That is the idea. Make the OpenBoot firmware use the bootloaders to be able to run some basic binaries on the filesystem and execute them (rather then the /kernel). These basic binaries are, of course, ones written to run from OpenBoot, not unix utilities obviously :). So i can't make systemcalls, or use library functions. > d) Trace the execution thread from locore.s onwards, translating code as you go and seeing whether the file executes OK. > > OK. Those are my thoughts/observations. If you've got free time and really want to try on this, it's a cool project to > do. There are a number of smart people subscribed to the list, so fire away any amount of technical questions you want. > My guess is that if you start asking lots of questions, people will see things are moving and start contributing > themselves. Herd instinct, basically :-) We'll see how it goes :) > That's all from me. Good luck and have fun Some of you at this point might be wondering ... WHY???? Well, simple. A sparc10 is all i have (as well as an IPX), so i have to make do. So i'm doing a 32bit sparc port. That, and Net and Open already have working Sparc32 ports i can study and learn from. This may end up being more of a learning excercise then anything, and if so, it will at least give me the experience i need to be able to do the Sparc64 port. And hopefully at that time i can score a U1 from David O'Brien :). Seriously, i don't envision this becoming an official FreeBSD port; but its at least a stepping stone and something for me to do before i can work on bigger and better (and more useful) things. (ie. FreeBSD/sparc64.) martin. -- diskiller@diskiller.net | www.diskiller.net | irc.diskiller.net | my world To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Oct 31 5:59: 4 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from web1.allunix.com (adsl-63-204-69-245.dsl.scrm01.pacbell.net [63.204.69.245]) by hub.freebsd.org (Postfix) with ESMTP id 0E6A337B4C5 for ; Tue, 31 Oct 2000 05:59:03 -0800 (PST) Received: from mandark (web4.allunix.com [24.11.229.88]) by web1.allunix.com (8.9.3/8.9.3) with ESMTP id NAA28341 for ; Tue, 31 Oct 2000 13:28:03 -0800 (PST) (envelope-from david@allunix.com) Message-ID: <200010310556080700.0D5ADE7A@web1.allunix.com> In-Reply-To: References: X-Mailer: Calypso Evaluation Version 3.10.03.02 (3) Date: Tue, 31 Oct 2000 05:56:08 -0800 From: "David DeTinne" To: freebsd-sparc@freebsd.org Subject: Re: ultrabsd.org, sparcbsd.org (fwd) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I don't think so! As a person who has tried NetBSD, RedHat, Solaris and Mandrake on Sparc, My choice of OS for the platform would be the following, 1. FreeBSD 2. Solaris 3. NetBSD Once you have had a taste of FreeBSD there is no going back. I gave away my sparc and upgraded my intel machine. My two cents worth, David *********** REPLY SEPARATOR *********** On 10/30/2000 at 9:54 PM Matthew Jacob wrote: >FreeBSD snoozed. > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Oct 31 11: 3:41 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from haldjas.folklore.ee (Haldjas.folklore.ee [193.40.6.121]) by hub.freebsd.org (Postfix) with ESMTP id 6E79D37B479 for ; Tue, 31 Oct 2000 11:03:37 -0800 (PST) Received: from localhost (narvi@localhost) by haldjas.folklore.ee (8.9.3/8.9.3) with SMTP id VAA64538; Tue, 31 Oct 2000 21:03:22 +0200 (EET) (envelope-from narvi@haldjas.folklore.ee) Date: Tue, 31 Oct 2000 21:03:22 +0200 (EET) From: Narvi To: Wes Peters Cc: sparc@FreeBSD.ORG Subject: Re: Sparc port going 64 bit In-Reply-To: <39FDE016.3D4C1422@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 30 Oct 2000, Wes Peters wrote: > Narvi wrote: > > > > On Thu, 26 Oct 2000, Michael C . Wu wrote: > > > > > On Wed, Oct 25, 2000 at 12:27:43PM -0400, Bill Pechter scribbled: > > > > > > | IBM had Solaris available on PowerPC and NT for a real short time > > > | around 94... Guess how many people bet on that combo. > > > > > > AIX is better for that. > > AIX is better for something? Please check again, you're mistaken. > Hey!!!! I did definately not write that! > > > > David O'Brien has repeatedly offered Sparc hardware for people willing > > > to work on the Sparc port. People have been offered PPC hardware too. > > > I personally just bought an Ultra5 to attempt to help. It cost me $500 > > > on EBay. It is not too expensive for a hobby. ;) > > > > > > > Agreed. > > > > Now, anybody know of a source in Ireland? I need a newer home computer > > anyways... > > eBay UK? > Ok, I'll take a look. Not sure why I didn't think of that myself. > > Maybe I should just try to think harder why my employer should give me one > > to keep at home 8-) 8-) 8-) > > Promise them a bunch of work you can get done. Then deliver it, slowly. > nah, they are promising me (free) access from home to the internal network, so it won't work. And no, I can't use machines at work to port FreeBSD, even not from my free time. > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr LLC > wes@softweyr.com http://softweyr.com/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Oct 31 23:45:53 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [203.2.75.107]) by hub.freebsd.org (Postfix) with ESMTP id 5832A37B4C5 for ; Tue, 31 Oct 2000 23:45:49 -0800 (PST) Received: from bender (adlax8-111.dialup.optusnet.com.au [198.142.234.111]) by mail04.syd.optusnet.com.au (8.9.3/8.9.3) with SMTP id SAA24177; Wed, 1 Nov 2000 18:43:29 +1100 Message-ID: <002901c043d7$720abd70$0200000a@lan.diskiller.net> From: "Martin Minkus" To: Cc: "Michael Schuster" References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FEE402.A4A74950@Sun.COM> Subject: Re: Anyone out there ? Date: Wed, 1 Nov 2000 18:13:30 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Martin Minkus wrote: > > > Some of you at this point might be wondering ... WHY???? > > > > Well, simple. A sparc10 is all i have (as well as an IPX), so i have to make > > do. So i'm doing a 32bit sparc port. That, and Net and Open already have > > working Sparc32 ports i can study and learn from. > > I've been wanting to do something like this for ages, but apart from the > fact that I lead a life apart from my job as well :-) I'm not quite sure > how my employer would react to me doing this ... Ask them to give back our funding ? :-) > A note on Sparc assembler: get the Sparc V[89] Architecture Manual. It may > not be the best-told story in town, but it is a good reference! I'll see if i can get it. I'll be using V7 most probably, to stay compatible with the older sparcs. V9 is the ultra's, is it not ? > good luck, and let me know if I can help you > > Michael will do. martin. > -- > Michael Schuster michael.schuster@sun.com > temporarily at HES CTE, San Diego, Ca. > (+1) (858) 626 3294 / x(70)43294 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Oct 31 23:49:14 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [203.2.75.105]) by hub.freebsd.org (Postfix) with ESMTP id C363137B4C5 for ; Tue, 31 Oct 2000 23:49:08 -0800 (PST) Received: from bender (adlax8-111.dialup.optusnet.com.au [198.142.234.111]) by mail02.syd.optusnet.com.au (8.9.3/8.9.3) with SMTP id SAA04217; Wed, 1 Nov 2000 18:46:52 +1100 Message-ID: <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net> From: "Martin Minkus" To: "Gerald Heinig" , References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FF5BA1.13A26A16@post.rwth-aachen.de> Subject: Re: Anyone out there ? Date: Wed, 1 Nov 2000 18:16:58 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > b) A few weeks ago someone posted the OpenBoot specification, which we'll > > need to write a boot loader and to understand > > > what the NetBSDers are doing. This is very useful, as the original > > document from http://www.ieee.org costs about US$ 160 > > > - one reason I didn't start on the project when I did have the time > > (unlike now). > > > > Where can i find this? I've found only general documentation on OpenBoot, > > It's at ftp://playground.sun.com > I believe it's in the 1275/ Directory. I don't know whether that's enough info, but it looks interesting. I found it. Interestingly, i checked a few days before and that site was down, which is why i asked. > > and in layman terms what happens in the boot sequence. The OpenBSD > > sparc_boot (?) man page also describes the boot procedure. > > Essentially, the OpenBoot bios loads the 1st stage bootloader from a certain > > location within the beggining of the ufs filesystem. It has harcoded in, the > > location and block numbers for the 2nd stage boot loader, that is larger in > > size. The 2nd stage bootloader has support for ufs, and can therefore locate > > and load the kernel (and preload kernel modules, in the case of FreeBSD?). > > Interesting stuff. Funnily enough, I was under the impression that OpenBoot understoof ufs and loaded the kernel > directly. It's been a while since I read up the boot process under Solaris. Urm ... hrm. Well, this is what OpenBSD does, and, one or two other websites on OpenBoot and Solaris explained. So i don't know. > > I've modified the bootloader on OpenBSD already, changing the text to read > > FreeBSD/sparc boot, etc, and installed the new bootblocks just fine. It > > works and boots OpenBSD as normal. > > > > > c) You (or whoever) start with locore.s and port that over. > > > > I've been studying this file on OpenBSD/sparc. > > > > > My own thoughts on the matter are: (I'm not a FreeBSD kernel hacker, > > though I do have Solaris kernel experience) > > > > > > a) Sit down with a copy of the FreeBSD i386 and Alpha versions of locore.s > > and try to find out what it exactly *does*. > > > You'll need to pester several people either on this list or on > > freebsd-hackers (another reason, incidentally, which > > > stopped me: freebsd-hackers has a phenomenal mail volume - more or less > > 150 mails a day, IIRC). > > > > Haven't gotten this far yet :). > > > > I've been studying the OpenBSD/sparc locore.s, and alot of the stuff in the > > file makes sense, but i'm no kernel hacker, so i have a long way to go. I'm > > picking up sparc asm as i go (its not hard) as i've had experience with MIPS > > asm, which is just a fairly simliar RISC load/store architecture. > > > > > b) Compare with the NetBSD SPARC version and spot the diffs/similarities. > > > > I've been studying the OpenBSD SPARC locore.s like i stated, but haven't > > compared with FreeBSD's i386 or Alpha locore.s yet. Infact, i don't know x86 > > or alpha asm ... > > My main goal atm. is to get familiar with the OpenBSD kernel code, make > > useful changes, *then* comparing it to the existing code in the FBSD kernel, > > and working on implementing its locore.s > > > > > c) Write some small programs that can be loaded and executed by the > > OpenBoot firmware. > > > > That is the idea. Make the OpenBoot firmware use the bootloaders to be able > > to run some basic binaries on the filesystem and execute them (rather then > > the /kernel). These basic binaries are, of course, ones written to run from > > OpenBoot, not unix utilities obviously :). So i can't make systemcalls, or > > use library functions. > > > > > d) Trace the execution thread from locore.s onwards, translating code as > > you go and seeing whether the file executes OK. > > > > > > OK. Those are my thoughts/observations. If you've got free time and really > > want to try on this, it's a cool project to > > > do. There are a number of smart people subscribed to the list, so fire > > away any amount of technical questions you want. > > > My guess is that if you start asking lots of questions, people will see > > things are moving and start contributing > > > themselves. Herd instinct, basically :-) > > > > We'll see how it goes :) > > > > > That's all from me. Good luck and have fun > > > > Some of you at this point might be wondering ... WHY???? > > > > Well, simple. A sparc10 is all i have (as well as an IPX), so i have to make > > do. So i'm doing a 32bit sparc port. That, and Net and Open already have > > working Sparc32 ports i can study and learn from. > > > > This may end up being more of a learning excercise then anything, and if so, > > it will at least give me the experience i need to be able to do the Sparc64 > > port. And hopefully at that time i can score a U1 from David O'Brien :). > > Actually, that's exactly my motivation for it as well. I'm almost certainly not going to *use* FreeBSD-Sparc32, if and > when it finally does materialise, even if I wrote it myself. I have too many things working just fine under Solaris for > that to be worthwhile. > The learning experience is something I'm very interested in, though. At the moment I'm busy implementing an ISDN stack > for Solaris x86 and I'm determined to finish it and release it reasonably soon. Hence the lack of time. > When I've finished, however, I hope to have a few weeks spare, so please keep in touch and let me know how things are > rolling. If I have time, I'll be more than willing to lend a hand. I'm busy atm myself ... just finished my last week at university for the year, and still have exams ahead of me. (2 or 3 weeks). After that, i'll have plenty of time over the summer break to work on this. martin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 0: 9:14 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 873CD37B4CF for ; Wed, 1 Nov 2000 00:09:12 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id AAA33410; Wed, 1 Nov 2000 00:08:35 -0800 (PST) (envelope-from obrien) Date: Wed, 1 Nov 2000 00:08:35 -0800 From: "David O'Brien" To: Martin Minkus Cc: freebsd-sparc@freebsd.org Subject: OpenBoot (was Re: Anyone out there ?) Message-ID: <20001101000835.H5844@dragon.nuxi.com> Reply-To: freebsd-sparc@freebsd.org References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FF5BA1.13A26A16@post.rwth-aachen.de> <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net>; from diskiller@diskiller.net on Wed, Nov 01, 2000 at 06:16:58PM +1030 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Nov 01, 2000 at 06:16:58PM +1030, Martin Minkus wrote: > > > > b) A few weeks ago someone posted the OpenBoot specification, > > > > which we'll need to write a boot loader and to understand what > > > > the NetBSDers are doing. This is very useful, as the original > > > > document from http://www.ieee.org costs about US$ 160 - one > > > > reason I didn't start on the project when I did have the time Note that someone is already working on FreeBSD OpenBoot support for both Mac PowerPC and Sun. I expect the bits to hit the FreeBSD source tree by Friday. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 0:38:30 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [203.2.75.107]) by hub.freebsd.org (Postfix) with ESMTP id E1E9C37B4CF for ; Wed, 1 Nov 2000 00:38:26 -0800 (PST) Received: from bender (adlax8-111.dialup.optusnet.com.au [198.142.234.111]) by mail04.syd.optusnet.com.au (8.9.3/8.9.3) with SMTP id TAA26282 for ; Wed, 1 Nov 2000 19:35:49 +1100 Message-ID: <004401c043de$c2ddf260$0200000a@lan.diskiller.net> From: "Martin Minkus" To: References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FF5BA1.13A26A16@post.rwth-aachen.de> <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net> <20001101000835.H5844@dragon.nuxi.com> Subject: Re: OpenBoot (was Re: Anyone out there ?) Date: Wed, 1 Nov 2000 19:05:55 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > > b) A few weeks ago someone posted the OpenBoot specification, > > > > > which we'll need to write a boot loader and to understand what > > > > > the NetBSDers are doing. This is very useful, as the original > > > > > document from http://www.ieee.org costs about US$ 160 - one > > > > > reason I didn't start on the project when I did have the time > > Note that someone is already working on FreeBSD OpenBoot support for both > Mac PowerPC and Sun. I expect the bits to hit the FreeBSD source tree by > Friday. Ah. That might make things easier ... Which source tree do i cvsup ? Only alpha and i386 is in the src-sys distrubution. Then again, i'm only following 4.x-stable, not -current. martin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 0:44:27 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 164DF37B4C5 for ; Wed, 1 Nov 2000 00:44:26 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id AAA34638; Wed, 1 Nov 2000 00:44:22 -0800 (PST) (envelope-from obrien) Date: Wed, 1 Nov 2000 00:44:22 -0800 From: "David O'Brien" To: Martin Minkus Cc: freebsd-sparc@freebsd.org Subject: Re: OpenBoot (was Re: Anyone out there ?) Message-ID: <20001101004422.I5844@dragon.nuxi.com> Reply-To: freebsd-sparc@freebsd.org References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FF5BA1.13A26A16@post.rwth-aachen.de> <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net> <20001101000835.H5844@dragon.nuxi.com> <004401c043de$c2ddf260$0200000a@lan.diskiller.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <004401c043de$c2ddf260$0200000a@lan.diskiller.net>; from diskiller@diskiller.net on Wed, Nov 01, 2000 at 07:05:55PM +1030 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Nov 01, 2000 at 07:05:55PM +1030, Martin Minkus wrote: > > Which source tree do i cvsup ? Only alpha and i386 is in the src-sys > distrubution. Then again, i'm only following 4.x-stable, not -current. Doing any porting work using 4-stable is a waste of time. New platform support can only go into -current. Which is where the OpenBoot bits will land. -- -- David (obrien@NUXI.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 0:55:21 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [203.2.75.105]) by hub.freebsd.org (Postfix) with ESMTP id C722037B4CF for ; Wed, 1 Nov 2000 00:55:17 -0800 (PST) Received: from bender (adlax8-111.dialup.optusnet.com.au [198.142.234.111]) by mail02.syd.optusnet.com.au (8.9.3/8.9.3) with SMTP id TAA16372 for ; Wed, 1 Nov 2000 19:54:44 +1100 Message-ID: <005001c043e1$669b4bd0$0200000a@lan.diskiller.net> From: "Martin Minkus" To: References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FF5BA1.13A26A16@post.rwth-aachen.de> <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net> <20001101000835.H5844@dragon.nuxi.com> <004401c043de$c2ddf260$0200000a@lan.diskiller.net> <20001101004422.I5844@dragon.nuxi.com> Subject: Re: OpenBoot (was Re: Anyone out there ?) Date: Wed, 1 Nov 2000 19:24:49 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Wed, Nov 01, 2000 at 07:05:55PM +1030, Martin Minkus wrote: > > > > Which source tree do i cvsup ? Only alpha and i386 is in the src-sys > > distrubution. Then again, i'm only following 4.x-stable, not -current. > > Doing any porting work using 4-stable is a waste of time. New platform > support can only go into -current. Which is where the OpenBoot bits will > land. Well naturally that makes sense. However i don't really expect the FreeBSD/sparc32 port to become an official port. (So its not particularly important which codebase i use; a previous post was recommending i use FreeBSD 2.2.7). Also as i stated in a previous post, this is mostly a learning exercise so i can work on the /sparc64 port if i ever get an Ultra. :). All i have is a Sparc10 atm, and i have to make do with this for now. Sparc64 is alot more complicated, with 32bit and 64bit kernels, and 32bit and 64bit userspace, or mixes between the two. martin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 9:37:52 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.integratus.com (unknown [63.209.2.83]) by hub.freebsd.org (Postfix) with SMTP id 4A25337B4C5 for ; Wed, 1 Nov 2000 09:37:50 -0800 (PST) Received: (qmail 21748 invoked by uid 5009); 1 Nov 2000 17:37:34 -0000 Date: Wed, 1 Nov 2000 09:37:34 -0800 From: Neil Bliss To: freebsd-sparc@freebsd.org Subject: SUNWSpro compile? Message-ID: <20001101093734.N11615@integratus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey gang, Seems to me there's kinda two seperate tasks at hand: - getting a bootblock built - getting sparc executable kernel code compiled I've got the SUNWSpro package around here at work, and plenty of sparcs (sun4u/sun4m/sun4d) to at least compile on. Has anyone tried to do a sun cc compile of the freebsd sources? If not, I'll give it a go here probably this evening. keep up the good work on the bootblock! =) yoda -- ================================================ Neil Bliss Integratus Customer Support email: support@integratus.com www: http://www.integratus.com Pinky, are you pondering what I'm pondering? I think so, Brain, but this time, you put the trousers on the chimp. ================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 11:52:23 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id E295C37B65E for ; Wed, 1 Nov 2000 11:52:20 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id LAA42870; Wed, 1 Nov 2000 11:51:22 -0800 (PST) (envelope-from obrien) Date: Wed, 1 Nov 2000 11:51:22 -0800 From: "David O'Brien" To: Neil Bliss Cc: freebsd-sparc@freebsd.org Subject: Re: SUNWSpro compile? Message-ID: <20001101115122.K5844@dragon.nuxi.com> Reply-To: freebsd-sparc@freebsd.org References: <20001101093734.N11615@integratus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001101093734.N11615@integratus.com>; from yoda@integratus.com on Wed, Nov 01, 2000 at 09:37:34AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Nov 01, 2000 at 09:37:34AM -0800, Neil Bliss wrote: > I've got the SUNWSpro package around here at work, and plenty of > sparcs (sun4u/sun4m/sun4d) to at least compile on. Has anyone > tried to do a sun cc compile of the freebsd sources? Any reason to not use GCC? There are significant GCC'isms in the FreeBSD code. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 11:53:43 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.integratus.com (unknown [63.209.2.83]) by hub.freebsd.org (Postfix) with SMTP id AEB3537B4C5 for ; Wed, 1 Nov 2000 11:53:41 -0800 (PST) Received: (qmail 3008 invoked by uid 5009); 1 Nov 2000 19:53:41 -0000 Date: Wed, 1 Nov 2000 11:53:41 -0800 From: Neil Bliss To: freebsd-sparc@freebsd.org Subject: Re: SUNWSpro compile? Message-ID: <20001101115341.C2617@integratus.com> References: <20001101093734.N11615@integratus.com> <20001101115122.K5844@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001101115122.K5844@dragon.nuxi.com>; from obrien@NUXI.com on Wed, Nov 01, 2000 at 11:51:22AM -0800 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmm, I had heard from several different places that for kernel code on a sun, you had to use sun's compiler. That may be misinformation, but it's what I had heard... Once upon a time, David O'Brien said... > On Wed, Nov 01, 2000 at 09:37:34AM -0800, Neil Bliss wrote: > > I've got the SUNWSpro package around here at work, and plenty of > > sparcs (sun4u/sun4m/sun4d) to at least compile on. Has anyone > > tried to do a sun cc compile of the freebsd sources? > > Any reason to not use GCC? There are significant GCC'isms in the FreeBSD > code. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message -- Neil Bliss - Integratus Customer Support - support@integratus.com Yow!-Zippy-Says: TONY RANDALL! Is YOUR life a PATIO of FUN?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 11:56:34 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from spaztic.blearg.org (spaztic.blearg.org [204.152.115.6]) by hub.freebsd.org (Postfix) with ESMTP id C369A37B4CF for ; Wed, 1 Nov 2000 11:56:31 -0800 (PST) Received: (from biswick@localhost) by spaztic.blearg.org (8.8.8/8.8.8) id OAA11245 for freebsd-sparc@FreeBSD.ORG; Wed, 1 Nov 2000 14:56:30 -0500 (EST) (envelope-from biswick) Message-ID: <20001101145630.A8633@blearg.org> Date: Wed, 1 Nov 2000 14:56:30 -0500 From: Chad Hall To: freebsd-sparc@FreeBSD.ORG Subject: Re: SUNWSpro compile? References: <20001101093734.N11615@integratus.com> <20001101115122.K5844@dragon.nuxi.com> <20001101115341.C2617@integratus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <20001101115341.C2617@integratus.com>; from Neil Bliss on Wed, Nov 01, 2000 at 11:53:41AM -0800 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You are correct...to compile Sun kernel code you need to use CC. To compile BSD code, stick with GCC. On Wed, Nov 01, 2000 at 11:53:41AM -0800, Neil Bliss wrote: > Hmm, I had heard from several different places that for kernel code on a sun, you had to use sun's compiler. > That may be misinformation, but it's what I had heard... > > Once upon a time, David O'Brien said... > > Any reason to not use GCC? There are significant GCC'isms in the FreeBSD > > code. -- Chad Hall - - biswick@blearg.org The Unofficial .signature Of The 1996 Summer Olympics In Atlanta To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Nov 1 13: 0:59 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.integratus.com (unknown [63.209.2.83]) by hub.freebsd.org (Postfix) with SMTP id 80C3B37B4C5 for ; Wed, 1 Nov 2000 13:00:57 -0800 (PST) Received: (qmail 7731 invoked by uid 5009); 1 Nov 2000 21:00:53 -0000 Date: Wed, 1 Nov 2000 13:00:53 -0800 From: Neil Bliss To: Chad Hall Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: SUNWSpro compile? Message-ID: <20001101130053.D2617@integratus.com> References: <20001101093734.N11615@integratus.com> <20001101115122.K5844@dragon.nuxi.com> <20001101115341.C2617@integratus.com> <20001101145630.A8633@blearg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001101145630.A8633@blearg.org>; from biswick@blearg.org on Wed, Nov 01, 2000 at 02:56:30PM -0500 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org all righty then, gcc it is. I like that better already! Once upon a time, Chad Hall said... > You are correct...to compile Sun kernel code you need to use CC. To compile > BSD code, stick with GCC. > > On Wed, Nov 01, 2000 at 11:53:41AM -0800, Neil Bliss wrote: > > Hmm, I had heard from several different places that for kernel code on a sun, you had to use sun's compiler. > > That may be misinformation, but it's what I had heard... > > > > Once upon a time, David O'Brien said... > > > Any reason to not use GCC? There are significant GCC'isms in the FreeBSD > > > code. > > -- > Chad Hall - - biswick@blearg.org > The Unofficial .signature Of The 1996 Summer Olympics In Atlanta > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message -- Neil Bliss - Integratus Customer Support - support@integratus.com Yow!-Zippy-Says: Yow! Are we wet yet? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Nov 2 11:43:25 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from homer.softweyr.com (mail.dobox.com [208.187.122.44]) by hub.freebsd.org (Postfix) with ESMTP id 76DE137B4CF for ; Thu, 2 Nov 2000 11:43:23 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 13rQGd-00007y-00; Thu, 02 Nov 2000 12:43:19 -0700 Message-ID: <3A01C3D7.AE89F7B0@softweyr.com> Date: Thu, 02 Nov 2000 12:43:19 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Martin Minkus Cc: freebsd-sparc@freebsd.org Subject: Re: OpenBoot (was Re: Anyone out there ?) References: <016a01c03d9d$eb2c6950$0200000a@lan.diskiller.net> <39F5BD2D.2F978990@post.rwth-aachen.de> <009801c04336$7e45ea20$0200000a@lan.diskiller.net> <39FF5BA1.13A26A16@post.rwth-aachen.de> <002c01c043d7$eab6c4d0$0200000a@lan.diskiller.net> <20001101000835.H5844@dragon.nuxi.com> <004401c043de$c2ddf260$0200000a@lan.diskiller.net> <20001101004422.I5844@dragon.nuxi.com> <005001c043e1$669b4bd0$0200000a@lan.diskiller.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Martin Minkus wrote: > > > On Wed, Nov 01, 2000 at 07:05:55PM +1030, Martin Minkus wrote: > > > > > > Which source tree do i cvsup ? Only alpha and i386 is in the src-sys > > > distrubution. Then again, i'm only following 4.x-stable, not -current. > > > > Doing any porting work using 4-stable is a waste of time. New platform > > support can only go into -current. Which is where the OpenBoot bits will > > land. > > Well naturally that makes sense. > > However i don't really expect the FreeBSD/sparc32 port to become an official > port. (So its not particularly important which codebase i use; a previous > post was recommending i use FreeBSD 2.2.7). > > Also as i stated in a previous post, this is mostly a learning exercise so i > can work on the /sparc64 port if i ever get an Ultra. :). All i have is a > Sparc10 atm, and i have to make do with this for now. > > Sparc64 is alot more complicated, with 32bit and 64bit kernels, and 32bit > and 64bit userspace, or mixes between the two. But FreeBSD/sparc64 needn't be. NetBSD has separate ports for sparc and sparc64. Given the toolchain differences (and difficulties) this is probably a wise decision. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Nov 3 18:43: 5 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id 0283D37B4CF for ; Fri, 3 Nov 2000 18:43:00 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 13rRkO-00009n-00; Thu, 02 Nov 2000 14:18:08 -0700 Message-ID: <3A01DA10.40A46ED0@softweyr.com> Date: Thu, 02 Nov 2000 14:18:08 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Neil Bliss Cc: freebsd-sparc@freebsd.org Subject: Re: SUNWSpro compile? References: <20001101093734.N11615@integratus.com> <20001101115122.K5844@dragon.nuxi.com> <20001101115341.C2617@integratus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Neil Bliss wrote: > > Hmm, I had heard from several different places that for kernel code on a > sun, you had to use sun's compiler. > That may be misinformation, but it's what I had heard... s/a sun/solaris/g -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Nov 3 21:38:43 2000 Delivered-To: freebsd-sparc@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 18C8E37B4CF for ; Fri, 3 Nov 2000 21:38:42 -0800 (PST) Received: from beppo (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id VAA24298; Fri, 3 Nov 2000 21:38:34 -0800 Date: Fri, 3 Nov 2000 21:38:34 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Neil Bliss Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: SUNWSpro compile? In-Reply-To: <3A01DA10.40A46ED0@softweyr.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Neil Bliss wrote: > > > > Hmm, I had heard from several different places that for kernel code on a > > sun, you had to use sun's compiler. > > That may be misinformation, but it's what I had heard... No, you don't necessarily have to use the Sun compiler. But there are two issues- one is runtime support- you may have to link with libgcc.a if you use gcc instead- for example, for ia32 if you use any uint64_t types where you have to do a mul or div op the compiler will generate calls to runtime code that only is in libgcc- not in the Solaris kernel. The other issue is, and I haven't checked this out in a while, but there was some question as to whether the GCC sparc v9 code generator was generating correct 64 bit code- this was just a rumour, and since I have a SUNWpro compiler, I just use gcc for the semantic checking it does. A major motivating point for the DDI/DKI was that Solaris would ship w/o a compiler. Ergo, 3rd party driver distributions would be binary only and would be run time linked (no binary config(8)). So, no, it was never an intent that you had to buy the Sun compiler. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message