Support for Cudy WR3000

Did anyone had a look on this device? Got mine new, it's pretty cheap and got nice specs.
It has a OpenWRT running, so it should be possible to get a vanilla OpenWrt on it. What do you think?

1.3 GHz Dual-Core Cortex-A53 CPU
Super-Fast AX3000 WiFi 6 Speeds
4ร— Gigabit Ports
4ร— High-Gain Antennas and Beamforming
20/40/80/160MHz Bandwidth
UL/DL OFDMA and MU-MIMO
IPv4/IPv6, TR069/TR098/TR181/TR111
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Fri Mar 24 08:40:59 2023 kern.notice kernel: [    0.000000] Linux version 5.4.219 (jenkins@release) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 1.15.6)) #0 SMP Thu Mar 16 12:42:40 2023
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Machine model: MediaTek MT7981 RFB/R31
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] printk: bootconsole [uart8250] enabled
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.000000] On node 0 totalpages: 64592
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.000000]   DMA32 zone: 1024 pages used for memmap
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.000000]   DMA32 zone: 0 pages reserved
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.000000]   DMA32 zone: 64592 pages, LIFO batch:15
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] psci: probing for conduit method from DT.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] psci: PSCIv1.1 detected in firmware.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] psci: Using standard PSCI v0.2 function IDs
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] psci: SMC Calling Convention v1.0
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] percpu: Embedded 20 pages/cpu s44056 r8192 d29672 u81920
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.000000] pcpu-alloc: s44056 r8192 d29672 u81920 alloc=20*4096
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 [0] 1
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Detected VIPT I-cache on CPU0
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] CPU features: detected: GIC system register CPU interface
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 63568
Fri Mar 24 08:40:59 2023 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8  				earlycon=uart8250,mmio32,0x11002000
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] Memory: 230792K/258368K available (6846K kernel code, 444K rwdata, 1912K rodata, 448K init, 289K bss, 27576K reserved, 0K cma-reserved)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] rcu: Hierarchical RCU implementation.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] rcu: 	CONFIG_RCU_FANOUT set to non-default value of 32.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: 640 SPIs implemented
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: 0 Extended SPIs implemented
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: Distributor has no Range Selector support
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: 16 PPIs implemented
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: no VLPI support, no direct LPI support
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.000003] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.008187] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=52000)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.018507] pid_max: default: 32768 minimum: 301
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.023226] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.030487] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.039044] ASID allocator initialised with 65536 entries
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.044547] rcu: Hierarchical SRCU implementation.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.049651] smp: Bringing up secondary CPUs ...
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.054514] Detected VIPT I-cache on CPU1
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.054534] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.054555] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.054616] smp: Brought up 1 node, 2 CPUs
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.076228] SMP: Total of 2 processors activated.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.080953] CPU features: detected: 32-bit EL0 Support
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.086115] CPU features: detected: CRC32 instructions
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.091381] CPU: All CPU(s) started at EL2
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.095502] alternatives: patching kernel code
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.102144] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.111955] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.118849] pinctrl core: initialized pinctrl subsystem
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.124738] NET: Registered protocol family 16
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.129412] DMA: preallocated 256 KiB pool for atomic allocations
Fri Mar 24 08:40:59 2023 kern.notice kernel: [    0.150724] SCSI subsystem initialized
Fri Mar 24 08:40:59 2023 kern.debug kernel: [    0.154658] libata version 3.00 loaded.
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.158691] usbcore: registered new interface driver usbfs
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.164347] usbcore: registered new interface driver hub
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.169724] usbcore: registered new device driver usb
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.175543] Bluetooth: Core ver 2.22
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.179185] NET: Registered protocol family 31
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.183655] Bluetooth: HCI device and connection manager initialized
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.190046] Bluetooth: HCI socket layer initialized
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.194947] Bluetooth: L2CAP socket layer initialized
Fri Mar 24 08:40:59 2023 kern.info kernel: [    0.200031] Bluetooth: SCO socket layer initialized

Can provide a full log on pastebin if needed. One reason for me for a plain OpenWrt is the missing Wireguard feature in the stock firmware.

1 Like

That's no guarantee.

There's only one device in the ToH using the MT7981, and that's the GL-MT2500/GL-MT2500A.
Can't find any images for it so my guess is, it's not supported, yet, same would probably apply to your Cudy.

It'd fall on your shoulders to get it supported.

Previously Cudy provided all the information needed to easily port their OpenWrt based devices.

http://www.cudytech.com/openwrt_wr2100_download

The WR3000 is fairly new to the market and it may take some time and an email or two to get the developer information.

MT7981 has been merged into ramips:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3d5c5427e17a870041e0c94b6fbbfb9301cd2c70

OpenWrt has also moved ramips to kernel 5.15 which is usually a good thing:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=77d061167cf8a7edb3ea7cbc9926f25c8ac8fe1e

2 Likes

mediatek, not ramips - important difference, as it's ARM vs MIPS.

@moo
there is some movement regarding mt7981 in staging tree git.openwrt.org Git - openwrt/staging/dangole.git/summary . Also how much is pretty cheap as I see it ~85EUR here in Poland and mt7981 based Totolink X6000R have price tag of ~64EUR on aliexpress

Daniel submit mt7981 patch to openwrt trunk today.

2 Likes

I'll answer myself .amazon es has it for โ‚ฌ54.04 shipped. So I've ordered one.

I got mine for about 48 Euros with 10 Euro coupon used. Not so bad I think for a new, but maybe not so open HW. :face_with_peeking_eye:

1 Like

So I have it strip open .
Serial on the bottom of the board in the middle "โ–กโ—‹โ—‹โ—‹" TX/RX/GND/3.3V 115200

full boot log:

https://pastebin.com/FZM4bKaY

Console stays inactive and there is no signs for failsafe mode

Uboot console (keep pressing down arrow while boot)

  *** U-Boot Boot Menu ***

      1. Startup system (Default)
      2. Upgrade firmware
      3. Upgrade ATF BL2
      4. Upgrade ATF FIP
      5. Upgrade single image
      6. Load image
      0. U-Boot console


  Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
MT7981> help
?         - alias for 'help'
base      - print or set address offset
bdinfo    - print Board Info structure
boot      - boot default, i.e., run 'bootcmd'
bootd     - boot default, i.e., run 'bootcmd'
bootelf   - Boot from an ELF image in memory
booti     - boot Linux kernel 'Image' format from memory
bootm     - boot application image from memory
bootmenu  - ANSI terminal bootmenu
bootp     - boot image via network using BOOTP/TFTP protocol
bootvx    - Boot vxWorks from an ELF image
button    - manage buttons
cmp       - memory compare
coninfo   - print console devices and information
cp        - memory copy
crc32     - checksum calculation
custombtn - custom button check
echo      - echo args to console
editenv   - edit environment variable
env       - environment handling commands
erase     - erase FLASH memory
fdt       - flattened device tree utility commands
flinfo    - print FLASH memory information
go        - start application at address 'addr'
gpio      - query and control gpio pins
gzwrite   - unzip and write memory to block device
help      - print command description/usage
iminfo    - print header information for application image
imxtract  - extract a part of a multi-image
itest     - return true/false on integer compare
led       - manage LEDs
ledblink  - led blink
loadb     - load binary file over serial line (kermit mode)
loads     - load S-Record file over serial line
loadx     - load binary file over serial line (xmodem mode)
loady     - load binary file over serial line (ymodem mode)
loop      - infinite loop on address range
lzmadec   - lzma uncompress a memory region
md        - memory display
mm        - memory modify (auto-incrementing address)
mtkautoboot- Display MediaTek bootmenu
mtkboardboot- Boot MTK firmware
mtkload   - MTK image loading utility
mtkupgrade- MTK firmware/bootloader upgrading utility
mw        - memory write (fill)
net       - NET sub-system
nfs       - boot image via network using NFS protocol
nm        - memory modify (constant address)
panic     - Panic with optional message
ping      - send ICMP ECHO_REQUEST to network host
pinmux    - show pin-controller muxing
printenv  - print environment variables
protect   - enable or disable FLASH write protection
pwm       - control pwm channels
random    - fill memory with random pattern
reset     - Perform RESET of the CPU
run       - run commands in an environment variable
setenv    - set environment variables
setexpr   - set environment variable as the result of eval expression
sf        - SPI flash sub-system
sleep     - delay execution for some time
source    - run script from memory
tftpboot  - boot image via network using TFTP protocol
unlz4     - lz4 uncompress a memory region
unzip     - unzip a memory region
version   - print monitor, compiler and linker version
MT7981> printenv
baudrate=115200
bootdelay=2
bootmenu_0=Startup system (Default)=mtkboardboot
bootmenu_1=Upgrade firmware=mtkupgrade fw
bootmenu_2=Upgrade ATF BL2=mtkupgrade bl2
bootmenu_3=Upgrade ATF FIP=mtkupgrade fip
bootmenu_4=Upgrade single image=mtkupgrade simg
bootmenu_5=Load image=mtkload
ethaddr=1a:38:b7:c3:73:c9
fdtcontroladdr=4ffcd720
ipaddr=192.168.1.1
loadaddr=0x46000000
netmask=255.255.255.0
serverip=192.168.1.2
stderr=serial@11002000
stdin=serial@11002000
stdout=serial@11002000

Environment size: 482/126972 bytes
MT7981> iminfo

## Checking Image at 46000000 ...
Unknown image format!
MT7981>

I assume there will be no special headers or any security what so ever . Look quite open for me.

1 Like

[ 12.632835] mt_wifi: module license 'Proprietary' taints kernel.

Hope this is not just a binary blob we can't use ... read a lot about AX versions of routers. It supports tftp, should make it brick safe. Did you ask cudy about the SW? I will do so also. ATM they don't have it downloadable, just for the older routers on the website.

Cudy Is sharing sysupgrade firmware WR3000-R31-1.15.5-20230222-084907-sysupgrade which is latest now.
mt_wifi proprietary driver will not be needed as mt76 cover it all .
I've extracted dts from dtb above OEM and created custom branch based on it. Still WiP but have clear direction where to go . I'll pick this subject when I'll back from holidays.

2 Likes

TY very much an happy easter! Didn't find the sysupgrade on the website days earlier. tftp should make things easier. :wink:

Is this Filogic 820 (2x 1.3Ghz) more efficient than a MT7622 which is clocked at the same speed, but older ?

This cudy WR3000 is actualy at 53โ‚ฌ on Amazon France
https://www.amazon.fr/Cudy-Internet-802-11ax-Formation-Faisceau/dp/B0BRK3CYY3

What do you mean with more efficient? Related to what? Wlan speed? Connections? VPN throughput? Hard to say, we don't have the possibility yet to run benchmarks compared with plain OpenWrt installations.
Looking on paper specs, you can make your own decision. How the devices will behave once Wrt is running is a question nobody can answer yet.. I would say, for most of the needs you, me and 95% of the users here have, you would not see or feel a big difference. Don't just look on the CPUs, maybe you need RAM too running some hungry ipks. Or flash size due to some bigger tools. Or both. Then compare devices.

i can't find anything on mediatek website about this Filogic 820, so i was wondering if this is not a MT7622 renamed. Both ARM cortex A53, dual core, clocked at the same speed...this looks strange.

No, it's the next generation, made with 802.11ax in mind (mt7622 was originally designed for 802.11ac WiSoCs) and is finally getting on par with the (on-paper) specs of ipq807x. Look for information about the Filogic 830, the 820 is just a stripped down variant of that one.

1 Like

a 2-core castrated filogic 830, then...

Kind of.

MIMO 4x4:4 against 2x3:2.

Thanks for the link.

well that's all i hate...1 name 2 flavors. So the the Filogic 820 and 830 can have both 2 versions :

so better speak about MT7981A and MT7981B

1 Like

Got it tftp booted. No wifi thou. Must look deeper

edit: And I've looked . mt76 doesn't support mt7981 yet .There is some patches in Daniel's 'gl-mt3000' branch but that didn't work and wifi stays undetected.

U-Boot 2022.07-rc3 (Dec 20 2022 - 07:58:32 +0000), Build: jenkins-WR3000-18

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  256 MiB
Core:  39 devices, 15 uclasses, devicetree: embed
Loading Environment from nowhere... OK
In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 86:89:ba:16:2e:9c
eth0: ethernet@15100000

  *** U-Boot Boot Menu ***

      1. Startup system (Default)
      2. Upgrade firmware
      3. Upgrade ATF BL2
      4. Upgrade ATF FIP
      5. Upgrade single image
      6. Load image
      0. U-Boot console


  Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit

*** Loading image ***

Input load address: 0x46000000

Available load methods:
    0 - TFTP client (Default)
    1 - Xmodem
    2 - Ymodem
    3 - Kermit
    4 - S-Record
    5 - RAM

Select (enter for default):

Input U-Boot's IP address: 192.168.10.1
Input TFTP server's IP address: 192.168.10.22
Input IP netmask: 255.255.255.0
Input file name: 4.bin

Using ethernet@15100000 device
TFTP from server 192.168.10.22; our IP address is 192.168.10.1
Filename '4.bin'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
         2.9 MiB/s
done
Bytes transferred = 7165712 (6d5710 hex)
Saving Environment to nowhere... not possible

*** Loaded 7165712 (0x6d5710) bytes at 0x46000000 ***

Run loaded data now? (Y/n): y

## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.106
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000ec
     Data Size:    3831671 Bytes = 3.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48000000
     Entry Point:  0x48000000
     Hash algo:    crc32
     Hash value:   26a603d5
     Hash algo:    sha1
     Hash value:   b772270875ae9080edc29ee3500c4784593e43d8
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'initrd-1' ramdisk subimage
     Description:  ARM64 OpenWrt cudy_wr3000 initrd
     Type:         RAMDisk Image
     Compression:  Unknown Compression
     Data Start:   0x463a799c
     Data Size:    3299132 Bytes = 3.1 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   69c7f895
     Hash algo:    sha1
     Hash value:   203f9ae780495bb2ede134d5df5a49005dd0d00a
   Verifying Hash Integrity ... crc32+ sha1+ OK
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt cudy_wr3000 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x466cd1e0
     Data Size:    32768 Bytes = 32 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   d0d41b92
     Hash algo:    sha1
     Hash value:   b8eee15db5a7b5360f7093f90791ad850b55e7fb
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x466cd1e0
   Uncompressing Kernel Image
   Loading Ramdisk to 4f4d4000, end 4f7f973c ... OK
   Loading Device Tree to 000000004f4c9000, end 000000004f4d3fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.106 (user@chuwi14) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 unknown) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Thu Apr 13 09:32:39 2023
[    0.000000] Machine model: CUDY WR3000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000004fffffff]
[    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 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x0000000047c7ffff]
[    0.000000]   node   0: [mem 0x0000000047c80000-0x0000000047ffffff]
[    0.000000]   node   0: [mem 0x0000000048000000-0x000000004fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
[    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 s29592 r8192 d31848 u69632
[    0.000000] pcpu-alloc: s29592 r8192 d31848 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64512
[    0.000000] Kernel command line:
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 237976K/262144K available (8064K kernel code, 886K rwdata, 2152K rodata, 384K init, 286K bss, 24168K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    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=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000129] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000140] pid_max: default: 32768 minimum: 301
[    0.000226] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.000236] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.001272] rcu: Hierarchical SRCU implementation.
[    0.001381] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.001598] smp: Bringing up secondary CPUs ...
[    0.001903] Detected VIPT I-cache on CPU1
[    0.001926] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.001952] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002016] smp: Brought up 1 node, 2 CPUs
[    0.002029] SMP: Total of 2 processors activated.
[    0.002034] CPU features: detected: 32-bit EL0 Support
[    0.002039] CPU features: detected: CRC32 instructions
[    0.002122] CPU: All CPU(s) started at EL2
[    0.002133] alternatives: patching kernel code
[    0.004497] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004519] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.004602] pinctrl core: initialized pinctrl subsystem
[    0.005156] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.005411] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.005438] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.005463] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.005748] thermal_sys: Registered thermal governor 'fair_share'
[    0.005752] thermal_sys: Registered thermal governor 'bang_bang'
[    0.005757] thermal_sys: Registered thermal governor 'step_wise'
[    0.005761] thermal_sys: Registered thermal governor 'user_space'
[    0.005906] ASID allocator initialised with 65536 entries
[    0.014577] cryptd: max_cpu_qlen set to 1000
[    0.016617] SCSI subsystem initialized
[    0.016778] libata version 3.00 loaded.
[    0.017709] clocksource: Switched to clocksource arch_sys_counter
[    0.018178] NET: Registered PF_INET protocol family
[    0.018262] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.018544] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.018565] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.018574] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.018593] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.018622] TCP: Hash tables configured (established 2048 bind 2048)
[    0.018679] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.018696] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.018792] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.018813] PCI: CLS 0 bytes, default 64
[    0.019053] Unpacking initramfs...
[    0.020795] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.023615] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.023630] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.065600] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.066161] printk: console [ttyS0] disabled
[    0.086341] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 17, base_baud = 2500000) is a ST16650V2
[    0.684746] printk: console [ttyS0] enabled
[    0.689691] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.699115] loop: module loaded
[    0.704195] spi-nor spi0.0: XM25QH128C (16384 Kbytes)
[    0.972242] Freeing initrd memory: 3220K
[    0.982938] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.989596] Creating 6 MTD partitions on "spi0.0":
[    0.994385] 0x000000000000-0x000000040000 : "BL2"
[    0.999586] 0x000000040000-0x000000050000 : "u-boot-env"
[    1.005208] 0x000000050000-0x000000060000 : "Factory"
[    1.010735] 0x000000060000-0x000000070000 : "bdinfo"
[    1.016032] 0x000000070000-0x0000000f0000 : "FIP"
[    1.021393] 0x0000000f0000-0x000001000000 : "firmware"
[    1.026952] 2 fit-fw partitions found on MTD device firmware
[    1.032638] 0x0000000f0000-0x000000430000 : "kernel"
[    1.037952] 0x000000430000-0x000001000000 : "rootfs"
[    1.043226] mtd: setting mtd7 (rootfs) as root device
[    1.048363] 1 squashfs-split partitions found on MTD device rootfs
[    1.054537] 0x000000d50000-0x000001000000 : "rootfs_data"
[    1.222611] MediaTek MT7981 PHY mdio-bus:00: TX-VCM SW cal result: 0x2
[    1.232021] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009180000, irq 81
[    1.241635] i2c_dev: i2c /dev entries driver
[    1.247374] NET: Registered PF_INET6 protocol family
[    1.253188] Segment Routing with IPv6
[    1.256869] In-situ OAM (IOAM) with IPv6
[    1.260855] NET: Registered PF_PACKET protocol family
[    1.266211] 8021q: 802.1Q VLAN Support v1.8
[    1.316534] mt7530 mdio-bus:1f: no interrupt support
[    1.343224] mt7530 mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.351899] mt7530 mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.361103] mt7530 mdio-bus:1f wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.380967] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.400680] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.420396] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.431860] DSA: tree 0 setup
[    1.436055] Freeing unused kernel memory: 384K
[    1.477804] Run /init as init process
[    1.481463]   with arguments:
[    1.484418]     /init
[    1.486679]   with environment:
[    1.489820]     HOME=/
[    1.492168]     TERM=linux
[    1.628500] init: Console is alive
[    1.635806] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.646347] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.662554] init: - preinit -
[    1.718478] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    1.726916] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.737609] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    1.749603] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    3.789392] procd: - early -
[    4.312379] procd: - ubus -
[    4.317480] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.364870] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.371386] random: ubusd: uninitialized urandom read (4 bytes read)
[    4.378787] procd: - init -
Please press Enter to activate this console.
[    4.491863] urngd: v1.0.2 started.
[    4.518605] random: crng init done
[    4.522012] random: 23 urandom warning(s) missed due to ratelimiting
[    4.532121] kmodloader: loading kernel modules from /etc/modules.d/*
[    4.547696] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    4.569768] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2
[    4.577334] Backport generated by backports.git v5.15.81-1-41-g02e352527db5
[    4.622151] PPP generic driver version 2.4.2
[    4.627043] NET: Registered PF_PPPOX protocol family
[    4.635216] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.468196] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[    9.480725] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    9.490348] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    9.491624] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    9.506587] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.514087] br-lan: port 1(lan1) entered blocking state
[    9.519350] br-lan: port 1(lan1) entered disabled state
[    9.526030] device lan1 entered promiscuous mode
[    9.530686] device eth0 entered promiscuous mode
[    9.544413] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[    9.553856] br-lan: port 2(lan2) entered blocking state
[    9.559138] br-lan: port 2(lan2) entered disabled state
[    9.566177] device lan2 entered promiscuous mode
[    9.575879] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[    9.583390] br-lan: port 3(lan3) entered blocking state
[    9.588644] br-lan: port 3(lan3) entered disabled state
[    9.590916] mt7530 mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.597152] device lan3 entered promiscuous mode
[    9.608517] br-lan: port 3(lan3) entered blocking state
[    9.613750] br-lan: port 3(lan3) entered forwarding state
[    9.619920] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[    9.642702] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode



BusyBox v1.36.0 (2023-04-13 09:32:39 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, unknown
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# [ 2958.010978] mt7530 mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2958.018493] br-lan: port 3(lan3) entered blocking state
[ 2958.023710] br-lan: port 3(lan3) entered forwarding state

root@OpenWrt:/#
root@OpenWrt:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   120788     17068    103720  14% /
tmpfs                   120788        56    120732   0% /tmp
tmpfs                      512         0       512   0% /dev
root@OpenWrt:/# cat /proc/m
meminfo  misc     modules  mounts   mtd
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00040000 00010000 "BL2"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "Factory"
mtd3: 00010000 00010000 "bdinfo"
mtd4: 00080000 00010000 "FIP"
mtd5: 00f10000 00010000 "firmware"
mtd6: 00340000 00010000 "kernel"
mtd7: 00bd0000 00010000 "rootfs"
mtd8: 002b0000 00010000 "rootfs_data"
root@OpenWrt:/# [ 3051.608891] br-lan: port 3(lan3) entered disabled state
[ 3051.614393] mt7530 mdio-bus:1f lan3: Link is Down
[ 3054.730977] mt7530 mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[ 3054.738494] br-lan: port 3(lan3) entered blocking state
[ 3054.743710] br-lan: port 3(lan3) entered forwarding state