From owner-freebsd-mips@FreeBSD.ORG Mon Jan 4 19:30:36 2010 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 9B822106568F for ; Mon, 4 Jan 2010 19:30:36 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6F28A8FC2A for ; Mon, 4 Jan 2010 19:30:36 +0000 (UTC) Received: by pxi12 with SMTP id 12so9626672pxi.3 for ; Mon, 04 Jan 2010 11:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=fk04mGRgDneE0ay46VxibeAeLTHTdOuReQWIAR7mQ2Q=; b=sI06vIGVW2tO2Jn2H3AxZcp8WaaHN48VQNE35FjltWhzFcNAXX+WjaHWn/k34UjXk9 ZXSnSHk2urgdEVoEHqseCsTeEUCtBj8idEbO1pHT/1nd7bMQOJbNRndJ/GObIUXdOIpk qLIvSo3kjpaL6nt6ZZsHM3Llk+CK1ZIiPGaWQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WKcVzIMAhGzclfZt3V25C7V9bV/gyK0xG5AlKrlm8VpjanJhKY1WfqMAZQ0CqdXAir FKJclLE8jfHKYt0xn+LINRqdG5NS7cbt8RGtyhMSgqFC7NQzJ6ijBZHZkvheHtnVLiym J7RXo9G5+wrOkukIvqhe2mBfRIoTII2n0fshk= MIME-Version: 1.0 Received: by 10.115.114.9 with SMTP id r9mr14913990wam.19.1262633421727; Mon, 04 Jan 2010 11:30:21 -0800 (PST) In-Reply-To: <290865fd0910201022h6bfd82cev7fac4294f1e89004@mail.gmail.com> References: <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> <20091018.092442.329271515.imp@bsdimp.com> <290865fd0910201022h6bfd82cev7fac4294f1e89004@mail.gmail.com> Date: Mon, 4 Jan 2010 11:30:18 -0800 Message-ID: <290865fd1001041130y4c2d59d5s3d9915a39b98397d@mail.gmail.com> From: alan yang To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: Cavium port 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, 04 Jan 2010 19:30:36 -0000 Hi, Warner, Now 8.0 is released, i wonder the MIPS support is more complete for OCTEON that i should upgrade to 8.0 source base. Thanks in advance, really appreciate the info... On Tue, Oct 20, 2009 at 9:22 AM, alan yang wrote: > Thanks Warner: updated the source tree, now can build OCTEON1. > > Will try to run it... > > On Sun, Oct 18, 2009 at 8:24 AM, M. Warner Losh wrote: >> In message: <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com= > >> =A0 =A0 =A0 =A0 =A0 =A0alan yang writes: >> : but ran into another failure, wonder there is a quick work around: >> : --- >> : -c -O -pipe =A0-std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs >> : -Wstrict-prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline >> : -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc >> : -I. -I/usr/home/alan/genova/mips/sys >> : -I/usr/home/alan/genova/mips/sys/contrib/altq -D_KERNEL >> : -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >> : -finline-limit=3D8000 --param inline-unit-growth=3D100 --param >> : large-function-growth=3D1000 =A0-EB -fno-pic -mno-abicalls -G0 -EB >> : -march=3Dmips64 -mabi=3D64 -msoft-float -ffreestanding >> : /usr/home/alan/genova/mips/sys/mips/mips/trap.c >> : /usr/home/alan/genova/mips/sys/mips/mips/trap.c:1063: error: >> : conflicting types for 'MipsEmulateBranch' >> : ./machine/md_var.h:51: error: previous declaration of >> : 'MipsEmulateBranch' was here >> : *** Error code 1 >> >> Hmmm... =A0Looks like there were some changes that were stomped on by >> the latest MFC. =A0We'll have to investigate why that was... =A0In the >> mean time, I've restored them and fixed a few new issues and committed >> the results. =A0You can at least build OCTEON1 now. =A0I've not tried to >> run it, and I'd expect that it will die somewhere in the context >> switch for the first task, if not sooner.... >> >> Warner >> >> >