OPNsense Forum

English Forums => Development and Code Review => Topic started by: rene_ on October 03, 2019, 04:19:25 pm

Title: Build from scratch / Port to ARM
Post by: rene_ on October 03, 2019, 04:19:25 pm
Hello all :-)

i am currently still running pfSense on most of my devices  :(

i already migrated the first virtual appliance (kvm) from pfsense to opnsense, and i have to say ... i love it  ;D


In my home office i am using a Netgate SG3100.

Sadly i found out, that opnsense is still not supported on arm SoC's, so i decided to build it on my own.

I have all the files here, u-boot, dts files and so on, thanks god, the SG3100 is an armeda385 board, which is supported by bsd since 2015.

i successfully build the kernel and the base, but at the moment, i am wondering, if i need to "make ports" or if its optional?

I am asking, cause the build already takes 10 hours on my build VM (10 Cores and 12GB Ram)

All the best,
René
Title: Re: Build from scratch / Port to ARM
Post by: rene_ on October 08, 2019, 07:52:14 pm
Hello again,

seems quite dead here :-(

I think i read through everything now.
But i still encounter some errors.

when i try to make packages, or ports, the whole thing just stops after some hours.

There is no error or anything, it just wont do anything.

Greets,
René
Title: Re: Build from scratch / Port to ARM
Post by: mimugmail on October 10, 2019, 08:59:31 am
Have a look at GitHub Tools repo, open issues, there is a discussion about packages
Title: Re: Build from scratch / Port to ARM
Post by: nekoprog on October 10, 2019, 09:07:18 am
Hello again,

seems quite dead here :-(

I think i read through everything now.
But i still encounter some errors.

when i try to make packages, or ports, the whole thing just stops after some hours.

There is no error or anything, it just wont do anything.

Greets,
René
You need to disable suricata-devel, compiling rust at some point will make your CPU went idle. Try this fix (https://github.com/opnsense/tools/issues/157).