Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2015 19:03:34 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        Luis Alberto Gonzalez Alvarez <alberto.bsd@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: 
Message-ID:  <FB557317-8B5D-491D-AA26-890381CBEAE6@kientzle.com>
In-Reply-To: <CACNMU8pnU_aUw_sLrPtDTwt0u_sxtHizdW1X7j2bf8QS=z8mkw@mail.gmail.com>
References:  <CACNMU8pnU_aUw_sLrPtDTwt0u_sxtHizdW1X7j2bf8QS=z8mkw@mail.gmail.com>

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

> On May 9, 2015, at 6:54 PM, Luis Alberto Gonzalez Alvarez =
<alberto.bsd@gmail.com> 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 =
<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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB557317-8B5D-491D-AA26-890381CBEAE6>