Hello, I would like to use an OPNSense firewall on a virtual server based on Arm64 with Ampere Altra chipset. Since the Arm port is not available for download as a ready-made image and my experience in adapting something like this myself is limited, I could use some help.
I have already compiled a kernel with AI support, but I cannot create the image because I cannot find the necessary ed2k file for the UEFI firmware or because things have been changed in the Tianocore project. As far as I understand, there are (still) no adaptations of FreeBSD for the Ampere Altra and I don't know which generic file I can use.
Can anyone tell me how I can create a customized image and whether I am basically following the right path?
I am actually very happy with the Arm systems, but I would really like to use OPNSense and that is a bit more complicated than I thought. Maybe, someone can help me a bit. Thank you!
you can port FreeBSD and run the script to convert it to OPNsense.
here's the link:
https://github.com/opnsense/tools/blob/master/README.md
I tried to follow the instructions, but I´m not very familiar with these build processes (and don´t speak native English, so maybe I don´t understand something). Whenever I start the build process. I get the output "make[1]: "/usr/src/Makefile.incl" line 165: Unknown target aarch64:aarch64.".
I then specified the following in build.conf:
"TARGET=arm64
TARGET_ARCH=aarch64"
But the error (Error Code 2) remains the same.
Sorry for my probably very stupid noob questions.
Edit: Incidentally, the machine is running a FreeBSD image for ARM64.
Are you familiar with this thread?
https://forum.opnsense.org/index.php?topic=35828.0
I read so much that I just skimmed over a lot of it. But thanks to your VM instructions and a fresh installation, it's working now. Thanks for that!