FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ?

Tim Kientzle tim at kientzle.com
Tue May 5 01:17:09 UTC 2015


> On May 4, 2015, at 3:32 PM, Shawn Webb <lattera at gmail.com> wrote:
> 
> 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:
>>> 
>>> Hi Daisuke,
>>> 
>>>> 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.
>>> 
>>> Thank you for the hint, this will explain my problems.
>>> 
>>> -andreas
>> 
>> indeed.  This was the fb issue.  It should be fixed with r282359.
>> 
>> Now a fresh src and kernel (with 'options ARM_NEW_PMAP') will boot to
>> login prompt.
>> 
>> If something doesn't not work, let me know.
> 
> Using Crochet to build a new RPI2 image based on a recent HEAD from today, I 
> get this error in the "build FreeBSD ubldr" stage: http://ix.io/ihy

There’s 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
===================================================================
--- 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=${EFI_TARGET} ${.ALLSRC} ${.TARGET}

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

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





More information about the freebsd-arm mailing list