Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2015 01:27:41 +0000
From:      Glen Barber <gjb@FreeBSD.org>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        Shawn Webb <lattera@gmail.com>, freebsd-arm@freebsd.org
Subject:   Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ?
Message-ID:  <20150505012741.GV67741@hub.FreeBSD.org>
In-Reply-To: <9DB1A52C-A66A-4837-B085-4C0361E1B3C2@kientzle.com>
References:  <b512debfc49e6e68ac725d0b03570f84.squirrel@ikornapostur.1984.is> <4638dd5894c.cba746c@mail.schwarzes.net> <CAB=2f8z-u7EKHYbAGgzym0iekFAsTDY5afbVhXSopeEVXwy39g@mail.gmail.com> <2092501.Ck9ksGO3nU@shawnwebb-laptop> <9DB1A52C-A66A-4837-B085-4C0361E1B3C2@kientzle.com>

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

--SidV/bKy1CyabPX8
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 04, 2015 at 06:17:00PM -0700, Tim Kientzle wrote:
>=20
> > On May 4, 2015, at 3:32 PM, Shawn Webb <lattera@gmail.com> wrote:
> >=20
> > On Saturday, May 02, 2015 08:07:48 PM Luiz Otavio O Souza wrote:
> >> On 2 May 2015 at 13:50, Andreas Schwarz wrote:
> >>> On 03.05.15, Daisuke Aoyama wrote:
> >>>=20
> >>> Hi Daisuke,
> >>>=20
> >>>> I get freeze if I remove "options SMP" from kernel config.
> >>>> Also freshly installed OS(VM in ESXi) and freshly installed crochet =
and
> >>>> src without any patch give me un-bootable image....
> >>>> It seems  current RPI2 code does not work with/without ARM_NEW_PMAP =
at
> >>>> least r282205. My host is r281389 (clang 3.6 version) which is same
> >>>> version of ODROID-C1 and RPI version on ESXi server.
> >>>=20
> >>> Thank you for the hint, this will explain my problems.
> >>>=20
> >>> -andreas
> >>=20
> >> indeed.  This was the fb issue.  It should be fixed with r282359.
> >>=20
> >> Now a fresh src and kernel (with 'options ARM_NEW_PMAP') will boot to
> >> login prompt.
> >>=20
> >> If something doesn't not work, let me know.
> >=20
> > Using Crochet to build a new RPI2 image based on a recent HEAD from tod=
ay, I=20
> > get this error in the "build FreeBSD ubldr" stage: http://ix.io/ihy
>=20
> There=E2=80=99s a recent change in FreeBSD that prevents Crochet
> from correctly building the arm boot bits.   A patch similar
> to the following is in review and should be committed to
> FreeBSD soon:
>=20
>=20
> Index: src/sys/boot/efi/loader/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- src/sys/boot/efi/loader/Makefile	(revision 281985)
> +++ src/sys/boot/efi/loader/Makefile	(working copy)
> @@ -101,6 +101,7 @@
> 		-j .rela.dyn -j .reloc -j .eh_frame -j set_Xcommand_set \
> 		--output-target=3D${EFI_TARGET} ${.ALLSRC} ${.TARGET}
>=20
> +LIBSTAND=3D	${.OBJDIR}/../../../../lib/libstand/libstand.a
> LIBEFI=3D		${.OBJDIR}/../libefi/libefi.a
>=20
> DPADD=3D		${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} ${LIBSTAND} \
>=20

Once the universe build finishes to test there are no regressions,
I will commit the patch.  (BTW, this is the wrong version of the
proposed change.)

Glen


--SidV/bKy1CyabPX8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVSByNAAoJEAMUWKVHj+KT3Z4QAJUGo58qGwg9CLCAaJPx5Fqe
x9qCw/QVWO4P4TbF1MoDfpuC3H3fEmcmiLQv7DPFtiY4qSojJv18VqDQlz2FHZjl
BDzJTLRgfpE6JP9dD1UZsLt81+fAJe3omDGJbNUF4F6wM9+8pKDlFWvnPxYZmjB4
E7wDivr1A9aJnTcgBUPkkV1etAF/C6NeXXLh6NcBzhTU5L71cCNspewd1yD2Oszk
y+UPUDaznRBjVxSXDrzNfO5UP5AG6FOXmPQ8vfoK8IXp7uDwfME0hG49w52Q3Ftd
J0fVFB5V/QNaXKwxGdH5ekQ1oK4eun8pz6amUJnY/jBA6XM8h7dKc70fH3XQdkcC
eIre1/o5rbNTKuHHneABPS1LEk8y86mC5PYSNBp/zG4Ja6MRYw6zPIaFDW7SxVSp
FzMto/KuhL1BB6JIPf7e/HF/M7hTZvRpKvyvg8/rZ549mgUEM4ZeVLsn85NdL8Xe
TAJrcEPP40eKWOQJCm6NevniLQ7Te1DNPc2wa/0+qJiT/gjbSFY9NCKMTtnS/PAK
2aDGkuyznl0tVdzUMItTKeaI+pB7otUMkH6o1P2hJDapx4QSn1qtLBrEPNGudf6p
lXwx5gH4L6vbGVlaIhYhDqzNmPjv1i2xa40s3biUPKBYGb3JdQxLHuu3CPBe8FGv
KW1S1bLPPg2XoqaxNVfa
=FHwQ
-----END PGP SIGNATURE-----

--SidV/bKy1CyabPX8--



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