how to build root filesystem for ixp425

John Hay jhay at meraka.org.za
Mon Aug 18 12:49:15 UTC 2008


On Mon, Aug 18, 2008 at 11:42:26AM +0300, Stavros Markou wrote:
> Hi,
> 
> I am trying to build a root filesystem using the mini guide at
> http://people.freebsd.org/~cognet/freebsd_arm.txt but with no luck for
> IXP425. Just to clarify some things :
> 
> When i am doing a buildworld inside /usr/src all these env variables
> inside the mini guide must be exported ? 
> What about BUILD_ARCH ? By default i am building a filesystem at a i386
> machine so BUILD_ARCH has the i386 value.
> 
> I am using Freebsd 7.0 and i also have seen the wiki for AVILA but i got
> the same Makefile.inc1 error for setting TARGET_ARCH (even though i am
> setting TARGET_ARCH=arm)
> I have build the kernel which is loaded fine but when the root
> filesystem is mounted via NFS i get : exec /sbin/init : error 8 , so i
> think that maybe the root filesystem i 've built is not right.

My script do this:

rm -rf /armdist
chflags -R 0 /armdist
rm -rf /armdist
mkdir /armdist
make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true buildworld
make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true DESTDIR=/armdist installworld
make TARGET_ARCH=arm TARGET_CPUTYPE=xscale TARGET_BIG_ENDIAN=true DESTDIR=/armdist distribution

John
-- 
John Hay -- John.Hay at meraka.csir.co.za / jhay at FreeBSD.org


More information about the freebsd-arm mailing list