From owner-freebsd-mips@FreeBSD.ORG Mon Nov 29 17:23:39 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 B460E106564A for ; Mon, 29 Nov 2010 17:23:39 +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 6F9848FC13 for ; Mon, 29 Nov 2010 17:23:39 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id oATHDGmi027413; Mon, 29 Nov 2010 10:13:17 -0700 (MST) (envelope-from imp@bsdimp.com) Message-ID: <4CF3DF2C.6040109@bsdimp.com> Date: Mon, 29 Nov 2010 10:13:16 -0700 From: Warner Losh User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Thunderbird/3.1.6 MIME-Version: 1.0 To: Milan Obuch References: <201011261654.50452.freebsd-mips@dino.sk> <4CEFE759.3050601@bsdimp.com> <201011261935.50734.freebsd-mips@dino.sk> In-Reply-To: <201011261935.50734.freebsd-mips@dino.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mips@FreeBSD.org Subject: Re: [Re: First RSPRO deployed!] flash utility mkfwimage and RSPRO boot question 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, 29 Nov 2010 17:23:39 -0000 On 11/26/2010 11:35, Milan Obuch wrote: > On Friday 26 November 2010 17:59:05 Warner Losh wrote: >> On 11/26/2010 08:54, Milan Obuch wrote: >>> On Thursday 25 November 2010 12:12:06 Luiz Otavio O Souza wrote: > [ snip] > >>>> Building world works with CPUTYPE=mips32 and for ports, add the >>>> following line to /etc/make.conf: >>>> >>>> CFLAGS=-O2 -pipe -march=mips32 >>> Hmm, I put just TARGET_ARCH=mipseb into /etc/make.conf and compiled >>> almost all world (accidentally broken just before end, but that's a >>> pilot error in this case) and sysutils/screen port compiled and run with >>> no CPUTYPE nor CFLAGS definition. >>> >>> That should not be read as better from any side, but surely simpler :) >>> Maybe even TARGET_ARCH should be known from running kernel, this would >>> be similar how native build works on both i386 and amd64 platforms. Now, >>> with screen in place I am going to test buildworld again (with some >>> WITHOUT_XXX=YES in /etc/make.conf) to verify native builds... they are >>> slowish here, which is expected, but seems to work, which is great. >> what does uname -a tell you? >> > FreeBSD argo.dino.sk 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Wed Nov 24 10:16:14 > CET 2010 root@wind.dino.sk:/tmp/rspro/obj/mips.mipseb/data/src9/sys/RSPRO > mips > > Currently running world and kernel is from cross build on i386 host. > > Native buildworld just ended, I am going to try native buildkernel... for that > I must apply some patches (already published on this list). Juli just committed some patches to make this better. I was going to do it, but she got impatient waiting for my overbooked schedule to free up... Warner