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