OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Helping with ARM support + recommended ARM hardware
« previous next »
  • Print
Pages: 1 2 3 [4] 5

Author Topic: Helping with ARM support + recommended ARM hardware  (Read 91414 times)

chemlud

  • Hero Member
  • *****
  • Posts: 2036
  • Karma: 93
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #45 on: December 02, 2016, 09:04:02 am »
@franco

Which "BPI" would you need?

Do you mean a raspi 3? Currently available raspi 2 would be the same CPU w/o bluetooth and wifi, see above.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #46 on: December 02, 2016, 06:33:06 pm »
I have a PRI-B and a RPI2, but no BananaPi. The latter looks like a good target for us as it offers multiple devices and even has more network cards for the cool use cases.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2036
  • Karma: 93
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #47 on: December 02, 2016, 09:58:08 pm »
BPI = Banana Pi, got it! :-D
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

lattera

  • Full Member
  • ***
  • Posts: 200
  • Karma: 80
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #48 on: December 19, 2016, 08:22:40 pm »
Great news: I've now fixed the arm64-specific code in the RTLD to work with clang/lld 3.9.1, opening the door for us to be able to investigate OPNsense on arm64.

Here's the commit: https://github.com/HardenedBSD/hardenedBSD/commit/8754ed86fff3f2f793d37fb71725630f720bbfb7

I'm working on getting this upstreamed: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214971

Within the next month or two, I'll start investigating running OPNsense on arm64 (starting with the RPI3) with HardenedBSD 12-CURRENT as the base source code.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2036
  • Karma: 93
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #49 on: December 19, 2016, 08:25:33 pm »
...I don't understand a word what you're doing but this is great news! Merry Christmas! :-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

tango38317

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #50 on: December 20, 2016, 04:02:54 pm »
Hi,
maybe its an alternative to rpi:

https://www.amazon.de/AllNet-BPI-R1-banana-Router-board/dp/B00O4F9NHS/ref=sr_1_1?ie=UTF8&qid=1482245489&sr=8-1&keywords=banana+pi+router

br
Logged

lattera

  • Full Member
  • ***
  • Posts: 200
  • Karma: 80
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #51 on: December 20, 2016, 05:25:31 pm »
Another update: Looks like lld is having issues with symbol versioning. I'm working with Ed Schouten and Ed Maste of the FreeBSD project to figure out a fix. Once this bug is fixed, then there should be no stopping someone from deploying OPNsense based on FreeBSD 12-CURRENT on an arm64 system.
Logged

tsgan

  • Newbie
  • *
  • Posts: 24
  • Karma: 6
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #52 on: December 26, 2016, 02:43:26 pm »
Finally I was able to build OPNsense 17.1 for NanoPI NEO using FreeBSD stock head with some patches to core, ports and tools.
NanoPI NEO is small and very cheap ($8-$10) armv6 (Allwinner H3 SoC based) board which has quad core Cortex-A7 CPU and 256MB/512MB RAM, 1Gb ethernet and 3 USB host ports. I'm using USB ethernet as second, LAN interface.
I couldn't cross build, had several problems with building ports so I gave up.
Instead, I tried to build it natively on slow BananaPI M1 and Cubieboard2 board and succeeded after long trials and failures.
If someone wants to grab the image and try please let me know.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #53 on: December 28, 2016, 03:15:34 pm »
This is really cool! Providing the image/sets would be great. We can mirror them through the official channels marked "snapshots". :)
Logged

tsgan

  • Newbie
  • *
  • Posts: 24
  • Karma: 6
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #54 on: December 29, 2016, 05:08:11 pm »
And it works on OrangePI Zero too :)
Where do you want me to upload/put the image?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #55 on: December 29, 2016, 10:20:35 pm »
Can you give me a location to pull from once? Any location that is convenient for you.
Logged

tsgan

  • Newbie
  • *
  • Posts: 24
  • Karma: 6
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #56 on: December 30, 2016, 06:48:48 am »
It is here:

https://people.freebsd.org/~ganbold/opnsense/
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #57 on: December 30, 2016, 05:11:29 pm »
It's on our mirrors now, e.g. https://pkg.opnsense.org/snapshots/OPNsense-201612260924-OpenSSL-nanopineo-armv6.img.bz2

Many thanks for providing this image! :)
Logged

lattera

  • Full Member
  • ***
  • Posts: 200
  • Karma: 80
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #58 on: January 12, 2017, 02:55:05 am »
I'll just leave this here:

Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2036
  • Karma: 93
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #59 on: October 30, 2017, 04:59:22 pm »
...any advice on this? Would like to try somethink with raspi and a wifi WAN interface, tried it on the raspi 1 image of 16.x provided by Franco, but get a lot of

ieee80211_load module: load the wlan_ccmp module by hand for now

in the console and the wifi interface never get's the IP reserved in DHCP of the wifi access point it should contact...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

  • Print
Pages: 1 2 3 [4] 5
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Helping with ARM support + recommended ARM hardware
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2