Is there any dev working on the NanoPi R2S

Hi all,

I discover this week the nanopi R2S.

It's seems to be a good candidat for openwrt:
CPU: Rockchip RK3328 (Quad-core Cortex-A53)
2 Gb port (up to 941 Mbps)
1GB DDR4 RAM

it's lowcost 30 euro shiped
I think it's a very capable cpu, and it cosnume only 3W @ full load

There is already a fork of openwrt (friendlywrt) running on it.

It's a complety new platform ?


1 Like

I just finished setting my Rock64 rk3328 board, maybe it will be very easy on your board also

maybe it will be a bit of problem with usb3 port, in your case with second ethernet, it seems that on mine it's not working by default

dmesg
U-Boot TPL 2020.01 (Apr 15 2020 - 10:47:43)
LPDDR3, 800MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01 (Apr 15 2020 - 10:47:43 +0000)
Trying to boot from MMC1
NOTICE:  BL31: v2.2():reboot-12985-g508462a399
NOTICE:  BL31: Built : 10:47:43, Apr 15 2020
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2020.01 (Apr 15 2020 - 10:47:43 +0000)

Model: Pine64 Rock64
DRAM:  1022 MiB
PMIC:  RK8050 (on=0x10, off=0x00)
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Pine64 Rock64
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
353 bytes read in 3 ms (114.3 KiB/s)
## Executing script at 00500000
36246 bytes read in 8 ms (4.3 MiB/s)
13225992 bytes read in 1150 ms (11 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 000000003df1a000, end 000000003df25d95 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.32 (build@build) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r12974-75f19deb3a)) #0 SMP PREEMPT Thu Apr 16 12:36:35 2020
[    0.000000] Machine model: Pine64 Rock64
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] cma: Reserved 8 MiB at 0x000000003f800000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu s45784 r8192 d32040 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 257544
[    0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff130000 root=PARTUUID=1087d263-02 rw rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1004120K/1046528K available (8062K kernel code, 564K rwdata, 2512K rodata, 1728K init, 726K bss, 34216K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x29c/0x398 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001331] Console: colour dummy device 80x25
[    0.001805] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002733] pid_max: default: 32768 minimum: 301
[    0.003351] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.004024] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.029917] ASID allocator initialised with 32768 entries
[    0.037908] rcu: Hierarchical SRCU implementation.
[    0.053977] smp: Bringing up secondary CPUs ...
[    0.086174] Detected VIPT I-cache on CPU1
[    0.086235] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.118260] Detected VIPT I-cache on CPU2
[    0.118312] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.150358] Detected VIPT I-cache on CPU3
[    0.150409] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.150513] smp: Brought up 1 node, 4 CPUs
[    0.153709] SMP: Total of 4 processors activated.
[    0.154137] CPU features: detected: 32-bit EL0 Support
[    0.154639] CPU features: detected: CRC32 instructions
[    0.162318] CPU: All CPU(s) started at EL2
[    0.162756] alternatives: patching kernel code
[    0.173741] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.174658] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.175856] xor: measuring software checksum speed
[    0.214836]    8regs     :  1188.000 MB/sec
[    0.254892]    32regs    :  1363.000 MB/sec
[    0.294949]    arm64_neon:  1201.000 MB/sec
[    0.295328] xor: using function: 32regs (1363.000 MB/sec)
[    0.295823] pinctrl core: initialized pinctrl subsystem
[    0.297146] NET: Registered protocol family 16
[    0.304034] DMA: preallocated 256 KiB pool for atomic allocations
[    0.305629] cpuidle: using governor menu
[    0.306312] Serial: AMBA PL011 UART driver
[    0.332990] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.333604] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.334210] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.334847] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.338361] cryptd: max_cpu_qlen set to 1000
[    0.340200] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.340670] raid6: .... xor() 0 MB/s, rmw enabled
[    0.341097] raid6: using neon recovery algorithm
[    0.341924] sdmmc-regulator GPIO handle specifies active low - ignored
[    0.342944] vcc-host-5v-regulator GPIO handle specifies active low - ignored
[    0.343977] rockchip-pinctrl pinctrl: pin gpio0-2 already requested by vcc-host-5v-regulator; cannot claim for vcc-host1-5v-regulator
[    0.345057] rockchip-pinctrl pinctrl: pin-2 (vcc-host1-5v-regulator) status -22
[    0.345720] rockchip-pinctrl pinctrl: could not request pin 2 (gpio0-2) from group usb20-host-drv  on device rockchip-pinctrl
[    0.346737] reg-fixed-voltage vcc-host1-5v-regulator: Error applying setting, reverse things back
[    0.347552] reg-fixed-voltage: probe of vcc-host1-5v-regulator failed with error -22
[    0.348670] iommu: Default domain type: Translated
[    0.350354] SCSI subsystem initialized
[    0.350937] usbcore: registered new interface driver usbfs
[    0.351476] usbcore: registered new interface driver hub
[    0.352060] usbcore: registered new device driver usb
[    0.354080] clocksource: Switched to clocksource arch_sys_counter
[    0.355068] VFS: Disk quotas dquot_6.6.0
[    0.355492] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.361047] thermal_sys: Registered thermal governor 'step_wise'
[    0.361053] thermal_sys: Registered thermal governor 'power_allocator'
[    0.362109] NET: Registered protocol family 2
[    0.363592] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.364376] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.365176] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.366008] TCP: Hash tables configured (established 8192 bind 8192)
[    0.366734] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.367374] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.368221] NET: Registered protocol family 1
[    0.368644] PCI: CLS 0 bytes, default 64
[    0.376982] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.386437] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.387175] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.389216] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.389885] io scheduler mq-deadline registered
[    0.396724] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    0.397340] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.400570] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.402723] printk: console [ttyS2] disabled
[    0.403202] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 14, base_baud = 1500000) is a 16550A
[    0.404061] printk: console [ttyS2] enabled
[    0.404061] printk: console [ttyS2] enabled
[    0.404808] printk: bootconsole [uart8250] disabled
[    0.404808] printk: bootconsole [uart8250] disabled
[    0.413192] loop: module loaded
[    0.413482] mtip32xx Version 1.3.1
[    0.413921] usbcore: registered new interface driver rtsx_usb
[    0.418983] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    0.423445] libphy: Fixed MDIO Bus: probed
[    0.424748] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    0.425338] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    0.425998] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    0.426602] rk_gmac-dwmac ff540000.ethernet: phy regulator is not available yet, deferred probing
[    0.428280] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.428858] ehci-pci: EHCI PCI platform driver
[    0.429307] ehci-platform: EHCI generic platform driver
[    0.432058] ehci-platform ff5c0000.usb: EHCI Host Controller
[    0.432584] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 1
[    0.433387] ehci-platform ff5c0000.usb: irq 36, io mem 0xff5c0000
[    0.446095] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    0.447237] hub 1-0:1.0: USB hub found
[    0.447605] hub 1-0:1.0: 1 port detected
[    0.448408] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.449001] ohci-platform: OHCI generic platform driver
[    0.449768] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    0.450421] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 2
[    0.451236] ohci-platform ff5d0000.usb: irq 37, io mem 0xff5d0000
[    0.514822] hub 2-0:1.0: USB hub found
[    0.515192] hub 2-0:1.0: 1 port detected
[    0.516511] usbcore: registered new interface driver usb-storage
[    0.517167] i2c /dev entries driver
[    0.519384] rk808 1-0018: chip id: 0x8050
[    0.525026] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.525604] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.526260] DCDC_REG1: supplied by vcc_sys
[    0.529092] vcc_host_5v: supplied by vcc_sys
[    0.529580] DCDC_REG2: supplied by vcc_sys
[    0.531478] DCDC_REG3: supplied by vcc_sys
[    0.532083] DCDC_REG4: supplied by vcc_sys
[    0.533633] LDO_REG1: supplied by vcc_io
[    0.536957] LDO_REG2: supplied by vcc_io
[    0.540243] LDO_REG3: supplied by vcc_sys
[    0.552201] rk808-rtc rk808-rtc: registered as rtc0
[    0.556713] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[    0.558774] sdhci: Secure Digital Host Controller Interface driver
[    0.559322] sdhci: Copyright(c) Pierre Ossman
[    0.559705] Synopsys Designware Multimedia Card Interface Driver
[    0.560816] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[    0.561499] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    0.562168] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    0.562724] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    0.563613] vcc_sd: supplied by vcc_io
[    0.576853] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.590887] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
[    0.591588] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
[    0.592192] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
[    0.592779] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 33,32 bit host data width,256 deep fifo
[    0.594331] mmc_host mmc1: card is non-removable.
[    0.600337] random: fast init done
[    0.605459] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.619060] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.620251] ledtrig-cpu: registered to indicate activity on CPUs
[    0.621114] hidraw: raw HID events driver (C) Jiri Kosina
[    0.621972] usbcore: registered new interface driver usbhid
[    0.622523] usbhid: USB HID core driver
[    0.624199] NET: Registered protocol family 10
[    0.625483] Segment Routing with IPv6
[    0.625874] NET: Registered protocol family 17
[    0.626355] 8021q: 802.1Q VLAN Support v1.8
[    0.628147] Btrfs loaded, crc32c=crc32c-generic
[    0.638591] mmc_host mmc0: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[    0.639693] mmc0: new SD card at address a080
[    0.640881] mmcblk0: mmc0:a080 SU01G 969 MiB
[    0.643134]  mmcblk0: p1 p2
[    0.644695] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    0.645285] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    0.645916] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    0.646582] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[    0.647205] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[    0.647706] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[    0.648210] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[    0.648796] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[    0.649406] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[    0.654111] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    0.654975] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[    0.655620] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    0.656264] rk_gmac-dwmac ff540000.ethernet:         DWMAC1000
[    0.656724] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[    0.657376] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[    0.658029] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[    0.658497] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[    0.659112] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[    0.659676] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[    0.660194] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[    0.660704] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.699057] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    0.745832] libphy: stmmac: probed
[    0.746164] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    0.746992] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    0.750186] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    0.751011] rk808-rtc rk808-rtc: setting system clock to 2020-04-16T21:35:08 UTC (1587072908)
[    0.758269] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    0.759644] Freeing unused kernel memory: 1728K
[    0.778221] Run /sbin/init as init process
[    0.987468] init: Console is alive
[    1.100638] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.122237] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.129434] init: - preinit -
[    1.400114] random: jshn: uninitialized urandom read (4 bytes read)
[    1.413986] random: jshn: uninitialized urandom read (4 bytes read)
[    1.424640] random: jshn: uninitialized urandom read (4 bytes read)
[    1.435908] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet]
[    1.446091] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[    1.446773] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[    1.447373] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.534564] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.535355] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.546972] random: procd: uninitialized urandom read (4 bytes read)
[    5.571597] mount_root: failed to mount -t f2fs /dev/loop0 /tmp/overlay: No such device
[    5.572436] mount_root: overlay filesystem has not been fully initialized yet
[    5.573239] mount_root: switching to f2fs overlay
[    5.573691] mount_root: switching to f2fs failed - fallback to ramoverlay
[    5.579824] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
[    5.681564] urandom-seed: Seed file not found (/etc/urandom.seed)
[    5.744925] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down
[    5.749127] procd: - early -
[    6.312763] procd: - ubus -
[    6.325527] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.387390] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.388542] procd: - init -
Please press Enter to activate this console.
[    6.518730] kmodloader: loading kernel modules from /etc/modules.d/*
[    6.534978] urngd: v1.0.2 started.
[    6.540163] NET: Registered protocol family 38
[    6.550835] cryptodev: driver 1.10 loaded.
[    6.558672] random: crng init done
[    6.558983] random: 4 urandom warning(s) missed due to ratelimiting
[    6.561109] xt_time: kernel timezone is -0000
[    6.570010] PPP generic driver version 2.4.2
[    6.571090] NET: Registered protocol family 24
[    6.576416] kmodloader: done loading kernel modules from /etc/modules.d/*
[   11.700733] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet]
[   11.718123] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[   11.718803] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[   11.719401] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[   11.720571] br-lan: port 1(eth0) entered blocking state
[   11.721039] br-lan: port 1(eth0) entered disabled state
[   11.721714] device eth0 entered promiscuous mode
[   14.782740] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.783536] br-lan: port 1(eth0) entered blocking state
[   14.783998] br-lan: port 1(eth0) entered forwarding state
[   14.784739] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r12991-75ef28be59
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------

can't test nat right now because of usb3
but normal iperf is like

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.08 GBytes   931 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.08 GBytes   931 Mbits/sec                  receiver
1 Like

I will, but I need to finish support for rock64

2 Likes

i still waiting my R2s, it's still somwhere between china & europe.

usb3 is also working so hopefully all will be ok

2 Likes

your are using the R2S ? or another board ?

@keiser1080 My R2S board has arrived :grinning:

1 Like

I'm using Rock64, shouldn't be hard to port NanoPi R2S, just the u-boot for r2s, hopefully with the latest u-boot it won't need any patch.
Routing seems to cap at ~750mb/s down and ~940mb/s up on usb3
don't know why uci set network.globals.packet_steering=1 doesn't seem to make use multi cpus
once this goes in I'll post a PR for Rock64 and look at R2S also

1 Like

maybe you can chheck on the friendlyarm repo to inspire yourself?

usb3 is not in mainline kernel and maybe is still buggy but the problem seems to be the cpu, one core is capping at 100%

@xiaobo can you share a dmesg or a complete serial boot log ?

https://github.com/soffchen/NanoPi-R2S/suites/607986720/artifacts/4602650
screen /dev/ttyUSB0 1500000

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.29 (soff@soff-builder) (gcc version 6.4.0 (ctng-1.23.0-150g-FA)) #1 SMP PREEMPT Fri Apr 3 07:28:11 UTC 2020
[ 0.000000] Machine model: FriendlyElec NanoPi R2S
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 16 MiB at 0x000000003f000000
[ 0.000000] On node 0 totalpages: 253952
[ 0.000000] DMA32 zone: 4088 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 253952 pages, LIFO batch:63
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 32 pages/cpu s90280 r8192 d32600 u131072
[ 0.000000] pcpu-alloc: s90280 r8192 d32600 u131072 alloc=324096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 249864
[ 0.000000] Kernel command line: swiotlb=1 coherent_pool=1m consoleblank=0 root=/dev/mmcblk0p1 rw rootfstype=ext4 data=/dev/mmcblk0p2 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 storagemedia=sd androidboot.oem_unlocked=0 loader.timestamp=2020-04-03_07:27:49 hdmi.vic=-1 tve.format=-1 SecureBootCheckOk=0
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 947060K/1015808K available (12732K kernel code, 1548K rwdata, 8912K rodata, 1472K init, 787K bss, 52364K reserved, 16384K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 42765 entries in 168 pages
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x324/0x4b8 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001028] Console: colour dummy device 80x25
[ 0.001784] printk: console [tty0] enabled
[ 0.001864] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.001916] pid_max: default: 32768 minimum: 301
[ 0.002159] LSM: Security Framework initializing
[ 0.002305] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.002354] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.027925] ASID allocator initialised with 32768 entries
[ 0.035906] rcu: Hierarchical SRCU implementation.
[ 0.046978] EFI services will not be available.
[ 0.056067] smp: Bringing up secondary CPUs ...
[ 0.088425] Detected VIPT I-cache on CPU1
[ 0.088521] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.120585] Detected VIPT I-cache on CPU2
[ 0.120677] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.152742] Detected VIPT I-cache on CPU3
[ 0.152828] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.153052] smp: Brought up 1 node, 4 CPUs
[ 0.153216] SMP: Total of 4 processors activated.
[ 0.153247] CPU features: detected: 32-bit EL0 Support
[ 0.153277] CPU features: detected: CRC32 instructions
[ 0.170587] CPU: All CPU(s) started at EL2
[ 0.170699] alternatives: patching kernel code
[ 0.172737] devtmpfs: initialized
[ 0.192796] Registered cp15_barrier emulation handler
[ 0.192889] Registered setend emulation handler
[ 0.193645] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.193715] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.195305] pinctrl core: initialized pinctrl subsystem
[ 0.196373] DMI not present or invalid.
[ 0.197094] NET: Registered protocol family 16
[ 0.207290] DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.207368] audit: initializing netlink subsys (disabled)
[ 0.207709] audit: type=2000 audit(0.204:1): state=initialized audit_enabled=0 res=1
[ 0.209299] cpuidle: using governor ladder
[ 0.209372] cpuidle: using governor menu
[ 0.210222] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.267849] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.267908] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.267943] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.267973] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.274748] cryptd: max_cpu_qlen set to 1000
[ 0.295173] sdmmc-regulator GPIO handle specifies active low - ignored
[ 0.307285] iommu: Default domain type: Translated
[ 0.309057] SCSI subsystem initialized
[ 0.309713] libata version 3.00 loaded.
[ 0.310162] usbcore: registered new interface driver usbfs
[ 0.310287] usbcore: registered new interface driver hub
[ 0.310477] usbcore: registered new device driver usb
[ 0.310619] mc: Linux media interface: v0.10
[ 0.310707] videodev: Linux video capture interface: v2.00
[ 0.310815] pps_core: LinuxPPS API ver. 1 registered
[ 0.310845] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.310907] PTP clock support registered
[ 0.311736] Advanced Linux Sound Architecture Driver Initialized.
[ 0.312909] Bluetooth: Core ver 2.22
[ 0.313007] NET: Registered protocol family 31
[ 0.313037] Bluetooth: HCI device and connection manager initialized
[ 0.313077] Bluetooth: HCI socket layer initialized
[ 0.313113] Bluetooth: L2CAP socket layer initialized
[ 0.313172] Bluetooth: SCO socket layer initialized
[ 0.313229] NetLabel: Initializing
[ 0.313252] NetLabel: domain hash size = 128
[ 0.313279] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.313511] NetLabel: unlabeled traffic allowed by default
[ 0.315186] clocksource: Switched to clocksource arch_sys_counter
[ 1.339835] VFS: Disk quotas dquot_6.6.0
[ 1.339998] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.340315] FS-Cache: Loaded
[ 1.356370] thermal_sys: Registered thermal governor 'fair_share'
[ 1.356380] thermal_sys: Registered thermal governor 'step_wise'
[ 1.357246] NET: Registered protocol family 2
[ 1.358356] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[ 1.358460] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 1.358610] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 1.359023] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.359496] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[ 1.359619] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[ 1.360364] NET: Registered protocol family 1
[ 1.361521] RPC: Registered named UNIX socket transport module.
[ 1.361573] RPC: Registered udp transport module.
[ 1.361601] RPC: Registered tcp transport module.
[ 1.361625] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.361672] PCI: CLS 0 bytes, default 64
[ 1.362083] Trying to unpack rootfs image as initramfs...
[ 1.920950] Freeing initrd memory: 6136K
[ 1.923092] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 2.133138] Initialise system trusted keyrings
[ 2.133588] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 2.149863] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.150559] FS-Cache: Netfs 'nfs' registered for caching
[ 2.151805] NFS: Registering the id_resolver key type
[ 2.151888] Key type id_resolver registered
[ 2.151915] Key type id_legacy registered
[ 2.151962] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.152415] fuse: init (API version 7.31)
[ 2.184546] Key type asymmetric registered
[ 2.184596] Asymmetric key parser 'x509' registered
[ 2.184734] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.185102] io scheduler mq-deadline registered
[ 2.185141] io scheduler kyber registered
[ 2.193409] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[ 2.200111] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[ 2.200173] dma-pl330 ff1f0000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 2.201189] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 2.204460] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
[ 2.276584] printk: console [ttyS2] enabled
[ 2.281271] rockchip-drm display-subsystem: [drm:rockchip_drm_platform_probe] ERROR No available vop found for display-subsystem.
[ 2.296809] brd: module loaded
[ 2.318994] loop: module loaded
[ 2.322473] libphy: Fixed MDIO Bus: probed
[ 2.324684] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 2.325318] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 2.326100] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 2.326904] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 2.327634] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[ 2.328170] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[ 2.328713] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 2.329399] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[ 2.330039] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 2.335683] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 2.336606] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 2.337276] rk_gmac-dwmac ff540000.ethernet: DWMAC1000
[ 2.337764] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 2.338452] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 2.339147] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 2.339688] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[ 2.340333] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 2.340984] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 2.341532] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 2.342074] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.403199] libphy: stmmac: probed
[ 2.413039] PPP generic driver version 2.4.2
[ 2.413940] usbcore: registered new interface driver asix
[ 2.414535] usbcore: registered new interface driver ax88179_178a
[ 2.415212] usbcore: registered new interface driver cdc_ether
[ 2.415819] usbcore: registered new interface driver qmi_wwan
[ 2.418602] dwc3 ff600000.dwc3: Failed to get clk 'ref': -2
[ 2.419420] phy phy-ff470000.usb3-phy.2: u3phy u2 power on
[ 2.419973] phy phy-ff470000.usb3-phy.3: u3phy u3 power on
[ 2.421971] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
[ 2.422908] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
[ 2.551299] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 2.552851] dwc2 ff580000.usb: DWC OTG Controller
[ 2.553341] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[ 2.554047] dwc2 ff580000.usb: irq 29, io mem 0xff580000
[ 2.554893] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.555719] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.556394] usb usb1: Product: DWC OTG Controller
[ 2.556833] usb usb1: Manufacturer: Linux 5.4.29 dwc2_hsotg
[ 2.557349] usb usb1: SerialNumber: ff580000.usb
[ 2.558878] hub 1-0:1.0: USB hub found
[ 2.559335] hub 1-0:1.0: 1 port detected
[ 2.561141] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.561776] ehci-pci: EHCI PCI platform driver
[ 2.562297] ehci-platform: EHCI generic platform driver
[ 2.565482] ehci-platform ff5c0000.usb: EHCI Host Controller
[ 2.566048] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[ 2.567001] ehci-platform ff5c0000.usb: irq 30, io mem 0xff5c0000
[ 2.583212] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 2.584250] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.585017] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.585688] usb usb2: Product: EHCI Host Controller
[ 2.586140] usb usb2: Manufacturer: Linux 5.4.29 ehci_hcd
[ 2.586641] usb usb2: SerialNumber: ff5c0000.usb
[ 2.588164] hub 2-0:1.0: USB hub found
[ 2.588587] hub 2-0:1.0: 1 port detected
[ 2.589842] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.590457] ohci-platform: OHCI generic platform driver
[ 2.591573] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[ 2.592230] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[ 2.593189] ohci-platform ff5d0000.usb: irq 31, io mem 0xff5d0000
[ 2.655676] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[ 2.656442] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.657113] usb usb3: Product: Generic Platform OHCI controller
[ 2.657658] usb usb3: Manufacturer: Linux 5.4.29 ohci_hcd
[ 2.658158] usb usb3: SerialNumber: ff5d0000.usb
[ 2.659724] hub 3-0:1.0: USB hub found
[ 2.660146] hub 3-0:1.0: 1 port detected
[ 2.662416] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.662982] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[ 2.664037] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[ 2.665024] xhci-hcd xhci-hcd.0.auto: irq 166, io mem 0xff600000
[ 2.666452] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.667263] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.667932] usb usb4: Product: xHCI Host Controller
[ 2.668386] usb usb4: Manufacturer: Linux 5.4.29 xhci-hcd
[ 2.668891] usb usb4: SerialNumber: xhci-hcd.0.auto
[ 2.670450] hub 4-0:1.0: USB hub found
[ 2.670882] hub 4-0:1.0: 1 port detected
[ 2.672003] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.672543] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[ 2.673269] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 2.673999] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.674981] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 2.675787] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.676456] usb usb5: Product: xHCI Host Controller
[ 2.676910] usb usb5: Manufacturer: Linux 5.4.29 xhci-hcd
[ 2.677410] usb usb5: SerialNumber: xhci-hcd.0.auto
[ 2.678889] hub 5-0:1.0: USB hub found
[ 2.679347] hub 5-0:1.0: 1 port detected
[ 2.680708] usbcore: registered new interface driver cdc_acm
[ 2.681238] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.682057] usbcore: registered new interface driver cdc_wdm
[ 2.682668] usbcore: registered new interface driver uas
[ 2.683444] usbcore: registered new interface driver usb-storage
[ 2.684189] usbcore: registered new interface driver usbserial_generic
[ 2.684833] usbserial: USB Serial support registered for generic
[ 2.685470] usbcore: registered new interface driver ch341
[ 2.686013] usbserial: USB Serial support registered for ch341-uart
[ 2.686670] usbcore: registered new interface driver cp210x
[ 2.687250] usbserial: USB Serial support registered for cp210x
[ 2.687949] usbcore: registered new interface driver ftdi_sio
[ 2.688517] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.689563] usbcore: registered new interface driver option
[ 2.690116] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.691386] usbcore: registered new interface driver pl2303
[ 2.691955] usbserial: USB Serial support registered for pl2303
[ 2.692617] usbcore: registered new interface driver qcserial
[ 2.693189] usbserial: USB Serial support registered for Qualcomm USB modem
[ 2.694732] mousedev: PS/2 mouse device common for all mice
[ 2.696383] i2c /dev entries driver
[ 2.700817] rk808 1-0018: chip id: 0x8050
[ 2.710409] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 2.711043] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 2.711811] DCDC_REG1: supplied by vcc_sys
[ 2.715645] DCDC_REG2: supplied by vcc_sys
[ 2.718287] DCDC_REG3: supplied by vcc_sys
[ 2.719297] DCDC_REG4: supplied by vcc_sys
[ 2.721268] LDO_REG1: supplied by vcc_io
[ 2.725114] LDO_REG2: supplied by vcc_io
[ 2.728940] LDO_REG3: supplied by vcc_io
[ 2.742893] rk808-rtc rk808-rtc: registered as rtc0
[ 2.745696] input: rk805 pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/rk805-pwrkey/input/input0
[ 2.747855] IR NEC protocol handler initialized
[ 2.753806] rockchip-thermal ff250000.tsadc: Missing tshut mode property, using default (cru)
[ 2.754622] rockchip-thermal ff250000.tsadc: Missing tshut-polarity property, using default (low)
[ 2.757908] device-mapper: uevent: version 1.0.3
[ 2.758978] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com
[ 2.765101] sdhci: Secure Digital Host Controller Interface driver
[ 2.765697] sdhci: Copyright(c) Pierre Ossman
[ 2.766102] Synopsys Designware Multimedia Card Interface Driver
[ 2.768057] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[ 2.768774] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[ 2.769412] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[ 2.770055] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 27,32 bit host data width,256 deep fifo
[ 2.771037] vcc_sd: supplied by vcc_io
[ 2.790256] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.804190] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.806579] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.807862] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.808966] usbcore: registered new interface driver usbhid
[ 2.809486] usbhid: USB HID core driver
[ 2.816188] drop_monitor: Initializing network drop monitor service
[ 2.817041] Initializing XFRM netlink socket
[ 2.818395] NET: Registered protocol family 10
[ 2.820805] Segment Routing with IPv6
[ 2.844372] bpfilter: Loaded bpfilter_umh pid 235
[ 2.845698] NET: Registered protocol family 17
[ 2.846459] Bluetooth: RFCOMM TTY layer initialized
[ 2.846937] Bluetooth: RFCOMM socket layer initialized
[ 2.847492] Bluetooth: RFCOMM ver 1.11
[ 2.847863] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.848408] Bluetooth: HIDP socket layer initialized
[ 2.848987] Key type dns_resolver registered
[ 2.850411] registered taskstats version 1
[ 2.850798] Loading compiled-in X.509 certificates
[ 2.851431] Key type ._fscrypt registered
[ 2.851804] Key type .fscrypt registered
[ 2.898525] friendlyelec-board board: Serial : xxxxxxx
[ 2.900115] rk3328-dmc-freq dmc: current ATF version 0x101
[ 2.903929] random: fast init done
[ 2.905432] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 2.908460] rk808-rtc rk808-rtc: setting system clock to 2016-01-21T08:50:11 UTC (1453366211)
[ 2.910680] ALSA device list:
[ 2.910973] No soundcards found.
[ 2.916968] Freeing unused kernel memory: 1472K
[ 2.917519] Run /init as init process
[ 2.982802] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 2.983943] mmc0: new high speed SDHC card at address e624
[ 2.990020] mmcblk0: mmc0:e624 SU32G 29.7 GiB
[ 3.011138] mmcblk0: p1 p2
[ 3.019297] usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 3.040193] usb 5-1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[ 3.040957] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 3.041602] usb 5-1: Product: USB 10/100/1000 LAN
[ 3.042025] usb 5-1: Manufacturer: Realtek
[ 3.042399] usb 5-1: SerialNumber: 000000000000
[ 3.786726] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 4.037399] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.049961] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 4.315763] init: Console is alive
[ 4.316367] init: - watchdog -
[ 8.863369] phy phy-ff450000.syscon:usb2-phy@100.0: charger = USB_DCP_CHARGER
[ 9.882786] kmodloader: loading kernel modules from /etc/modules-boot.d/
[ 9.971232] raid6: neonx8 gen() 674 MB/s
[ 10.039354] raid6: neonx8 xor() 1016 MB/s
[ 10.107243] raid6: neonx4 gen() 748 MB/s
[ 10.175245] raid6: neonx4 xor() 485 MB/s
[ 10.243354] raid6: neonx2 gen() 392 MB/s
[ 10.311254] raid6: neonx2 xor() 407 MB/s
[ 10.379486] raid6: neonx1 gen() 246 MB/s
[ 10.447228] raid6: neonx1 xor() 289 MB/s
[ 10.515242] raid6: int64x8 gen() 566 MB/s
[ 10.583249] raid6: int64x8 xor() 500 MB/s
[ 10.651286] raid6: int64x4 gen() 491 MB/s
[ 10.719213] raid6: int64x4 xor() 387 MB/s
[ 10.787218] raid6: int64x2 gen() 580 MB/s
[ 10.855181] raid6: int64x2 xor() 650 MB/s
[ 10.923205] raid6: int64x1 gen() 474 MB/s
[ 10.991215] raid6: int64x1 xor() 531 MB/s
[ 10.991620] raid6: using algorithm neonx4 gen() 748 MB/s
[ 10.992101] raid6: .... xor() 485 MB/s, rmw enabled
[ 10.992547] raid6: using neon recovery algorithm
[ 11.002651] xor: measuring software checksum speed
[ 11.039201] 8regs : 1922.000 MB/sec
[ 11.079192] 32regs : 1838.000 MB/sec
[ 11.119200] arm64_neon: 1119.000 MB/sec
[ 11.119623] xor: using function: 8regs (1922.000 MB/sec)
[ 11.348926] Btrfs loaded, crc32c=crc32c-generic
[ 11.364632] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 11.372259] init: - preinit -
[ 11.541328] random: jshn: uninitialized urandom read (4 bytes read)
[ 11.563805] random: jshn: uninitialized urandom read (4 bytes read)
[ 11.580886] random: jshn: uninitialized urandom read (4 bytes read)
[ 14.745224] mount_root: mounting /dev/root
[ 14.778981] mount_root: loading kmods from internal overlay
[ 14.999065] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 15.006353] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 15.157585] block: attempting to load /etc/config/fstab
[ 15.159973] block: unable to load configuration (fstab: Entry not found)
[ 15.160681] block: no usable configuration
[ 15.164141] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 15.184754] procd: - early -
[ 15.185144] procd: - watchdog -
[ 15.319966] urandom_read: 2 callbacks suppressed
[ 15.319977] random: jshn: uninitialized urandom read (4 bytes read)
[ 15.421209] random: jshn: uninitialized urandom read (4 bytes read)
[ 15.510480] random: jshn: uninitialized urandom read (4 bytes read)
[ 15.758966] procd: - watchdog -
[ 15.759717] procd: - ubus -
[ 15.810981] procd: - init -
[ 15.945646] urngd: v1.0.2 started.
[ 15.970117] random: crng init done
[ 15.970466] random: 2 urandom warning(s) missed due to ratelimiting
[ 16.112244] kmodloader: loading kernel modules from /etc/modules.d/*
[ 16.162119] usbcore: registered new interface driver r8152
[ 16.280260] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 16.338416] usb 5-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 16.374331] r8152 5-1:1.0 (unnamed net_device) (uninitialized): DT mac addr 00:e8:8e:de:c8:12
[ 16.413190] r8152 5-1:1.0 eth1: v1.10.11
[ 16.722298] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 16.727547] platform regulatory.0: Direct firmware load for regulatory.db.p7s failed with error -2
[ 16.728391] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db.p7s
[ 16.874671] rtl8821CU: loading out-of-tree module taints kernel.
[ 17.013214] usbcore: registered new interface driver rtl8821cu
[ 17.030236] NET: Registered protocol family 8
[ 17.030661] NET: Registered protocol family 20
[ 17.085015] NET: Registered protocol family 15
[ 17.112155] tun: Universal TUN/TAP device driver, 1.6
[ 18.298621] l2tp_core: L2TP core driver, V2.0
[ 18.310341] l2tp_netlink: L2TP netlink interface
[ 18.353442] gre: GRE over IPv4 demultiplexor driver
[ 18.366019] ip_gre: GRE over IPv4 tunneling driver
[ 18.659732] Mirror/redirect action on
[ 18.747010] u32 classifier
[ 18.747360] input device check on
[ 18.747721] Actions configured
[ 18.998066] usbcore: registered new interface driver cdc_ncm
[ 19.240536] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[ 19.316929] PPP MPPE Compression module registered
[ 19.319855] NET: Registered protocol family 24
[ 19.323087] PPTP driver version 0.8.5
[ 19.410220] xt_time: kernel timezone is -0000
[ 19.449698] usbcore: registered new interface driver brcmfmac
[ 19.474915] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 19.480228] usbcore: registered new interface driver cdc_mbim
[ 19.490900] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 19.505800] Bridge firewalling registered
[ 19.513458] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 47.771251] br-lan: port 1(eth1) entered blocking state
[ 47.771881] br-lan: port 1(eth1) entered disabled state
[ 47.772899] device eth1 entered promiscuous mode
[ 47.777486] br-lan: port 1(eth1) entered blocking state
[ 47.778027] br-lan: port 1(eth1) entered forwarding state
[ 47.798865] r8152 5-1:1.0 eth1: Promiscuous mode enabled
[ 47.799844] r8152 5-1:1.0 eth1: carrier on
[ 47.808396] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet]
[ 47.819394] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 47.821068] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 47.821754] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 48.767392] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

@xiaobo did you tried to copy the Rock64 PR and modify it for your board (only names should do it) or is too complicated ?

I'll test it.

[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 111 MBytes 931 Mbits/sec 0 354 KBytes
[ 4] 1.00-2.00 sec 111 MBytes 933 Mbits/sec 0 368 KBytes
[ 4] 2.00-3.00 sec 111 MBytes 933 Mbits/sec 0 356 KBytes
[ 4] 3.00-4.00 sec 111 MBytes 933 Mbits/sec 0 356 KBytes
[ 4] 4.00-5.00 sec 111 MBytes 933 Mbits/sec 0 354 KBytes
[ 4] 5.00-6.00 sec 111 MBytes 933 Mbits/sec 25 356 KBytes
[ 4] 6.00-7.00 sec 112 MBytes 944 Mbits/sec 0 362 KBytes
[ 4] 7.00-8.00 sec 111 MBytes 933 Mbits/sec 0 354 KBytes
[ 4] 8.00-9.00 sec 111 MBytes 933 Mbits/sec 0 348 KBytes
[ 4] 9.00-10.00 sec 111 MBytes 933 Mbits/sec 0 354 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.09 GBytes 934 Mbits/sec 25 sender
[ 4] 0.00-10.00 sec 1.08 GBytes 931 Mbits/sec receiver

you will need the dts files, I think this are the ones https://drive.google.com/open?id=1YCyqzT3jXzWNHAqDfpobCalFjg0mX0Fn

I'd like to offer my help here. My R2S will arrive tonight. I can run test builds etc.

yeah, I'll try to prepare the image for it
btw, from my test wireguard is doing gigabit encryption and ssh aes is ~45MB/s

Where did you order & when ?