[Work In Progress] OPNsense Ported into ARM Devices

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

Previous topic - Next topic
May 03, 2019, 11:40:00 AM #60 Last Edit: May 03, 2019, 11:41:55 AM by chemlud
OK, one last try:

https://lists.freebsd.org/pipermail/freebsd-arm/2016-November/015094.html

- Removed the cmdline.txt added previously

- Copied the uboot.bin and armstub8.bin to the card, config.txt was already correct and booted:

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

Quote from: chemlud on May 03, 2019, 11:40:00 AM
OK, one last try:

https://lists.freebsd.org/pipermail/freebsd-arm/2016-November/015094.html

- Removed the cmdline.txt added previously

- Copied the uboot.bin and armstub8.bin to the card, config.txt was already correct and booted:

Rainbow screen...
it's hard to debug without the device. i'll try using qemu. might take some time. thanks for the test.

Is it a secret where you are located on our planet?
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....


...just asking. If you were just around the corner I might send you one of my raspi 3...
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....

sorry misunderstood your question, english is not my native language. i live in south-east asia. no worry, i have setup qemu in my machine, will give it a test soon.

May 05, 2019, 10:57:59 PM #66 Last Edit: May 05, 2019, 10:59:40 PM by orangana
@nekoprog

some more for the wish list (all supported by BSD and listed here: https://github.com/HardenedBSD/hardenedbsd-ports/blob/master/sysutils/Makefile):


  • orangepi-one
  • orangepi-pc
  • orangepi-pc2
  • orangepi-r1
  • orangepi-zero

Thank's for your work and effort! opnsense will come more widely and more easily available with these low cost boards. They are great for travel (road warrior  8)) and even suitable for some small networks which are locked down with vendor only routers

May 06, 2019, 09:45:22 PM #67 Last Edit: May 06, 2019, 10:19:19 PM by jmccoy555
Quote from: nekoprog on May 03, 2019, 05:22:45 PM
sorry misunderstood your question, english is not my native language. i live in south-east asia. no worry, i have setup qemu in my machine, will give it a test soon.

I've got a Pi 3B+ sat here if you need a test!!

This image boots!! https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.0/FreeBSD-12.0-RELEASE-arm64-aarch64-RPI3.img.xz

current OPNsense uses freebsd 11.2. for now i stop experimenting with arm64 because freebsd simply don't have it working yet. but once OPNsense start using freebsd 12.0, i will help again if needed.

for wishlist, i suggest arm boards with at least 1gb ram, and multicore cpu. lower than that we have to ignore it because it will not work. even with RPI2 specs, it's still considered too slow for advanced use.

May 08, 2019, 12:38:18 PM #69 Last Edit: May 08, 2019, 12:40:14 PM by orangana
Quote from: nekoprog on May 07, 2019, 04:33:05 PM
for wishlist, i suggest arm boards with at least 1gb ram, and multicore cpu. lower than that we have to ignore it because it will not work. even with RPI2 specs, it's still considered too slow for advanced use.

Please add the two following as they fit to your suggestions (multicore cpu & 1gb of ram) and listed here: https://github.com/HardenedBSD/hardenedbsd-ports/blob/master/sysutils/Makefile


- orangepi-pc (h3 quad core, 1gb ram, http://linux-sunxi.org/Orange_Pi_PC)
- orangepi-pc2 (h5 quad core, arm64, 1gb ram, http://linux-sunxi.org/Orange_Pi_PC_2)

Quote from: nekoprog on May 07, 2019, 04:33:05 PM
current OPNsense uses freebsd 11.2. for now i stop experimenting with arm64 because freebsd simply don't have it working yet. but once OPNsense start using freebsd 12.0, i will help again if needed.

Could you consider creating a image for the orangepi-pc (as it's supported by freebsd 11.2 and isn't a arm64). I like to test the image and give report! :D (I would really like to do it myself but have insufficient infrastructure: metered slow internet and weak cpu)

Quote from: orangana on May 08, 2019, 12:38:18 PM
Quote from: nekoprog on May 07, 2019, 04:33:05 PM
for wishlist, i suggest arm boards with at least 1gb ram, and multicore cpu. lower than that we have to ignore it because it will not work. even with RPI2 specs, it's still considered too slow for advanced use.

Please add the two following as they fit to your suggestions (multicore cpu & 1gb of ram) and listed here: https://github.com/HardenedBSD/hardenedbsd-ports/blob/master/sysutils/Makefile


- orangepi-pc (h3 quad core, 1gb ram, http://linux-sunxi.org/Orange_Pi_PC)
- orangepi-pc2 (h5 quad core, arm64, 1gb ram, http://linux-sunxi.org/Orange_Pi_PC_2)

Quote from: nekoprog on May 07, 2019, 04:33:05 PM
current OPNsense uses freebsd 11.2. for now i stop experimenting with arm64 because freebsd simply don't have it working yet. but once OPNsense start using freebsd 12.0, i will help again if needed.

Could you consider creating a image for the orangepi-pc (as it's supported by freebsd 11.2 and isn't a arm64). I like to test the image and give report! :D (I would really like to do it myself but have insufficient infrastructure: metered slow internet and weak cpu)
Could be done, will take some time to create new device config for orangepi-pc and test compile.  :)

I've taken delivery of a NanoPi R1, which image should I be using?


I've had OpenWRT running on it after writing the image to an mmc, but not having any joy with Opnsense, I keep seeing checksum error.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Quote from: marjohn56 on May 08, 2019, 09:29:13 PM
I've taken delivery of a NanoPi R1, which image should I be using?


I've had OpenWRT running on it after writing the image to an mmc, but not having any joy with Opnsense, I keep seeing checksum error.
Currenly we have a huge code changes for compiling arm device. Will have to check again if nanopi-r1 is supported on freebsd 11.2 or not.

Meanwhile opnsense have an official test image for rpi2, bpi image will come after boot issue has been fixed. When fixed, porting sunxi allwinner arm 32bit will be available.

https://pkg.opnsense.org/FreeBSD:11:armv6/19.1/

Quote from: marjohn56 on May 08, 2019, 09:29:13 PM
I've taken delivery of a NanoPi R1, which image should I be using?


I've had OpenWRT running on it after writing the image to an mmc, but not having any joy with Opnsense, I keep seeing checksum error.

You can try https://people.freebsd.org/~ganbold/OPNsense-201903201231-OpenSSL-arm-armv7-nanopi-r1.img.xz

btw the Odroid XU4 is a quite powerful 32 bit (!) machine, maybe we could have support for this without much effort? :-)

I now have my hands on the little machine and before I set up the intended NAS I could test some other stuff ;-)
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....