NanoPi R4S-RK3399 is a great new OpenWrt device

Yeah no worries about vlans or not. But you can do it by using two bridges instead.... If you don't want to use them then don't use them. I just see it as a no cost solution and don't get why you need two interfaces?

I have used realtek based USB gigabit ethernet chipset without issues.
RTL8153/RTL8152 etc.
I ended up buying used microsoft surface ethernet adapters and used alogic UBS ethernet adapters. Both based on RTL8153. I've seen success with ASIX adapters too.
However as previously stated. You need a manufacturer which doesn't cheap out and remove the ethernet transformers or do other things, like one which doesn't program unique identifiers if you plan to use multiple of them. (i.e. always powering up with different mac address.....)

I recommend the no cost solution of using the gigabit switch built into your wireless access point. And configure VLANs / DSA on that rather than bother with multiple network adapters.

But another option is get a managed switch and vlans. Or use a switch to share ethernet from your R4S, computer and AP without vlan tagging....

https://openwrt.org/docs/guide-user/network/dsa/dsa-mini-tutorial

https://openwrt.org/docs/guide-user/network/dsa/start

1 Like

Which memory card and power source do you recommend?

I think we need a new thread IMO....

Depends on lots of factors.
How much are you planning to write on the SD card. What will be on the device?
I recommend SD cards that have high write endurance. Depends on budget. Cheapest is get one of those surveillance SD cards.

Have to do the math on your power consumption. FriendlyELEC recommends 5V 3A and they don't support USB PD so you need one that will supply 5V 3A unsolicited. But it really depends on what else you're using on the other USB port. Budget 0.5A-1A for the USB ethernet. But there's up to 2A on the other USB port. Which then only leaves you with 0.5A for the rest of the board....

You probably want to budget 1.1A+ for nanopi R4S after doing some googling.

A very noob question here, haha, if the Alieexpress ad says that the R4s has 32GB of EMMC, why do I have to use an SD card?

So an ideal power source for the r4s would be one of more or less 5A?

1 Like

Instructions on the wiki say use the SD card image.

https://openwrt.org/toh/friendlyarm/nanopi_r4s_v1

Also wiki says R4SE not supported so let's make sure you're not trying to get that one?

"The NanoPi R4SE was later released with added onboard 32GB eMMC storage (This version is currently not supported). "

https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R4S#eMMC_Boot

You can emmc boot for kernel > 4.4 but the wiki says use an sd card to then flash to the emmc.... So basically just use an sd card anyway. And then I can't see an emmc image on downloads anyway....

1 Like

It really depends on what else you plan to do with the device. Theoretically you can get away with 2A.....

But yeah budgeting 2A*2 for the USB ports. 1A for the R4S seems reasonable as a safe maximum.

1 Like

thanks for your answers.

1 Like

Reviews about several brands can be found
here https://lygte-info.dk/info/indexUSB%20UK.html and
here https://www.chargerlab.com/category/reviews/reviews-chargers-cables/

1 Like

Mm. My only addition is that they need to be able to get one that will source 5v at the appropriate current without needing USB PD or any negotiation at all. The R4S doesn't have USB PD.

editt: Or I guess the alternative is they get one of those USB PD to voltage/ current adapters that does the negotiation on behalf of the R4S.....

Hello,

I have a NanoPi R4SE, I use it with a external memory card.

For power during configuration I have used this: https://www.aliexpress.com/item/1005005329235388.html

For the memory card I use this: https://www.amazon.com/SanDisk-2-Pack-microSDHC-Memory-2x32GB/dp/B08J4HJ98L/ref=sr_1_1 - the card was not bought from here, just using as an example.

I am using a PoE Switch and for constant power I am using: https://www.aliexpress.com/item/1005001309240177.html - 5V/3A 1Gb.

In there were also comments about poor cooling.
I am using my R4SE with overclock on the cpu:

**root@XXX** 43.33℃ :**~**# lscpu
*Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 6
On-line CPU(s) list: 0-5
Vendor ID: ARM
Model name: Cortex-A53
Model: 4
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
Stepping: r0p4
CPU max MHz: 1800.0000
CPU min MHz: 408.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Model name: Cortex-A72
Model: 2
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: r0p2
CPU max MHz: 2208.0000
CPU min MHz: 408.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Mitigation; Branch predictor hardening, BHB
Srbds: Not affected
Tsx async abort: Not affected

Processors are in perfomanse mode. Not stuck or overheating.
OpenWrt version 22.03.6, r20265-f85a79bcb4, got external rockchip.dtb, on OpenWrt, can't call external dtp file.

OK maybe better to post a new topic?

I apologise but can you please clarify what the question is?

I don't exactly want to support modifications such as this.

I don't have a question, I just shared an opinion on what I use. Like the memory card and power supply. As well as that with the factory box there are no cooling issues.
About the modifications. NanoPi R4S(E), with the software that arrives works on higher frequencies than the ones OpenWRT 23 version works with. As I would like to clarify that I am using the factory aluminum case.

1 Like

Awesome. Thanks for clarifying.

I didn't really see a question and just wanted to make sure you weren't asking for assistance with something and I was missing it.

1 Like

I have used Samsung pro endurance 64GB sdcard without issues.
Power supply raspberry pi 5.1V/3A. It has 0.1V more voltage than the standard usb voltage and keeps up without voltage drops, what other supplys might have. Worked fine overclocked.

I had hanging issues with Oneplus 5V/4A supply when overclocked, but that worked fine too with stock clocks.

1 Like

Why do you need to overclock?

Performance is not good enough for full 1Gbit speed with cake sqm.

It is set 1.8GHz/1.4GHz by default.
While the cpu is specified to run 2.0GHz/1.5GHz.
So should be ok to run at those speeds. That should be just enough for 1Gbit SQM.
Actually I did run it 2.2GHz @ 1.325V/1.8GHz @ 1.275V without issues with the rpi psu.

1 Like

You just need to move SQM to the big cores.

In general, this does not help. In an iperf3 test with the bidi parameter, at base frequencies, the interrupts on both NICs use the large cores 100%.

Anybody got 24.10.0-rc2 running on their R4S?

When I flash the SD card with it, it seems to read/boot but none of the ethernet ports come online. Prior to 24.x I never had troubles booting, flashing back to 23.x my R4S works fine again.

Could be I need to buy/try another SD card, that's why I'm asking.