Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 01:13:50 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        "Luiz Otavio O Souza" <lists.br@gmail.com>, "Andreas Schwarz" <Andreas.Schwarz@schwarzes.net>
Cc:        <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD 10.1 / 11 on a Raspberry Pi B+ / 2 ?
Message-ID:  <6F344CF15E884BD18A98FBD97B07C79F@ad.peach.ne.jp>
In-Reply-To: <CAB=2f8yBiX73xt5cnAsVuNDTgQtWa5o2JoX8382CLgTxU0Y=1A@mail.gmail.com>
References:  <b512debfc49e6e68ac725d0b03570f84.squirrel@ikornapostur.1984.is> <CA%2BD9QhtjmLTrgb_YXQ5EwjYJPY82Tf58f5uajR3VE8GPAEOboA@mail.gmail.com> <028290c7462d8fcf63b07bfdbbd08897.squirrel@ikornapostur.1984.is> <CA%2BD9QhtiiVUQuvFJxLZmg3=94HkruwYJ6LkGP5cOn%2BOZgHMoLg@mail.gmail.com> <CA%2BD9QhvZJBoStvX6Sx-=XjfcqAKuJ0Y6_ixwBaQvfbrvtbi_EQ@mail.gmail.com> <04594F43-C6FD-4798-ACFF-8BB7179A905F@bsdimp.com> <BAY182-W54AD6CD23741D63E45FBEA2040@phx.gbl> <CA%2BD9QhtEhKBJyuUVg7arG7tqSAbJ1g--4Rj2Trpp43-1mvUBLA@mail.gmail.com> <BAY182-W762BE2999779F14F7FD736A2040@phx.gbl> <CA%2BD9QhuLXOBJn8ZiN%2B894rgQLVXvNWVZ2Xqq75Yjtz8s-KwvGg@mail.gmail.com> <5FD36BF9-2FAD-40ED-AE67-D8B1E3274CB1@gromit.dlib.vt.edu> <552FCD90.20401@foxvalley.net> <462bae1cb99.7f9417c1@mail.schwarzes.net> <CAB=2f8yW-SM48DGpDn9uuwBawUzCqtUCVT8oeZ%2Bh_6-pVrjdTw@mail.gmail.com> <46369db827.17451cd@mail.schwarzes.net> <CAB=2f8yBiX73xt5cnAsVuNDTgQtWa5o2JoX8382CLgTxU0Y=1A@mail.gmail.com>

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

--------------------------------------------------
From: "Luiz Otavio O Souza" <lists.br@gmail.com>
Sent: Friday, May 01, 2015 12:15 PM
To: <freebsd-arm@freebsd.org>; "Andreas Schwarz" <Andreas.Schwarz@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@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@fbs11.local:/usr/obj/usr/src/sys/GENERIC  amd64
[root@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@fbs11 /usr/local/src/crochet]# git show
commit b9dd6083c630526a600c508b94bc9fa960620106
Merge: 0afbe99 1d6309a
Author: Tim Kientzle <kientzle@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@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
 




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