From owner-freebsd-arm@FreeBSD.ORG Wed Nov 15 09:10:10 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20EB816A407 for ; Wed, 15 Nov 2006 09:10:10 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2887643D4C for ; Wed, 15 Nov 2006 09:10:08 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 6B30D33CA7; Wed, 15 Nov 2006 11:10:05 +0200 (SAST) Date: Wed, 15 Nov 2006 11:10:05 +0200 From: John Hay To: Olivier Houchard Message-ID: <20061115091005.GA72236@zibbi.meraka.csir.co.za> References: <20061023163650.GA30024@zibbi.meraka.csir.co.za> <20061023211342.GA75533@ci0.org> <20061113140111.GA63047@zibbi.meraka.csir.co.za> <20061113143853.GA22089@ci0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061113143853.GA22089@ci0.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-arm@freebsd.org Subject: Re: Gateworks 2348 any experience with it? 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, 15 Nov 2006 09:10:10 -0000 > > > > > > > > One of the boards I have been looking at is the Gateworks 2348, which > > > > is a 533MHz IXP425 with 64M Ram, 4 x Mini-pci slots and a CF Socket. > > > > > > > > http://www.gateworks.com/avila_gw2348_4.htm ... > It's quite usable. We know have support for the ethernet controller. Work > is going on, and CF IDE support is almost there. > Yes, you can boot it over the thernet. > > > And is the mini-install guide that the FreeBSD arm web site take about > > (http://people.freebsd.org/~cognet/freebsd_arm.txt) still how it should > > be done? I have noticed that a lot of arm code found its way into the > > FreeBSD cvs tree. Is it possible to start from there yet? > > > > Yes, except you don't need the to apply the patches anymore. However, the > code for gateway support is not in CVS yet, only perforce, it will go into > CVS very soon, however. > > > Who is working on the ethernet driver? Is that code available somewhere > > yet? > > > > Sam Leffler did most on the work on the ethernet driver. You can browse the > perforce repo by http here : > http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/arm/src/sys/arm/xscale/ixp425&HIDEDEL=NO > Ok, I built cross tools (cc and binutils) from cvs -current source and then checked out the perforce projects/arm code. I then tried to build a kernel using the AVILA config file but it breaks at the end when trying to link the hal.o file. Did I do something wrong? ############################ dolphin:~/fbsd/p4/arm/src/sys/arm/compile/AVILA > make ATH_HAL_CPU=`echo -mcpu=xscale|sed 's/.*-mcpu=\([a-zA-Z0-9]*\).*/\1/'`; ATH_ENDIAN=`if (echo /home/jhay/cross/usr/bin/gcc -mbig-endian|grep mbig-endian>/dev/null); then echo be; else echo le; fi;`; uudecode < ../../../contrib/dev/ath/public/$ATH_HAL_CPU-$ATH_ENDIAN-elf.hal.o.uu MAKE=make sh ../../../conf/newvers.sh AVILA /home/jhay/cross/usr/bin/gcc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I../../.. -I../../../contrib/altq -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 -mcpu=xscale -ffreestanding -Werror vers.c linking kernel.debug /home/jhay/cross/usr/bin/ld: ERROR: hal.o uses FPA instructions, whereas kernel.debug does not /home/jhay/cross/usr/bin/ld: failed to merge target specific data of file hal.o *** Error code 1 Stop in /home/jhay/fbsd/p4/arm/src/sys/arm/compile/AVILA. dolphin:~/fbsd/p4/arm/src/sys/arm/compile/AVILA > ############################ John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org