From owner-freebsd-arm@FreeBSD.ORG Sun May 10 02:03:40 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B56BD3D8 for ; Sun, 10 May 2015 02:03:40 +0000 (UTC) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF1C71E0E for ; Sun, 10 May 2015 02:03:39 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t4A23ZZv025208; Sun, 10 May 2015 02:03:35 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.105] (192.168.1.65 [192.168.1.65]) by kientzle.com with SMTP id 69ehz9zfd6snffkhftqhew7i6w; Sun, 10 May 2015 02:03:35 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: From: Tim Kientzle In-Reply-To: Date: Sat, 9 May 2015 19:03:34 -0700 Cc: freebsd-arm Message-Id: References: To: Luis Alberto Gonzalez Alvarez X-Mailer: Apple Mail (2.2098) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2015 02:03:40 -0000 > On May 9, 2015, at 6:54 PM, Luis Alberto Gonzalez Alvarez = wrote: >=20 > =E2=80=8BHi everybody. >=20 > I=E2=80=8B'm building a base system for an arm platform, Which one? > based this guide > http://people.freebsd.org/~cognet/arm.html = Those instructions are *very* out of date. There are much simpler approaches now. If you want to do it =E2=80=9Cthe hard way=E2=80=9D, the basic outline = is just: $ cd /usr/src $ make TARGET_ARCH=3Darmv6 TARGET=3Darm buildworld $ make TARGET_ARCH=3Darmv6 TARGET=3Darm buildkernel (TARGET_ARCH and TARGET here may vary depending on the particular board = you=E2=80=99re targeting.) To build a filesystem image suitable for booting, you=E2=80=99ll need to = install world onto it: $ make TARGET_ARCH=3Darmv6 TARGET=3Darm DESTDIR=3Dmy_base_dir = installworld Then you need to figure out what to do with the kernel and what boot = bits are needed by your particular board. This varies a lot from system = to system. If you don=E2=80=99t want to do it the hard way: FreeBSD=E2=80=99s release engineers are publishing stock images for several popular boards that you can just download and run. The Crochet tool knows how to build complete, customized bootable images for a variety of boards. Cheers, Tim