[Work In Progress] OPNsense Ported into ARM Devices

Started by nekoprog, March 25, 2019, 11:55:58 AM

Previous topic - Next topic
Quote from: orangana on April 30, 2020, 03:30:01 AM"arm support has been postponed to the 30.7 release"

It will not take ten more years I think. ;)

...many things that were idealistic in the beginning have turned political over time... :-[
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Thats for the official arm support but we can contribute to unofficial releases for the device we can get it to work on.

With open source its always possible to add support ourself.
And I don't think it will be a long time to get 30.1

Lets hope for the best.

April 30, 2020, 12:44:00 PM #168 Last Edit: April 30, 2020, 02:14:14 PM by nekoprog
Quote from: spikerguy on April 28, 2020, 02:09:46 AM
Can you advice how I can contribute?
I have rpi3b+
Khadas edge-v - rk3399 - aarch64 already have freebsd image for it.
Bpi-R2 armvh7 freebsd support is wip.

Can you help with simple tutorial  with steps?  Will be very helpful to try.

Thanks for such a great tool.
come join us at opnsense/tools more help needed there on making a generic arm32 arm64 kernel config, but i will not do anything for now, will wait for 20.7 release

Quote from: orangana on April 30, 2020, 03:30:01 AM
"arm support has been postponed to the 30.7 release"

  :-X
;D

Quote from: chemlud on April 30, 2020, 12:24:34 PM
...many things that were idealistic in the beginning have turned political over time... :-[
it's hard to keep things working for arm 32bit, since they have too many architecture and different kernel modules. but we can have a generic build for arm64 later.

currently i'm targetting this device http://www.banana-pi.org/r64.html
feel free to use my tools if you want to test 20.7 build using freebsd 12.1

Quote from: nekoprog on April 30, 2020, 12:44:00 PM
Quote from: spikerguy on April 28, 2020, 02:09:46 AM
Can you advice how I can contribute?
I have rpi3b+
Khadas edge-v - rk3399 - aarch64 already have freebsd image for it.
Bpi-R2 armvh7 freebsd support is wip.

Can you help with simple tutorial  with steps?  Will be very helpful to try.

Thanks for such a great tool.
come join us at opnsense/tools more help needed there on making a generic arm32 arm64 kernel config, but i will not do anything for now, will wait for 20.7 release

Quote from: orangana on April 30, 2020, 03:30:01 AM
"arm support has been postponed to the 30.7 release"

  :-X
;D

Quote from: chemlud on April 30, 2020, 12:24:34 PM
...many things that were idealistic in the beginning have turned political over time... :-[
it's hard to keep things working for arm 32bit, since they have too many architecture and different kernel modules. but we can have a generic build for arm64 later.

currently i'm targetting this device http://www.banana-pi.org/r64.html
feel free to use my tools if you want to test 20.7 build using freebsd 12.1

Thanks nekoprog

As I mentionned above, my NanoPI R2S is on the way. I will first try to install FreeBSD on it. I will keep you in touch with my progress. Probably, I will have some question to ask you when I will start the process.

Thanks guys!

May 02, 2020, 09:25:09 PM #170 Last Edit: May 02, 2020, 10:21:38 PM by spikerguy
Quote from: nekoprog on April 30, 2020, 12:44:00 PM
come join us at opnsense/tools more help needed there on making a generic arm32 arm64 kernel config, but i will not do anything for now, will wait for 20.7 release
Do you mean 30.7 ?
It is a git page. I will follow the work there.

Quote from: nekoprog on April 30, 2020, 12:44:00 PM
it's hard to keep things working for arm 32bit, since they have too many architecture and different kernel modules. but we can have a generic build for arm64 later.

currently i'm targetting this device http://www.banana-pi.org/r64.html
feel free to use my tools if you want to test 20.7 build using freebsd 12.1


It is true, Very hard to maintain arm32, I have received R2 which is arm32 only. I can get R64 though it only have 1gb ram. Do you want me to order R64 for testing?

I cannot find BPI-R64 support in the tools. I can try building it for RPI-3b+. Let me know what needs to be done for R64.

Thanks for the great work.

UPDATE:
I have understood the whole opnsense tool it makes use of the qemu and uses the existing pkg's to build an image. It is the exact same concept we use at Manjaro ARM project.

Now I need to know whether you have a uboot for R64 or not? I can look into the BPI forum for that. I have also created a thread on BPI Forum for R64 so we can get some more devs to test is. As I am aware that Ray from Freebsd is also working on R2 and R64 so maybe he can help us.
nekoprog@
Let me know.


May 04, 2020, 07:29:57 PM #172 Last Edit: May 04, 2020, 09:16:15 PM by spikerguy
Quote from: nekoprog on May 04, 2020, 05:18:01 PM
if you have any problem, you can open issue at my repo, we will discuss it there

Hi nekoprog,

Please enable issues on your git. I am setting up a virtual machine to build test images and practice on building device specific images.

I am test building RPI3 using xtools then will also try cross-build later.

Do you have BPI-R64 configs? or Nano-Pi T4 ?

Hi all,

I am new to OPNSense community, know FreeBSD not too bad. I would like to compile OPNSense for a Nano Pi Neo2. Unfortunately, I cannot find device target for that. As per ther 1st post of this thread, I understand that the Tool is (or has supported) supporting this device.

Where to start :)?

Thanks in advance

Hello and welcome to the forum,
Currently the tool doesn't support this device, but you can easily add this device to the tools config with the correct uboot.

Then you can built opnsense image for that device.

Hi spikerguy!

I found the uboot of the Nano Pi R2S here (https://people.freebsd.org/~ganbold/nanopi-r2s/). Is that enough to build OpnSense? I didn't receive my Nano Pi R2S yet. It comes from China...

I'm a little bit lost on how do I build an image for that device. Is there a step by step guide?

Thanks!


Yes,

Flash it on an sd card and try it.
Test what all work and then report back on this post if you can help the developers with documenting whats not working so they can try and solve it when they have time.
Currently I am waiting for my devices to be shipped as it is stuck in shipment somewhere.

Thanks for taking interest in this project.

Do you know how to install Opnsense on existing FreeBSD installation? I guess this image is only FreeBSD 13.0 without Opnsense. Is there a way to install Opnsense on existing FreeBSD installation?

May 22, 2020, 10:42:57 AM #179 Last Edit: July 13, 2020, 08:36:28 AM by mipsou
Hi all,

I have a MACCIATObin Double Shot. I don't have a dev environment.
I want to help you and testing.

Regards