Helping with ARM support + recommended ARM hardware

Started by minimike, March 16, 2016, 07:24:07 PM

Previous topic - Next topic
@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.
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....

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.

BPI = Banana Pi, got it! :-D
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....

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.

...I don't understand a word what you're doing but this is great news! Merry Christmas! :-)
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....


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.

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.

This is really cool! Providing the image/sets would be great. We can mirror them through the official channels marked "snapshots". :)

And it works on OrangePI Zero too :)
Where do you want me to upload/put the image?

Can you give me a location to pull from once? Any location that is convenient for you.




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