From owner-freebsd-arm@FreeBSD.ORG Sun May 10 04:45:35 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C275D680 for ; Sun, 10 May 2015 04:45:35 +0000 (UTC) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B6F11D14 for ; Sun, 10 May 2015 04:45:35 +0000 (UTC) Received: by ieczm2 with SMTP id zm2so88302635iec.2 for ; Sat, 09 May 2015 21:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ua+Dkb0ADdRhuOJN0RB/uttiJsNSMgdKncZt35AnaMs=; b=BOS1j1rKvSYU1uKUPqa/Aa8N9C11WfaAKs4BudhMest570FmktOZ+XorKwn9NI4Mwv LSzX/vwBQjibLARYl9EEpiH8pt/OSw1AKhoewZOjZm9rXz4bSxxbZYs+Dzs/iYYVQtII yTB3dPT9259p8FdmTeIX9f866NUESpbZxf24z8KSfzcNLXfmJQtR1LVy/dnz3s3GCDbc o7daGJRFZTHz8A7Kwq3JRdM7ZuWZqzAoCDqNvB6mOTIEJ+YGl6AvhIHLHu2066jXd2vQ 98eV2qXGWy+Kl2zvJWCA4WOcJV2x3PgQMg8/slFAX9MDzGuFx/GjjyjC8Th+gSAMTDI2 wWRQ== MIME-Version: 1.0 X-Received: by 10.50.176.137 with SMTP id ci9mr6422189igc.2.1431233134796; Sat, 09 May 2015 21:45:34 -0700 (PDT) Received: by 10.64.23.114 with HTTP; Sat, 9 May 2015 21:45:34 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 May 2015 23:45:34 -0500 Message-ID: Subject: Re: From: Luis Alberto Gonzalez Alvarez To: Tim Kientzle Cc: freebsd-arm 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 04:45:35 -0000 On Sat, May 9, 2015 at 9:03 PM, Tim Kientzle wrote: > > On May 9, 2015, at 6:54 PM, Luis Alberto Gonzalez Alvarez < > alberto.bsd@gmail.com> wrote: > > =E2=80=8BHi everybody. > > I=E2=80=8B'm building a base system for an arm platform, > > > Which one? > =E2=80=8BIs=E2=80=8B cheap board with a rockchip 3066 I post a thread on FreeBSD forums about what I'm doing: https://forums.freebsd.org/threads/building-a-img-file-for-tablet-rockchip-= 3066.51543/ =E2=80=8B > > 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 installworl= d > > 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. > Maybe I use it after get boring > > The Crochet tool knows how to build complete, customized > bootable images for a variety of boards. > =E2=80=8BI'm looking for that in a moment=E2=80=8B > > Cheers, > > Tim > >