Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2016 12:22:20 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        "Isaac (.ike) Levy" <ike@blackskyresearch.net>
Cc:        Shawn Webb <shawn.webb@hardenedbsd.org>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: RPI3 Hackathon at BSDCan/Dev SUmmit
Message-ID:  <CABx9NuRzD_urJakzxyb5bsFzDsrqiHCoo6n3dWpuj9Vf-5uJ9Q@mail.gmail.com>
In-Reply-To: <0E28F6C5-96BC-4696-AD8F-C898CA0082D9@blackskyresearch.net>
References:  <20160607043134.GB22884@mutt-hardenedbsd> <CAN5odxDYeQMrK4G=5_GSn5Wj-R30J6ryTFBasfd=sR8nZzKGaw@mail.gmail.com> <20160607123450.GA75317@mutt-hardenedbsd> <20160608165711.GA63330@mutt-hardenedbsd> <CAN5odxCN6pt9BdyzF57oBM15x5b625T6%2B_51b5AtW4rEqgy7Vw@mail.gmail.com> <20160608170107.GB63330@mutt-hardenedbsd> <F0D7869D-A0A9-4810-B5BA-4BF655299F7B@blackskyresearch.net> <20160608182810.GC63330@mutt-hardenedbsd> <0E28F6C5-96BC-4696-AD8F-C898CA0082D9@blackskyresearch.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 8, 2016 at 11:56 AM, Isaac (.ike) Levy
<ike@blackskyresearch.net> wrote:
>
>> On Jun 8, 2016, at 2:28 PM, Shawn Webb <shawn.webb@hardenedbsd.org> wrot=
e:
>>
>> Your builds would be ARMv7, correct? As far as I know, there are no
>> ARMv8 BeagleBone boards.
>
> Oh, I could be very mistaken- perhaps someone on list could help me under=
stand this- (searching the web isn't helping me here),
>
> Can anyone on list here help me clarify the ARMv7 or ARMv8 architectures?

Oh, oh, now you've done it...  ha ha. This is very very very confusing
due to both marketing terms and some incongruency in terminology. I'm
just an amateur but I'm gonna take a shot at this so anyone who knows
better please feel free to correct me.

- Cortex-A8 is a marketing term for a specific processor design. This
is an "ARM Ltd." design that can be licensed by anyone.

- ARMv6, ARMv7 and ARMv8 are all different ARM *instruction sets*.
Different processors and families use different instruction sets (also
license-able by anyone to design their OWN processors).

- The Beaglebone series uses the Texas Instruments am33XX processor
family, which I think includes designs of both ARMv6 and ARMv7
variants. The ARMv7 variants are based on the Cortex-A8 design. The
RPI2 uses a Broadcomm chip that is also a Cortex-A8 based processor
(ARMv7).

- Within FreeBSD, ARMv6 and ARMv7 are represented by one architecture
(ARCH) which is called ARMv6 (as was recently lamented by Mr. Lapore).
That's why you can't find reference to ARMv7.

(This is where i start getting fuzzy on details)

-The RPI3 is a 64 bit variant of the PRI development board.  ARMv8 is
the Arm 64 bit family of instruction sets. In FreeBSD, it's called
AARCH64. That's why you won't see it mentioned as ARMv8.

Hence, when referring to RPI 1, 1+ 2 or 2B, the term armv6 is thrown
around and when discussing the RPI3 the term AARCH64 is used.

I think...? tee hee.

Cheers,

Russ

>
> --
> I have a couple of Beaglebone Black boards, I'm unclear if it's ARMv7 or =
ARMv8, because all the Beagleboard/TexasInstruments literature just says "C=
ortex-A8".
>
> https://beagleboard.org/black
> https://www.ti.com/product/am3358
>
> It's a 32 bit cpu, but no mention of ARMv7 there?
>
> Interestingly, I see there's a ton of new excitement for ARMv8, (SO WISH =
I WAS THERE!)
> https://www.bsdcan.org/2015/schedule/events/549.en.html
>
> yet from searching the net, the ARM page in the FreeBSD wiki currently ha=
s no mention of ARMv8,
>   https://wiki.freebsd.org/FreeBSD/arm
>
> I may just be searching poorly :)
>
>>
>> I'm excited to see that you're making progress, nonetheless!
>
> Me too, will be happy if it compiles!
>
> (I have a nice little applied use for a simple/el-cheapo wireless access =
point in an odd location, and if I can get this working with OPNsense, I'll=
 be delighted.)
>
> Best,
> .ike
>
>
>>
>> On Wed, Jun 08, 2016 at 02:21:34PM -0400, Isaac (.ike) Levy wrote:
>>> Hi Shawn,
>>>
>>> Sadly, not able to make it to Canada this year, but for the last week o=
r so since your announce I've been nudging along builds of OPNSense on ARMv=
8, via beaglebone boards, building from FreeBSD 11-ALPHA2 images.  Nothing =
special since the base ARM work comes from stock FreeBSD, I'm just compilin=
g it.
>>>
>>> My last build started yesterday, which apparently incorporates your Har=
denedBSD work as well, exciting to see all this work coming together!
>>>
>>> So far so good, burning some micro-SD media to get the job done, so it =
just takes *time* ;)
>>> Will happily give a shout when I have successful serial images built.
>>>
>>> Best,
>>> .ike
>>>
>>>
>>>
>>>> On Jun 8, 2016, at 1:01 PM, Shawn Webb <shawn.webb@hardenedbsd.org> wr=
ote:
>>>>
>>>> It's available for free from ARM, but you have to sign up for an
>>>> account. Due to having to sign up, I'm unsure I can share the
>>>> documentation myself. It's the ARMv8 reference documentation.
>>>>
>>>> On Wed, Jun 08, 2016 at 04:58:56PM +0000, Manas Bhatnagar wrote:
>>>>> Share the reference documentation and I'm sure more folks would take =
a look
>>>>> at it. Sorry if you've sent it before, I must have missed it.
>>>>>
>>>>> On Wed, Jun 8, 2016, 12:57 Shawn Webb <shawn.webb@hardenedbsd.org> wr=
ote:
>>>>>
>>>>>> I've talked with Andrew Turner, who gave me a little bit of info to =
use
>>>>>> as a starting point. We need to get U-Boot EFI working on the RPI3
>>>>>> first. Luiz Otavio O Souza is the current U-Boot expert in FreeBSD, =
so
>>>>>> I'm CC'ing him here. He's here at the Dev Summit, so I'm hoping he m=
ight
>>>>>> have time to help out.
>>>>>>
>>>>>> If I can't get the right knowledgeable people involved, I'm going to
>>>>>> cancel the hackathon. I simply lack the knowledge regarding ARM64 an=
d
>>>>>> the RPI3 hardware to do anything myself over the course of the next =
four
>>>>>> days. The ARM64 reference documentation is several thousands of page=
s,
>>>>>> and I'm only a few hundred pages in. I'll continue on, but I still h=
ave
>>>>>> a ways to go. ;)
>>>>>>
>>>>>> I'm really hoping to get some help from the FreeBSD community.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Shawn
>>>>>>
>>>>>> On Tue, Jun 07, 2016 at 08:34:50AM -0400, Shawn Webb wrote:
>>>>>>> Hey,
>>>>>>>
>>>>>>> I'm hoping we can convince Andrew Turner to help us out. He has
>>>>>>> existing code at https://github.com/zxombie/freebsd/tree/arm64-rpi3=
 but
>>>>>>> that hasn't been updated for a while now. FreeBSD HEAD has diverged
>>>>>>> enough to cause merge conflicts, some of which I think I might've f=
ixed
>>>>>>> in my own code repo, but I don't know jack about that code so I pro=
bably
>>>>>>> made mistakes.
>>>>>>>
>>>>>>> The RPI3 devices we're bringing all have SD cards in them along wit=
h
>>>>>>> serial cables that can also power the device. We're also bringing
>>>>>>> somewhere around 5-7 SD card readers. So we'll have plenty of devic=
es to
>>>>>>> hack and test on.
>>>>>>>
>>>>>>> I can help coordinate the work, but we really need help from those =
who
>>>>>>> understand arm64 and the chips in the RPI3.
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Shawn
>>>>>>>
>>>>>>> On Tue, Jun 07, 2016 at 08:26:20AM -0400, Manas Bhatnagar wrote:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I am interested, but I really do not know much about programming f=
or
>>>>>>>> the FreeBSD kernel. Still, I'm happy to help in any way that I can=
 :)
>>>>>>>>
>>>>>>>> Manas
>>>>>>>>
>>>>>>>> On Tue, Jun 7, 2016 at 12:31 AM, Shawn Webb <
>>>>>> shawn.webb@hardenedbsd.org> wrote:
>>>>>>>>> Hey All,
>>>>>>>>>
>>>>>>>>> HardenedBSD is bringing 10+ RPI3 devices to hack on during the De=
v
>>>>>>>>> Summit and during BSDCan. I'm really hoping that we can get RPI3
>>>>>> support
>>>>>>>>> with latest HEAD by the end of BSDCan.
>>>>>>>>>
>>>>>>>>> I'm reading through the ARM64/AArch64 reference docs myself and h=
ave
>>>>>> a
>>>>>>>>> long ways to go. I would still consider myself a complete newb in
>>>>>> ARM64.
>>>>>>>>> So, in order to make my hope a reality, I'm going to need a bit o=
f
>>>>>> help.
>>>>>>>>>
>>>>>>>>> Who's interested in participating in the hackathon?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Shawn Webb
>>>>>>>>> Cofounder and Security Engineer
>>>>>>>>> HardenedBSD
>>>>>>>>>
>>>>>>>>> GPG Key ID:          0x6A84658F52456EEE
>>>>>>>>> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 524=
5
>>>>>> 6EEE
>>>>>>>
>>>>>>> --
>>>>>>> Shawn Webb
>>>>>>> Cofounder and Security Engineer
>>>>>>> HardenedBSD
>>>>>>>
>>>>>>> GPG Key ID:          0x6A84658F52456EEE
>>>>>>> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 =
6EEE
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Shawn Webb
>>>>>> Cofounder and Security Engineer
>>>>>> HardenedBSD
>>>>>>
>>>>>> GPG Key ID:          0x6A84658F52456EEE
>>>>>> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6=
EEE
>>>>>>
>>>>
>>>> --
>>>> Shawn Webb
>>>> Cofounder and Security Engineer
>>>> HardenedBSD
>>>>
>>>> GPG Key ID:          0x6A84658F52456EEE
>>>> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EE=
E
>>>
>>
>> --
>> Shawn Webb
>> Cofounder and Security Engineer
>> HardenedBSD
>>
>> GPG Key ID:          0x6A84658F52456EEE
>> GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



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