jayanta525 / openwrt-nanopi-r2s

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.
https://openwrt.org
GNU General Public License v2.0
86 stars 37 forks source link

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

Open DRTEK opened 2 years ago

DRTEK commented 2 years ago

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=17*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: 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=21*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: 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 giometti@linux.it [ 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:usb2-phy@100.0: 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

jayanta525 commented 2 years ago

https://github.com/openwrt/openwrt/blob/af8771751c498f7a7cf801319242eb0edd5bb105/target/linux/rockchip/patches-5.10/101-dts-rockchip-add-usb3-controller-node-for-RK3328-SoCs.patch#L13

NOTE: This binding still has issues. From the original thread:

the rk3328 usb3-phy has an issue with detecting any plugin events after a previous device got removed - see the inno-usb3-phy driver in the vendor kernel.

The current state is good-enough for enabling the USB3 attached LAN port of the NanoPi R2S. However, it might explode depending on your use-case. You've been warned.

This repo uses a different patch for the USB3 PHY https://github.com/jayanta525/openwrt-nanopi-r2s/blob/rk3328/target/linux/rockchip/patches-5.4/002-add-rk3328-usb3-driver.patch

jayanta525 commented 2 years ago

@DRTEK did you try with this patch?

DRTEK commented 2 years ago

Hello @jayanta525 i tried the patch but it did not work yours is still working , i have 20 devices on the field with public ips working with your firmware the only issue that i get sometimes devices with your firmware lost connection to the devices i have to restart the devices manually to make it work again what do you think that causes this? thank you in advance

jayanta525 commented 2 years ago

Can you describe more about your situation?

DRTEK commented 2 years ago

Hello, sorry it took a little bit to reply because i wanted get more info what happens on the device it looks like devices go into freezing state, sys led normally blinks red but when this happens the light goes off , wan and lan leds are solid even though we unplug the cables, the only way to get out of it is to hard reset the device. I hope these symptoms give you some ideas. thank you

jayanta525 commented 2 years ago

@DRTEK reboot doesn't help?

DRTEK commented 2 years ago

unplug / plug the power it back on works only :( vendor's friendlywrt made some updates recently and it seems the firmware is very stable (20 + devices have been running without an issue for 4 days )