From owner-freebsd-arm@FreeBSD.ORG Sun Aug 23 15:41:24 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB04B106568C for ; Sun, 23 Aug 2009 15:41:24 +0000 (UTC) (envelope-from rcm@fuzzwad.org) Received: from backup.volente.us (backup.volente.us [66.219.48.132]) by mx1.freebsd.org (Postfix) with ESMTP id 69A968FC12 for ; Sun, 23 Aug 2009 15:41:19 +0000 (UTC) Received: from [172.27.3.6] (nobody@localhost.my.domain [127.0.0.1]) by backup.volente.us (8.14.3/8.14.3) with ESMTP id n7NF3oZ0003437; Sun, 23 Aug 2009 09:03:56 -0600 (MDT) Message-ID: <4A915A5C.201@fuzzwad.org> Date: Sun, 23 Aug 2009 10:03:56 -0500 From: Ron McDowell User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Rafal Jaworowski References: <59898be6a9ea3e4896f5c062a55eb7ba@webmail.lk6.com.br> <6AF5CD36-1B59-407C-994C-7D68F46F9227@semihalf.com> In-Reply-To: <6AF5CD36-1B59-407C-994C-7D68F46F9227@semihalf.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-arm@freebsd.org Subject: Re: Marvel Sheevaplug X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2009 15:41:24 -0000 Rafal Jaworowski wrote: > /The patch as is would not apply cleanly however for very recent HEAD > as some of the changes from the diff were committed individually to > the tree. I'll try to come up with an udated version against recentŪ > HEAD tomorrow./ I applied the patch at http://people.freebsd.org/~raj/patches/arm/sheevaplug.diff to a RELENG_8 tree pulled around 8pm CDT 22 Aug 09. The last hunk of the last patch was the only one to fail, but it was easy to locate and apply manually. uname -a of my build system: FreeBSD zombie.volente.us 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Mon Jul 6 01:50:51 CDT 2009 rcm@zombie:/Stash/Work/FreeBSD/Sources/obj/Stash/Work/FreeBSD/Sources/src/sys/GENERIC i386 [I am unable to upgrade the build machine to 8 because of other things running on it.] The build complains of no machine/vm.h or arm/mv/mvwin.h. At this point in the build, I have the following vm.h files: /usr/include/vm/vm.h /Stash/Sheeva/FreeBSD8/dest/usr/include/vm/vm.h /Stash/Sheeva/FreeBSD8/src/sys/vm/vm.h /Stash/Sheeva/FreeBSD8/obj/arm/Stash/Sheeva/FreeBSD8/src/tmp/usr/include/vm/vm.h ...but none of them are in a machine directory. The only mvwin.h file is /Stash/Work/FreeBSD/Sources/src/sys/arm/mv/mvwin.h Here's my output with errors at the end. Ideas? Thanks in advance. --rcm + cd /Sheeva/FreeBSD8/ + . .env + export MAKEOBJDIRPREFIX=/Sheeva/FreeBSD8/obj + export TARGET_ARCH=arm + export DESTDIR=/Sheeva/FreeBSD8/dest + export KERNCONF=SHEEVAPLUG + cd /Sheeva/FreeBSD8/src + make -j4 buildworld -------------------------------------------------------------- >>> World build started on Sat Aug 22 23:00:38 CDT 2009 -------------------------------------------------------------- [huge snip] + make buildkernel -------------------------------------------------------------- >>> Kernel build for SHEEVAPLUG started on Sun Aug 23 00:51:08 CDT 2009 -------------------------------------------------------------- ===> SHEEVAPLUG mkdir -p /Sheeva/FreeBSD8/obj/arm/Stash/Sheeva/FreeBSD8/src/sys -------------------------------------------------------------- >>> stage 1: configuring the kernel -------------------------------------------------------------- [snip] -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- [snip] rm -f .newdep make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -mlittle-endian -E" CC="cc -mlittle-endian" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/Stash/Sheeva/FreeBSD8/src/sys -I/Stash/Sheeva/FreeBSD8/src/sys/contrib/altq -I/Stash/Sheeva/FreeBSD8/src/sys/contrib/ipfilter -I/Stash/Sheeva/FreeBSD8/src/sys/contrib/pf -I/Stash/ Sheeva/FreeBSD8/src/sys/dev/ath -I/Stash/Sheeva/FreeBSD8/src/sys/dev/ath/ath_hal -I/Stash/Sheeva/FreeBSD8/src/sys/contrib/ngatm -I/Stash/Sheeva/FreeBSD8/src/sys/dev/twa -I/Stash/Sheeva/FreeBSD8/src/sys/gnu/fs/xfs/FreeBSD -I/Stash/Sheeva/FreeBSD8/src/sys/gnu/fs/xfs/FreeB SD/support -I/Stash/Sheeva/FreeBSD8/src/sys/gnu/fs/xfs -I/Stash/Sheeva/FreeBSD8/src/sys/contrib/opensolaris/compat -I/Stash/Sheeva/FreeBSD8/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit- growth=100 --param large-function-growth=1000 -march=armv5te -ffreestanding In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/common.c:44: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/gpio.c:49: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/ic.c:44: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mv_machdep.c:88: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mv_machdep.c:89:26: error: arm/mv/mvwin.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/obio.c:40: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/timer.c:49: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/dev/mge/if_mge.c:78: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/dev/uart/uart_bus_mbus.c:50: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/dev/uart/uart_cpu_mv.c:48: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/dev/usb/controller/ehci_mbus.c:55: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/kirkwood/kirkwood.c:42: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory In file included from /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/kirkwood/sheevaplug.c:48: /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/mvvar.h:47:24: error: machine/vm.h: No such file or directory /Stash/Sheeva/FreeBSD8/src/sys/arm/mv/kirkwood/sheevaplug.c:49:26: error: arm/mv/mvwin.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /Stash/Sheeva/FreeBSD8/obj/arm/Stash/Sheeva/FreeBSD8/src/sys/SHEEVAPLUG. *** Error code 1 Stop in /Stash/Sheeva/FreeBSD8/src. *** Error code 1 Stop in /Stash/Sheeva/FreeBSD8/src. -- Ron McDowell San Antonio TX