From owner-freebsd-arm@freebsd.org Wed Jun 8 19:22:22 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 16B06B70485 for ; Wed, 8 Jun 2016 19:22:22 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BDE6618AC for ; Wed, 8 Jun 2016 19:22:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x22c.google.com with SMTP id d64so25347315vkb.0 for ; Wed, 08 Jun 2016 12:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=2gkBEMruUru7QTkw2By7G3ddj3fqSPqp8nSoDRasCxw=; b=0SXea+vHo2K99Tp6NvnwrqOGxgVxpP6dKnLxEmD9xGE8H9pUCCYWL94jUao411aMig vxR+OwN8SrHzQ9FX8BjdR/vcOFdouvfA+2+Bm0q9Yokbkxzrliu8/+7dqTThC3mvo5Xg gV7DWCazCgrXJp3uCV4Z7XTMtuoYupyVeXf57RKiYxHp7rEk4cEu5Zy3dGFs0hgQAipN nQxKPSlMoVobXDa1Z+zIY2+7LTNU/BtSwL2zZua5/kz7jLdpBrNV0+UNEn6zaiaGJdxm v5eR6xZByuK6Shig5XhWRNaQZs39m2UTSocganxrFSqNnycB0+u5rzhdOVlVJ3S05ybq JG2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=2gkBEMruUru7QTkw2By7G3ddj3fqSPqp8nSoDRasCxw=; b=BCPYHG7E+Bpe+YGO8TKJK6GfgZPqFhF54JTNvOTlTht4JncosffNtNu8DbO1NcY8Q7 TaExcquiiVzQOUEv8bPsxa1t+KTOUZ7vaJYWMKG+SzlXmG1dvfjt2Lwl9xb8bHtmLAkp k3E/r9oS7hTTAD5/acn1njKp0UFtZf1QzGnalq05oVXmQ36rX83HBOCrU+T0UPT9Fo+Q 71S4uuA6c+fk5jyFNOz3knlqSGCXu8OwgVKU7j3fckluYf5MDu8cvzhb3qe/40KcCcc3 Kp8qL09VgMZYW/bB0L5kIYCqo8n/nPWXI/SDJVlDPwiDzh8avnTZYrrhBuoxpYGqPS3d 6Z9A== X-Gm-Message-State: ALyK8tKEYUzuNZzagvTXH0k4mnuhH5uXPc/yKI6RKFpJhXb1n72qrCp/hPzfv32AjaoYera4PaxG5Ycz6S7qVw== X-Received: by 10.159.38.39 with SMTP id 36mr489287uag.30.1465413740619; Wed, 08 Jun 2016 12:22:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.94.205 with HTTP; Wed, 8 Jun 2016 12:22:20 -0700 (PDT) In-Reply-To: <0E28F6C5-96BC-4696-AD8F-C898CA0082D9@blackskyresearch.net> References: <20160607043134.GB22884@mutt-hardenedbsd> <20160607123450.GA75317@mutt-hardenedbsd> <20160608165711.GA63330@mutt-hardenedbsd> <20160608170107.GB63330@mutt-hardenedbsd> <20160608182810.GC63330@mutt-hardenedbsd> <0E28F6C5-96BC-4696-AD8F-C898CA0082D9@blackskyresearch.net> From: Russell Haley Date: Wed, 8 Jun 2016 12:22:20 -0700 Message-ID: Subject: Re: RPI3 Hackathon at BSDCan/Dev SUmmit To: "Isaac (.ike) Levy" Cc: Shawn Webb , freebsd-arm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2016 19:22:22 -0000 On Wed, Jun 8, 2016 at 11:56 AM, Isaac (.ike) Levy wrote: > >> On Jun 8, 2016, at 2:28 PM, Shawn Webb 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 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 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"