OPNsense 20.1 on NanoPI R1S (H5)

Started by tsgan, December 18, 2019, 01:36:05 PM

Previous topic - Next topic
There is not driver available for RTL8153B yet so we will have to wait for the drivers, until then we will have to use usb-Lan adapter.

Good luck for those who have R2S

Quote from: spikerguy on January 29, 2021, 06:43:19 PM
There is not driver available for RTL8153B yet so we will have to wait for the drivers, until then we will have to use usb-Lan adapter.

Good luck for those who have R2S

Hi @spikerguy,
I've installed the opnsense Rock-Pi-E image on sd card and tried to boot my Nanopi R2S but i received the below error via UART.
Do you have a working image for Nanopi R2S? Can you provide me a link to it?
BR

<debug_uart>

U-Boot TPL 2020.10 (Oct 13 2020 - 17:21:54)
data training error
col error
data training error
DDR3, 333MHz
BW=16 Col=12 Bk=8 CS0 Row=16 CS=1 Die BW=8 Size=4096MB


Quote from: nabrog87 on February 09, 2021, 06:04:58 PM
Quote from: spikerguy on January 29, 2021, 06:43:19 PM
There is not driver available for RTL8153B yet so we will have to wait for the drivers, until then we will have to use usb-Lan adapter.

Good luck for those who have R2S

Hi @spikerguy,
I've installed the opnsense Rock-Pi-E image on sd card and tried to boot my Nanopi R2S but i received the below error via UART.
Do you have a working image for Nanopi R2S? Can you provide me a link to it?
BR

<debug_uart>

U-Boot TPL 2020.10 (Oct 13 2020 - 17:21:54)
data training error
col error
data training error
DDR3, 333MHz
BW=16 Col=12 Bk=8 CS0 Row=16 CS=1 Die BW=8 Size=4096MB


Both the device have different dram.
You need to flash r2s image or just flash r2s uboot on rockpiE image.

NanoPi R2S image is available for testing.

For those who have the device can test the performance using this image and share the feedback.

https://personalbsd.org/images/OPNsense-21.1-OpenSSL-aarch64-NanoPi-R2S-20210612.img.xz

Thanks for providing the R2S image.

I am using R2S hardware revision "1.0 1912" (it was shipped last year with yellow plastic enclosure instead of metal and micro-usb instead of USB-C).

When trying to boot from OPNsense-21.1-OpenSSL-aarch64-NanoPi-R2S-20210612.img the red sys LED stays on for a few seconds, but then LED goes off and the device does not react anymore.

On the same device I can boot into rk3328-sd-friendlywrt-5.10-20210618 and FreeBSD-aarch64-13.0-RELEASE-NanoPi-R2S-20210702.img without any problems.

Any idea how I could make OPNSense work on my R2S? Unfortunately I do not have the possibility to debug via GPIO.

BR
Ryker

Quote from: ryker@utanet.at on July 12, 2021, 09:17:24 AM
Thanks for providing the R2S image.

I am using R2S hardware revision "1.0 1912" (it was shipped last year with yellow plastic enclosure instead of metal and micro-usb instead of USB-C).

When trying to boot from OPNsense-21.1-OpenSSL-aarch64-NanoPi-R2S-20210612.img the red sys LED stays on for a few seconds, but then LED goes off and the device does not react anymore.

On the same device I can boot into rk3328-sd-friendlywrt-5.10-20210618 and FreeBSD-aarch64-13.0-RELEASE-NanoPi-R2S-20210702.img without any problems.

Any idea how I could make OPNSense work on my R2S? Unfortunately I do not have the possibility to debug via GPIO.

BR
Ryker

It is very hard to know what is going wrong without the debug logs. 
Will always need debug logs to help.

I have now tried latest OPNsense-21.7.3-OpenSSL-aarch64-NanoPi-R2S-20211012.img.xz image at it works perfectly with R2S.

Thanks a lot for your work and continued community support!



Thank you for the R2S images on personalbsd.org. Whoever is responsible for it, great job.
I would like to give some personal feedback, as I am trying to setup transparent firewall using opnsense.
In order to do so I plugged in external USB gigabit adapter into my R2S, and it works when hot plugged. However when the device is reset with the USB adapter, it's not coming up correctly. I cannot connect to it all, neither on embedded LAN iface nor the USB adapter and the LAN LED is not lit. I am not sure where can I find logs to troubleshoot it.

Secondly, I tried using CP2102 Serial to USB adapter to get some insight into working/booting machine but I only get gibberish on the screen. I tried various baud rates etc, and it's not of any use. I can use it with dietpi and it works.

Hi,

What about the last NanoPi R2C?

Is someone has tried to make it work with OPNSense?

Tried with R2S image but only one LAN is working...


AFAIK The Nano Pi R2S and R2C are almost identical except for one important aspect - the ethernet controller chip is different in the R2C. So using an R2S image you will still get the traffic through the ethernet port that is controlled by the USB (because it's the same chip in both), but the software probably needs adapting to account for the new controller chip in the R2C.

These boxes are still a great investment for the price if you're prepared to wait for the software to catch up, which at the moment seems down to the herculean efforts of a (very) small number of developers. I'm sure it would be appreciated if you were able to subscribe to the project at personalbsd.org.

Hi,

Yes, this is what I understood from forum to forum...

I would have been better off buying a R2S, because only FriedlyWRT from FriendlyARM is working on this board.

You're right, few developpers but big work done, I'll check for subscription.