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

Daisuke Aoyama aoyama at peach.ne.jp
Sat May 2 16:14:00 UTC 2015


Hi all,

--------------------------------------------------
From: "Luiz Otavio O Souza" <lists.br at gmail.com>
Sent: Friday, May 01, 2015 12:15 PM
To: <freebsd-arm at freebsd.org>; "Andreas Schwarz" <Andreas.Schwarz at schwarzes.net>
Subject: Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ?

> On 30 April 2015 at 20:54, Andreas Schwarz wrote:
>> On 22.04.15, Luiz Otavio O Souza wrote:
>>
>> Hi all,
>>
>>> Yes, that is right, we need a different u-boot for it.
>>>
>>> I'm working on the new u-boot, it's working already, its a matter of
>>> tidy up the port and get everything in its place.
>>
>> New u-boot is there, but unfortunately I'm not successful yet. First, I've tried
>> to upgrade my installation, building u-boot-rpi2 and the Kernel with RPI2 kernelconf
>> (added the ARM_NEW_PMAP option). The new u-boot-rpi2 and ubldr seem to work and the
>> kernel is loaded, but when the kernel should start/boot, the RPI2 shuts down suddenly,
>> all LED are off, nothing.
>>
>> To keep sure that I don't make a mistake, I've build (independently from my installation)
>> a completly new image, described in the Wiki (link below). But I run in the exacly same
>> problem.
>>
>>   https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi%202%20image
>>
>>
>> Here is my rpi2 image, build by following the wiki instructions (it's not working for
>> me). For security reasons I've removed my ssh pubkey from /root/.ssh/.
>>
>>   http://dl.strcmp.org/rpi2-b-r282267.img.xz
>>
>> Maybe someone can check and confirm or deny the behavior.
>>
>> -Andreas
>
> Hi Andreas,
>
> If you are using the HDMI output this is expected, the framebuffer is
> broken on RPi 2.
>
> It is because of the newer firmware version.
>
> I'm working on a fix, but vt seems.. different.. I hope to sort this
> out and commit the fix ASAP.
>
> You can also use Crochet to build RPi 2 images (probably simpler).
>
> I'll send an heads up when it is ready for test.

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.

[root at fbs11 /usr/local/src/crochet]# uname -a
FreeBSD fbs11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r281389: Sat Apr 11 05:31:17 JST 2015 
aoyama at fbs11.local:/usr/obj/usr/src/sys/GENERIC  amd64
[root at fbs11 /usr/local/src/crochet]# cc -v
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
Target: x86_64-unknown-freebsd11.0
[root at fbs11 /usr/local/src/crochet]# git show
commit b9dd6083c630526a600c508b94bc9fa960620106
Merge: 0afbe99 1d6309a
Author: Tim Kientzle <kientzle at acm.org>
Date:   Mon Apr 27 19:05:19 2015 -0700

    Merge pull request #106 from loos-br/master

    Add support to build images for Raspberry Pi 2

Console log on RPi2 shows:
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
mmcsd0: 2GB <SD SU02G 3.0 SN 70B61C4E MFG 06/2010 by 3 SD> at mmc0 41.6MHz/4bit/65535-block
bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF
fb0: 640x480(0x0 at 0,0) 16bpp
fb0: pitch 0, base 0xfdb64000, screen_size 614400
fbd0 on fb0
VT: initialize with new VT driver "fb".
random: unblocking device.
uhub0: 1 port with 1 removable, self powered
(kernel stopped here)

-- 
Daisuke Aoyama
 



More information about the freebsd-arm mailing list