Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2011 10:04:26 -0400
From:      "Naoyuki Tai" <ntai@smartfruit.com>
To:        freebsd-arm@freebsd.org
Subject:   How can I cross-compile the packages for ARM on i386 FreeBSD?
Message-ID:  <op.v15v1ogoi1oka3@luxor.smartfruit.com>

next in thread | raw e-mail | index | archive | help

I'm running my DreamPlug off of a 4GB USB stick. First partition is
a small DOS partition for kernel.bin, and the rest (/dev/sd2s2a) is
the root partition. (I'll switch to larger SD card at some point.)

With the root file system compiled into the kernel,
(options 	ROOTDEVNAME=\"ufs:/dev/da2s2a\")

The first snag was that I could not use the portsnap.
After googling a little, I found out that disabling the clustering
of file I/O may fix it.

cat /etc/fstab
/dev/da2s2a / ufs rw,noclusterr,noclusterw 1 1

After finding this out, I noticed

http://www.plugcomputer.org/plugwiki/index.php/FreeBSD_8.0_Setup

uses these mount option flags. (doh!)


Anyhow, at this point, I can probably compile every port. But it
would be really time consuming to do so on the DreamPlug.

I'd like to learn how I can build the packages for the ARM on
the Intel FreeBSD 8.2 where I compiled the kernel for ARM.
Could someone point the direction for me?

Thanks.

-- Tai



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