Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2006 11:10:05 +0200
From:      John Hay <jhay@meraka.org.za>
To:        Olivier Houchard <mlfbsd@ci0.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Gateworks 2348 any experience with it?
Message-ID:  <20061115091005.GA72236@zibbi.meraka.csir.co.za>
In-Reply-To: <20061113143853.GA22089@ci0.org>
References:  <20061023163650.GA30024@zibbi.meraka.csir.co.za> <20061023211342.GA75533@ci0.org> <20061113140111.GA63047@zibbi.meraka.csir.co.za> <20061113143853.GA22089@ci0.org>

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



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