Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2013 08:30:01 +0100
From:      Mark R V Murray <mark@grondar.org>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        Takeshi Taguchi <taguchi949@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: What's the recipe?
Message-ID:  <0AC24F9A-7AE0-4E98-BC21-273FA097AE0F@grondar.org>
In-Reply-To: <DBD761B2-0DF0-4D72-BF62-EC7D32A520DC@kientzle.com>
References:  <522229C0.5030504@m5p.com> <20130901200726.ac7317a5f0ddfddcbed34484@gmail.com> <DBD761B2-0DF0-4D72-BF62-EC7D32A520DC@kientzle.com>

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

--Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 1 Sep 2013, at 14:50, Tim Kientzle <tim@kientzle.com> wrote:

>=20
> On Sep 1, 2013, at 4:07 AM, Takeshi Taguchi <taguchi949@gmail.com> =
wrote:
>=20
>> On Sat, 31 Aug 2013 13:37:04 -0400
>> George Mitchell <george+freebsd@m5p.com> wrote:
>>=20
>>> Have you built a working Raspberry Pi image recently?  If so, for =
the
>>> benefit of the rest of us, could you share a few secrets?
>> there are no secrets ;-)
>>=20
>>> 1. What system did you do the build on?  If it was an i386 or amd64,
>>> what svn version was it built with?
>> amd64 on virtualbox.
>> # uname -a
>> FreeBSD amd64-01 10.0-CURRENT FreeBSD 10.0-CURRENT #10 r255093M: Sat =
Aug 31
>> 21:41:10 JST 2013     root@amd64-01:/usr/obj/usr/src/sys/VIRTUALBOX  =
amd64
>>=20
>>>=20
>>> 2. What did you have in /etc/src.conf and /etc/make.conf, both for
>>> building the build system itself and for building the RPi?
>> i use same make|src.conf for pi and amd64.
>> % egrep -v ^# /etc/make.conf
>> COPTFLAGS=3D -O -pipe
>> TOP_TABLE_SIZE=3D 101
>>=20
>> WITH_PKGNG=3DYES
>> NO_WERROR=3D
>> WERROR=3D
>> PERL_VERSION=3D5.14.4
>> WITH_NEW_XORG=3Dyes
>>=20
>> % egrep -v ^# /etc/src.conf
>> MALLOC_PRODUCTION=3DYES
>>=20
>> i think we stil need MALLOC_PRODUCTION. because jemalloc issue
>> does not fixed yet.
>=20
> Note that Crochet has
>=20
>  SRCCONF=3D/dev/null
>  __MAKE_CONF=3D/dev/null
>=20
> by default.  You can override those in your Crochet configuration file
> if you wish.

Thanks!

I've spent the weekend trying to get a crochet build for Raspberry Pi =
going by various means. My build box is CURRENT as of Sept 1 2013, and =
is an AMD86. The only things in /etc/(make|src).conf are to remove stuff =
like CTM, LPR and other things of little relevance.

CURRENT + crochet cannot build u-boot because it looks like the antique =
CURRENT/GCC-xdev can't handle a couple of command-line options that =
u-boot wants (-fstack-usage, the other is hiding), but if I remove those =
it eventually fails with redefinitions of things like __packed, __pure =
and so on (this is GCC "armv6-freebsd-gcc", not CLANG).

I tried to hack up a u-boot port using the Beaglebone Black u-boot port =
as an example; that needs devel/arm-eabi-gcc which fails because of =
redefinition of some functions during the build.

I'm pretty stuck here without going on a major debugging mission - has =
anyone got a reliable build going, please?

M
--=20
Mark R V Murray


--Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQCVAwUBUiQ+ed58vKOKE6LNAQqQAQP/W0mWB46/27ycuCkTFP04vg0T1dnQA8bE
aZ+qt200hta4rf4Rq6u4eLuVrRgFt8M/ayZ9+eORCsl/P47BT38vVKgrsQ4YJakM
V0Ip2+80NpfA+rGk19OnzJYVzoknREyb2CwyH4sz2GeqwLw5Hq0PWdlJAdg63og4
JffhoixVmfA=
=wTRr
-----END PGP SIGNATURE-----

--Apple-Mail=_70005E20-7A8A-4353-B326-A23895915EEE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0AC24F9A-7AE0-4E98-BC21-273FA097AE0F>