From owner-freebsd-mips@FreeBSD.ORG Fri Dec 28 18:10:01 2007 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 A073816A418 for ; Fri, 28 Dec 2007 18:10:01 +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 4A24713C457 for ; Fri, 28 Dec 2007 18:10:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lBSI3koK075143 for ; Fri, 28 Dec 2007 11:03:46 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 28 Dec 2007 11:08:33 -0700 (MST) Message-Id: <20071228.110833.-1540394315.imp@bsdimp.com> To: mips@freebsd.org From: "M. Warner Losh" 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: Subject: The path ahead 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, 28 Dec 2007 18:10:01 -0000 I started talking about this plan on irc, but then realized that it might be better to hash out here so there's a better record of it. As you may know, Juniper Networks recently released a reference implementation of a MIPS port to FreeBSD. This is currently in the perforce repository as //depot/vendor/juniper/juniper-mips/. It is based on FreeBSD 6.1-RELEASE and looks to be pretty good as far as it goes. It is based on a port that runs in Juniper's custom hardware, but has had all the proprietary bits stripped out, including all the CPU specific code. The only driver it supports is sio, but doesn't run on real hardware... As you may also know, there's been a community effort to do a mips port. This effort has been running, to various degrees, on different MIPS hardware. There's a number of branches off of mips2, both public and private, that implement some addition hardware. This port has lots of drivers. I'd propose that create a new branch to merge these two items. I propose the name //depot/project/mips2-jnpr to indicate that the branch pulls in from both. I don't want to argue over names, so unless you really feel strongly, I'll do this. The advantage of doing this in a new branch in p4 is that we'll be able to call a 'mulligan' if we somehow realize we're down the wrong path. I'd also propose we pull in as much as possible from the juniper-mips code and adapt our code to it. Except we should likely keep our platform interface. That's one area where we've started to progress in supporting multiple mips platforms. The Juniper code is very much for one platform and has a few places where the base mips code and the platform specific code is smashed together. Comments? Warner From owner-freebsd-mips@FreeBSD.ORG Fri Dec 28 18:37:48 2007 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 E1AD116A468 for ; Fri, 28 Dec 2007 18:37:48 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.79]) by mx1.freebsd.org (Postfix) with ESMTP id 9B8FC13C455 for ; Fri, 28 Dec 2007 18:37:48 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp010-s [10.150.69.73]) by smtpoutm.mac.com (Xserve/smtpout016/MantshX 4.0) with ESMTP id lBSIMPpE014482; Fri, 28 Dec 2007 10:22:26 -0800 (PST) Received: from mini-g4.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mac.com (Xserve/asmtp010/MantshX 4.0) with ESMTP id lBSIMOJq010785 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 28 Dec 2007 10:22:24 -0800 (PST) Message-Id: <5E899D57-A42E-40C0-8B84-134D15E9CFB5@mac.com> From: Marcel Moolenaar To: "M. Warner Losh" In-Reply-To: <20071228.110833.-1540394315.imp@bsdimp.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 28 Dec 2007 10:22:23 -0800 References: <20071228.110833.-1540394315.imp@bsdimp.com> X-Mailer: Apple Mail (2.915) Cc: mips@freebsd.org Subject: Re: The path ahead 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, 28 Dec 2007 18:37:49 -0000 On Dec 28, 2007, at 10:08 AM, M. Warner Losh wrote: > Comments? Merging invariably creates regressions for either port. Is Juniper interested in validating the merged code-base on their hardware? Also, with a SGI O2 ready and able, is there anything I can do to validate the merged tree? -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-mips@FreeBSD.ORG Sat Dec 29 15:22:07 2007 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 A239C16A418 for ; Sat, 29 Dec 2007 15:22:07 +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 4335413C45A for ; Sat, 29 Dec 2007 15:22:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id lBTFF8Pq093269 for ; Sat, 29 Dec 2007 08:15:08 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 29 Dec 2007 08:20:09 -0700 (MST) Message-Id: <20071229.082009.-679988621.imp@bsdimp.com> To: mips@freebsd.org From: "M. Warner Losh" 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: Subject: new branch in perforce 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, 29 Dec 2007 15:22:07 -0000 I've created a branch, mips2-jnpr, to facilitate the merging of the juniper-mips code with the mips2 code. In the perforce repository, the path will be //depot/projects/mips2-jnpr/src/... Please coordinate with me any efforts you wish to make in this area so I know who's working on what. I plan on hitting this hard on Jan 2nd when I get back to work, and hitting it softly between now and then. :-) Warner