Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 00:17:17 -0800
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        "arm@freebsd.org" <arm@freebsd.org>
Subject:   Re: ports cross-compilers vs. native toolchain
Message-ID:  <890D6B89-8031-496C-A5A2-A2836369F765@FreeBSD.org>
In-Reply-To: <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com>
References:  <23CB6C35-9450-40BA-9FA3-37C44B328CA8@freebsd.org> <CABt%2Bj0mB4w==h_SQ4YyDM24_wGOjcdZDK9T1N3DqjSkap0VkQw@mail.gmail.com> <E8A24EBE-967D-44F8-A884-3207B3C6F0FE@bsdimp.com> <8042D895-3B3D-431E-ADCC-A150BDC838ED@kientzle.com>

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

On Jan 18, 2012, at 9:49 PM, Tim Kientzle <tim@kientzle.com> wrote:

> I'm trying to build a customized u-boot (so that I can
> add the bootelf command, which is needed to chain
> Rafa=C5=82's ubldr version of loader(8)).  Of course, I'm trying
> to build this from TI's sources customized for this board,
> which means I'm not using the FreeBSD-customized
> sources from denx.de.
>=20
> Since ubldr is built with the native cross-tools, I've been
> trying to build u-boot the same way, but I've run into
> a few problems that make me wonder if it would make
> more sense to build u-boot with the cross-* ports instead,
> hence my question.  (If I understand correctly, ubldr
> calls into u-boot, so the two need to be built
> compatibly, hence the question.)
>=20
> Sounds like I should keep poking at u-boot with the
> native cross tools=E2=80=A6.
>=20
> Unfortunately, the native cross-version of ld is crashing,
> and I have not yet been able to successfully build a debug
> version of the native cross tools so I can figure out why.
>=20
> I'll no doubt have more questions very=20

Hi, Tim.

You can use arm-rtems-gcc or build one with arm/eabi settings to build
uboot.  Personally, I've been using the rtems gcc port.  The uboot is
a freestanding application, so it does not need FreeBSD libs tool chain to
build and work.

--
ST4096-RIPE




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?890D6B89-8031-496C-A5A2-A2836369F765>