From owner-freebsd-mips@FreeBSD.ORG Mon Jan 7 11:06:49 2013 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 33905BB for ; Mon, 7 Jan 2013 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0D6EBF95 for ; Mon, 7 Jan 2013 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r07B6mZa087931 for ; Mon, 7 Jan 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r07B6m5i087929 for freebsd-mips@FreeBSD.org; Mon, 7 Jan 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 7 Jan 2013 11:06:48 GMT Message-Id: <201301071106.r07B6m5i087929@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-mips@FreeBSD.org Subject: Current problem reports assigned to freebsd-mips@FreeBSD.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/165951 mips [ar913x] [ath] DDR flush isn't being done for the WMAC p kern/163670 mips [mips][arge] arge can't allocate ring buffer on multip 2 problems total. From owner-freebsd-mips@FreeBSD.ORG Mon Jan 7 21:44:49 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AF6BBBEF for ; Mon, 7 Jan 2013 21:44:49 +0000 (UTC) (envelope-from stefan@kooman.org) Received: from mail.kooman.org (mail.kooman.org [IPv6:2001:7b8:60a:1:213:136:13:33]) by mx1.freebsd.org (Postfix) with ESMTP id 71EC08B5 for ; Mon, 7 Jan 2013 21:44:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kooman.org; s=mail-kooman; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=kpD82w62CisxhZ4t9gYOx87CUf5f4I0vqPbU8qpJ0Ug=; b=QTspTQYm3Qg5F3O1zsh14Eqv2LaZJyyeXUYbTojLfa7y5s0FwNrFbSLOzSLGNMZff0Piu04Vh/la+UitPUfcvGUUVpUYXMuDl3+ykozKD4QTr9ZjTBCYIMfEj/GvbSkey+9D7+lbhDe6lRYq+vfcUDQqq+xM4ZSf1G0E+pRyrN4=; Received: from archie.kooman.org ([2001:7b8:803:1::3]) by mail.kooman.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TsKUv-0000U9-67 for freebsd-mips@freebsd.org; Mon, 07 Jan 2013 22:44:45 +0100 Date: Mon, 7 Jan 2013 22:44:19 +0100 From: Stefan Kooman To: freebsd-mips@freebsd.org Subject: kernel build fails for Routerboard 450g Message-ID: <20130107214419.GB16119@archie.kooman.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 21:44:49 -0000 Dear List, I'm trying to build a kernel for Routerboard 450G. I'm following this guide [1]. The build process fails with "Specify machine type, e.g. ``machine i386'". I have added the "MACHINE" type to the environment (e.g. setenv MACHINE mips in the build script) but to no avail. Can somebody with more experience help me out. -- snip: build starts (kernel toolchain compilation went fine btw) --- -------------------------------------------------------------- >>> Kernel build for RB4XX started on Mon Jan 7 22:23:36 CET 2013 -------------------------------------------------------------- ===> RB4XX mkdir -p /data/mips/obj/mips.mips/data/mips/src/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /data/mips/src/sys/mips/conf; PATH=/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/sbin:/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/bin:/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/games:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/sbin:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/bin:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /data/mips/obj/mips.mips/data/mips/src/sys/RB4XX /data/mips/src/sys/mips/conf/RB4XX Specify machine type, e.g. ``machine i386'' *** [buildkernel] Error code 1 Stop in /data/mips/src. *** [buildkernel] Error code 1 Stop in /data/mips/src. "/data/mips/src/Makefile", line 147: warning: "TARGET_BIG_ENDIAN is no longer necessary for MIPS. Big-endian is not the default." -------------------------------------------------------------- >>> Installing kernel RB4XX -------------------------------------------------------------- cd /data/mips/obj/mips.mips/data/mips/src/sys/RB4XX; MAKEOBJDIRPREFIX=/data/mips/obj/mips.mips MACHINE_ARCH=mips MACHINE=mips CPUTYPE=mips32 GROFF_BIN_PATH=/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/share/tmac PATH=/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/sbin:/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/bin:/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/games:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/sbin:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/bin:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make KERNEL=kernel install cd: /data/mips/obj/mips.mips/data/mips/src/sys/RB4XX: No such file or directory *** [installkernel] Error code 2 Stop in /data/mips/src. *** [installkernel] Error code 1 Stop in /data/mips/src. --- snap: build stopped --- Any help is kindly appreciated, Stefan [1]: http://loos.no-ip.org/routerboard/ From owner-freebsd-mips@FreeBSD.ORG Mon Jan 7 22:55:06 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C42263D for ; Mon, 7 Jan 2013 22:55:06 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by mx1.freebsd.org (Postfix) with ESMTP id C462BAFB for ; Mon, 7 Jan 2013 22:55:05 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id dr13so10014456wgb.25 for ; Mon, 07 Jan 2013 14:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BWH39us0eHwdbofT4D2DHW+Kqs4W3Fay+yYd76rBdeQ=; b=092H1ovm6EZnn3CJBKYo4c8t534RITq6mrdNk5PSwY7czcxVJSQk3SmBCtkFd32acR ApqH98yZoRsvS+Qg3wl3/uTex7mTskZxYDijfGcp/sDp17ORgjocWH85LV1RbbwDpALb yb8PjlCMwY+l1d73FZh8RjNB7JrUYOlwZDg9YEgmw4Bw61Zi3/CefPDCSrfPmdsTyq7A C6lgKfjVIo3af8L/6eckRvtlGbfd5FmD9I1g4hLCOqEmtYfaGfuYyvTYfiTSsPkqPw3T DTRakEI5vN6oeLrfRFZw5TXE/CzkQP3sGygGt0uePznjf0vopSgFEUtlqamNC6h1rUW2 bwww== MIME-Version: 1.0 Received: by 10.181.13.195 with SMTP id fa3mr11601421wid.8.1357598897850; Mon, 07 Jan 2013 14:48:17 -0800 (PST) Received: by 10.227.59.19 with HTTP; Mon, 7 Jan 2013 14:48:17 -0800 (PST) In-Reply-To: <20130107214419.GB16119@archie.kooman.org> References: <20130107214419.GB16119@archie.kooman.org> Date: Mon, 7 Jan 2013 23:48:17 +0100 Message-ID: Subject: Re: kernel build fails for Routerboard 450g From: Monthadar Al Jaberi To: Stefan Kooman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 22:55:06 -0000 Hi, Try not using setenv. but modify the kernel config to have machine mips mips in the begining. br, On Mon, Jan 7, 2013 at 10:44 PM, Stefan Kooman wrote: > Dear List, > > I'm trying to build a kernel for Routerboard 450G. I'm following this > guide [1]. The build process fails with "Specify machine type, e.g. > ``machine i386'". I have added the "MACHINE" type to the environment > (e.g. setenv MACHINE mips in the build script) but to no avail. Can someb= ody > with more experience help me out. > > -- snip: build starts (kernel toolchain compilation went fine btw) --- > > -------------------------------------------------------------- >>>> Kernel build for RB4XX started on Mon Jan 7 22:23:36 CET 2013 > -------------------------------------------------------------- > =3D=3D=3D> RB4XX > mkdir -p /data/mips/obj/mips.mips/data/mips/src/sys > > -------------------------------------------------------------- >>>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /data/mips/src/sys/mips/conf; > PATH=3D/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/sbin:/data/m= ips/obj/mips.mips/data/mips/src/tmp/legacy/usr/bin:/data/mips/obj/mips.mips= /data/mips/src/tmp/legacy/usr/games:/data/mips/obj/mips.mips/data/mips/src/= tmp/usr/sbin:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/bin:/data/mips/= obj/mips.mips/data/mips/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > config -d /data/mips/obj/mips.mips/data/mips/src/sys/RB4XX > /data/mips/src/sys/mips/conf/RB4XX > Specify machine type, e.g. ``machine i386'' > *** [buildkernel] Error code 1 > > Stop in /data/mips/src. > *** [buildkernel] Error code 1 > > Stop in /data/mips/src. > "/data/mips/src/Makefile", line 147: warning: "TARGET_BIG_ENDIAN is no > longer necessary for MIPS. Big-endian is not the default." > -------------------------------------------------------------- >>>> Installing kernel RB4XX > -------------------------------------------------------------- > cd /data/mips/obj/mips.mips/data/mips/src/sys/RB4XX; > MAKEOBJDIRPREFIX=3D/data/mips/obj/mips.mips MACHINE_ARCH=3Dmips > MACHINE=3Dmips CPUTYPE=3Dmips32 > GROFF_BIN_PATH=3D/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/bi= n > GROFF_FONT_PATH=3D/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/s= hare/groff_font > GROFF_TMAC_PATH=3D/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/s= hare/tmac > PATH=3D/data/mips/obj/mips.mips/data/mips/src/tmp/legacy/usr/sbin:/data/m= ips/obj/mips.mips/data/mips/src/tmp/legacy/usr/bin:/data/mips/obj/mips.mips= /data/mips/src/tmp/legacy/usr/games:/data/mips/obj/mips.mips/data/mips/src/= tmp/usr/sbin:/data/mips/obj/mips.mips/data/mips/src/tmp/usr/bin:/data/mips/= obj/mips.mips/data/mips/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > make KERNEL=3Dkernel install > cd: /data/mips/obj/mips.mips/data/mips/src/sys/RB4XX: No such file or > directory > *** [installkernel] Error code 2 > > Stop in /data/mips/src. > *** [installkernel] Error code 1 > > Stop in /data/mips/src. > > --- snap: build stopped --- > > Any help is kindly appreciated, > > Stefan > > [1]: http://loos.no-ip.org/routerboard/ > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" --=20 Monthadar Al Jaberi