Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2013 22:44:19 +0100
From:      Stefan Kooman <stefan@kooman.org>
To:        freebsd-mips@freebsd.org
Subject:   kernel build fails for Routerboard 450g
Message-ID:  <20130107214419.GB16119@archie.kooman.org>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130107214419.GB16119>