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

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

> 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 =
today, I=20
> get this error in the "build FreeBSD ubldr" stage: http://ix.io/ihy

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:


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}

+LIBSTAND=3D	${.OBJDIR}/../../../../lib/libstand/libstand.a
LIBEFI=3D		${.OBJDIR}/../libefi/libefi.a

DPADD=3D		${LIBFICL} ${LIBEFI} ${LIBFDT} ${LIBEFI_FDT} =
${LIBSTAND} \






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9DB1A52C-A66A-4837-B085-4C0361E1B3C2>