https://personalbsd.org/?page_id=2
Makefile:43: *** missing separator. Stop.Makefile:61: *** recipe commences before first target. Stop.
it is feasible to port OPNsense to an ARM Cortex-A72 (Marvell® ARMADA® 7040)?There is a OpenWrt SNAPSHOT available for the Globalscale MOCHAbin (I do have dev board).Moreover I have Debian and Ubuntu image.What would be the way to go to port it?thank youstefan
Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.envSetting currdev to disk0p1:FreeBSD/arm64 EFI loader, Revision 1.1 Command line arguments: loader.efi Image base: 0xf0def000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8225.1792) Console: comconsole (0) Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x8000,0x10000)Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x8000,0x10000)Setting currdev to disk0p1:Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,0x01,0,0x18000,0x5e8000)Setting currdev to disk0p2:ERROR: cannot open /boot/lua/loader.lua: no such file or directory.
OPNsense 22.7
Starting device manager...Fatal data abort: x0: 0 x1: ffffa0000758a000 x2: 3 x3: ffff0000da33f650 ($d.10 + d8f61078) x4: ffff0000da33f5d8 ($d.10 + d8f61000)<snip>
pcie0: pcie@f8000000 {<snip> ranges = <0x83000000 0x0 0xfa000000 0x0 0xfa000000 0x0 0x1e00000 0x81000000 0x0 0xfbe00000 0x0 0xfbe00000 0x0 0x100000>;<snip>
[snip]EDIT: After another run, I managed to build the world and kernel successfully. Currently compiling packages – stay tuned for further updates.Packages also compiled (and took quite a long time) and required a lot of space. With some little changes, I managed to make an image. Booting worked on my CM4. I won't provide an image here as this was just to see whether compilation works or not
1 │ # Boot from SD/TF Card 2 │ sudo dd if=u-boot/idbloader.img of=/dev/sda conv=sync seek=64 status=progress 3 │ sudo dd if=u-boot/u-boot.itb of=/dev/sda conv=sync seek=16384 status=progress 4 │ sudo dd if=OPNsense-22.1.9-OpenSSL-aarch64-NanoPi-R4S-20220626.img of=/dev/sda conv=sync seek=32768 status=progress
Failed to initialize SPI flash at 0:0 (error