Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 02:30:59 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Shawn Webb <lattera@gmail.com>
Cc:        FreeBSD ARM <freebsd-arm@freebsd.org>
Subject:   Re: Building an image for Raspberry Pi
Message-ID:  <20140403063059.GX14379@glenbarber.us>
In-Reply-To: <20140403062811.GE71905@pwnie.vrt.sourcefire.com>
References:  <20140403005755.GA71905@pwnie.vrt.sourcefire.com> <20140403054106.GT14379@glenbarber.us> <20140403061443.GD71905@pwnie.vrt.sourcefire.com> <20140403061923.GW14379@glenbarber.us> <20140403062811.GE71905@pwnie.vrt.sourcefire.com>

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

--3ioKt2kN+IccB5F4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 03, 2014 at 02:28:11AM -0400, Shawn Webb wrote:
> On Apr 03, 2014 02:19 AM -0400, Glen Barber wrote:
> > On Thu, Apr 03, 2014 at 02:14:43AM -0400, Shawn Webb wrote:
> > > On Apr 03, 2014 01:41 AM -0400, Glen Barber wrote:
> > > > You need to build the XDEV stuff for the build environment.
> > > >=20
> > > > Something like: make -C /usr/src XDEV=3Darm XDEV_ARCH=3Darmv6
> > > >=20
> > > > should do the trick.
> > >=20
> > > Yeah, I have the xdev stuff installed. It kinda seems like just using
> > > this xdev stuff isn't sufficient. It seems u-boot might require some
> > > gcc-centric items (though I'm unsure what they are).
> > >=20
> >=20
> > Can you send me a script(1)-ed build log?
>=20
> I'd be happy to. Do you want the build log of the u-boot build through
> Crochet or of the xdev build? xdev builds fine, just not u-boot via
> Crochet.
>=20

If XDEV build is fine, no need to send that.  Just the u-boot log then.

> >=20
> > > >=20
> > > > > It seems people have successfully built FreeBSD for ARM. However,=
 the
> > > > > instructions I'm seeing from a little bit of googling have turned=
 up
> > > > > pretty outdated posts.
> > > > >=20
> > > > > You can probably tell I'm a newb at ARM on FreeBSD. What ought I =
do
> > > > > next?
> > > > >=20
> > > >=20
> > > > Are you aware that we have FreeBSD/arm images on FTP now?  Not that=
 I am
> > > > trying to deter you from building your own images, but if you're ju=
st
> > > > looking for an image to install to get your RPI running FreeBSD, we=
 have
> > > > you covered.  :-)
> > >=20
> > > I've been toying with that pretty much all evening. It seems that fbsd
> > > has a really hard time booting on the rpi. I'm getting this error pre=
tty
> > > much 90% of the time when I try to boot:
> > >=20
> > > http://lists.freebsd.org/pipermail/freebsd-arm/2014-January/007228.ht=
ml
> > >=20
> > > I'll play around with things a bit more. I have a semi-functional sys=
tem
> > > now. I mainly want to be able to build my own images so I can publish
> > > nightly builds of my ASLR work now that Oliver and I just added suppo=
rt
> > > for [nearly all|all] architectures fbsd supports.
> >=20
> > Do you have a slower SD card you can try?  I've seen that happen
> > sporadically with Class 10 SD cards, but have not yet seen it on lesser
> > speed SD cards.  (I still boot-test faster SD cards, but haven't hit
> > this issue in a while though.)
>=20
> The one I'm currently using is a class 10 card, so maybe that's it. I've
> got a class 2 microsd card with an adapter that I'll try. I'll report
> back soon-ish with results.

Ok, thanks for experimenting.  I thought there was a fix committed for
this, but maybe I'm wrong.

Glen



--3ioKt2kN+IccB5F4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBCAAGBQJTPQAjAAoJELls3eqvi17QIKMP/AiuWSYd77MeLqz0cCVbE4qP
2Ftzsyu+cOk7PjSJjze/fFv03StcZY6EBidVqojmWOrzFiXwOiaYIm0oscRrUibV
sSKweCQJwUdDVVvQn8R/2L+ZmsFCAoxbtrEzT83QdLDDI5PD3KAufW9B4RUA9Fqo
oDO6w82e7zhWempf6kFizrTQl5LZ21B4flTQv9RIFA96aoBVVGJnxsjY2BENBICb
LQBDiR2+KcX6Ee5+VcMEe7hhiZlEf8A7EOJ5BtsVWq+ik3cj0oI8yhLlX/crmzMj
jSYK5VKKZxYgD1H0gO4yN9V66Mhy+eBfYAuDypwrgMpfRUnCoufL2CEi7LIvLwnP
1uKsY6+gDCRYGDjuDUVZ2+7o4I1N1BHJy25gu8025Mtdx9myKjPYmthYWXE59zlQ
QE30CnKlDs/C5b8/XLI7vUtKRAFZuGnbq0L6xOQYVLmcLlUdpepee8M7gYFqKcsQ
swGXJDbA3BQWDFLRgL07nJ+f6BJowA+ksWB0Ug/LgLHgoqqqY566VnXyUNr02Usy
/JJXwvfqc/vzOdq5ATOV+4c7Q4LN+qCjB6og/DL9UNM8Lp87OTWG3RCailw071bt
JdB96yXQ6Jgxv4jqp3EnJqWsgeQL4eo58hMWzQuSemaVsZOwSvHtWQ9UihYZvsNN
4LuDSZRJ7iLjZxgafV5f
=OQjQ
-----END PGP SIGNATURE-----

--3ioKt2kN+IccB5F4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140403063059.GX14379>