Giter VIP home page Giter VIP logo

jayanta525 / openwrt-nanopi-r2s Goto Github PK

View Code? Open in Web Editor NEW
84.0 14.0 37.0 177.36 MB

OpenWrt support for FriendlyElec NanoPi R2S RK3328 SoC board with 2x1000Mbps ports. This repository is not a fork of friendlywrt but a fork of upstream/openwrt.

Home Page: https://openwrt.org

License: GNU General Public License v2.0

Makefile 13.93% Awk 0.02% Shell 6.77% C 66.65% Assembly 1.28% C++ 3.76% M4 0.90% CMake 0.01% Perl 1.58% Lex 0.06% Yacc 0.09% Python 0.32% Roff 4.56% Objective-C 0.07%
openwrt nanopi nanopi-r2s rk3328 friendlyarm rockchip circleci

openwrt-nanopi-r2s's Introduction

OpenWrt for NanoPi R2S

Initial OpenWrt support for FriendlyElec NanoPi R2S SBC with 2x1000Mbps ports. enter image description here

CI/CD Builds

Usage

  1. Fork this on repository
  2. Install CircleCi free plan from Github Marketplace
  3. Enable this repository in CircleCi Porjects
  4. The initial build will be on the default branch with dummy configuration.
  5. Switch to branch "circleci"
  6. Edit feeds.conf to your requirment
  7. Edit config.seed file to your requirements
  8. Edit custom scripts if required.
  9. Commit the changes.
  10. Cache is enabled, i.e. toolchains and packages will be cached for faster subsequent compilations (~20mins).
  11. To clear the cache, change $CACHE value in .circleci/config.yml

Help on OpenWrt Forums

Link: https://forum.openwrt.org/t/nanopi-r2s-is-a-great-openwrt-device/65374/79?u=jayanta525

Downloads

Go to release section, or click here.

Note

This port is not yet ready for upstream-openwrt. A lot of work is to be done to kernel device tree source as well as u-boot and a whole lot of cleanup before sending it to openwrt PR. I will continue to contribute code here until it is ready for PR at openwrt master.

PRs are welcomed.

Issues

Please post issues in issue section, or click here.

Screenshots

/proc/cpuinfo

root@OpenWrt:/# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

openssl speed -evp aes-128-cbc -elapsed

OpenSSL 1.1.1g  21 Apr 2020
built on: Wed May 20 21:35:46 2020 U,64) rc4(char) des(int) aes(partial) idea(int) blowfish(ptr) 
compiler: aarch64-openwrt-linux-musl-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -Wno-error=unused-but-set-variable -Wno-error=unused-result -O3 -ffunction-sections -fdata-sections -znow -zrelro -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DZLIB -DZLIB_SHARED -DNDEBUG -DOPENSSL_PREFER_CHACHA_OVER_GCM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128-cbc     125389.79k   380230.29k   742168.83k  1011209.90k  1130659.84k  1138862.76k

openssl speed aes-128-cbc

OpenSSL 1.1.1g  21 Apr 2020
built on: Wed May 20 21:35:46 2020 UTC
options:bn(64,64) rc4(char) des(int) aes(partial) idea(int) blowfish(ptr) 
compiler: aarch64-openwrt-linux-musl-gcc -fPIC -pthread -Wa,--noexecstack -Wall -O3 -Wno-error=unused-but-set-variable -Wno-error=unused-result -O3 -ffunction-sections -fdata-sections -znow -zrelro -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DZLIB -DZLIB_SHARED -DNDEBUG -DOPENSSL_PREFER_CHACHA_OVER_GCM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128 cbc      55115.86k    60549.91k    62123.52k    62787.30k    62698.84k    62701.57k

Overview

enter image description here

Network

enter image description here

htop

enter image description here

Netdata

enter image description here

Temps

With heatsink and no active cooling (ambient temps: ~30* C).

enter image description here

Send me your test setup screenshot to add here.

openwrt-nanopi-r2s's People

Contributors

981213 avatar acoul avatar adschm avatar blocktrron avatar blogic avatar chunkeey avatar dangowrt avatar dedeckeh avatar diizzyy avatar embeem avatar ffainelli avatar hauke avatar jow- avatar juhosg avatar kaloz avatar kanjimonster avatar larsclausen avatar ldir-edb0 avatar lperkov avatar mkresin avatar nbd168 avatar neheb avatar neocturne avatar noltari avatar pepe2k avatar rmilecki avatar stintel avatar wigyori avatar ynezz avatar yousong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-nanopi-r2s's Issues

about openssl speed

Hello sir! any way to improve 16 bytes?

openssl speed -elapsed -evp aes-128-gcm (with OpenWrt 1.5ghz)
gcm


openssl speed -elapsed -evp aes-128-gcm (with FriendlyWrt 1.5ghz)
FriendlyWrt-gcm

Any plans to support ROCK Pi S?

Rock Pi S would make an excellent 100Mbps router with a usb ethernet adpater, given it's ultra low power consumption.
It would be nice if this repo could support rk3308.

usb usb3-port1: Cannot enable. Maybe the USB cable is bad?

Hello ,
first of all thank you very much for your work,
this issue is not related to your work , but i hope you can shed some light on my problems,
on some nanopi r2s devices the second ethernet (lan usb side) is not recognized. when i compile the firmware with your fork it works but with openwrt repos it wont while some nanopi devices same openwrt firmware works just works ,your firmware seems to be working for all devices.can you tell me what feature openwrt branches are missing for some nanopi devices
i am attaching original openwrt kernel messages and your fork for your reference ,
thank you in advance

OPENWRT master branch firmware

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.15.53 (node@devel) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20116-9710fe70a6) 11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP PREEMPT Sat Jul 16 20:22:40 2022
[ 0.000000] Machine model: FriendlyElec NanoPi R2S
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x000000003fffffff]
[ 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-0x000000003fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
[ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[ 0.000000] cma: Reserved 8 MiB at 0x000000003e400000
[ 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 17 pages/cpu s32216 r8192 d29224 u69632
[ 0.000000] pcpu-alloc: s32216 r8192 d29224 u69632 alloc=174096
[ 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: 257544
[ 0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff130000 root=PARTUUID=5452574f-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: 1001948K/1046528K available (8512K kernel code, 2366K rwdata, 2416K rodata, 1664K init, 720K bss, 36388K 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] 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] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001337] Console: colour dummy device 80x25
[ 0.001811] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002757] pid_max: default: 32768 minimum: 301
[ 0.003478] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.004163] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.007415] rcu: Hierarchical SRCU implementation.
[ 0.008228] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[ 0.009906] smp: Bringing up secondary CPUs ...
[ 0.011110] Detected VIPT I-cache on CPU1
[ 0.011221] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.012086] Detected VIPT I-cache on CPU2
[ 0.012166] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.012991] Detected VIPT I-cache on CPU3
[ 0.013073] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.013201] smp: Brought up 1 node, 4 CPUs
[ 0.016425] SMP: Total of 4 processors activated.
[ 0.016856] CPU features: detected: 32-bit EL0 Support
[ 0.017326] CPU features: detected: CRC32 instructions
[ 0.018107] CPU: All CPU(s) started at EL2
[ 0.018599] alternatives: patching kernel code
[ 0.029413] KASLR disabled due to lack of seed
[ 0.030030] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.030941] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.032131] pinctrl core: initialized pinctrl subsystem
[ 0.034139] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.037087] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.038026] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.039000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.040776] thermal_sys: Registered thermal governor 'step_wise'
[ 0.040790] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.041735] cpuidle: using governor menu
[ 0.042814] ASID allocator initialised with 65536 entries
[ 0.043481] Serial: AMBA PL011 UART driver
[ 0.060990] rockchip-gpio ff210000.gpio0: probed /pinctrl/gpio0@ff210000
[ 0.062421] rockchip-gpio ff220000.gpio1: probed /pinctrl/gpio1@ff220000
[ 0.063633] rockchip-gpio ff230000.gpio2: probed /pinctrl/gpio2@ff230000
[ 0.064816] rockchip-gpio ff240000.gpio3: probed /pinctrl/gpio3@ff240000
[ 0.077085] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.077721] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.078330] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.078936] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.081772] cryptd: max_cpu_qlen set to 1000
[ 0.084771] vdd_5v_lan: supplied by vdd_5v
[ 0.085637] iommu: Default domain type: Passthrough
[ 0.087236] SCSI subsystem initialized
[ 0.087849] usbcore: registered new interface driver usbfs
[ 0.088399] usbcore: registered new interface driver hub
[ 0.088934] usbcore: registered new device driver usb
[ 0.091417] clocksource: Switched to clocksource arch_sys_counter
[ 0.092248] VFS: Disk quotas dquot_6.6.0
[ 0.092698] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.098522] NET: Registered PF_INET protocol family
[ 0.099239] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.101460] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.102348] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.103072] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.103886] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.104733] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.105516] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.106167] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.107111] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.107669] PCI: CLS 0 bytes, default 64
[ 0.113800] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.123242] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.123802] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.126603] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.127603] io scheduler mq-deadline registered
[ 0.134745] dma-pl330 ff1f0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.135463] dma-pl330 ff1f0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.138944] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.141215] printk: console [ttyS2] disabled
[ 0.141764] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 18, base_baud = 1500000) is a 16550A
[ 0.142702] printk: console [ttyS2] enabled
[ 0.143455] printk: bootconsole [uart8250] disabled
[ 0.151119] loop: module loaded
[ 0.151516] mtip32xx Version 1.3.1
[ 0.153417] SPI driver spidev has no spi_device_id for siliconlabs,si3210
[ 0.157363] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.157964] ehci-platform: EHCI generic platform driver
[ 0.160883] ehci-platform ff5c0000.usb: EHCI Host Controller
[ 0.161467] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 1
[ 0.162318] ehci-platform ff5c0000.usb: irq 36, io mem 0xff5c0000
[ 0.191423] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 0.192668] hub 1-0:1.0: USB hub found
[ 0.193053] hub 1-0:1.0: 1 port detected
[ 0.193940] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.194529] ohci-platform: OHCI generic platform driver
[ 0.195446] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[ 0.196065] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 2
[ 0.196916] ohci-platform ff5d0000.usb: irq 37, io mem 0xff5d0000
[ 0.266105] hub 2-0:1.0: USB hub found
[ 0.266495] hub 2-0:1.0: 1 port detected
[ 0.267848] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 0.268368] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
[ 0.269265] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[ 0.270172] xhci-hcd xhci-hcd.0.auto: irq 38, io mem 0xff600000
[ 0.271674] hub 3-0:1.0: USB hub found
[ 0.272064] hub 3-0:1.0: 1 port detected
[ 0.272810] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 0.273317] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[ 0.274010] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 0.274664] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.275902] hub 4-0:1.0: USB hub found
[ 0.276274] hub 4-0:1.0: 1 port detected
[ 0.277195] usbcore: registered new interface driver usb-storage
[ 0.277925] i2c_dev: i2c /dev entries driver
[ 0.281460] rk808 1-0018: chip id: 0x8050
[ 0.287090] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 0.287691] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 0.290103] vdd_log: supplied by vdd_5v
[ 0.292603] vdd_arm: supplied by vdd_5v
[ 0.293242] vcc_ddr: supplied by vdd_5v
[ 0.294759] vcc_io_33: supplied by vdd_5v
[ 0.297135] vcc_18: supplied by vcc_io_33
[ 0.301267] vcc18_emmc: supplied by vcc_io_33
[ 0.305607] vdd_10: supplied by vdd_5v
[ 0.316755] rk808-rtc rk808-rtc: registered as rtc0
[ 0.318916] rk808-rtc rk808-rtc: setting system clock to 2022-07-17T09:13:02 UTC (1658049182)
[ 0.323948] cpu cpu0: EM: created perf domain
[ 0.326179] sdhci: Secure Digital Host Controller Interface driver
[ 0.326745] sdhci: Copyright(c) Pierre Ossman
[ 0.327129] Synopsys Designware Multimedia Card Interface Driver
[ 0.327783] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.329486] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.330305] usbcore: registered new interface driver usbhid
[ 0.330801] usbhid: USB HID core driver
[ 0.332283] NET: Registered PF_INET6 protocol family
[ 0.334173] Segment Routing with IPv6
[ 0.334557] In-situ OAM (IOAM) with IPv6
[ 0.334953] NET: Registered PF_PACKET protocol family
[ 0.335445] 8021q: 802.1Q VLAN Support v1.8
[ 0.351953] vcc_sd: supplied by vcc_io_33
[ 0.355974] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 0.356581] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 0.357244] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 0.357912] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 0.358533] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[ 0.359032] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[ 0.359539] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 0.360119] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[ 0.360731] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 0.366278] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 0.367138] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 0.367788] rk_gmac-dwmac ff540000.ethernet: DWMAC1000
[ 0.368250] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 0.368904] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 0.369560] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 0.370022] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[ 0.370640] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 0.371207] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 0.371750] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 0.372264] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.481491] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 0.526252] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[ 0.526956] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[ 0.526974] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[ 0.527055] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 33,32 bit host data width,256 deep fifo
[ 0.528976] dw-apb-uart ff130000.serial: forbid DMA for kernel console
[ 0.547262] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.560987] Waiting for root device PARTUUID=5452574f-02...
[ 0.599771] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 0.600879] mmc0: new high speed SDHC card at address 0001
[ 0.603281] mmcblk0: mmc0:0001 SD 3.70 GiB
[ 0.606210] mmcblk0: p1 p2
[ 0.640491] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[ 0.642385] Freeing unused kernel memory: 1664K
[ 0.701803] Run /sbin/init as init process
[ 0.702207] with arguments:
[ 0.702215] /sbin/init
[ 0.702223] with environment:
[ 0.702229] HOME=/
[ 0.702237] TERM=linux
[ 0.987341] init: Console is alive
[ 1.240735] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 1.258850] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 1.261968] init: - preinit -
[ 1.471705] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 1.779420] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.806603] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.866482] random: jshn: uninitialized urandom read (4 bytes read)
[ 2.012890] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[ 2.015181] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 2.021583] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 2.022297] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 2.024161] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 2.731521] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 2.732472] usb usb3-port1: attempt power cycle
[ 3.871530] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 4.186288] loop0: detected capacity change from 0 to 212992
[ 4.281462] loop0: detected capacity change from 212992 to 205440
[ 4.284465] mount_root: overlay filesystem in /dev/loop0 has not been formatted yet
[ 4.408239] random: mkfs.f2fs: uninitialized urandom read (16 bytes read)
[ 4.841542] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 4.842383] usb usb3-port1: unable to enumerate USB device
[ 4.906993] F2FS-fs (loop0): Found nat_bits in checkpoint
[ 4.926083] F2FS-fs (loop0): Mounted with checkpoint version = 2f3f899b
[ 4.927697] mount_root: overlay filesystem has not been fully initialized yet
[ 4.928992] mount_root: switching to f2fs overlay
[ 5.052255] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null). Quota mode: none.
[ 5.065186] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 5.112449] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 5.113277] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 5.146448] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down
[ 5.168517] procd: - early -
[ 5.730592] procd: - ubus -
[ 5.774850] random: ubusd: uninitialized urandom read (4 bytes read)
[ 5.787669] random: ubusd: uninitialized urandom read (4 bytes read)
[ 5.788680] random: ubusd: uninitialized urandom read (4 bytes read)
[ 5.795314] procd: - init -
[ 6.100046] urngd: v1.0.2 started.
[ 6.124263] random: crng init done
[ 6.124614] random: 22 urandom warning(s) missed due to ratelimiting
[ 6.141361] kmodloader: loading kernel modules from /etc/modules.d/*
[ 6.174041] GACT probability on
[ 6.175635] Mirror/redirect action on
[ 6.184852] u32 classifier
[ 6.185127] input device check on
[ 6.185451] Actions configured
[ 6.197718] Simple TC action Loaded
[ 6.246697] usbcore: registered new interface driver r8152
[ 6.260948] xt_time: kernel timezone is -0000
[ 6.262913] usbcore: registered new interface driver cdc_ether
[ 6.265177] usbcore: registered new interface driver cdc_ncm
[ 6.309524] PPP generic driver version 2.4.2
[ 6.311773] NET: Registered PF_PPPOX protocol family
[ 6.333886] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 6.411620] usb 1-1: reset high-speed USB device number 2 using ehci-platform
[ 6.654094] r8152 1-1:1.0: skip request firmware
[ 6.693953] r8152 1-1:1.0 eth1: v1.12.12
[ 10.372835] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[ 10.376511] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 10.381609] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 10.382342] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 10.382966] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 10.385372] br-lan: port 1(eth0) entered blocking state
[ 10.385871] br-lan: port 1(eth0) entered disabled state
[ 10.386637] device eth0 entered promiscuous mode
[ 14.552348] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 14.553173] br-lan: port 1(eth0) entered blocking state
[ 14.553641] br-lan: port 1(eth0) entered forwarding state
[ 14.554343] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 22.128513] br-lan: port 1(eth0) entered disabled state
[ 22.131099] device eth0 left promiscuous mode
[ 22.131681] br-lan: port 1(eth0) entered disabled state
[ 22.192724] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down
[ 22.478398] br-023d7ad553a1: port 1(eth1) entered blocking state
[ 22.478959] br-023d7ad553a1: port 1(eth1) entered disabled state
[ 22.479808] device eth1 entered promiscuous mode
[ 22.482805] br-023d7ad553a1: port 1(eth1) entered blocking state
[ 22.483365] br-023d7ad553a1: port 1(eth1) entered forwarding state
[ 22.582972] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[ 22.588751] rk_gmac-dwmac ff540000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 22.601061] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 22.601852] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 22.602485] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 22.605129] br-lan: port 1(eth0) entered blocking state
[ 22.605639] br-lan: port 1(eth0) entered disabled state
[ 22.606539] device eth0 entered promiscuous mode
[ 22.609869] br-lan: port 1(eth0) entered blocking state
[ 22.610372] br-lan: port 1(eth0) entered forwarding state
[ 23.201642] br-lan: port 1(eth0) entered disabled state
[ 23.203260] br-023d7ad553a1: port 1(eth1) entered disabled state
[ 24.709927] r8152 1-1:1.0 eth1: Promiscuous mode enabled
[ 24.710921] r8152 1-1:1.0 eth1: carrier on
[ 24.712550] br-023d7ad553a1: port 1(eth1) entered blocking state
[ 24.713116] br-023d7ad553a1: port 1(eth1) entered forwarding state
[ 25.752564] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 25.753426] br-lan: port 1(eth0) entered blocking state
[ 25.753909] br-lan: port 1(eth0) entered forwarding state
[ 56.028546] r8152 1-1:1.0 eth1: Promiscuous mode enabled
[ 56.029910] r8152 1-1:1.0 eth1: Promiscuous mode enabled
[ 57.676430] HTB: quantum of class 10003 is big. Consider r2q change.
[ 57.833773] HTB: quantum of class 20003 is big. Consider r2q change.

Your fork of openwrt

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.52 (node@devel) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13904-d1679edd38)) #0 SMP PREEMPT Tue Jul 21 14:58:04 2020
[ 0.000000] Machine model: FriendlyARM NanoPi R2S
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] cma: Reserved 16 MiB at 0x000000003f000000
[ 0.000000] On node 0 totalpages: 261632
[ 0.000000] DMA32 zone: 4088 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 261632 pages, LIFO batch:63
[ 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 s48344 r8192 d29480 u86016
[ 0.000000] pcpu-alloc: s48344 r8192 d29480 u86016 alloc=214096
[ 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: 257544
[ 0.000000] Kernel command line: console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32,0xff130000 swiotlb=1 root=PARTUUID=5452574f-02 rw rootwait loglevel=9
[ 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: 996036K/1046528K available (7806K kernel code, 546K rwdata, 2572K rodata, 1792K init, 702K bss, 34108K 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] 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/0x39c 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001444] Console: colour dummy device 80x25
[ 0.001857] printk: console [tty1] enabled
[ 0.002244] printk: bootconsole [uart8250] disabled
[ 0.002746] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002782] pid_max: default: 32768 minimum: 301
[ 0.003046] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.003080] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.025617] ASID allocator initialised with 32768 entries
[ 0.033598] rcu: Hierarchical SRCU implementation.
[ 0.049691] smp: Bringing up secondary CPUs ...
[ 0.081945] Detected VIPT I-cache on CPU1
[ 0.082028] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.114030] Detected VIPT I-cache on CPU2
[ 0.114101] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.146133] Detected VIPT I-cache on CPU3
[ 0.146199] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.146330] smp: Brought up 1 node, 4 CPUs
[ 0.146433] SMP: Total of 4 processors activated.
[ 0.146454] CPU features: detected: 32-bit EL0 Support
[ 0.146473] CPU features: detected: CRC32 instructions
[ 0.155138] CPU: All CPU(s) started at EL2
[ 0.155194] alternatives: patching kernel code
[ 0.167112] Duplicate name in gpio-leds, renamed to "status#1"
[ 0.169992] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.170062] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.171177] pinctrl core: initialized pinctrl subsystem
[ 0.172310] NET: Registered protocol family 16
[ 0.175856] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.176885] cpuidle: using governor menu
[ 0.177368] Serial: AMBA PL011 UART driver
[ 0.205095] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.205144] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.205168] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.205193] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.208481] sdmmc-regulator GPIO handle specifies active low - ignored
[ 0.210941] iommu: Default domain type: Translated
[ 0.212155] SCSI subsystem initialized
[ 0.212466] usbcore: registered new interface driver usbfs
[ 0.212536] usbcore: registered new interface driver hub
[ 0.212690] usbcore: registered new device driver usb
[ 0.213227] pps_core: LinuxPPS API ver. 1 registered
[ 0.213250] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.214820] clocksource: Switched to clocksource arch_sys_counter
[ 0.215170] VFS: Disk quotas dquot_6.6.0
[ 0.215269] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.220654] thermal_sys: Registered thermal governor 'step_wise'
[ 0.220661] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.221286] NET: Registered protocol family 2
[ 0.222088] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.222161] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.222294] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.222509] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.222719] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.222856] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.223173] NET: Registered protocol family 1
[ 0.223235] PCI: CLS 0 bytes, default 64
[ 0.223838] kvm [1]: IPA Size Limit: 40bits
[ 0.224585] kvm [1]: vgic interrupt IRQ1
[ 0.224794] kvm [1]: Hyp mode initialized successfully
[ 0.226275] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.235848] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.235892] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.237882] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.238273] io scheduler mq-deadline registered
[ 0.241977] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
[ 0.244303] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[ 0.245220] gpio-syscon ff100000.syscon:grf-gpio: can't read the data register offset!
[ 0.248759] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[ 0.248808] dma-pl330 ff1f0000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.251479] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.253294] printk: console [ttyS2] disabled
[ 0.253454] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
[ 0.312874] printk: console [ttyS2] enabled
[ 0.322240] loop: module loaded
[ 0.322567] mtip32xx Version 1.3.1
[ 0.325430] libphy: Fixed MDIO Bus: probed
[ 0.327189] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[ 0.327815] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[ 0.328522] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[ 0.329193] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[ 0.329838] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[ 0.330355] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[ 0.330939] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[ 0.331578] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[ 0.332207] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[ 0.337775] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[ 0.338612] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 0.339315] rk_gmac-dwmac ff540000.ethernet: DWMAC1000
[ 0.339797] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[ 0.340477] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[ 0.341153] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[ 0.341632] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[ 0.342269] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[ 0.342873] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[ 0.343413] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[ 0.343944] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.402820] libphy: stmmac: probed
[ 0.406745] dwc3 ff600000.dwc3: Configuration mismatch. dr_mode forced to host
[ 0.407568] phy phy-ff470000.usb3-phy.2: u3phy u2 power on
[ 0.408088] phy phy-ff470000.usb3-phy.3: u3phy u3 power on
[ 0.409531] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
[ 0.410367] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
[ 0.413503] dwc2 ff580000.usb: Configuration mismatch. dr_mode forced to host
[ 0.424619] dwc2 ff580000.usb: DWC OTG Controller
[ 0.425085] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[ 0.425772] dwc2 ff580000.usb: irq 29, io mem 0xff580000
[ 0.427002] hub 1-0:1.0: USB hub found
[ 0.427398] hub 1-0:1.0: 1 port detected
[ 0.428430] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.429024] ehci-platform: EHCI generic platform driver
[ 0.431927] ehci-platform ff5c0000.usb: EHCI Host Controller
[ 0.432483] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[ 0.433341] ehci-platform ff5c0000.usb: irq 30, io mem 0xff5c0000
[ 0.446821] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[ 0.448042] hub 2-0:1.0: USB hub found
[ 0.448424] hub 2-0:1.0: 1 port detected
[ 0.449322] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.449926] ohci-platform: OHCI generic platform driver
[ 0.450834] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[ 0.451467] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[ 0.452375] ohci-platform ff5d0000.usb: irq 31, io mem 0xff5d0000
[ 0.515533] hub 3-0:1.0: USB hub found
[ 0.515922] hub 3-0:1.0: 1 port detected
[ 0.517366] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 0.517899] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[ 0.518865] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[ 0.519781] xhci-hcd xhci-hcd.0.auto: irq 166, io mem 0xff600000
[ 0.521223] hub 4-0:1.0: USB hub found
[ 0.521610] hub 4-0:1.0: 1 port detected
[ 0.522371] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 0.522944] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[ 0.523653] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 0.524322] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.525580] hub 5-0:1.0: USB hub found
[ 0.525961] hub 5-0:1.0: 1 port detected
[ 0.526980] usbcore: registered new interface driver usb-storage
[ 0.527785] i2c /dev entries driver
[ 0.530681] rk808 1-0018: chip id: 0x8050
[ 0.537443] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 0.538052] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 0.538693] DCDC_REG1: supplied by vcc_sys
[ 0.541739] DCDC_REG2: supplied by vcc_sys
[ 0.543709] DCDC_REG3: supplied by vcc_sys
[ 0.544377] DCDC_REG4: supplied by vcc_sys
[ 0.545974] LDO_REG1: supplied by vcc_io
[ 0.549324] LDO_REG2: supplied by vcc_io
[ 0.552777] LDO_REG3: supplied by vcc_io
[ 0.565399] rk808-rtc rk808-rtc: registered as rtc0
[ 0.567733] input: rk805 pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/rk805-pwrkey/input/input0
[ 0.569231] pps pps0: new PPS source ktimer
[ 0.569629] pps pps0: ktimer PPS source registered
[ 0.573168] rockchip-thermal ff250000.tsadc: Missing tshut mode property, using default (cru)
[ 0.573970] rockchip-thermal ff250000.tsadc: Missing tshut-polarity property, using default (low)
[ 0.577469] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[ 0.580688] sdhci: Secure Digital Host Controller Interface driver
[ 0.581257] sdhci: Copyright(c) Pierre Ossman
[ 0.581644] Synopsys Designware Multimedia Card Interface Driver
[ 0.582722] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[ 0.583399] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[ 0.583990] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[ 0.584534] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 27,32 bit host data width,256 deep fifo
[ 0.585424] vcc_sd: supplied by vcc_io
[ 0.602906] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.615081] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.616870] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.617780] usbcore: registered new interface driver usbhid
[ 0.618330] usbhid: USB HID core driver
[ 0.620599] NET: Registered protocol family 10
[ 0.622309] Segment Routing with IPv6
[ 0.622778] NET: Registered protocol family 17
[ 0.623285] 8021q: 802.1Q VLAN Support v1.8
[ 0.640387] rk3328-dmc-freq dmc: trusted firmware need to update or is invalid
[ 0.643223] rk808-rtc rk808-rtc: setting system clock to 2022-07-17T09:37:42 UTC (1658050662)
[ 0.645067] Waiting for root device PARTUUID=5452574f-02...
[ 0.717642] random: fast init done
[ 0.727600] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 0.728588] mmc0: new high speed SDHC card at address 0001
[ 0.730717] mmcblk0: mmc0:0001 SD 3.70 GiB
[ 0.738948] mmcblk0: p1 p2
[ 0.765856] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[ 0.767827] Freeing unused kernel memory: 1792K
[ 0.782911] Run /sbin/init as init process
[ 0.783022] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 0.859032] usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 0.996381] init: Console is alive
[ 1.159636] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 1.174332] gpio-keys gpio-keys: does not support wakeup
[ 1.174899] gpio-keys: probe of gpio-keys failed with error -22
[ 1.175938] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 1.180162] init: - preinit -
[ 1.512683] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.533496] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.589033] random: jshn: uninitialized urandom read (4 bytes read)
[ 1.646590] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet]
[ 1.658844] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 1.659560] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 1.660170] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 5.759458] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 5.760295] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 5.809328] urandom_read: 2 callbacks suppressed
[ 5.809337] random: procd: uninitialized urandom read (4 bytes read)
[ 5.821055] mount_root: rootdisk overlay filesystem has not been formatted yet
[ 5.905085] random: mkfs.f2fs: uninitialized urandom read (16 bytes read)
[ 6.414737] F2FS-fs (loop0): Found nat_bits in checkpoint
[ 6.451410] F2FS-fs (loop0): Mounted with checkpoint version = 284e56a3
[ 6.453090] mount_root: overlay filesystem has not been fully initialized yet
[ 6.454225] mount_root: switching to f2fs overlay
[ 6.572518] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[ 6.585637] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 6.635322] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down
[ 6.641689] procd: - early -
[ 7.191251] procd: - ubus -
[ 7.212244] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.242324] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.243316] random: ubusd: uninitialized urandom read (4 bytes read)
[ 7.244672] procd: - init -
[ 7.339184] phy phy-ff450000.syscon:[email protected]: charger = USB_DCP_CHARGER
[ 7.437713] urngd: v1.0.2 started.
[ 7.457905] random: crng init done
[ 7.508207] kmodloader: loading kernel modules from /etc/modules.d/*
[ 7.529385] Mirror/redirect action on
[ 7.536155] u32 classifier
[ 7.536424] input device check on
[ 7.536751] Actions configured
[ 7.543309] GACT probability on
[ 7.546879] Simple TC action Loaded
[ 7.583066] usbcore: registered new interface driver r8152
[ 7.600345] xt_time: kernel timezone is -0000
[ 7.620876] PPP generic driver version 2.4.2
[ 7.622538] NET: Registered protocol family 24
[ 7.632337] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 7.718900] usb 2-1: reset high-speed USB device number 2 using ehci-platform
[ 7.756809] usb 5-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[ 7.795928] r8152 5-1:1.0 (unnamed net_device) (uninitialized): DT mac addr da:56:e2:6d:13:ec
[ 7.836989] r8152 5-1:1.0 eth1: v1.10.11
[ 7.941433] r8152 2-1:1.0 eth2: v1.10.11
[ 11.020534] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet]
[ 11.030908] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 11.031662] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 11.032296] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 11.033799] br-lan: port 1(eth0) entered blocking state
[ 11.034328] br-lan: port 1(eth0) entered disabled state
[ 11.035269] device eth0 entered promiscuous mode
[ 15.131383] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 15.132214] br-lan: port 1(eth0) entered blocking state
[ 15.132682] br-lan: port 1(eth0) entered forwarding state
[ 15.133388] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 20.585071] br-lan: port 1(eth0) entered disabled state
[ 20.590106] device eth0 left promiscuous mode
[ 20.590619] br-lan: port 1(eth0) entered disabled state
[ 20.615757] rk_gmac-dwmac ff540000.ethernet eth0: Link is Down
[ 20.711795] br-023d7ad553a1: port 1(eth1) entered blocking state
[ 20.712392] br-023d7ad553a1: port 1(eth1) entered disabled state
[ 20.713322] device eth1 entered promiscuous mode
[ 20.715184] br-023d7ad553a1: port 1(eth1) entered blocking state
[ 20.715751] br-023d7ad553a1: port 1(eth1) entered forwarding state
[ 20.740650] rk_gmac-dwmac ff540000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet]
[ 20.750984] rk_gmac-dwmac ff540000.ethernet eth0: No Safety Features support found
[ 20.751732] rk_gmac-dwmac ff540000.ethernet eth0: RX IPC Checksum Offload disabled
[ 20.752428] rk_gmac-dwmac ff540000.ethernet eth0: PTP not supported by HW
[ 20.753049] rk_gmac-dwmac ff540000.ethernet eth0: configuring for phy/rgmii link mode
[ 20.754779] br-lan: port 1(eth0) entered blocking state
[ 20.756082] br-lan: port 1(eth0) entered disabled state
[ 20.756934] device eth0 entered promiscuous mode
[ 20.758493] br-lan: port 1(eth0) entered blocking state
[ 20.759050] br-lan: port 1(eth0) entered forwarding state
[ 21.595101] br-lan: port 1(eth0) entered disabled state
[ 21.596553] br-023d7ad553a1: port 1(eth1) entered disabled state
[ 25.883545] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 25.884453] br-lan: port 1(eth0) entered blocking state
[ 25.884949] br-lan: port 1(eth0) entered forwarding state

DHCP may not work

Hi,bro
I downloaded your release, used gzip -d to decompress, got img file, then I used balenaEtcher flash sdcard.
after plug in the power supply, I can't got IP, DHCP not working?

Xnip2020-06-11_22-24-13

Intermittent ethernet disconnections

I've been testing this build for a week now:
https://github.com/jayanta525/openwrt-nanopi-r2s/releases/download/v1.2/openwrt-rockchip-armv8-friendlyelec_nanopi-r2-rev00-ext4-sysupgrade.img.gz

I'm finding that the ethernet ports occasionally (1-2 times/day) disconnect and only a reset of the device fixes the problem. There is no load or traffic on the device, just a ssh session with htop. Nothing is printed in the syslog, they just stop accepting new connections or pings. The device remains running and it is not hung, I've verified it by making the system log persisting between reboots.

For eth0 (SOC port) I've changed the cable and it appears to be working now. In any case I would like to point out to this patch from FriendlyWrt:
friendlyarm/friendlywrt@b02f11d
Apparently some offloading features in the SOC are buggy and they are disabling them.

For eth1 (USB port) I've also found references (for RTL8153, the USB Ethernet chip) to the fact it can disconnect in the event of some USB power management commands. I will try some workarounds and monitor the situation, but it is impossible to trigger on purpose, it requires days of passive testing.

I'm making this issue on the hopes some other users are also testing the R2S with this openwrt build and we can share more information together if they have the same issues. If it's not appropriate I can delete it, thanks.

Add PWM FAN function on R2S

I want to connect the fan interface on the R2S motherboard.
But I don't want the fan to keep running at full speed, so I need it to control the fan speed through PWM output.

This is the OFFICIAL firmware PWM control function, I hope to help you.
friendlyarm/friendlywrt@e1fb88f

Well, if there is anything I can do to help, let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.