FriendlyARM NanoPi R5S
The NanoPi R5S (as “R5S”) is an open source platform developed by FriendlyElec. The R5S has the Rockchip RK3568B2 CPU, two 2.5Gbit and one 1Gbit ports, 2GB or 4GB LPDDR4X RAM, and 8GB or 32GB eMMC flash. It has one microSD, one M.2 NVME, two USB 3.0, and USB Type-C power delivery.
OEM Firmware & Source: https://drive.google.com/drive/folders/1yWLtwCesnHfoM8DG7NgJ4jZrjRSI-dQs
Anaelorlinski builds: https://github.com/anaelorlinski/OpenWrt-NanoPi-R5S-Builds
Support Forum: https://forum.openwrt.org/t/support-for-friendlyelec-nanopi-r5s-rk3566-sbc/140070
In-depth review: https://stupid-projects.com/posts/benchmarking-the-nanopi-r5s/
Supported Versions
Installation
Download an image, decompress, then write it to a microSD using your PC. Insert the SD into the R5S, plug in power, and it'll boot OpenWrt. You may continue to run it from the SD or copy to the eMMC using dd
.
Remember snapshots do not come with LuCI preinstalled, for that you can SSH root@192.168.1.1 and opkg update && opkg install luci
.
The root size for snapshots currently does not use all available storage by default. To expand the filesystem see expand_root automated script or a github guide.
Upgrading
To upgrade simply flash a new sysupgrade image. Alternatively users may install luci-app-attendedsysupgrade
for an assisted way to update along with all packages in LuCI.
LuCI Upgrade
- Browse to LuCI page: System → Backup / Flash Firmware
- Upload image file for sysupgrade
- Wait for reboot
Terminal Upgrade
If you are not using LuCI you can SSH: root@192.168.1.1, and use sysupgrade:
cd /tmp wget https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/...[image-filename] sysupgrade /tmp/[image-filename]
Flash Layout
Find out flash layout, then add the flash layout table here (copy, paste, modify the example).
Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.
Debricking
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Please fill in real values for this device, then remove the EXAMPLEs
Network interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | EXAMPLE LAN & WiFi | EXAMPLE 192.168.1.1/24 |
vlan0 (eth0.0) | EXAMPLE LAN ports (1 to 4) | EXAMPLE None |
vlan1 (eth0.1) | EXAMPLE WAN port | EXAMPLE DHCP |
wl0 | EXAMPLE WiFi | EXAMPLE Disabled |
Switch Ports (for VLANs)
Please fill in real values for this device, then remove the EXAMPLEs
Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
Port | Switch port |
---|---|
Internet (WAN) | EXAMPLE 4 |
LAN 1 | EXAMPLE 3 |
LAN 2 | EXAMPLE 2 |
LAN 3 | EXAMPLE 1 |
LAN 4 | EXAMPLE 0 |
Buttons
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
Please fill in real values for this device, then remove the EXAMPLEs
The FriendlyARM NanoPi R5S has the following buttons:
BUTTON | Event |
---|---|
EXAMPLE Reset | reset |
EXAMPLE Secure Easy Setup | ses |
EXAMPLE No buttons at all. | - |
Hardware
Info
Photos
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port
Replace EXAMPLE by real values.
Serial connection parameters for FriendlyARM NanoPi R5S | EXAMPLE 115200, 8N1, 3.3V |
---|
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
Bootloader mods
Hardware mods
None so far.
Bootlogs
OEM bootlog
COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE
OpenWrt bootlog
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 6.6.30 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r26353-a96354bcfb) 13.2.0, GNU ld (GNU Binutils) 2.42) #0 SMP PREEMPT Fri May 17 20:34:23 2024 [ 0.000000] Machine model: FriendlyElec NanoPi R5S [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000efffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x00000000efffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000efffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 16 MiB at 0x00000000ee800000 on node -1 [ 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.2 [ 0.000000] percpu: Embedded 19 pages/cpu s38440 r8192 d31192 u77824 [ 0.000000] pcpu-alloc: s38440 r8192 d31192 u77824 alloc=19*4096 [ 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: GIC system register CPU interface [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: detected: Hardware dirty bit management [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xfe660000 root=PARTUUID=59395c7a-02 rw rootwait [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 967176 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 4MB [ 0.000000] software IO TLB: mapped [mem 0x00000000eddb4000-0x00000000ee1b4000] (4MB) [ 0.000000] Memory: 3815628K/3930112K available (9472K kernel code, 2422K rwdata, 2888K rodata, 2240K init, 736K bss, 98100K reserved, 16384K 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] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 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] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 320 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: MBI range [296:319] [ 0.000000] GICv3: Using MBI frame 0x00000000fd410000 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001438] Console: colour dummy device 80×25 [ 0.001935] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.002955] pid_max: default: 32768 minimum: 301 [ 0.008508] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.009263] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.013684] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.015508] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.016315] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1. [ 0.017353] rcu: Hierarchical SRCU implementation. [ 0.017829] rcu: Max phase no-delay instances is 1000. [ 0.019632] smp: Bringing up secondary CPUs ... [ 0.020901] Detected VIPT I-cache on CPU1 [ 0.020985] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 0.021044] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.021974] Detected VIPT I-cache on CPU2 [ 0.022038] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 0.022081] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.022917] Detected VIPT I-cache on CPU3 [ 0.022980] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 0.023020] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 0.023151] smp: Brought up 1 node, 4 CPUs [ 0.028746] SMP: Total of 4 processors activated. [ 0.029214] CPU features: detected: 32-bit EL0 Support [ 0.029718] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.030559] CPU features: detected: Common not Private translations [ 0.031171] CPU features: detected: CRC32 instructions [ 0.031677] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.032239] CPU features: detected: Privileged Access Never [ 0.032783] CPU features: detected: RAS Extension Support [ 0.033314] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.034088] CPU: All CPU(s) started at EL2 [ 0.034495] alternatives: applying system-wide alternatives [ 0.051624] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.052619] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.055775] pinctrl core: initialized pinctrl subsystem [ 0.058574] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.060420] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.061341] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.062392] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.065306] thermal_sys: Registered thermal governor 'step_wise' [ 0.065318] thermal_sys: Registered thermal governor 'power_allocator' [ 0.065962] cpuidle: using governor menu [ 0.067115] ASID allocator initialised with 65536 entries [ 0.068342] Serial: AMBA PL011 UART driver [ 0.094237] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.095407] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [ 0.096457] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.097550] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [ 0.098562] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.099651] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [ 0.100761] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.101851] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [ 0.102876] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.103965] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [ 0.113530] Modules: 28288 pages in range for non-PLT usage [ 0.113548] Modules: 519808 pages in range for PLT usage [ 0.115594] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.116786] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.117403] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.118066] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.118682] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.119344] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.119959] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.120661] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.123812] cryptd: max_cpu_qlen set to 1000 [ 0.126646] iommu: Default domain type: Passthrough [ 0.127593] SCSI subsystem initialized [ 0.128282] usbcore: registered new interface driver usbfs [ 0.128862] usbcore: registered new interface driver hub [ 0.129435] usbcore: registered new device driver usb [ 0.130161] pps_core: LinuxPPS API ver. 1 registered [ 0.130654] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.131607] PTP clock support registered [ 0.132544] scmi_core: SCMI protocol bus registered [ 0.135010] clocksource: Switched to clocksource arch_sys_counter [ 0.137909] VFS: Disk quotas dquot_6.6.0 [ 0.138471] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.145747] NET: Registered PF_INET protocol family [ 0.146592] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.153075] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 0.154021] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.154797] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.155867] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 0.157591] TCP: Hash tables configured (established 32768 bind 32768) [ 0.158456] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.159209] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 0.160614] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.161221] PCI: CLS 0 bytes, default 64 [ 0.163644] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 0.172367] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.172950] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc. [ 0.179056] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) [ 0.180004] io scheduler mq-deadline registered [ 0.192308] rockchip-dw-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges: [ 0.193073] rockchip-dw-pcie 3c0000000.pcie: IO 0x00f4100000..0x00f41fffff → 0x00f4100000 [ 0.193954] rockchip-dw-pcie 3c0000000.pcie: MEM 0x00f4200000..0x00f5ffffff → 0x00f4200000 [ 0.194823] rockchip-dw-pcie 3c0000000.pcie: MEM 0x0300000000..0x033fffffff → 0x0040000000 [ 0.196023] rockchip-dw-pcie 3c0000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G [ 0.415068] rockchip-dw-pcie 3c0000000.pcie: PCIe Gen.2 x1 link up [ 0.416019] rockchip-dw-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00 [ 0.416712] pci_bus 0000:00: root bus resource [bus 00-0f] [ 0.417260] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xf4100000-0xf41fffff]) [ 0.418197] pci_bus 0000:00: root bus resource [mem 0xf4200000-0xf5ffffff] [ 0.418876] pci_bus 0000:00: root bus resource [mem 0x300000000-0x33fffffff] (bus address [0x40000000-0x7fffffff]) [ 0.419925] pci 0000:00:00.0: [1d87:3566] type 01 class 0x060400 [ 0.420540] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 0.421267] pci 0000:00:00.0: supports D1 D2 [ 0.421693] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 0.427212] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 0.428387] pci 0000:01:00.0: [10ec:8125] type 00 class 0x020000 [ 0.429056] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid [ 0.429750] pci 0000:01:00.0: reg 0x10: [io size 0x0100] [ 0.430368] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit] [ 0.431090] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit] [ 0.432259] pci 0000:01:00.0: supports D1 D2 [ 0.432684] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.455213] pci 0000:00:00.0: BAR 8: assigned [mem 0xf4200000-0xf42fffff] [ 0.455893] pci 0000:00:00.0: BAR 6: assigned [mem 0xf4300000-0xf430ffff pref] [ 0.456609] pci 0000:00:00.0: BAR 7: assigned [io 0x1000-0x1fff] [ 0.457216] pci 0000:01:00.0: BAR 2: assigned [mem 0xf4200000-0xf420ffff 64bit] [ 0.457982] pci 0000:01:00.0: BAR 4: assigned [mem 0xf4210000-0xf4213fff 64bit] [ 0.458744] pci 0000:01:00.0: BAR 0: assigned [io 0x1000-0x10ff] [ 0.459360] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 0.459878] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff] [ 0.460479] pci 0000:00:00.0: bridge window [mem 0xf4200000-0xf42fffff] [ 0.463850] pcieport 0000:00:00.0: PME: Signaling with IRQ 22 [ 0.464822] pcieport 0000:00:00.0: AER: enabled with IRQ 22 [ 0.685176] phy phy-fe8c0000.phy.7: lane number 0, val 1 [ 0.685715] phy phy-fe8c0000.phy.7: lane number 1, val 2 [ 0.686240] phy phy-fe8c0000.phy.7: bifurcation enabled [ 0.686876] rockchip-dw-pcie 3c0400000.pcie: host bridge /pcie@fe270000 ranges: [ 0.687628] rockchip-dw-pcie 3c0400000.pcie: IO 0x00f2100000..0x00f21fffff → 0x00f2100000 [ 0.688508] rockchip-dw-pcie 3c0400000.pcie: MEM 0x00f2200000..0x00f3ffffff → 0x00f2200000 [ 0.689377] rockchip-dw-pcie 3c0400000.pcie: MEM 0x0340000000..0x037fffffff → 0x0040000000 [ 0.698823] rockchip-dw-pcie 3c0400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G [ 0.915061] rockchip-dw-pcie 3c0400000.pcie: PCIe Gen.2 x1 link up [ 0.915820] rockchip-dw-pcie 3c0400000.pcie: PCI host bridge to bus 0001:00 [ 0.916512] pci_bus 0001:00: root bus resource [bus 00-0f] [ 0.917058] pci_bus 0001:00: root bus resource [io 0x100000-0x1fffff] (bus address [0xf2100000-0xf21fffff]) [ 0.918021] pci_bus 0001:00: root bus resource [mem 0xf2200000-0xf3ffffff] [ 0.918698] pci_bus 0001:00: root bus resource [mem 0x340000000-0x37fffffff] (bus address [0x40000000-0x7fffffff]) [ 0.919744] pci 0001:00:00.0: [1d87:3566] type 01 class 0x060400 [ 0.920359] pci 0001:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 0.921084] pci 0001:00:00.0: supports D1 D2 [ 0.921509] pci 0001:00:00.0: PME# supported from D0 D1 D3hot [ 0.927158] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 0.928337] pci 0001:01:00.0: [10ec:8125] type 00 class 0x020000 [ 0.929004] pci 0001:01:00.0: reg 0x10: [io 0x0000-0x00ff] [ 0.929640] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit] [ 0.930362] pci 0001:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit] [ 0.931533] pci 0001:01:00.0: supports D1 D2 [ 0.931958] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.955206] pci 0001:00:00.0: BAR 8: assigned [mem 0xf2200000-0xf22fffff] [ 0.955886] pci 0001:00:00.0: BAR 6: assigned [mem 0xf2300000-0xf230ffff pref] [ 0.956600] pci 0001:00:00.0: BAR 7: assigned [io 0x100000-0x100fff] [ 0.957243] pci 0001:01:00.0: BAR 2: assigned [mem 0xf2200000-0xf220ffff 64bit] [ 0.958009] pci 0001:01:00.0: BAR 4: assigned [mem 0xf2210000-0xf2213fff 64bit] [ 0.958772] pci 0001:01:00.0: BAR 0: assigned [io 0x100000-0x1000ff] [ 0.959421] pci 0001:00:00.0: PCI bridge to [bus 01-ff] [ 0.959938] pci 0001:00:00.0: bridge window [io 0x100000-0x100fff] [ 0.960574] pci 0001:00:00.0: bridge window [mem 0xf2200000-0xf22fffff] [ 0.963844] pcieport 0001:00:00.0: PME: Signaling with IRQ 24 [ 0.964846] pcieport 0001:00:00.0: AER: enabled with IRQ 24 [ 0.966928] rockchip-dw-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges: [ 0.967686] rockchip-dw-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff → 0x00f0100000 [ 0.968566] rockchip-dw-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff → 0x00f0200000 [ 0.969436] rockchip-dw-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff → 0x0040000000 [ 0.978882] rockchip-dw-pcie 3c0800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G [ 2.095242] rockchip-dw-pcie 3c0800000.pcie: Phy link never came up [ 2.096016] rockchip-dw-pcie 3c0800000.pcie: PCI host bridge to bus 0002:00 [ 2.096708] pci_bus 0002:00: root bus resource [bus 00-0f] [ 2.097257] pci_bus 0002:00: root bus resource [io 0x200000-0x2fffff] (bus address [0xf0100000-0xf01fffff]) [ 2.098219] pci_bus 0002:00: root bus resource [mem 0xf0200000-0xf1ffffff] [ 2.098897] pci_bus 0002:00: root bus resource [mem 0x380000000-0x3bfffffff] (bus address [0x40000000-0x7fffffff]) [ 2.099945] pci 0002:00:00.0: [1d87:3566] type 01 class 0x060400 [ 2.100552] pci 0002:00:00.0: reg 0x10: [mem 0x00000000-0x3fffffff] [ 2.101177] pci 0002:00:00.0: reg 0x14: [mem 0x00000000-0x3fffffff] [ 2.101799] pci 0002:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 2.102535] pci 0002:00:00.0: supports D1 D2 [ 2.102959] pci 0002:00:00.0: PME# supported from D0 D1 D3hot [ 2.108625] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 2.109880] pci 0002:00:00.0: BAR 0: assigned [mem 0x380000000-0x3bfffffff] [ 2.110576] pci 0002:00:00.0: BAR 1: no space for [mem size 0x40000000] [ 2.111229] pci 0002:00:00.0: BAR 1: failed to assign [mem size 0x40000000] [ 2.111916] pci 0002:00:00.0: BAR 6: assigned [mem 0xf0200000-0xf020ffff pref] [ 2.112631] pci 0002:00:00.0: PCI bridge to [bus 01-ff] [ 2.115776] pcieport 0002:00:00.0: PME: Signaling with IRQ 26 [ 2.116729] pcieport 0002:00:00.0: AER: enabled with IRQ 26 [ 2.122765] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 2.123526] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 2.127393] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 2.128145] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 2.130653] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 2.138086] printk: console [ttyS2] disabled [ 2.138979] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 31, base_baud = 1500000) is a 16550A [ 2.140118] printk: console [ttyS2] enabled [ 2.140906] printk: bootconsole [uart8250] disabled [ 2.148921] rockchip-rng fe388000.rng: Registered Rockchip hwrng [ 2.150667] random: crng init done [ 2.157533] loop: module loaded [ 2.157840] mtip32xx Version 1.3.1 [ 2.164174] rk_gmac-dwmac fe2a0000.ethernet: IRQ eth_lpi not found [ 2.165215] rk_gmac-dwmac fe2a0000.ethernet: supply phy not found, using dummy regulator [ 2.166100] rk_gmac-dwmac fe2a0000.ethernet: clock input or output? (output). [ 2.166740] rk_gmac-dwmac fe2a0000.ethernet: TX delay(0x3c). [ 2.167246] rk_gmac-dwmac fe2a0000.ethernet: RX delay(0x2f). [ 2.167757] rk_gmac-dwmac fe2a0000.ethernet: integrated PHY? (no). [ 2.173353] rk_gmac-dwmac fe2a0000.ethernet: init for RGMII [ 2.174132] rk_gmac-dwmac fe2a0000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 2.174775] rk_gmac-dwmac fe2a0000.ethernet: DWMAC4/5 [ 2.175267] rk_gmac-dwmac fe2a0000.ethernet: DMA HW capability register supported [ 2.175932] rk_gmac-dwmac fe2a0000.ethernet: RX Checksum Offload Engine supported [ 2.176591] rk_gmac-dwmac fe2a0000.ethernet: TX Checksum insertion supported [ 2.177213] rk_gmac-dwmac fe2a0000.ethernet: Wake-Up On Lan supported [ 2.177783] rk_gmac-dwmac fe2a0000.ethernet: TSO supported [ 2.178270] rk_gmac-dwmac fe2a0000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 2.178976] rk_gmac-dwmac fe2a0000.ethernet: Enabled RFS Flow TC (entries=10) [ 2.179610] rk_gmac-dwmac fe2a0000.ethernet: TSO feature enabled [ 2.180145] rk_gmac-dwmac fe2a0000.ethernet: Using 32/32 bits DMA host/device width [ 2.300104] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.300661] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.301487] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010 [ 2.301765] ehci-platform fd800000.usb: EHCI Host Controller [ 2.301783] ohci-platform fd840000.usb: Generic Platform OHCI controller [ 2.301812] ohci-platform fd840000.usb: new USB bus registered, assigned bus number 2 [ 2.301838] ehci-platform fd880000.usb: EHCI Host Controller [ 2.301868] ehci-platform fd880000.usb: new USB bus registered, assigned bus number 3 [ 2.301959] ohci-platform fd840000.usb: irq 41, io mem 0xfd840000 [ 2.301982] ehci-platform fd880000.usb: irq 40, io mem 0xfd880000 [ 2.301998] ohci-platform fd8c0000.usb: Generic Platform OHCI controller [ 2.302023] ohci-platform fd8c0000.usb: new USB bus registered, assigned bus number 4 [ 2.302127] ohci-platform fd8c0000.usb: irq 42, io mem 0xfd8c0000 [ 2.302360] xhci-hcd xhci-hcd.0.auto: irq 37, io mem 0xfcc00000 [ 2.302840] ehci-platform fd800000.usb: new USB bus registered, assigned bus number 5 [ 2.303566] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.304214] ehci-platform fd800000.usb: irq 39, io mem 0xfd800000 [ 2.304598] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6 [ 2.311161] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 2.312394] hub 1-0:1.0: USB hub found [ 2.312796] hub 1-0:1.0: 1 port detected [ 2.313770] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.315247] hub 6-0:1.0: USB hub found [ 2.315645] hub 6-0:1.0: 1 port detected [ 2.316652] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.317167] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7 [ 2.317985] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000008002000010 [ 2.318866] xhci-hcd xhci-hcd.1.auto: irq 38, io mem 0xfd000000 [ 2.319569] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.320078] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8 [ 2.320777] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 2.322107] hub 7-0:1.0: USB hub found [ 2.322506] hub 7-0:1.0: 1 port detected [ 2.323444] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.324863] hub 8-0:1.0: USB hub found [ 2.325044] ehci-platform fd880000.usb: USB 2.0 started, EHCI 1.00 [ 2.325356] hub 8-0:1.0: 1 port detected [ 2.326689] usbcore: registered new interface driver usb-storage [ 2.327140] hub 3-0:1.0: USB hub found [ 2.327592] i2c_dev: i2c /dev entries driver [ 2.327601] hub 3-0:1.0: 1 port detected [ 2.330292] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected! [ 2.355049] ehci-platform fd800000.usb: USB 2.0 started, EHCI 1.00 [ 2.356445] hub 5-0:1.0: USB hub found [ 2.356865] hub 5-0:1.0: 1 port detected [ 2.369831] hub 2-0:1.0: USB hub found [ 2.370232] hub 2-0:1.0: 1 port detected [ 2.371739] hub 4-0:1.0: USB hub found [ 2.372136] hub 4-0:1.0: 1 port detected [ 2.376938] rk808-regulator rk808-regulator.3.auto: there is no dvs0 gpio [ 2.377566] rk808-regulator rk808-regulator.3.auto: there is no dvs1 gpio [ 2.393252] vdda0v9_image: Bringing 600000uV into 950000-950000uV [ 2.404170] vccio_acodec: Bringing 600000uV into 3300000-3300000uV [ 2.420369] vcca1v8_image: Bringing 600000uV into 1800000-1800000uV [ 2.433487] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.4.auto/input/input0 [ 2.445655] rk808-rtc rk808-rtc.5.auto: registered as rtc0 [ 2.448826] rk808-rtc rk808-rtc.5.auto: setting system clock to 2024-05-26T18:40:25 UTC (1716748825) [ 2.459939] rtc-hym8563 5-0051: registered as rtc1 [ 2.467234] sdhci: Secure Digital Host Controller Interface driver [ 2.467798] sdhci: Copyright© Pierre Ossman [ 2.468186] Synopsys Designware Multimedia Card Interface Driver [ 2.469217] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.470395] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode. [ 2.471059] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller. [ 2.471655] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a [ 2.472209] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 73,32 bit host data width,256 deep fifo [ 2.473246] ledtrig-cpu: registered to indicate activity on CPUs [ 2.474670] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16 [ 2.475759] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 2.476404] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 2.480931] NET: Registered PF_INET6 protocol family [ 2.482698] Segment Routing with IPv6 [ 2.483066] In-situ OAM (IOAM) with IPv6 [ 2.483492] NET: Registered PF_PACKET protocol family [ 2.483975] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.485470] 8021q: 802.1Q VLAN Support v1.8 [ 2.488498] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.502958] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA [ 2.543192] clk: Disabling unused clocks [ 2.546413] dw-apb-uart fe660000.serial: forbid DMA for kernel console [ 2.547057] Waiting for root device PARTUUID=59395c7a-02... [ 2.563405] mmc1: new HS200 MMC card at address 0001 [ 2.563550] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 2.564380] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB [ 2.565048] mmc0: new high speed SDXC card at address aaaa [ 2.566393] mmcblk0: mmc0:aaaa SN256 238 GiB [ 2.566581] mmcblk1boot0: mmc1:0001 AJTD4R 4.00 MiB [ 2.568581] mmcblk1boot1: mmc1:0001 AJTD4R 4.00 MiB [ 2.569398] mmcblk0: p1 p2 [ 2.569685] mmcblk1rpmb: mmc1:0001 AJTD4R 4.00 MiB, chardev (245:0) [ 2.580185] VFS: Mounted root (squashfs filesystem) readonly on device 179:34. [ 2.581595] Freeing unused kernel memory: 2240K [ 2.582035] Run /sbin/init as init process [ 2.582396] with arguments: [ 2.582398] /sbin/init [ 2.582400] with environment: [ 2.582402] HOME=/ [ 2.582404] TERM=linux [ 2.701420] init: Console is alive [ 2.701840] init: - watchdog - [ 2.797630] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 2.808636] gpio_button_hotplug: loading out-of-tree module taints kernel. [ 2.810164] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 2.813510] init: - preinit - [ 5.331757] loop0: detected capacity change from 0 to 499613696 [ 5.395317] loop0: detected capacity change from 499613696 to 499607680 [ 5.792140] F2FS-fs (loop0): Mounted with checkpoint version = 4b3caf47 [ 5.794487] mount_root: loading kmods from internal overlay [ 5.977161] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 5.987777] usbcore: registered new interface driver uas [ 5.988493] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/* [ 6.160562] block: attempting to load /tmp/overlay/upper/etc/config/fstab [ 6.161898] block: extroot: not configured [ 6.162422] block: attempting to load /etc/config/fstab [ 6.163004] block: unable to load configuration (fstab: Entry not found) [ 6.163658] block: no usable configuration [ 6.165593] mount_root: switching to f2fs overlay [ 6.286125] EXT4-fs (mmcblk0p1): mounted filesystem 84173db5-fa99-e35a-95c6-28613cc79ea9 r/w without journal. Quota mode: none. [ 6.292618] EXT4-fs (mmcblk0p1): unmounting filesystem 84173db5-fa99-e35a-95c6-28613cc79ea9. [ 6.298399] urandom-seed: Seeding with /etc/urandom.seed [ 6.315477] procd: - early - [ 6.315841] procd: - watchdog - [ 6.872454] procd: - watchdog - [ 6.873129] procd: - ubus - [ 7.027332] procd: - init - [ 7.286346] kmodloader: loading kernel modules from /etc/modules.d/* [ 7.372532] urngd: v1.0.2 started. [ 7.401729] jitterentropy: Initialization failed with host not compliant with requirements: 9 [ 7.522145] GACT probability on [ 7.523404] Mirror/redirect action on [ 7.528990] u32 classifier [ 7.529253] input device check on [ 7.529577] Actions configured [ 7.536896] fuse: init (API version 7.39) [ 7.554551] r8169 0000:01:00.0: enabling device (0000 → 0003) [ 7.585775] r8169 0000:01:00.0: can't read MAC address, setting random one [ 7.641911] r8169 0000:01:00.0 eth1: RTL8125B, ba:68:41:32:32:d9, XID 641, IRQ 75 [ 7.642590] r8169 0000:01:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko] [ 7.643594] r8169 0001:01:00.0: enabling device (0000 → 0003) [ 7.685669] r8169 0001:01:00.0: can't read MAC address, setting random one [ 7.732767] r8169 0001:01:00.0 eth2: RTL8125B, 8e:55:70:84:74:83, XID 641, IRQ 76 [ 7.733441] r8169 0001:01:00.0 eth2: jumbo features [frames: 9194 bytes, tx checksumming: ko] [ 7.748763] xt_time: kernel timezone is -0000 [ 7.778036] PPP generic driver version 2.4.2 [ 7.779206] NET: Registered PF_PPPOX protocol family [ 7.781316] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 7.782016] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved. [ 7.806935] kmodloader: done loading kernel modules from /etc/modules.d/* [ 10.905108] RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC) [ 11.245260] r8169 0000:01:00.0 eth1: Link is Down [ 11.255468] br-lan: port 1(eth1) entered blocking state [ 11.255515] br-lan: port 1(eth1) entered disabled state [ 11.255571] r8169 0000:01:00.0 eth1: entered allmulticast mode [ 11.255921] r8169 0000:01:00.0 eth1: entered promiscuous mode [ 11.260070] br-lan: port 1(eth1) entered blocking state [ 11.260112] br-lan: port 1(eth1) entered forwarding state [ 11.385038] RTL8226B_RTL8221B 2.5Gbps PHY r8169-1-100:00: attached PHY driver (mii_bus:phy_addr=r8169-1-100:00, irq=MAC) [ 11.735192] r8169 0001:01:00.0 eth2: Link is Down [ 11.745266] br-lan: port 2(eth2) entered blocking state [ 11.745288] br-lan: port 2(eth2) entered disabled state [ 11.745337] r8169 0001:01:00.0 eth2: entered allmulticast mode [ 11.745620] r8169 0001:01:00.0 eth2: entered promiscuous mode [ 11.745762] br-lan: port 2(eth2) entered blocking state [ 11.745774] br-lan: port 2(eth2) entered forwarding state [ 11.753661] rk_gmac-dwmac fe2a0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 11.895092] rk_gmac-dwmac fe2a0000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 11.905100] dwmac4: Master AXI performs any burst length [ 11.905149] rk_gmac-dwmac fe2a0000.ethernet eth0: No Safety Features support found [ 11.905206] rk_gmac-dwmac fe2a0000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported [ 11.905577] rk_gmac-dwmac fe2a0000.ethernet eth0: registered PTP clock [ 11.906782] rk_gmac-dwmac fe2a0000.ethernet eth0: configuring for phy/rgmii link mode [ 11.948001] br-lan: port 1(eth1) entered disabled state [ 11.948551] br-lan: port 2(eth2) entered disabled state [ 14.267270] r8169 0000:01:00.0 eth1: Link is Up - 1Gbps/Full - flow control off [ 14.267417] br-lan: port 1(eth1) entered blocking state [ 14.267440] br-lan: port 1(eth1) entered forwarding state [ 15.048574] rk_gmac-dwmac fe2a0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Notes
1. See FriendlyElec wiki for information on their fork, FriendlyWrt, which has some added features enabled by default such as LuCI pages for flashing eMMC, Docker configuration, and expanded SD/eMMC storage.
2. NanoPi line of devices with multiple 1G/2.5G ethernet ports: friendlyarm_nanopi_r4s, friendlyarm_nanopi_r5s, friendlyarm_nanopi_r6s