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/