From owner-freebsd-arm@FreeBSD.ORG Mon May 11 11:06:51 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 386D71065673 for ; Mon, 11 May 2009 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 25AE78FC14 for ; Mon, 11 May 2009 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4BB6pb6085886 for ; Mon, 11 May 2009 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4BB6oBS085882 for freebsd-arm@FreeBSD.org; Mon, 11 May 2009 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 May 2009 11:06:50 GMT Message-Id: <200905111106.n4BB6oBS085882@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org 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: Mon, 11 May 2009 11:06:51 -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 arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 o arm/134338 arm [patch] Lock GPIO accesses on ixp425 o arm/134092 arm [patch] NSLU.hints contains wrong hints for on board n 3 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon May 11 21:42:44 2009 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DB7D106564A; Mon, 11 May 2009 21:42:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id AFE618FC1F; Mon, 11 May 2009 21:42:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.3/8.14.3) with ESMTP id n4BLgfda003934; Mon, 11 May 2009 17:42:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.3/8.14.3) with ESMTP id n4BLgftE063353; Mon, 11 May 2009 17:42:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 03B367302F; Mon, 11 May 2009 17:42:40 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090511214241.03B367302F@freebsd-current.sentex.ca> Date: Mon, 11 May 2009 17:42:40 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp1.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2009 21:42:44 -0000 TB --- 2009-05-11 20:40:00 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-05-11 20:40:00 - starting HEAD tinderbox run for arm/arm TB --- 2009-05-11 20:40:00 - cleaning the object tree TB --- 2009-05-11 20:40:46 - cvsupping the source tree TB --- 2009-05-11 20:40:46 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/arm/arm/supfile TB --- 2009-05-11 20:40:57 - building world TB --- 2009-05-11 20:40:57 - MAKEOBJDIRPREFIX=/obj TB --- 2009-05-11 20:40:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-05-11 20:40:57 - TARGET=arm TB --- 2009-05-11 20:40:57 - TARGET_ARCH=arm TB --- 2009-05-11 20:40:57 - TZ=UTC TB --- 2009-05-11 20:40:57 - __MAKE_CONF=/dev/null TB --- 2009-05-11 20:40:57 - cd /src TB --- 2009-05-11 20:40:57 - /usr/bin/make -B buildworld >>> World build started on Mon May 11 20:41:00 UTC 2009 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -std=gnu99 -c /src/usr.bin/mail/vars.c cc -O -pipe -std=gnu99 -o mail version.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o head.o v7.local.o lex.o list.o main.o names.o popen.o quit.o send.o strings.o temp.o tty.o util.o vars.o gzip -cn /src/usr.bin/mail/mail.1 > mail.1.gz ===> usr.bin/make (all) cc -O -pipe -I/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c /src/usr.bin/make/arch.c cc1: warnings being treated as errors /src/usr.bin/make/arch.c: In function 'Arch_ParseArchive': /src/usr.bin/make/arch.c:402: warning: the address of 'members' will never be NULL *** Error code 1 Stop in /src/usr.bin/make. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-05-11 21:42:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-05-11 21:42:40 - ERROR: failed to build world TB --- 2009-05-11 21:42:40 - 2860.98 user 355.03 system 3760.12 real http://tinderbox.des.no/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Wed May 13 17:47:59 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 078CD10656A3 for ; Wed, 13 May 2009 17:47:59 +0000 (UTC) (envelope-from jdl@jdl.com) Received: from jdl.com (jdl.com [208.123.74.7]) by mx1.freebsd.org (Postfix) with ESMTP id E28518FC28 for ; Wed, 13 May 2009 17:47:58 +0000 (UTC) (envelope-from jdl@jdl.com) Received: from jdl (helo=jdl.com) by jdl.com with local-esmtp (Exim 4.69) (envelope-from ) id 1M4IJc-0006hM-0e for freebsd-arm@freebsd.org; Wed, 13 May 2009 12:32:24 -0500 To: freebsd-arm@freebsd.org Date: Wed, 13 May 2009 12:32:24 -0500 From: Jon Loeliger Message-Id: X-Spam-Score: -1.8 Subject: Building boot2 for the avila 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: Wed, 13 May 2009 17:47:59 -0000 [ Apologies for any duplicates you may see as I incorrectly posted to the freebsd-current list earlier. -- jdl ] Folks, I'm following the instructions on the Wiki here: http://wiki.freebsd.org/FreeBSDAvila After successfully building FreeBSD current using nanobsd and placing it onto a Compact Flash, I am now trying to build the boot2 image so that I can boot it. The instructions say: Build a kernel configured to mount the file system from ad0. This is most easily done by copying the AVILA config file and stripping out the BOOTP* options. Which I think I did, but I'm not sure. I placed a new "BOOT2" config file in /usr/src/sys/arm/conf. By the phrase "Build a kernel configured to ..." here, does it really mean a whole new "make buildworld" like this: make KERNCONF=BOOT2 TARGET=arm TARGET_CPUTYPE=xscale \ TARGET_BIG_ENDIAN=true buildworld or perhaps just: make KERNCONF=BOOT2 TARGET=arm TARGET_CPUTYPE=xscale \ TARGET_BIG_ENDIAN=true buildkernel make KERNCONF=BOOT2 TARGET=arm TARGET_CPUTYPE=xscale \ TARGET_BIG_ENDIAN=true DESTDIR=/some/where \ installkernel within the existing (from nanobsd) environment? Then the wiki page says: Build the second level bootstrap program by entering the arm/xscale build environment and building sys/boot2/ixdp425: make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ TARGET_BIG_ENDIAN=true buildenv cd sys/boot/arm/ixp425/boot2/ make The problem arises from that make: # make Warning: Object directory not changed from original /usr/src/sys/boot/arm/ixp425/boot2 cc -O -pipe -mbig-endian -march=armv5te -D__XSCALE__ -DBOOT_STACK=0x200000-4 -I/usr/src/sys/boot/arm/ixp425/boot2/../../../common -I/usr/src/sys/boot/arm/ixp425/boot2 -DFIXUP_BOOT_DRV -Os -ffreestanding -I/usr/src/sys/boot/arm/ixp425/boot2/../../../.. -I/usr/src/sys/boot/arm/ixp425/boot2/../../../../arm -DCPU_XSCALE_IXP425 -Wall -Waggregate-return -Werror -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -DBOOT_IXP425 -std=gnu99 -c arm_init.S cc1: error: unrecognized command line option "-mbig-endian" arm_init.S:0: error: bad value (armv5te) for -march= switch arm_init.S:0: error: bad value (armv5te) for -mtune= switch *** Error code 1 Stop in /usr/src/sys/boot/arm/ixp425/boot2. Any advice for the weary here? If I just strip the three offending flags from the Makefile, will it build properly? I'm dubious, except that there are also these in the environment now: TARGET_CPUTYPE=xscale CPUTYPE=xscale TARGET_BIG_ENDIAN=true MACHINE_ARCH=arm MAKEOBJDIRPREFIX=/usr/obj/arm MAKEFLAGS= TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true -m /usr/src/share/mk I feel like maybe I missed the middle part somewhere? Thanks, jdl _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Thu May 14 14:28:11 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 B6B441065679 for ; Thu, 14 May 2009 14:28:11 +0000 (UTC) (envelope-from jdl@jdl.com) Received: from jdl.com (jdl.com [208.123.74.7]) by mx1.freebsd.org (Postfix) with ESMTP id 9001A8FC1E for ; Thu, 14 May 2009 14:28:11 +0000 (UTC) (envelope-from jdl@jdl.com) Received: from jdl (helo=jdl.com) by jdl.com with local-esmtp (Exim 4.69) (envelope-from ) id 1M4bup-00015Z-Hm for freebsd-arm@freebsd.org; Thu, 14 May 2009 09:28:07 -0500 To: freebsd-arm@freebsd.org Date: Thu, 14 May 2009 09:28:07 -0500 From: Jon Loeliger Message-Id: X-Spam-Score: -2.3 Subject: Building boot2 under arm? 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: Thu, 14 May 2009 14:28:12 -0000 [ Forwarded from -current as I am still trying to resolve this problem of building boot2 for the avila board. -- jdl ] ------- Forwarded Message To: Andrew Thompson Cc: freebsd-current@freebsd.org In-reply-to: <20090513175000.GA2635@citylink.fud.org.nz> Date: Wed, 13 May 2009 17:02:04 -0500 From: Jon Loeliger Message-Id: Subject: Re: Building boot2 for ixp425 > The buildenv command is the one that spawns a new shell with all the > correct paths to use the new compiler. just do the kernel-toolchain > before it, as in. > > make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ > TARGET_BIG_ENDIAN=true kernel-toolchain > > make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ > TARGET_BIG_ENDIAN=true buildenv > > cd sys/boot/arm/ixp425/boot2/ > make > > That should work :) But alas, it did not. So I ran the first two make commands as above but with my KERNCONF=BOOT2 in the mix as well. Built a toolchain and all just fine. And switched into a "buildenv" as well. However: # make Warning: Object directory not changed from original /usr/src/sys/boot/arm/ixp425/boot2 cc -O -pipe -mbig-endian -march=armv5te -D__XSCALE__ -DBOOT_STACK=0x200000-4 -I/usr/src/sys/boot/arm/ixp425/boot2/../../../common -I/usr/src/sys/boot/arm/ixp425/boot2 -DFIXUP_BOOT_DRV -Os -ffreestanding -I/usr/src/sys/boot/arm/ixp425/boot2/../../../.. -I/usr/src/sys/boot/arm/ixp425/boot2/../../../../arm -DCPU_XSCALE_IXP425 -Wall -Waggregate-return -Werror -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -DBOOT_IXP425 -std=gnu99 -c arm_init.S arm_init.S:27:25: error: machine/asm.h: No such file or directory arm_init.S: Assembler messages: arm_init.S:29: Error: bad instruction `asentry_np(start)' arm_init.S:52: Error: bad instruction `entry(cpu_id)' arm_init.S:54: Error: bad instruction `ret' *** Error code 1 *sigh* Trying to simply build a kernel in this "buildenv" didn't work. Same results from either: # make KERNCONF=BOOT2 buildkernel or # make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true KERNCONF=BOOT2 buildkernel Like this: # make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true KERNCONF=BOOT2 buildenv Entering world for arm:arm # cd /usr/src/sys/boot/arm/ixp425/boot2 # make Warning: Object directory not changed from original /usr/src/sys/boot/arm/ixp425/boot2 cc -O -pipe -mbig-endian -march=armv5te -D__XSCALE__ -DBOOT_STACK=0x200000-4 -I/usr/src/sys/boot/arm/ixp425/boot2/../../../common -I/usr/src/sys/boot/arm/ixp425/boot2 -DFIXUP_BOOT_DRV -Os -ffreestanding -I/usr/src/sys/boot/arm/ixp425/boot2/../../../.. -I/usr/src/sys/boot/arm/ixp425/boot2/../../../../arm -DCPU_XSCALE_IXP425 -Wall -Waggregate-return -Werror -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -DBOOT_IXP425 -std=gnu99 -c arm_init.S arm_init.S:27:25: error: machine/asm.h: No such file or directory arm_init.S: Assembler messages: arm_init.S:29: Error: bad instruction `asentry_np(start)' arm_init.S:52: Error: bad instruction `entry(cpu_id)' arm_init.S:54: Error: bad instruction `ret' *** Error code 1 Stop in /usr/src/sys/boot/arm/ixp425/boot2. So I tried to construct the tree as it would be after a buildkernel, but that didn't go well at all. Should it be trying to find the file /usr/src/sys/arm/include/asm.h ? Thanks, jdl ------- End of Forwarded Message From owner-freebsd-arm@FreeBSD.ORG Thu May 14 17:26:22 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 2CF791065689 for ; Thu, 14 May 2009 17:26:22 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id BB0F08FC0A for ; Thu, 14 May 2009 17:26:21 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id 4DEF18FC4F for ; Thu, 14 May 2009 21:26:19 +0400 (MSD) Received: from orion.SpringDaemons.com (unknown [77.232.3.143]) by mx0.deglitch.com (Postfix) with ESMTPA id 9DC328FC4E; Thu, 14 May 2009 21:26:18 +0400 (MSD) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 3F66A3982C; Thu, 14 May 2009 21:26:47 +0400 (MSD) Date: Thu, 14 May 2009 21:26:47 +0400 From: Stanislav Sedov To: Jon Loeliger Message-Id: <20090514212647.d79860a2.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu May 14 21:26:19 2009 X-DSPAM-Confidence: 0.9899 X-DSPAM-Improbability: 1 in 9809 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4a0c543b994291766630182 Cc: freebsd-arm@freebsd.org Subject: Re: Building boot2 under arm? 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: Thu, 14 May 2009 17:26:22 -0000 On Thu, 14 May 2009 09:28:07 -0500 Jon Loeliger mentioned: > > [ Forwarded from -current as I am still trying to resolve > this problem of building boot2 for the avila board. -- jdl ] > > ------- Forwarded Message > > To: Andrew Thompson > Cc: freebsd-current@freebsd.org > In-reply-to: <20090513175000.GA2635@citylink.fud.org.nz> > Date: Wed, 13 May 2009 17:02:04 -0500 > From: Jon Loeliger > Message-Id: > Subject: Re: Building boot2 for ixp425 > > > The buildenv command is the one that spawns a new shell with all the > > correct paths to use the new compiler. just do the kernel-toolchain > > before it, as in. > > > > make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ > > TARGET_BIG_ENDIAN=true kernel-toolchain > > > > make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ > > TARGET_BIG_ENDIAN=true buildenv > > > > cd sys/boot/arm/ixp425/boot2/ > > make > > > > That should work :) > > But alas, it did not. > > So I ran the first two make commands as above but with > my KERNCONF=BOOT2 in the mix as well. Built a toolchain > and all just fine. And switched into a "buildenv" as well. > > However: > > # make > Warning: Object directory not changed from original /usr/src/sys/boot/arm/ixp425/boot2 > cc -O -pipe -mbig-endian -march=armv5te -D__XSCALE__ -DBOOT_STACK=0x200000-4 -I/usr/src/sys/boot/arm/ixp425/boot2/../../../common -I/usr/src/sys/boot/arm/ixp425/boot2 -DFIXUP_BOOT_DRV -Os -ffreestanding -I/usr/src/sys/boot/arm/ixp425/boot2/../../../.. -I/usr/src/sys/boot/arm/ixp425/boot2/../../../../arm -DCPU_XSCALE_IXP425 -Wall -Waggregate-return -Werror -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -DBOOT_IXP425 -std=gnu99 -c arm_init.S > arm_init.S:27:25: error: machine/asm.h: No such file or directory > arm_init.S: Assembler messages: > arm_init.S:29: Error: bad instruction `asentry_np(start)' > arm_init.S:52: Error: bad instruction `entry(cpu_id)' > arm_init.S:54: Error: bad instruction `ret' > *** Error code 1 > > *sigh* > > Trying to simply build a kernel in this "buildenv" didn't work. > Same results from either: > > # make KERNCONF=BOOT2 buildkernel > or > # make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true KERNCONF=BOOT2 buildkernel > > Like this: > > # make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true KERNCONF=BOOT2 buildenv > Entering world for arm:arm > # cd /usr/src/sys/boot/arm/ixp425/boot2 > # make > Warning: Object directory not changed from original /usr/src/sys/boot/arm/ixp425/boot2 > cc -O -pipe -mbig-endian -march=armv5te -D__XSCALE__ -DBOOT_STACK=0x200000-4 -I/usr/src/sys/boot/arm/ixp425/boot2/../../../common -I/usr/src/sys/boot/arm/ixp425/boot2 -DFIXUP_BOOT_DRV -Os -ffreestanding -I/usr/src/sys/boot/arm/ixp425/boot2/../../../.. -I/usr/src/sys/boot/arm/ixp425/boot2/../../../../arm -DCPU_XSCALE_IXP425 -Wall -Waggregate-return -Werror -Wnested-externs -Wpointer-arith -Wshadow -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -DBOOT_IXP425 -std=gnu99 -c arm_init.S > arm_init.S:27:25: error: machine/asm.h: No such file or directory > arm_init.S: Assembler messages: > arm_init.S:29: Error: bad instruction `asentry_np(start)' > arm_init.S:52: Error: bad instruction `entry(cpu_id)' > arm_init.S:54: Error: bad instruction `ret' > *** Error code 1 > > Stop in /usr/src/sys/boot/arm/ixp425/boot2. > > So I tried to construct the tree as it would be after a buildkernel, > but that didn't go well at all. > > Should it be trying to find the file /usr/src/sys/arm/include/asm.h ? Have you tried building the world first? -- Stanislav Sedov ST4096-RIPE !DSPAM:4a0c543b994291766630182!