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 ... 5

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

minimike

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Helping with ARM support + recommended ARM hardware
« on: March 16, 2016, 07:24:07 pm »
Hi

I've read that support about ARM will come in this summer. Thats something what I think is very interesting. Are they some recommendations about hardware available? I would like to buy a device for testing and share the results.

cheers Darko
« Last Edit: June 13, 2016, 07:29:17 am by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: recommended ARM Hardware
« Reply #1 on: March 17, 2016, 08:33:30 am »
Hi Darko,

The plan is to get things running for a Raspberry Pi 1 Model B, which kind of outlines the lowest possible requirements. The experiment could fail for various reasons and/or time limitations, but there will be a test build as a proof of concept. Everything else will need to be assessed when we've reached that point and gotten a little feedback from users. :)


Cheers,
Franco
Logged

interfaSys

  • Full Member
  • ***
  • Posts: 165
  • Karma: 13
    • View Profile
    • interfaSys ltd
Re: recommended ARM Hardware
« Reply #2 on: March 17, 2016, 08:28:36 pm »
Quote from: minimike on March 16, 2016, 07:24:07 pm
Hi

I've read that support about ARM will come in this summer. Thats something what I think is very interesting. Are they some recommendations about hardware available? I would like to buy a device for testing and share the results.

cheers Darko

Projects like Turris Omnia are interesting even if x86 hardware brings better value for the money. Without support for netmap in the network driver, you will also burn a lot of CPU cycles running Suricata in IPS mode.
Logged

minimike

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: recommended ARM Hardware
« Reply #3 on: March 17, 2016, 09:41:53 pm »
Hey guys what you are thinking about a banana pi? The BPi-R1 looks very nice. Only two relevant things are not perfect. I've readed about the network-chip that it's a little bit slow. And the case is transparent and fits not the WAF of your wife :) But Hardware for 100,- € with 2 GB memory and you could attach an SSD...
« Last Edit: March 17, 2016, 09:46:54 pm by minimike »
Logged

Σουπεργιούζερ

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
Re: recommended ARM Hardware
« Reply #4 on: March 26, 2016, 11:21:53 am »
Hello minimike!

Quote from: minimike on March 17, 2016, 09:41:53 pm
Hey guys what you are thinking about a banana pi? The BPi-R1 looks very nice.

When I had first spotted the BPI-R1 I was enthusiastic about it since it seemed like the perfect solution for a firewall with its 5 NICs + WLAN. Unfortunately then I learned that it is not 6 physical interfaces but only a WLAN chip and a switch chip with 5 ports attached, check e.g. http://forum.lemaker.org/thread-12942-1-1.html. So it seems that someone could only create network zones by VLAN tagging which for security reasons I do consider to be inadequate, isn't it?

If that is true there seems not to be any significant advantage of the BPI-R1 over a Raspberry 1b, other than having e.g. SATA and a 5 port switch for a network zone, and of course more CPU power, etc...

Specs & images: http://www.banana-pi.com/eacp_view.asp?id=64

Regards
« Last Edit: March 26, 2016, 01:07:39 pm by Σουπεργιούζερ »
Logged

Σουπεργιούζερ

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
Re: recommended ARM Hardware
« Reply #5 on: March 27, 2016, 02:50:35 pm »
In any case, when it comes to chose a SoC-device to support, I strongly recommend to study the list of flaws that the FSF outlines here https://www.fsf.org/resources/hw/single-board-computers and make a coice with as few flaws as possible.
The Raspberry Pi is not a good choice IMHO, as long as they stick to their blob strategy.

Here is a list with information about OS support and if BLOBs are needed or not: https://en.wikipedia.org/wiki/Comparison_of_single-board_computers#Operating_system

The topic on:
  • Libreplanet: https://libreplanet.org/wiki/Group:Hardware/Single_Board_Computers
  • reddit: https://www.reddit.com/r/linux/comments/2fujj7/single_board_computer_sbc_which_doesnt_require/

Cheers
« Last Edit: March 27, 2016, 03:55:26 pm by Σουπεργιούζερ »
Logged

faisalusuf

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
    • View Profile
Re: recommended ARM Hardware
« Reply #6 on: April 30, 2016, 03:21:33 pm »
Cubieboard is an opensource hardware and it supports FreeBSD, OpenBSD, Android. This can be a best choice for embedded deployment.

Thanks
Faisal.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2034
  • Karma: 93
    • View Profile
Re: recommended ARM Hardware
« Reply #7 on: May 16, 2016, 08:53:23 am »
Hi!

a small (wifi, 3g/4g) router for traveling based on raspi 3 would be a cool project, is the ARM version of OPNsense anywhere near or will it come later? :-)

kind regards

chemlud
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: recommended ARM Hardware
« Reply #8 on: May 18, 2016, 07:42:45 pm »
Hi chemlud,

A proof of concept is still pending, although I'm worried about

(a) computing power and other bottlenecks like RAM for small / old devices, also important for timely builds
(b) portability of builds across different hardware, we can't really handle more than one or two additional images with ease

The proof of concept is for Raspberry Pi 1 Model B, which will bring:

1. Updates to the tools.git to build an arm version without much effort other than setting up a build system and running the scripts
2. A few test builds for the above platform to try out.

Anything beyond that will have to be re-evaluated afterwards.


Cheers,
Franco
Logged

fraenki

  • Full Member
  • ***
  • Posts: 171
  • Karma: 28
    • View Profile
    • GitHub
Re: recommended ARM Hardware
« Reply #9 on: June 08, 2016, 01:14:40 pm »
Quote from: franco on May 18, 2016, 07:42:45 pm
The proof of concept is for Raspberry Pi 1 Model B, which will bring:

Does an GH issue already exist to keep track of the open tasks and/or problems/solutions? I couldn't find one. It could help to point out what was already done and needs to be done. :)

I'd like to help testing and maybe more if it proves to be useful.


Regards
- Frank
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: recommended ARM Hardware
« Reply #10 on: June 10, 2016, 06:46:05 pm »
We should create one in tools, that would be no problem.

Due to workload in my day job, however, I'm not going to be able to work on ARM for the moment. The roadmap has been adjusted accordingly.

If someone is interested in picking this up, there's an RPI that was sponsored that belongs to this task. :)

https://github.com/opnsense/tools/issues/33
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2034
  • Karma: 93
    • View Profile
Re: recommended ARM Hardware
« Reply #11 on: June 11, 2016, 01:52:24 pm »
... I would sponsor a Raspi 3 (bare metal :-) ), if someone starts working on that.

With the built-in wifi and the better CPU I guess the hardware is more appropriate the the reeeeeaaalllllyyyy slow Raspi 1.

 
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: recommended ARM Hardware
« Reply #12 on: June 13, 2016, 07:28:12 am »
Chemlud, that would be very kind, thanks. I'll sticky this thread for more visibility. :)
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2034
  • Karma: 93
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #13 on: June 14, 2016, 06:20:59 pm »
Update:

Found this here:

https://www.raspberrypi.org/forums/viewtopic.php?f=85&t=149398

...and downloaded the FreeBSD 10.3 for Raspi (ARM 6 support):

https://www.freebsd.org/where.html

...burning SD card, Raspi 1B boots fine to boot prompt, whle Raspi 2B+/3B will only show rainbow screen, i.e. detect no bootable OS...

So apparently the Raspi 1 is the only bet at this time. Can anybody guide my how to get somefink like a nano image of opnsense with this special BSD for ARM? Or no way? :-D

Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13618
  • Karma: 1170
    • View Profile
Re: Helping with ARM support + recommended ARM hardware
« Reply #14 on: July 17, 2016, 09:39:13 pm »
Some attempts have been made to make the tools.git more cross-compile friendly. I have successfully built a RPI base and kernel set, just a little more work needs to be done to bring in a viable RaspberryPi kernel config.

Work that is still needed:

(a) The ports cross-build is probably something that can only be solved with QEMU or a native system.

(b) Prune ports.conf, help build failing but required ports.

(c) Modify core.git to cope with ports that are not available on arm.

(d) Proper nano image builds for the RPI with their magic boot blobs.

It looks like the PRI images will be compatible with model 1 and 2:

https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi

Some more docs on cross-building:

https://wiki.freebsd.org/FreeBSD/arm/crossbuild
https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi%202%20image
https://www.raspberrypi.org/forums/viewtopic.php?f=85&t=90613
http://allskyee.blogspot.ch/2014/02/freebsd-10-ports-cross-compile-amd64-to.html
http://kernelnomicon.org/?p=229
https://www.dvatp.com/tech/armv6_freebsd_poudriere
https://wiki.freebsd.org/QemuUserModeHowTo


Cheers,
Franco
« Last Edit: July 18, 2016, 09:17:42 am by franco »
Logged

  • Print
Pages: [1] 2 3 ... 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