From owner-freebsd-arm@FreeBSD.ORG Wed Sep 21 14:04:37 2011 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 63DF01065674 for ; Wed, 21 Sep 2011 14:04:37 +0000 (UTC) (envelope-from ntai@smartfruit.com) Received: from homiemail-a34.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by mx1.freebsd.org (Postfix) with ESMTP id 4184C8FC12 for ; Wed, 21 Sep 2011 14:04:37 +0000 (UTC) Received: from homiemail-a34.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTP id E5CE91006E for ; Wed, 21 Sep 2011 07:04:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=smartfruit.com; h=content-type :subject:to:mime-version:content-transfer-encoding:from:date: message-id; q=dns; s=smartfruit.com; b=A6paryOAbmKSeOBoLyYSZlgXX WDJYrfkFF3lkGY/n90N3Wo3B6x5TQAOehVxv7szezT4QfP/JtJh1nSa26shi9sPd DZP5Eom6XIo29ENRCBRvZKcEQZENZaR25DtU8rZ6LI7w06mRl5nBQqmrHOOdVNBh 3PNpmmbgE+ijryY1Qs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=smartfruit.com; h= content-type:subject:to:mime-version:content-transfer-encoding :from:date:message-id; s=smartfruit.com; bh=Wfd+2hSrhPrn+QS9uQKY rgAJTg8=; b=hkEBEBsCt7XaibkknKCBLg0CcLxLGl8K3oZCObmO0iaBSG6TiY1F Q1GB8QzOlkGs73JoBwq3bJgT/JfpPGm/j5f+FrZRyYkhQEGuMpCKZPjDy8O+sG2T FEcvS9yAYKBQnKg1JAPn7v6SvlzV36ktBPeMYOKpQlvcCiPUp3/Hq3w= Received: from luxor.smartfruit.com (pool-173-76-33-234.bstnma.fios.verizon.net [173.76.33.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: smtpguy@smartfruit.com) by homiemail-a34.g.dreamhost.com (Postfix) with ESMTPSA id 7C42510060 for ; Wed, 21 Sep 2011 07:04:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Naoyuki Tai" Date: Wed, 21 Sep 2011 10:04:26 -0400 Message-ID: User-Agent: Opera Mail/11.01 (FreeBSD) Subject: How can I cross-compile the packages for ARM on i386 FreeBSD? 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, 21 Sep 2011 14:04:37 -0000 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