Marvel Sheevaplug

Ron McDowell rcm at fuzzwad.org
Sun Aug 23 15:41:24 UTC 2009


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 at 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






More information about the freebsd-arm mailing list