Reyee RG-E6 - AX6000, MT filogic, probably supportable

https://fccid.io/2AX5J-E6

Didn't check if u-boot was interruptible, not enough hands :frowning:
Serial is easily accessible once you've removed the top cover.

U-Boot 2022.01-rc4-svn627 (Jul 20 2022 - 11:28:48 +0800)

CPU:   MediaTek MT7986
Model: mt7986-rfb
DRAM:  512 MiB

Initializing NMBM ...
spi-nand: spi_nand spi_nand@1: Winbond SPI NAND was found.
spi-nand: spi_nand spi_nand@1: 128 MiB, block size: 128 KiB, page size: 2048, OO                                                                                                 B size: 64
Could not find a valid device for nmbm0
Signature found at block 1023 [0x07fe0000]
First info table with writecount 2 found in block 960
Second info table with writecount 2 found in block 963
NMBM has been successfully attached

MMC:   mmc@11230000: 0
Loading Environment from MTD... *** Warning - bad CRC, using default environment

In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
Net:
Warning: ethernet@15100000 (eth0) using random MAC address - 3e:1c:a8:2a:f0:4e
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
ubi0: attaching mtd8
ubi0: scanning is finished
ubi0: attached mtd8 (name "ubi", size 63 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 504, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 13                                                                                                 1297464
ubi0: available PEBs: 0, total reserved PEBs: 504, PEBs reserved for bad PEB han                                                                                                 dling: 19
Reading from volume 'kernel' to 0x46000000, size 0x0 ... OK
## Loading kernel from FIT Image at 46000000 ...
   Using 'config@1' configuration
   Trying 'kernel@1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.4.171
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    3428210 Bytes = 3.3 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48080000
     Entry Point:  0x48080000
     Hash algo:    crc32
     Hash value:   a3fdd597
     Hash algo:    sha1
     Hash value:   ccb7b44acdc20a2ab828f46801ce42c055518765
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config@1' configuration
   Trying 'fdt@1' fdt subimage
     Description:  ARM64 OpenWrt E6 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x46345190
     Data Size:    23005 Bytes = 22.5 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   643f031d
     Hash algo:    sha1
     Hash value:   2b490b5edf1487d724e0ae1883f5b215c71fa434
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x46345190
   Uncompressing Kernel Image
   Loading Device Tree to 000000005f7f0000, end 000000005f7f89dc ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.171 (sdk@runner-w2sra61b-project-2-concurrent-0                                                                                                 ) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r0-b7ea26f)) #0 SMP Fri Aug 25 00:54:32                                                                                                  2023
[    0.000000] Machine model: MediaTek MT7986a gsw RFB
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011002000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] On node 0 totalpages: 130064
[    0.000000]   DMA32 zone: 1792 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 130064 pages, LIFO batch:31
[    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 20 pages/cpu s43544 r8192 d30184 u81920
[    0.000000] pcpu-alloc: s43544 r8192 d30184 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel conf                                                                                                 iguration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 128272
[    0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8          e                                                                                                 arlycon=uart8250,mmio32,0x11002000
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, l                                                                                                 inear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, li                                                                                                 near)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 493164K/520256K available (7038K kernel code, 492K rwdata                                                                                                 , 2032K rodata, 448K init, 389K bss, 27092K reserved, 0K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     CONFIG_RCU_FANOUT set to non-default value of 32.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif                                                                                                 fies.
[    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] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    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.000002] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 43980                                                                                                 46511101ns
[    0.008275] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                 equency.. 26.00 BogoMIPS (lpj=52000)
[    0.018590] pid_max: default: 32768 minimum: 301
[    0.023297] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linea                                                                                                 r)
[    0.030643] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes,                                                                                                  linear)
[    0.038974] ASID allocator initialised with 65536 entries
[    0.044431] rcu: Hierarchical SRCU implementation.
[    0.049474] smp: Bringing up secondary CPUs ...
[    0.054245] Detected VIPT I-cache on CPU1
[    0.054262] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.054280] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.054509] Detected VIPT I-cache on CPU2
[    0.054517] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.054525] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.054730] Detected VIPT I-cache on CPU3
[    0.054738] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.054745] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.054770] smp: Brought up 1 node, 4 CPUs
[    0.111319] SMP: Total of 4 processors activated.
[    0.116041] CPU features: detected: 32-bit EL0 Support
[    0.121200] CPU features: detected: CRC32 instructions
[    0.126449] CPU: All CPU(s) started at EL2
[    0.130567] alternatives: patching kernel code
[    0.136896] random: get_random_u32 called from bucket_table_alloc.isra.29+0x6                                                                                                 4/0x150 with crng_init=0
[    0.137007] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                 x_idle_ns: 7645041785100000 ns
[    0.156079] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.163094] pinctrl core: initialized pinctrl subsystem
[    0.168745] NET: Registered protocol family 16
[    0.173369] DMA: preallocated 256 KiB pool for atomic allocations
[    0.188005] cryptd: max_cpu_qlen set to 1000
[    0.193252] SCSI subsystem initialized
[    0.197109] libata version 3.00 loaded.
[    0.201186] usbcore: registered new interface driver usbfs
[    0.206718] usbcore: registered new interface driver hub
[    0.212073] usbcore: registered new device driver usb
[    0.217799] Bluetooth: Core ver 2.22
[    0.221412] NET: Registered protocol family 31
[    0.225871] Bluetooth: HCI device and connection manager initialized
[    0.232254] Bluetooth: HCI socket layer initialized
[    0.237151] Bluetooth: L2CAP socket layer initialized
[    0.242225] Bluetooth: SCO socket layer initialized
[    0.247314] rbus 18000000.wbsys: PCI host bridge to bus 0000:00
[    0.253262] pci_bus 0000:00: root bus resource [mem 0x18000000-0x18ffffff]
[    0.260169] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.265677] pci_bus 0000:00: scanning bus
[    0.269711] pci 0000:00:00.0: [14c3:7986] type 00 class 0x000280
[    0.275752] pci 0000:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[    0.282570] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[    0.288865] pci 0000:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[    0.295159] pci 0000:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[    0.301454] pci 0000:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[    0.308614] pci_bus 0000:00: fixups for bus
[    0.312813] pci_bus 0000:00: bus scan returning with max=00
[    0.318634] clocksource: Switched to clocksource arch_sys_counter
[    0.325259] thermal_sys: Registered thermal governor 'fair_share'
[    0.325262] thermal_sys: Registered thermal governor 'bang_bang'
[    0.331387] thermal_sys: Registered thermal governor 'step_wise'
[    0.337418] thermal_sys: Registered thermal governor 'user_space'
[    0.343449] thermal_sys: Registered thermal governor 'power_allocator'
[    0.349750] NET: Registered protocol family 2
[    0.360748] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear                                                                                                 )
[    0.368439] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096                                                                                                  bytes, linear)
[    0.376868] TCP established hash table entries: 4096 (order: 3, 32768 bytes,                                                                                                  linear)
[    0.384665] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.391870] TCP: Hash tables configured (established 4096 bind 4096)
[    0.398310] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.404874] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.411932] NET: Registered protocol family 1
[    0.416325] PCI: CLS 0 bytes, default 64
[    0.420876] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[    0.427505] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.433365] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                                 Y) (c) 2001-2006 Red Hat, Inc.
[    0.459701] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.466537] printk: console [ttyS0] disabled
[    0.490938] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 11, base_baud =                                                                                                  2500000) is a ST16650V2
[    0.500144] printk: console [ttyS0] enabled
[    0.500144] printk: console [ttyS0] enabled
[    0.508493] printk: bootconsole [uart8250] disabled
[    0.508493] printk: bootconsole [uart8250] disabled
[    0.518646] mtk_rng 1020f000.trng: registered RNG driver
[    0.518855] random: fast init done
[    0.524061] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.527564] random: crng init done
[    0.535026] loop: module loaded
[    0.541136] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ef aa 21 00 00
[    0.548010] spi-nor: probe of spi0.0 failed with error -2
[    0.553562] spi-nand spi0.1: Winbond SPI NAND was found.
[    0.558865] spi-nand spi0.1: 128 MiB, block size: 128 KiB, page size: 2048, O                                                                                                 OB size: 64
[    0.568058] libphy: Fixed MDIO Bus: probed
[    0.572519] [mtk_hw_init] reset_lock:0, force:0
[    0.577061] [mtk_hw_init] execute fe cold reset
[    0.592622] mtk_soc_eth 15100000.ethernet: apply mtk_sgmii[0] reg = 0x100 val                                                                                                  = 0x12b484f
[    0.600779] mtk_soc_eth 15100000.ethernet: apply mtk_sgmii[0] reg = 0x110 val                                                                                                  = 0x40002000
[    0.609039] mtk_soc_eth 15100000.ethernet: apply mtk_sgmii[1] reg = 0x100 val                                                                                                  = 0x12b484f
[    0.617196] mtk_soc_eth 15100000.ethernet: apply mtk_sgmii[1] reg = 0x110 val                                                                                                  = 0x40002000
[    0.625528] libphy: mdio: probed
[    0.628956] Create workqueue successful!
[    0.628959] PHY[rtl8221b]-adp_rtl8221b_probe():entry
[    0.637915] PHY[rtl8221b]-adp_rtl8221b_probe():clause 45 is un-support
[    0.644510] PHY[rtl8221b]-adp_rtl8221b_probe():rtl8221B-VB-CG phy address=0x7
[    0.651625] PHY[rtl8221b]-adp_rtl8221b_hw_reset():entry
[    1.218635] PHY[rtl8221b]-adp_rtl8221b_hw_reset():rtl8221B-VB-CG reset ok
[    1.225403] PHY[rtl8221b]-adp_rtl8221b_config_init():entry
[    1.230870] PHY[rtl8221b]-adp_rtl8221b_read_phyId():entry
[    1.236480] PHY[rtl8221b]-adp_rtl8221b_read_phyId():rtl8221B-VB-CG read phy i                                                                                                 d =0x1cc849 by clause 22 about reg 13 and 14
[    1.247464] PHY[rtl8221b]-adp_rtl8221b_read_phyId():rtl8221B-VB-CG read phy i                                                                                                 d =0x1cc849 by clause 22
[    1.256657] PHY[rtl8221b]-adp_rtl8221b_force_serdes():entry
[    1.262211] PHY[rtl8221b]-adp_rtl8221b_sds_set_autoNego():entry
[    2.274675] PHY[rtl8221b]-adp_rtl8221b_sds_set_autoNego():disable HiSGMII aut                                                                                                 o-Negotiation is success
[    2.283986] PHY[rtl8221b]-adp_rtl8221b_force_serdes():REG_SDS_OPT[0x697a]=0x3                                                                                                 , serdes link option down
[    2.293266] PHY[rtl8221b]-adp_rtl8221b_force_serdes():serdes opt mode: HiSGMI                                                                                                 I
[    2.300581] PHY[rtl8221b]-adp_rtl8221b_force_serdes():REG_SDS_CTRL1[0x6a04]=0                                                                                                 x403
[    2.308041] PHY[rtl8221b]-adp_rtl8221b_force_serdes():MDIO select serdes: SGM                                                                                                 II
[    2.315442] PHY[rtl8221b]-adp_rtl8221b_force_serdes():REG_SDS_CTRL3[0x7580]=0                                                                                                 x9402
[    2.322989] PHY[rtl8221b]-adp_rtl8221b_force_serdes():serdes mode: SGMII
[    2.329783] PHY[rtl8221b]-adp_rtl8221b_force_serdes():REG_SDS_CTRL9[0x758d]=0                                                                                                 x10 serdes status is down
[    2.339063] PHY[rtl8221b]-adp_rtl8221b_set_autoNegoEnable():entry
[    2.345364] PHY[rtl8221b]-adp_rtl8221b_set_autoNegoEnable():enable pma auto-N                                                                                                 egotiation is success
[    2.354751] PHY[rtl8221b]-adp_rtl8221b_phyad0_enable():entry
[    2.360449] PHY[rtl8221b]-adp_rtl8221b_phyad0_enable():PHYCR1 value:0x219a
[    2.367416] PHY[rtl8221b]-adp_rtl8221b_phyad0_enable():read PHYCR1 value:0x19                                                                                                 a
[    2.374617] PHY[rtl8221b]-adp_rtl8221b_phyad0_enable():disable PHYAD_0 respon                                                                                                 d is success
[    2.382788] PHY[rtl8221b]-rtl822x_get_features():entry
[    2.387909] PHY[rtl8221b]-rtl822x_read_page():entry
[    2.392799] PHY[rtl8221b]-rtl822x_write_page():entry
[    2.397802] PHY[rtl8221b]-rtl822x_write_page():entry
[    2.402894] mtk_soc_eth 15100000.ethernet: generated random MAC address 92:2b                                                                                                 :57:06:25:d4
[    2.411282] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xff                                                                                                 ffffc011800000, irq 119
[    2.420415] mtk_soc_eth 15100000.ethernet: generated random MAC address ae:10                                                                                                 :38:7d:6e:a8
[    2.428747] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xff                                                                                                 ffffc011800000, irq 119
[    2.437860] (unnamed net_device) (dummy): netif_napi_add() called with weight                                                                                                  256
[    2.445566] ========STA INIT=============
[    2.449584] MTK NETLINK SUCCESS!!!!!
[    2.453148] [WASK][wask_init][354]Netlink WASK Module inserted.
[    2.459055] globalvar register success
[    2.462844] [WASK][wask_init][385]WASK NETLINK SUCCESS!!!!!
[    2.468499] xhci-mtk 11200000.xhci: 11200000.xhci supply vbus not found, usin                                                                                                 g dummy regulator
[    2.477110] xhci-mtk 11200000.xhci: 11200000.xhci supply vusb33 not found, us                                                                                                 ing dummy regulator
[    2.485973] phy phy-usb-phy@11e10000.1: try to get sw efuse
[    2.491536] phy phy-usb-phy@11e10000.2: try to get sw efuse
[    2.497095] phy phy-usb-phy@11e10000.3: try to get sw efuse
[    2.503065] xhci-mtk 11200000.xhci: xHCI Host Controller
[    2.508370] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus numb                                                                                                 er 1
[    2.518912] xhci-mtk 11200000.xhci: hcc params 0x01403f99 hci version 0x110 q                                                                                                 uirks 0x0000000000210010
[    2.528135] xhci-mtk 11200000.xhci: irq 129, io mem 0x11200000
[    2.534278] hub 1-0:1.0: USB hub found
[    2.538039] hub 1-0:1.0: 2 ports detected
[    2.542217] xhci-mtk 11200000.xhci: xHCI Host Controller
[    2.547519] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus numb                                                                                                 er 2
[    2.554987] xhci-mtk 11200000.xhci: Host supports USB 3.2 Enhanced SuperSpeed
[    2.562130] usb usb2: We don't know the algorithms for LPM for this host, dis                                                                                                 abling LPM.
[    2.570387] hub 2-0:1.0: USB hub found
[    2.574137] hub 2-0:1.0: 1 port detected
[    2.578348] usbcore: registered new interface driver uas
[    2.583686] usbcore: registered new interface driver usb-storage
[    2.589756] i2c /dev entries driver
[    2.593969] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowa                                                                                                 yout=0)
[    2.601825] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-d                                                                                                 evel@redhat.com
[    2.610307] Bluetooth: HCI UART driver ver 2.3
[    2.614739] Bluetooth: HCI UART protocol H4 registered
[    2.619860] Bluetooth: HCI UART protocol BCSP registered
[    2.625199] Bluetooth: HCI UART protocol Broadcom registered
[    2.630853] Bluetooth: HCI UART protocol QCA registered
[    2.636680] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5                                                                                                 ),PE:150/433(alg:7fcdfc00)/0/0/0
[    2.649177] Initializing XFRM netlink socket
[    2.653523] NET: Registered protocol family 10
[    2.658349] Segment Routing with IPv6
[    2.662042] NET: Registered protocol family 17
[    2.666488] bridge: filtering via arp/ip/ip6tables is no longer available by                                                                                                  default. Update your scripts to load br_netfilter if you need this.
[    2.679466] 8021q: 802.1Q VLAN Support v1.8
[    2.690215] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000]
[    2.698543] nmbm nmbm_spim_nand: First info table with writecount 2 found in                                                                                                  block 960
[    2.710532] nmbm nmbm_spim_nand: Second info table with writecount 2 found in                                                                                                  block 963
[    2.718531] nmbm nmbm_spim_nand: NMBM has been successfully attached
[    2.725073] 7 fixed-partitions partitions found on MTD device nmbm_spim_nand
[    2.732104] Creating 7 MTD partitions on "nmbm_spim_nand":
[    2.737577] 0x000000000000-0x000000100000 : "BL2"
[    2.742692] 0x000000100000-0x000000180000 : "u-boot-env"
[    2.748300] 0x000000180000-0x000000380000 : "Factory"
[    2.753626] 0x000000380000-0x000000580000 : "FIP"
[    2.758602] 0x000000580000-0x000000600000 : "product_info"
[    2.764374] 0x000000600000-0x000000680000 : "kdump"
[    2.769520] 0x000000680000-0x000004580000 : "ubi"
[    3.394670] mt753x gsw@0: LAN/WAN VLAN setting=lllll
[    3.399895] mt753x gsw@0: Switch is MediaTek MT7531AE rev 1
[    3.409650] mt753x gsw@0: HWSTRAP=0xff XTAL=25MHz
[    5.445526] libphy: mt753x_mdio: probed
[    6.856459] mt753x gsw@0: apply mt753x reg = 0x5100 val = 0x120044f
[    6.862796] mt753x gsw@0: apply mt753x reg = 0x5110 val = 0x40000000
[    6.869217] mt753x gsw@0: apply mt753x reg = 0x6100 val = 0x120044f
[    6.875549] mt753x gsw@0: apply mt753x reg = 0x6110 val = 0x40000000
[    7.101219] mt753x gsw@0: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> START CALIBRATION:
[    7.109180] mt753x gsw@0: -------- gephy-calbration (port:0) --------
2 Likes
[    7.124368] CALDLY = 40
[    7.192092] 0x1e-e0 = 2a2a
[    7.196488] 0x1f-115 = 5
[    7.199008]   GE Rext AnaCal Done! (10)(0x2a)
[    7.254011]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
[    7.304342]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
[    7.350117]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
[    7.395893]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
[    7.403649]  GE 1e_174(0xb5b5), 1e_175(0xb7b7)
[    7.445433]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
[    7.474827]  GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x2222
[    7.504224]  GE Tx offset AnaCal Done! (pair-2)(3)(0x3) 0x1e_173=0x320
[    7.551646]  GE Tx offset AnaCal Done! (pair-3)(7)(0x26) 0x1e_173=0x326
[    7.626146]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4c13)
[    7.658425]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1616)
[    7.705459]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x121a)
[    7.792088]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0xc14)
[    7.838665] PORT 0 RX_DC_OFFSET
[    7.851315] before pairA output = 1e
[    7.856657] after pairA output = ff
[    7.861833] before pairB output = 1d
[    7.867175] after pairB output = fe
[    7.872351] before pairC output = d
[    7.877605] after pairC output = ff
[    7.882781] before pairD output = f
[    7.888033] after pairD output = 0
[    7.891421] mt753x gsw@0: -------- gephy-calbration (port:1) --------
[    7.906607] CALDLY = 40
[    7.955019]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
[    8.000796]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
[    8.046572]  GE R50 AnaCal Done! (7) (0x37)(0xb7)
[    8.096897]  GE R50 AnaCal Done! (8) (0x35)(0xb5)
[    8.104650]  GE 1e_174(0xb5b7), 1e_175(0xb7b5)
[    8.160092]  GE Tx offset AnaCal Done! (pair-0)(6)(0x25) 0x1e_172=0x2520
[    8.180387]  GE Tx offset AnaCal Done! (pair-1)(1)(0x1) 0x1e_172=0x2501
[    8.209694]  GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
[    8.248189]  GE Tx offset AnaCal Done! (pair-3)(5)(0x24) 0x1e_173=0x2224
[    8.356718]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x380e)
[    8.422935]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1111)
[    8.498254]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0xe16)
[    8.539549]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x141c)
[    8.586212] PORT 1 RX_DC_OFFSET
[    8.598866] before pairA output = c
[    8.604118] after pairA output = ff
[    8.609294] before pairB output = f
[    8.614548] after pairB output = 0
[    8.619637] before pairC output = f
[    8.624892] after pairC output = ff
[    8.630067] before pairD output = f
[    8.635323] after pairD output = fe
[    8.638797] mt753x gsw@0: -------- gephy-calbration (port:2) --------
[    8.653984] CALDLY = 40
[    8.711497]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
[    8.775792]  GE R50 AnaCal Done! (11) (0x31)(0xb1)
[    8.839858]  GE R50 AnaCal Done! (11) (0x31)(0xb1)
[    8.899373]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
[    8.907214]  GE 1e_174(0xb2b1), 1e_175(0xb1b2)
[    8.948999]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
[    8.978392]  GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x2222
[    9.007787]  GE Tx offset AnaCal Done! (pair-2)(3)(0x22) 0x1e_173=0x2220
[    9.032629]  GE Tx offset AnaCal Done! (pair-3)(2)(0x21) 0x1e_173=0x2221
[    9.095906]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x5c17)
[    9.156464]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1d1d)
[    9.192183]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1a22)
[    9.233563]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x141c)
[    9.280226] PORT 2 RX_DC_OFFSET
[    9.292881] before pairA output = e
[    9.298136] after pairA output = fe
[    9.303312] before pairB output = f
[    9.308568] after pairB output = 1
[    9.313657] before pairC output = 1d
[    9.318998] after pairC output = ff
[    9.324170] before pairD output = e
[    9.329424] after pairD output = 0
[    9.332818] mt753x gsw@0: -------- gephy-calbration (port:3) --------
[    9.348004] CALDLY = 40
[    9.423713]  GE R50 AnaCal Done! (14) (0x24)(0xa4)
[    9.492326]  GE R50 AnaCal Done! (12) (0x30)(0xb0)
[    9.565494]  GE R50 AnaCal Done! (13) (0x26)(0xa6)
[    9.638657]  GE R50 AnaCal Done! (13) (0x26)(0xa6)
[    9.646498]  GE 1e_174(0xa4b0), 1e_175(0xa6a6)
[    9.683731]  GE Tx offset AnaCal Done! (pair-0)(2)(0x21) 0x1e_172=0x2120
[    9.713125]  GE Tx offset AnaCal Done! (pair-1)(3)(0x22) 0x1e_172=0x2122
[    9.737969]  GE Tx offset AnaCal Done! (pair-2)(2)(0x2) 0x1e_173=0x220
[    9.776296]  GE Tx offset AnaCal Done! (pair-3)(5)(0x24) 0x1e_173=0x224
[    9.862112]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x4c13)
[    9.905703]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0x1b1b)
[    9.958392]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0x1d25)
[    9.988455]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0x171f)
[   10.035118] PORT 3 RX_DC_OFFSET
[   10.047768] before pairA output = 1d
[   10.053112] after pairA output = ff
[   10.058288] before pairB output = e
[   10.063543] after pairB output = 0
[   10.068631] before pairC output = 1c
[   10.073973] after pairC output = fe
[   10.079149] before pairD output = f
[   10.084402] after pairD output = 0
[   10.087790] mt753x gsw@0: -------- gephy-calbration (port:4) --------
[   10.102977] CALDLY = 40
[   10.160484]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
[   10.215445]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
[   10.270327]  GE R50 AnaCal Done! (9) (0x34)(0xb4)
[   10.329756]  GE R50 AnaCal Done! (10) (0x32)(0xb2)
[   10.337596]  GE 1e_174(0xb2b4), 1e_175(0xb4b2)
[   10.379380]  GE Tx offset AnaCal Done! (pair-0)(3)(0x22) 0x1e_172=0x2220
[   10.422424]  GE Tx offset AnaCal Done! (pair-1)(6)(0x25) 0x1e_172=0x2225
[   10.460927]  GE Tx offset AnaCal Done! (pair-2)(5)(0x24) 0x1e_173=0x2420
[   10.490323]  GE Tx offset AnaCal Done! (pair-3)(3)(0x3) 0x1e_173=0x2403
[   10.598770]  GE Tx amp AnaCal Done! (pair-0)(1e_12 = 0x3c0f)
[   10.670642]  GE Tx amp AnaCal Done! (pair-1)(1e_17 = 0xf0f)
[   10.745874]  GE Tx amp AnaCal Done! (pair-2)(1e_19 = 0xf17)
[   10.826765]  GE Tx amp AnaCal Done! (pair-3)(1e_21 = 0xe16)
[   10.873341] PORT 4 RX_DC_OFFSET
[   10.885997] before pairA output = e
[   10.891252] after pairA output = ff
[   10.896427] before pairB output = 1e
[   10.901768] after pairB output = ff
[   10.906948] before pairC output = 1d
[   10.912287] after pairC output = 1
[   10.917376] before pairD output = 1e
[   10.922718] after pairD output = 0
[   10.947918] cannot find "bootpart=" in command line, boot use default part: "                                                                                                 ubi"
[   10.955757] UBI: auto-attach mtd7
[   10.959071] ubi0: attaching mtd7
[   11.291708] ubi0: scanning is finished
[   11.303062] ubi0: attached mtd7 (name "ubi", size 63 MiB)
[   11.308450] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   11.315306] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   11.322073] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[   11.329015] ubi0: good PEBs: 504, bad PEBs: 0, corrupted PEBs: 0
[   11.335002] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 12                                                                                                 8
[   11.342203] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequ                                                                                                 ence number: 131297464
[   11.351224] ubi0: available PEBs: 0, total reserved PEBs: 504, PEBs reserved                                                                                                  for bad PEB handling: 19
[   11.360422] ubi0: background thread "ubi_bgt0d" started, PID 709
[   11.361134] block ubiblock0_1: created from ubi0:1(rootfs)
[   11.371882] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[   11.378827] hctosys: unable to open rtc device (rtc0)
[   11.387502] VFS: Mounted root (squashfs filesystem) readonly on device 253:0.
[   11.394853] Freeing unused kernel memory: 448K
[   11.414661] Run /sbin/init as init process
[   11.590754] init: Console is alive
[   11.594211] init: - watchdog -
[   11.906083] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   11.929750] conninfra@(mtk_conninfra_drv_init:644) Before platform_driver_reg                                                                                                 ister
[   11.937419] Get Index(0-TOP_MISC_BASE) phy_addr(0x11d10000) vir_addr=(0xfffff                                                                                                 fc010b75000) size=(0x1000)
[   11.946792] Get Index(1-TOPRGU_BASE) phy_addr(0x1001c000) vir_addr=(0xffffffc                                                                                                 010b7d000) size=(0x1000)
[   11.955988] Get Index(2-GPIO_BASE) phy_addr(0x1001f000) vir_addr=(0xffffffc01                                                                                                 0b85000) size=(0x1000)
[   11.965010] Get Index(3-IOCFG_TR_BASE) phy_addr(0x11f00000) vir_addr=(0xfffff                                                                                                 fc010b8d000) size=(0x1000)
[   11.974380] Get Index(4-IOCFG_TL_BASE) phy_addr(0x11f10000) vir_addr=(0xfffff                                                                                                 fc010b95000) size=(0x1000)
[   11.983747] Get Index(5-INFRACFG_AO_BASE) phy_addr(0x10003000) vir_addr=(0xff                                                                                                 ffffc010b9d000) size=(0x1000)
[   11.993376] Get Index(6-CONN_INFRA_CFG_BASE) phy_addr(0x18001000) vir_addr=(0                                                                                                 xffffffc010ba5000) size=(0x1000)
[   12.003264] Get Index(7-CONN_INFRA_SYSRAM_BASE) phy_addr(0x18050000) vir_addr                                                                                                 =(0xffffffc010bad000) size=(0x1000)
[   12.013413] Get Index(8-CONN_INFRA_CLKGEN_ON_TOP_BASE) phy_addr(0x18009000) v                                                                                                 ir_addr=(0xffffffc010bb5000) size=(0x1000)
[   12.024175] Get Index(9-CONN_HOST_CSR_TOP_BASE) phy_addr(0x18060000) vir_addr                                                                                                 =(0xffffffc010bbd000) size=(0x1000)
[   12.034325] Get Index(10-CONN_INFRA_BUS_CR_BASE) phy_addr(0x1800e000) vir_add                                                                                                 r=(0xffffffc010bc5000) size=(0x1000)
[   12.044562] Get Index(11-CONN_INFRA_RGU_BASE) phy_addr(0x18000000) vir_addr=(                                                                                                 0xffffffc010bc7000) size=(0x1000)
[   12.054538] Get Index(12-CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18005000) vir_a                                                                                                 ddr=(0xffffffc010bc9000) size=(0x1000)
[   12.064946] Get Index(13-INST2_CONN_WT_SLP_CTL_REG_BASE) phy_addr(0x18085000)                                                                                                  vir_addr=(0xffffffc010bcb000) size=(0x1000)
[   12.075874] Get Index(14-CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18004000) vir_a                                                                                                 ddr=(0xffffffc010bcd000) size=(0x1000)
[   12.086283] Get Index(15-INST2_CONN_RF_SPI_MST_REG_BASE) phy_addr(0x18084000)                                                                                                  vir_addr=(0xffffffc010bcf000) size=(0x1000)
[   12.097212] Get Index(16-CONN_SEMAPHORE_BASE) phy_addr(0x18070000) vir_addr=(                                                                                                 0xffffffc010e50000) size=(0x10000)
[   12.107274] Get Index(17-CONN_AFE_CTL_BASE) phy_addr(0x18003000) vir_addr=(0x                                                                                                 ffffffc010bd1000) size=(0x1000)
[   12.117076] Get Index(18-CONN_AFE_CTL_2ND_BASE) phy_addr(0x18083000) vir_addr                                                                                                 =(0xffffffc010bd3000) size=(0x1000)
[   12.127226] Get Index(19-WF_TOP_SLPPROT_ON_BASE) phy_addr(0x184c0000) vir_add                                                                                                 r=(0xffffffc010e70000) size=(0x10000)
[   12.137548] Get Index(20-WF_TOP_CFG_BASE) phy_addr(0x184b0000) vir_addr=(0xff                                                                                                 ffffc010bd5000) size=(0x1000)
[   12.147176] Get Index(21-WF_MCU_CONFIG_LS_BASE) phy_addr(0x184f0000) vir_addr                                                                                                 =(0xffffffc010bd7000) size=(0x1000)
[   12.157325] Get Index(22-WF_MCU_BUS_CR_BASE) phy_addr(0x18400000) vir_addr=(0                                                                                                 xffffffc010bd9000) size=(0x1000)
[   12.167213] Get Index(23-WF_MCUSYS_INFRA_BUS_FULL_U_DEBUG_CTRL_AO_BASE) phy_a                                                                                                 ddr(0x18500000) vir_addr=(0xffffffc010bdb000) size=(0x1000)
[   12.179441] Get Index(24-WF_TOP_CFG_ON_BASE) phy_addr(0x184c0000) vir_addr=(0                                                                                                 xffffffc010e90000) size=(0x10000)
[   12.189776] eeFlashId: 0x7986, EEPROM_content_valid = 1
[   12.190410] conninfra@(consys_plt_hw_init:221) tx_stream = 0x4, rx_stream = 0                                                                                                 x4, band0_pa_type = 0x3, band1_pa_type = 0x3
[   12.207503] conninfra@(consys_plt_hw_init:230) adie_cfg_type = 2, one_adie_db                                                                                                 dc = 0
[   12.215142] [emi_mng_init] gConEmiPhyBase = [0x4fc00000] size = [0x100000] fw                                                                                                  size = [0x100000] ops=[0000000045c91f7f]
[   12.225884] conninfra@(mtk_conninfra_drv_init:650) After platform_driver_regi                                                                                                 ster
[   12.233630] ConnInfra Dev: init (0)
[   12.238588] conninfra@(_consys_polling_chipid_int:459) Read CONNSYS HW IP ver                                                                                                 sion successfully! (0x02070000)
[   12.248398] conninfra@(consys_bus_clock_ctrl:485) drv=[4] conninfra_bus_clock                                                                                                 _wpll=[0]->[16] enable
[   12.257424] conninfra@(connsys_d_die_cfg:530) D-die efuse: 0x00000000
[   12.264880] conninfra@(_connsys_a_die_chip_id_confirm:1915) adie_idx[0]: A-di                                                                                                 e CHIP ID = 0x7976, HW Version = 0x8a20
[   12.276384] conninfra@(_connsys_a_die_chip_id_confirm:1915) adie_idx[1]: A-di                                                                                                 e CHIP ID = 0x7976, HW Version = 0x8a20
[   12.288895] conninfra@(consys_spi_write_nolock:670) addr = 0x0a00, val = 0xff                                                                                                 ffffff
[   12.297535] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00                                                                                                 000002
[   12.307182] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x00                                                                                                 000000
[   12.316829] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x43                                                                                                 a60000
[   12.330504] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x000000                                                                                                 01, 0x00c40000, 0x008900bf, 0x00000000]
[   12.342004] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00                                                                                                 000002
[   12.351650] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23                                                                                                 a6003a
[   12.361295] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63                                                                                                 a7003a
[   12.374970] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x000000                                                                                                 01, 0x00c40000, 0x008900bf, 0x00000000]
[   12.386470] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00                                                                                                 000002
[   12.396117] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23                                                                                                 a7003a
[   12.405763] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63                                                                                                 ac003a
[   12.419437] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x000000                                                                                                 01, 0x00c40000, 0x008900bf, 0x00000000]
[   12.430936] conninfra@(consys_spi_write_nolock:670) addr = 0x0038, val = 0x4a                                                                                                 563b00
[   12.439575] conninfra@(consys_spi_write_nolock:670) addr = 0x065c, val = 0x1d                                                                                                 59080f
[   12.448215] conninfra@(consys_spi_write_nolock:670) addr = 0x0664, val = 0x34                                                                                                 c00fe0
[   12.457864] conninfra@(consys_spi_write_nolock:670) addr = 0x0a00, val = 0xff                                                                                                 ffffff
[   12.466503] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00                                                                                                 000002
[   12.476149] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x00                                                                                                 000000
[   12.485795] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x43                                                                                                 a60000
[   12.499471] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x000000                                                                                                 01, 0x00c40000, 0x008800b4, 0x00000000]
[   12.510970] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00                                                                                                 000002
[   12.520616] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23                                                                                                 a6003a
[   12.530261] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63                                                                                                 a7003a
[   12.543935] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x000000                                                                                                 01, 0x00c40000, 0x008800b4, 0x00000000]
[   12.555435] conninfra@(consys_spi_write_nolock:670) addr = 0x0144, val = 0x00                                                                                                 000002
[   12.565081] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x23                                                                                                 a7003a
[   12.574727] conninfra@(consys_spi_write_nolock:670) addr = 0x0148, val = 0x63                                                                                                 ac003a
[   12.588400] conninfra@(connsys_a_die_efuse_read_nolock:906) efuse = [0x000000                                                                                                 01, 0x00c40000, 0x008800b4, 0x00000000]
[   12.599900] conninfra@(consys_spi_write_nolock:670) addr = 0x0038, val = 0x4a                                                                                                 563b00
[   12.608539] conninfra@(consys_spi_write_nolock:670) addr = 0x065c, val = 0x1d                                                                                                 59080f
[   12.617178] conninfra@(consys_spi_write_nolock:670) addr = 0x0664, val = 0x34                                                                                                 c00fe0
[   12.625820] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x88                                                                                                 888005
[   12.635418] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x00                                                                                                 000005
[   12.644060] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x88                                                                                                 888005
[   12.653657] conninfra@(consys_spi_write_nolock:670) addr = 0x0070, val = 0x00                                                                                                 000005
[   12.662236] conninfra@(_consys_polling_chipid_int:459) Read CONNSYS HW IP ver                                                                                                 sion successfully! (0x02070000)
[   12.672036] conninfra@(_consys_hw_conninfra_wakeup:470) conninfra_wakeup refc                                                                                                 nt=[0]->[1] wakeup!!
[   12.680896] conninfra@(_consys_hw_conninfra_sleep:490) conninfra_sleep refcnt                                                                                                 =[1]->[0] sleep!!
[   12.689485] conninfra@(opfunc_power_on_internal:241) [Conninfra Pwr On] BT=[0                                                                                                 ] FM=[0] GPS=[0] WF=[0] CONNINFRA=[1]
[   12.701668] before nf_register_net_hooks
[   12.705600] insmod dns_ops ok!
[   12.708643] insmod br_dns_ops ok!
[   12.713196] mediatek_soc_hnat 15100000.hnat: wan = eth1
[   12.718423] mediatek_soc_hnat 15100000.hnat: wan2 = none
[   12.723719] mediatek_soc_hnat 15100000.hnat: lan = eth0
[   12.728928] mediatek_soc_hnat 15100000.hnat: lan2 = none
[   12.734223] mediatek_soc_hnat 15100000.hnat: ppd = eth0
[   12.739432] mediatek_soc_hnat 15100000.hnat: gmac num = 2
[   12.744814] mediatek_soc_hnat 15100000.hnat: ppe num = 1
[   12.750537] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 8192
[   12.757359] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start
[   12.763142] hnat roaming work enable
[   12.769043] warp_module_init(): module init and register callback for warp
[   12.775936] create warp_ctrl ok!!!
[   12.779367] wed_get_slot_map(): assign slot_id:0 for entry: 0!
[   12.785193] wed_get_slot_map(): assign slot_id:1 for entry: 1!
[   12.791312] kmodloader: done loading kernel modules from /etc/modules-boot.d/                                                                                                 *
[   12.801766] init: - preinit -
[   13.881098] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500bas                                                                                                 e-x link mode
[   13.889439] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - f                                                                                                 low control rx/tx
[   13.908747] UBIFS (ubi0:2): Mounting in unauthenticated mode
[   13.914461] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 820
[   13.956601] UBIFS (ubi0:2): recovery needed
[   14.051175] UBIFS (ubi0:2): recovery completed
[   14.055683] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "root                                                                                                 fs_data"
[   14.063497] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O u                                                                                                 nit sizes: 2048 bytes/2048 bytes
[   14.073390] UBIFS (ubi0:2): FS size: 33140736 bytes (31 MiB, 261 LEBs), journ                                                                                                 al size 1650688 bytes (1 MiB, 13 LEBs)
[   14.083800] UBIFS (ubi0:2): reserved for root: 1565318 bytes (1528 KiB)
[   14.090400] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID A680E                                                                                                 D8C-231B-4A19-AA1D-411E0366D1B3, small LPT model
[   14.108477] mount_root: switching to ubifs overlay
[   14.130164] mount_root: mount_root done begin!
[   14.135241] mount_root: mount_root done end!
lan_wan_switch init
[   14.671335] procd: - early -
[   14.674226] procd: - watchdog -
[   15.193431] procd: - watchdog -
[   15.196661] procd: - ubus -
[   15.252653] procd: - init -
[   15.756961] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.770664]
[   15.770664] rg_sys_info_sz:10
[   15.775103] 0,creat name:manufacturer
[   15.778761] 1,creat name:oui
[   15.781632] 2,creat name:product_class
[   15.785370] 3,creat name:model
[   15.788414] 4,creat name:sys_mac
[   15.791631] 5,creat name:wan_ip
[   15.794761] 6,creat name:serial_num
[   15.798239] 7,creat name:hardware_version
[   15.802235] 8,creat name:software_version
[   15.806233] 9,creat name:product_id
[   15.811216] tun: Universal TUN/TAP device driver, 1.6
[   15.819975] gre: GRE over IPv4 demultiplexor driver
[   15.825765] ip_gre: GRE over IPv4 tunneling driver
[   15.832607] ip6_gre: GRE over IPv6 tunneling driver
[   15.839823] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   15.858114] NF register ebt rj to local module sucess!
[   15.876343] u32 classifier
[   15.879078]     input device check on
[   15.882733]     Actions configured
[   15.887383] Mirror/redirect action on
[   15.892225] flow_audit_module_init new
[   15.896132] fa_get_isolcpus:: no isolcpus.
[   15.912786] core_num:4
[   15.919898] roam: Unknown symbol ap_lb_set_deny_status (err -2)
[   15.925857] roam: Unknown symbol ap_lb_set_enable_status (err -2)
[   15.932020] roam: Unknown symbol wio_scan_nbap_add (err -2)
[   15.937595] roam: Unknown symbol ap_lb_set_reject_num (err -2)
[   15.975222] roam: Unknown symbol ap_lb_set_deny_status (err -2)
[   15.981170] roam: Unknown symbol ap_lb_set_enable_status (err -2)
[   15.987311] roam: Unknown symbol wio_scan_nbap_add (err -2)
[   15.992879] roam: Unknown symbol ap_lb_set_reject_num (err -2)
[   16.015906] roam: Unknown symbol ap_lb_set_deny_status (err -2)
[   16.021860] roam: Unknown symbol ap_lb_set_enable_status (err -2)
[   16.028001] roam: Unknown symbol wio_scan_nbap_add (err -2)
[   16.033569] roam: Unknown symbol ap_lb_set_reject_num (err -2)
[   16.055642] Bridge firewalling registered
[   16.796984] conninfra@(conninfra_pwr_on:120) [conninfra_pwr_on] drv=[3]
[   16.804539] conninfra@(_consys_polling_chipid_int:459) Read CONNSYS HW IP ver                                                                                                 sion successfully! (0x02070000)
[   16.822384] Adie Type: 0x7976
[   16.822386] SKU Type: 6000
[   16.826296] conninfra@(opfunc_power_on_internal:241) [Conninfra Pwr On] BT=[0                                                                                                 ] FM=[0] GPS=[0] WF=[1] CONNINFRA=[1]
[   16.840765] WiFi@C12L1,get_dbg_setting_by_profile() 4233: debug level setting                                                                                                 =INDEX0_debug_level not found!!
[   16.850594] WiFi@C12L1,get_dbg_setting_by_profile() 4256: debug option settin                                                                                                 g=INDEX0_debug_option not found!!
[   16.860624] mt_rbus 0000:00:00.0: runtime IRQ mapping not provided by arch
[   16.875829] mt7986_init()-->
[   16.878731]  sku:0xf, ADIE=MT7976
[   16.883074] <--mt7986_init()
[   16.885966] RtmpRaDevCtrlInit(): MCS_LUT not used becasue MacTb size(544) > 1                                                                                                 28!
[   16.893496] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X1
[   16.900820] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X2
[   16.908127] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X3
[   16.915442] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X4
[   16.922745] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X5
[   16.930048] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X6
[   16.937358] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X7
[   16.944662] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X8
[   16.951965] WiFi@C12L1,match_index_by_chipname() 510: not find chip name INDE                                                                                                 X9
[   16.959255] WiFi@C12L2,match_index_by_chipname() 515: Not find slot id, back                                                                                                  to old rule.
[   16.967547] msta_ifname not found
[   16.976993] -->mtfwd_init(ver:2.0)
[   16.977039] <--
[   16.981922] nf_conntrack_rtsp v0.7 loading
[   16.989203] nf_nat_rtsp v0.7 loading
[   16.993404] dev ra0 handler=00000000cafd5110, wdata=0000000000000000, ptr=000                                                                                                 0000000000000
[   17.001738] [ROAM_TUN_K] roam init sucess.
[   17.012952] xt_time: kernel timezone is -0000
MT7986> 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
fdtcontroladdr=6cec6ab9
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
uboot_version=2022.01-rc4-svn627
MT7986> help
?         - alias for 'help'
ap_upgrade_check- ap_upgrade_check- set environment variables needed by kernel.
base      - print or set address offset
bdinfo    - print Board Info structure
blkcache  - block cache diagnostics and control
boot      - boot default, i.e., run 'bootcmd'
bootd     - boot default, i.e., run 'bootcmd'
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
cmp       - memory compare
coninfo   - print console devices and information
cp        - memory copy
crc32     - checksum calculation
dm        - Driver model low level access
echo      - echo args to console
editenv   - edit environment variable
env       - environment handling commands
fdt       - flattened device tree utility commands
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
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
md5sum    - compute MD5 message digest
mm        - memory modify (auto-incrementing address)
mmc       - MMC sub system
mmcinfo   - display MMC info
mtd       - MTD utils
mtest     - simple RAM read/write test
mtkautoboot- Display MediaTek bootmenu
mtkboardboot- Boot MTK firmware
mtkload   - MTK image loading utility
mtkupgrade- MTK firmware/bootloader upgrading utility
mw        - memory write (fill)
nand      - NAND utility
net       - NET sub-system
nfs       - boot image via network using NFS protocol
nm        - memory modify (constant address)
nmbm      - NMBM utility commands
panic     - Panic with optional message
pci       - list and access PCI Configuration Space
ping      - send ICMP ECHO_REQUEST to network host
pinmux    - show pin-controller muxing
printenv  - print environment variables
pwm       - control pwm channels
random    - fill memory with random pattern
reset     - Perform RESET of the CPU
run       - run commands in an environment variable
saveenv   - save environment variables to persistent storage
setenv    - set environment variables
setexpr   - set environment variable as the result of eval expression
sleep     - delay execution for some time
smc       - Issue a Secure Monitor Call
source    - run script from memory
tftpboot  - boot image via network using TFTP protocol
ubi       - ubi commands
ubifsload - load file from an UBIFS filesystem
ubifsls   - list files in a directory
ubifsmount- mount UBIFS volume
ubifsumount- unmount UBIFS volume
unlz4     - lz4 uncompress a memory region
unzip     - unzip a memory region
version   - print monitor, compiler and linker version
MT7986>

couldn't get any of the ethernet ports to work with TFTP, but ULing using Ymodem works.
it takes a while though, 12-13 min.
u-boot says the image UL aborts, but it can still be bootm:ed afterwards.

MT7986> loady
## Ready for binary (ymodem) download to 0x46000000 at 115200 bps...
CC
Timed out
## Binary (ymodem) download aborted
MT7986> bootm 0x46000000
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.150
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000ec
     Data Size:    3774256 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48000000
     Entry Point:  0x48000000
     Hash algo:    crc32
     Hash value:   0279ad78
     Hash algo:    sha1
     Hash value:   1b401015a4b279885fa01bde6cab6d1bfc64cc0f
   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 glinet_gl-mt6000 initrd
     Type:         RAMDisk Image
     Compression:  Unknown Compression
     Data Start:   0x46399958
     Data Size:    3482412 Bytes = 3.3 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   882242e0
     Hash algo:    sha1
     Hash value:   5328ad22edc69b81e53a0f2b716184223b597663
   Verifying Hash Integrity ... crc32+ sha1+ OK
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its f                                                                                                 ile!
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt glinet_gl-mt6000 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x466ebd90
     Data Size:    20606 Bytes = 20.1 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   900a4c37
     Hash algo:    sha1
     Hash value:   9a665733aa0f3bb7d0067f61f19e0d019c2c8417
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x466ebd90
   Uncompressing Kernel Image
   Loading Ramdisk to 5f4a8000, end 5f7fa32c ... OK
   Loading Device Tree to 000000005f49f000, end 000000005f4a707d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.150 (builder@buildhost) (aarch64-openwrt-linux                                                                                                 -musl-gcc (OpenWrt GCC 12.3.0 r23809-234f1a2efa) 12.3.0, GNU ld (GNU Binutils) 2                                                                                                 .40.0) #0 SMP Fri Mar 22 22:09:42 2024
[    0.000000] Machine model: GL.iNet GL-MT6000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    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-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    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 18 pages/cpu s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel conf                                                                                                 iguration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129024
[    0.000000] Kernel command line:  root=PARTLABEL=rootfs rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, l                                                                                                 inear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, li                                                                                                 near)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 494728K/524288K available (8384K kernel code, 906K rwdata                                                                                                 , 1472K rodata, 448K init, 300K bss, 29560K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif                                                                                                 fies.
[    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: 0xffffffc008010090
[    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 43980                                                                                                 46511101ns
[    0.000107] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                 equency.. 26.00 BogoMIPS (lpj=130000)
[    0.000115] pid_max: default: 32768 minimum: 301
[    0.000310] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linea                                                                                                 r)
[    0.000319] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes,                                                                                                  linear)
[    0.001341] rcu: Hierarchical SRCU implementation.
[    0.001613] smp: Bringing up secondary CPUs ...
[    0.001873] Detected VIPT I-cache on CPU1
[    0.001895] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.001919] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002178] Detected VIPT I-cache on CPU2
[    0.002190] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.002201] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002443] Detected VIPT I-cache on CPU3
[    0.002454] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.002463] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.002488] smp: Brought up 1 node, 4 CPUs
[    0.002502] SMP: Total of 4 processors activated.
[    0.002505] CPU features: detected: 32-bit EL0 Support
[    0.002508] CPU features: detected: CRC32 instructions
[    0.002531] CPU features: emulated: Privileged Access Never (PAN) using TTBR0                                                                                                 _EL1 switching
[    0.002584] CPU: All CPU(s) started at EL2
[    0.002594] alternatives: patching kernel code
[    0.004987] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                 x_idle_ns: 19112604462750000 ns
[    0.005008] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.005151] pinctrl core: initialized pinctrl subsystem
[    0.005781] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.006016] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.006036] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allo                                                                                                 cations
[    0.006053] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic al                                                                                                 locations
[    0.006301] thermal_sys: Registered thermal governor 'fair_share'
[    0.006304] thermal_sys: Registered thermal governor 'bang_bang'
[    0.006307] thermal_sys: Registered thermal governor 'step_wise'
[    0.006310] thermal_sys: Registered thermal governor 'user_space'
[    0.006470] ASID allocator initialised with 65536 entries
[    0.006785] pstore: Registered ramoops as persistent store backend
[    0.006789] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.014682] cryptd: max_cpu_qlen set to 1000
[    0.016608] SCSI subsystem initialized
[    0.016710] libata version 3.00 loaded.
[    0.017504] clocksource: Switched to clocksource arch_sys_counter
[    0.017941] NET: Registered PF_INET protocol family
[    0.018013] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear                                                                                                 )
[    0.018371] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096                                                                                                  bytes, linear)
[    0.018382] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes,                                                                                                  linear)
[    0.018388] TCP established hash table entries: 4096 (order: 3, 32768 bytes,                                                                                                  linear)
[    0.018410] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.018453] TCP: Hash tables configured (established 4096 bind 4096)
[    0.018518] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.018530] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.018625] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.018644] PCI: CLS 0 bytes, default 64
[    0.018787] Unpacking initramfs...
[    0.039504] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.042064] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.042079] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT                                                                                                 Y) (c) 2001-2006 Red Hat, Inc.
[    0.064604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                 51)
[    0.068286] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.070006] printk: console [ttyS0] disabled
[    0.090166] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 121, base_baud =                                                                                                  2500000) is a ST16650V2
[    0.686032] Freeing initrd memory: 3400K
[    0.691694] printk: console [ttyS0] enabled
[    0.692364] mtk_rng 1020f000.rng: registered RNG driver
[    0.692598] random: crng init done
[    0.751377] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.759548] loop: module loaded
[    0.762703] Loading iSCSI transport class v2.0-870.
[    0.898676] mtk_soc_eth 15100000.ethernet: generated random MAC address f2:65                                                                                                 :92:90:8e:46
[    0.906900] mtk_soc_eth 15100000.ethernet: generated random MAC address 3e:bc                                                                                                 :23:aa:7d:9f
[    1.399527] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xff                                                                                                 ffffc00d600000, irq 129
[    1.409305] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xff                                                                                                 ffffc00d600000, irq 129
[    1.418816] i2c_dev: i2c /dev entries driver
[    1.424031] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowa                                                                                                 yout=0)
[    1.432447] NET: Registered PF_INET6 protocol family
[    1.438049] Segment Routing with IPv6
[    1.441717] In-situ OAM (IOAM) with IPv6
[    1.445654] NET: Registered PF_PACKET protocol family
[    1.450717] bridge: filtering via arp/ip/ip6tables is no longer available by                                                                                                  default. Update your scripts to load br_netfilter if you need this.
[    1.463738] 8021q: 802.1Q VLAN Support v1.8
[    1.468922] pstore: Using crash dump compression: deflate
[    2.483370] mt7530-mdio mdio-bus:1f: reset timeout
[    2.488201] mt7530-mdio: probe of mdio-bus:1f failed with error -110
[    2.495426] Freeing unused kernel memory: 448K
[    2.557530] Run /init as init process
[    2.561175]   with arguments:
[    2.564126]     /init
[    2.566384]   with environment:
[    2.569513]     HOME=/
[    2.571858]     TERM=linux
[    2.696001] init: Console is alive
[    2.699503] init: - watchdog -
[    2.705280] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.715382] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.723040] init: - preinit -
[    2.776131] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    2.784615] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    2.793268] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
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
[    4.816877] procd: - early -
[    4.819817] procd: - watchdog -
[    5.334558] procd: - watchdog -
[    5.337839] procd: - ubus -
[    5.390938] procd: - init -
Please press Enter to activate this console.
[    5.475574] kmodloader: loading kernel modules from /etc/modules.d/*
[    5.485953] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    5.500032] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    5.507523] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    5.612723] urngd: v1.0.2 started.
[    5.857706] mt798x-wmac 18000000.wifi: Direct firmware load for mediatek/mt7986_rom_patch.bin failed with error -2
[    5.868052] mt798x-wmac 18000000.wifi: Falling back to sysfs fallback for: mediatek/mt7986_rom_patch.bin
[    5.892705] mt798x-wmac: probe of 18000000.wifi failed with error -12
[    5.910748] PPP generic driver version 2.4.2
[    5.915498] NET: Registered PF_PPPOX protocol family
[    5.922135] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.417524] mtk_soc_eth 15100000.ethernet eth1: validation of  with support 0000000,00000000,00006000 and advertisement 0000000,00000000,00000000 failed: -22
[   13.667508] mtk_soc_eth 15100000.ethernet eth1: mtk_open: could not attach PHY: -22
[   33.127510] usb_vbus: disabling



BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.3, r23809-234f1a2efa
 -----------------------------------------------------

booting the WAX220 initramfs gets me:

root@OpenWrt:/etc/config# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00020000 "BL2"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00200000 00020000 "Factory"
mtd3: 00200000 00020000 "FIP"
mtd4: 05140000 00020000 "ubi"
mtd5: 00400000 00020000 "RAE"
mtd6: 00100000 00020000 "POT"
mtd7: 00400000 00020000 "Language"
mtd8: 00200000 00020000 "Traffic"
mtd9: 00100000 00020000 "Cert"
mtd10: 00100000 00020000 "NTGRcryptK"
mtd11: 00500000 00020000 "NTGRcryptD"
mtd12: 00100000 00020000 "LOG"
mtd13: 00640000 00020000 "User_data"

Careful with the flash partitioning, that is hardcoded in the dts - so you get to see the wrong values from the wax220 there, not what's actually the situation on flash.

2 Likes

not going to flash anything, building a flashable image is beyond my skillset :frowning:

thnx for the heads up though.

Noticed support for the Ruijie RG-X60 Pro have been added, it looks identical to the RG-E6.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=3de3c2bdfa6b757a1ac9fa4d9905e0d268d98e5f

https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=mediatek%2Ffilogic&id=ruijie_rg-x60-pro

@daniel is there some smart way to check if the X60 Pro image could work with the RG-E6, before attempting a flash ?

I think Ruijie E6(international Edition) Hardware was same with Ruijie RG-X60 Pro(China Edition),both with MT7986 soc and switch MT7531

Perhaps, but that's not enough....

Can you provide FDT files, I would like to take a look at the differences with the X60 Pro?

I'm out of town, will post when I get back home.

ok,thanks a lot

back and booted the RG-X60 Pro initramfs:

root@OpenWrt:/etc/config# fdtdump /sys/firmware/fdt

**** fdtdump is a low-level debugging tool, not meant for general use.
**** If you want to decompile a dtb, you probably want
****     dtc -I dtb -O dts <filename>

/dts-v1/;
// magic:               0xd00dfeed
// totalsize:           0x5080 (20608)
// off_dt_struct:       0x48
// off_dt_strings:      0x47c4
// off_mem_rsvmap:      0x28
// version:             17
// last_comp_version:   16
// boot_cpuid_phys:     0x0
// size_dt_strings:     0x760
// size_dt_struct:      0x477c

/memreserve/ 0x5f41d000 0x3dd6cc;
/ {
    compatible = "ruijie,rg-x60-pro", "mediatek,mt7986a";
    interrupt-parent = <0x00000001>;
    #address-cells = <0x00000002>;
    #size-cells = <0x00000002>;
    model = "Ruijie RG-X60 Pro";
    cpus {
        #address-cells = <0x00000001>;
        #size-cells = <0x00000000>;
        cpu@0 {
            compatible = "arm,cortex-a53";
            reg = <0x00000000>;
            device_type = "cpu";
            enable-method = "psci";
            #cooling-cells = <0x00000002>;
            phandle = <0x00000026>;
        };
        cpu@1 {
            compatible = "arm,cortex-a53";
            reg = <0x00000001>;
            device_type = "cpu";
            enable-method = "psci";
            #cooling-cells = <0x00000002>;
            phandle = <0x00000027>;
        };
        cpu@2 {
            compatible = "arm,cortex-a53";
            reg = <0x00000002>;
            device_type = "cpu";
            enable-method = "psci";
            #cooling-cells = <0x00000002>;
            phandle = <0x00000028>;
        };
        cpu@3 {
            compatible = "arm,cortex-a53";
            reg = <0x00000003>;
            device_type = "cpu";
            enable-method = "psci";
            #cooling-cells = <0x00000002>;
            phandle = <0x00000029>;
        };
    };
    oscillator-40m {
        compatible = "fixed-clock";
        clock-frequency = <0x02625a00>;
        #clock-cells = <0x00000000>;
        clock-output-names = "clkxtal";
        phandle = <0x0000000e>;
    };
    psci {
        compatible = "arm,psci-0.2";
        method = "smc";
    };
    reserved-memory {
        #address-cells = <0x00000002>;
        #size-cells = <0x00000002>;
        ranges;
        ramoops@42ff0000 {
            compatible = "ramoops";
            reg = <0x00000000 0x42ff0000 0x00000000 0x00010000>;
            record-size = <0x00001000>;
        };
        secmon@43000000 {
            reg = <0x00000000 0x43000000 0x00000000 0x00030000>;
            no-map;
            phandle = <0x0000002a>;
        };
        wmcpu-reserved@4fc00000 {
            no-map;
            reg = <0x00000000 0x4fc00000 0x00000000 0x00100000>;
            phandle = <0x00000022>;
        };
        wo-emi@4fd00000 {
            reg = <0x00000000 0x4fd00000 0x00000000 0x00040000>;
            no-map;
            phandle = <0x0000000f>;
        };
        wo-emi@4fd40000 {
            reg = <0x00000000 0x4fd40000 0x00000000 0x00040000>;
            no-map;
            phandle = <0x00000015>;
        };
        wo-data@4fd80000 {
            reg = <0x00000000 0x4fd80000 0x00000000 0x00240000>;
            no-map;
            phandle = <0x00000010>;
        };
    };
    soc {
        compatible = "simple-bus";
        ranges;
        #address-cells = <0x00000002>;
        #size-cells = <0x00000002>;
        interrupt-controller@c000000 {
            compatible = "arm,gic-v3";
            reg = <0x00000000 0x0c000000 0x00000000 0x00010000 0x00000000 0x0c08                                                                                                                           0000 0x00000000 0x00080000 0x00000000 0x0c400000 0x00000000 0x00002000 0x0000000                                                                                                                           0 0x0c410000 0x00000000 0x00001000 0x00000000 0x0c420000 0x00000000 0x00002000>;
            interrupt-parent = <0x00000001>;
            interrupts = <0x00000001 0x00000009 0x00000004>;
            interrupt-controller;
            #interrupt-cells = <0x00000003>;
            phandle = <0x00000001>;
        };
        infracfg@10001000 {
            compatible = "mediatek,mt7986-infracfg", "syscon";
            reg = <0x00000000 0x10001000 0x00000000 0x00001000>;
            #clock-cells = <0x00000001>;
            #reset-cells = <0x00000001>;
            phandle = <0x00000003>;
        };
        wed-pcie@10003000 {
            compatible = "mediatek,mt7986-wed-pcie", "syscon";
            reg = <0x00000000 0x10003000 0x00000000 0x00000010>;
            phandle = <0x0000001c>;
        };
        topckgen@1001b000 {
            compatible = "mediatek,mt7986-topckgen", "syscon";
            reg = <0x00000000 0x1001b000 0x00000000 0x00001000>;
            #clock-cells = <0x00000001>;
            phandle = <0x00000004>;
        };
        watchdog@1001c000 {
            compatible = "mediatek,mt7986-wdt";
            reg = <0x00000000 0x1001c000 0x00000000 0x00001000>;
            interrupts = <0x00000000 0x0000006e 0x00000004>;
            #reset-cells = <0x00000001>;
            status = "okay";
            phandle = <0x00000021>;
        };
        apmixedsys@1001e000 {
            compatible = "mediatek,mt7986-apmixedsys";
            reg = <0x00000000 0x1001e000 0x00000000 0x00001000>;
            #clock-cells = <0x00000001>;
            phandle = <0x00000005>;
        };
        pinctrl@1001f000 {
            compatible = "mediatek,mt7986a-pinctrl";
            reg = <0x00000000 0x1001f000 0x00000000 0x00001000 0x00000000 0x11c3                                                                                                                           0000 0x00000000 0x00001000 0x00000000 0x11c40000 0x00000000 0x00001000 0x0000000                                                                                                                           0 0x11e20000 0x00000000 0x00001000 0x00000000 0x11e30000 0x00000000 0x00001000 0                                                                                                                           x00000000 0x11f00000 0x00000000 0x00001000 0x00000000 0x11f10000 0x00000000 0x00                                                                                                                           001000 0x00000000 0x1000b000 0x00000000 0x00001000>;
            reg-names = "gpio", "iocfg_rt", "iocfg_rb", "iocfg_lt", "iocfg_lb",                                                                                                                            "iocfg_tr", "iocfg_tl", "eint";
            gpio-controller;
            #gpio-cells = <0x00000002>;
            gpio-ranges = <0x00000002 0x00000000 0x00000000 0x00000064>;
            interrupt-controller;
            interrupts = <0x00000000 0x000000e1 0x00000004>;
            interrupt-parent = <0x00000001>;
            #interrupt-cells = <0x00000002>;
            phandle = <0x00000002>;
            spi-flash-pins-33-to-38 {
                phandle = <0x00000006>;
                mux {
                    function = "spi";
                    groups = "spi0", "spi0_wp_hold";
                };
                conf-pu {
                    pins = "SPI2_CS", "SPI2_HOLD", "SPI2_WP";
                    drive-strength = <0x00000008>;
                    mediatek,pull-up-adv = <0x00000000>;
                };
                conf-pd {
                    pins = "SPI2_CLK", "SPI2_MOSI", "SPI2_MISO";
                    drive-strength = <0x00000008>;
                    mediatek,pull-down-adv = <0x00000000>;
                };
            };
            wf_2g_5g-pins {
                phandle = <0x00000023>;
                mux {
                    function = "wifi";
                    groups = "wf_2g", "wf_5g";
                };
                conf {
                    pins = "WF0_HB1", "WF0_HB2", "WF0_HB3", "WF0_HB4", "WF0_HB0"                                                                                                                           , "WF0_HB0_B", "WF0_HB5", "WF0_HB6", "WF0_HB7", "WF0_HB8", "WF0_HB9", "WF0_HB10"                                                                                                                           , "WF0_TOP_CLK", "WF0_TOP_DATA", "WF1_HB1", "WF1_HB2", "WF1_HB3", "WF1_HB4", "WF                                                                                                                           1_HB0", "WF1_HB5", "WF1_HB6", "WF1_HB7", "WF1_HB8", "WF1_TOP_CLK", "WF1_TOP_DATA                                                                                                                           ";
                    drive-strength = <0x00000004>;
                };
            };
        };
        audio-controller@11210000 {
            compatible = "mediatek,mt7986-afe";
            reg = <0x00000000 0x11210000 0x00000000 0x00009000>;
            interrupts = <0x00000000 0x0000006a 0x00000004>;
            clocks = <0x00000003 0x00000011 0x00000003 0x00000012 0x00000003 0x0                                                                                                                           0000013 0x00000003 0x00000014 0x00000003 0x00000015>;
            clock-names = "aud_bus_ck", "aud_26m_ck", "aud_l_ck", "aud_aud_ck",                                                                                                                            "aud_eg2_ck";
            assigned-clocks = <0x00000004 0x00000031 0x00000004 0x00000037 0x000                                                                                                                           00004 0x00000038>;
            assigned-clock-parents = <0x00000004 0x0000000f 0x00000005 0x0000000                                                                                                                           7 0x00000004 0x0000000f>;
            phandle = <0x0000002b>;
        };
        pwm@10048000 {
            compatible = "mediatek,mt7986-pwm";
            reg = <0x00000000 0x10048000 0x00000000 0x00001000>;
            #pwm-cells = <0x00000002>;
            interrupts = <0x00000000 0x00000089 0x00000004>;
            clocks = <0x00000004 0x0000001f 0x00000003 0x0000000c 0x00000003 0x0                                                                                                                           000000d 0x00000003 0x0000000e>;
            clock-names = "top", "main", "pwm1", "pwm2";
            status = "disabled";
            phandle = <0x0000002c>;
        };
        syscon@10060000 {
            compatible = "mediatek,mt7986-sgmiisys_0", "syscon";
            reg = <0x00000000 0x10060000 0x00000000 0x00001000>;
            #clock-cells = <0x00000001>;
            phandle = <0x0000001a>;
        };
        syscon@10070000 {
            compatible = "mediatek,mt7986-sgmiisys_1", "syscon";
            reg = <0x00000000 0x10070000 0x00000000 0x00001000>;
            #clock-cells = <0x00000001>;
            phandle = <0x0000001b>;
        };
        rng@1020f000 {
            compatible = "mediatek,mt7986-rng", "mediatek,mt7623-rng";
            reg = <0x00000000 0x1020f000 0x00000000 0x00000100>;
            clocks = <0x00000003 0x00000037>;
            clock-names = "rng";
            status = "disabled";
            phandle = <0x0000002d>;
        };
        crypto@10320000 {
            compatible = "inside-secure,safexcel-eip97";
            reg = <0x00000000 0x10320000 0x00000000 0x00040000>;
            interrupts = <0x00000000 0x00000074 0x00000004 0x00000000 0x00000075                                                                                                                            0x00000004 0x00000000 0x00000076 0x00000004 0x00000000 0x00000077 0x00000004>;
            interrupt-names = "ring0", "ring1", "ring2", "ring3";
            clocks = <0x00000003 0x00000010>;
            assigned-clocks = <0x00000004 0x00000033>;
            assigned-clock-parents = <0x00000005 0x00000001>;
            status = "disabled";
            phandle = <0x0000002e>;
        };
        serial@11002000 {
            compatible = "mediatek,mt7986-uart", "mediatek,mt6577-uart";
            reg = <0x00000000 0x11002000 0x00000000 0x00000400>;
            interrupts = <0x00000000 0x0000007b 0x00000004>;
            clocks = <0x00000003 0x00000001 0x00000003 0x0000001d>;
            clock-names = "baud", "bus";
            assigned-clocks = <0x00000004 0x0000001e 0x00000003 0x00000001>;
            assigned-clock-parents = <0x00000004 0x00000000 0x00000004 0x0000001                                                                                                                           e>;
            status = "okay";
            phandle = <0x0000002f>;
        };
        serial@11003000 {
            compatible = "mediatek,mt7986-uart", "mediatek,mt6577-uart";
            reg = <0x00000000 0x11003000 0x00000000 0x00000400>;
            interrupts = <0x00000000 0x0000007c 0x00000004>;
            clocks = <0x00000003 0x00000002 0x00000003 0x0000001e>;
            clock-names = "baud", "bus";
            assigned-clocks = <0x00000003 0x00000002>;
            assigned-clock-parents = <0x00000004 0x00000036>;
            status = "disabled";
            phandle = <0x00000030>;
        };
        serial@11004000 {
            compatible = "mediatek,mt7986-uart", "mediatek,mt6577-uart";
            reg = <0x00000000 0x11004000 0x00000000 0x00000400>;
            interrupts = <0x00000000 0x0000007d 0x00000004>;
            clocks = <0x00000003 0x00000003 0x00000003 0x0000001f>;
            clock-names = "baud", "bus";
            assigned-clocks = <0x00000003 0x00000003>;
            assigned-clock-parents = <0x00000004 0x00000036>;
            status = "disabled";
            phandle = <0x00000031>;
        };
        i2c@11008000 {
            compatible = "mediatek,mt7986-i2c";
            reg = <0x00000000 0x11008000 0x00000000 0x00000090 0x00000000 0x1021                                                                                                                           7080 0x00000000 0x00000080>;
            interrupts = <0x00000000 0x00000088 0x00000004>;
            clock-div = <0x00000005>;
            clocks = <0x00000003 0x0000001c 0x00000003 0x00000018>;
            clock-names = "main", "dma";
            #address-cells = <0x00000001>;
            #size-cells = <0x00000000>;
            status = "disabled";
            phandle = <0x00000032>;
        };
        spi@1100a000 {
            compatible = "mediatek,mt7986-spi-ipm", "mediatek,spi-ipm";
            reg = <0x00000000 0x1100a000 0x00000000 0x00000100>;
            #address-cells = <0x00000001>;
            #size-cells = <0x00000000>;
            interrupts = <0x00000000 0x0000008c 0x00000004>;
            clocks = <0x00000004 0x00000004 0x00000004 0x0000001c 0x00000003 0x0                                                                                                                           0000023 0x00000003 0x00000025>;
            clock-names = "parent-clk", "sel-clk", "spi-clk", "hclk";
            status = "okay";
            pinctrl-names = "default";
            pinctrl-0 = <0x00000006>;
            phandle = <0x00000033>;
            flash@0 {
                compatible = "spi-nand";
                #address-cells = <0x00000001>;
                #size-cells = <0x00000001>;
                reg = <0x00000000>;
                spi-max-frequency = <0x01312d00>;
                spi-tx-bus-width = <0x00000004>;
                spi-rx-bus-width = <0x00000004>;
                mediatek,nmbm;
                mediatek,bmt-max-ratio = <0x00000001>;
                mediatek,bmt-max-reserved-blocks = <0x00000040>;
                partitions {
                    compatible = "fixed-partitions";
                    #address-cells = <0x00000001>;
                    #size-cells = <0x00000001>;
                    partition@0 {
                        label = "BL2";
                        reg = <0x00000000 0x00100000>;
                        read-only;
                    };
                    partition@100000 {
                        label = "u-boot-env";
                        reg = <0x00100000 0x00080000>;
                        read-only;
                    };
                    partition@180000 {
                        label = "Factory";
                        reg = <0x00180000 0x00200000>;
                        read-only;
                        nvmem-layout {
                            compatible = "fixed-layout";
                            #address-cells = <0x00000001>;
                            #size-cells = <0x00000001>;
                            eeprom@0 {
                                reg = <0x00000000 0x00001000>;
                                phandle = <0x00000024>;
                            };
                        };
                    };
                    partition@380000 {
                        label = "FIP";
                        reg = <0x00380000 0x00200000>;
                        read-only;
                    };
                    partition@580000 {
                        label = "product_info";
                        reg = <0x00580000 0x00080000>;
                        read-only;
                    };
                    partition@600000 {
                        label = "kdump";
                        reg = <0x00600000 0x00080000>;
                        read-only;
                    };
                    partition@680000 {
                        label = "ubi";
                        reg = <0x00680000 0x03f00000>;
                    };
                };
            };
        };
        spi@1100b000 {
            compatible = "mediatek,mt7986-spi-ipm", "mediatek,spi-ipm";
            reg = <0x00000000 0x1100b000 0x00000000 0x00000100>;
            #address-cells = <0x00000001>;
            #size-cells = <0x00000000>;
            interrupts = <0x00000000 0x0000008d 0x00000004>;
            clocks = <0x00000004 0x00000004 0x00000004 0x0000001d 0x00000003 0x0                                                                                                                           0000024 0x00000003 0x00000026>;
            clock-names = "parent-clk", "sel-clk", "spi-clk", "hclk";
            status = "disabled";
            phandle = <0x00000034>;
        };
        thermal@1100c800 {
            compatible = "mediatek,mt7986-thermal";
            reg = <0x00000000 0x1100c800 0x00000000 0x00000800>;
            interrupts = <0x00000000 0x0000008a 0x00000004>;
            clocks = <0x00000003 0x0000001b 0x00000003 0x0000002c>;
            clock-names = "therm", "auxadc";
            nvmem-cells = <0x00000007>;
            nvmem-cell-names = "calibration-data";
            #thermal-sensor-cells = <0x00000001>;
            mediatek,auxadc = <0x00000008>;
            mediatek,apmixedsys = <0x00000005>;
            phandle = <0x00000025>;
        };
        adc@1100d000 {
            compatible = "mediatek,mt7986-auxadc";
            reg = <0x00000000 0x1100d000 0x00000000 0x00001000>;
            clocks = <0x00000003 0x0000002c>;
            clock-names = "main";
            #io-channel-cells = <0x00000001>;
            status = "disabled";
            phandle = <0x00000008>;
        };
        usb@11200000 {
            compatible = "mediatek,mt7986-xhci", "mediatek,mtk-xhci";
            reg = <0x00000000 0x11200000 0x00000000 0x00002e00 0x00000000 0x1120                                                                                                                           3e00 0x00000000 0x00000100>;
            reg-names = "mac", "ippc";
            interrupts = <0x00000000 0x000000ad 0x00000004>;
            clocks = <0x00000003 0x00000031 0x00000003 0x00000032 0x00000003 0x0                                                                                                                           000002f 0x00000003 0x00000030 0x00000004 0x0000003b>;
            clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", "xhci_ck";
            phys = <0x00000009 0x00000003 0x0000000a 0x00000004 0x0000000b 0x000                                                                                                                           00003>;
            status = "disabled";
            phandle = <0x00000035>;
        };
        mmc@11230000 {
            compatible = "mediatek,mt7986-mmc";
            reg = <0x00000000 0x11230000 0x00000000 0x00001000 0x00000000 0x11c2                                                                                                                           0000 0x00000000 0x00001000>;
            interrupts = <0x00000000 0x0000008f 0x00000004>;
            assigned-clocks = <0x00000004 0x00000023 0x00000004 0x00000022>;
            assigned-clock-parents = <0x00000005 0x00000006 0x00000004 0x0000001                                                                                                                           2>;
            clocks = <0x00000004 0x00000023 0x00000003 0x00000029 0x00000003 0x0                                                                                                                           0000028 0x00000003 0x0000002a 0x00000003 0x0000002b>;
            clock-names = "source", "hclk", "source_cg", "bus_clk", "sys_cg";
            status = "disabled";
            phandle = <0x00000036>;
        };
        pcie@11280000 {
            compatible = "mediatek,mt7986-pcie", "mediatek,mt8192-pcie";
            reg = <0x00000000 0x11280000 0x00000000 0x00004000>;
            reg-names = "pcie-mac";
            ranges = <0x82000000 0x00000000 0x20000000 0x00000000 0x20000000 0x0                                                                                                                           0000000 0x10000000>;
            device_type = "pci";
            #address-cells = <0x00000003>;
            #size-cells = <0x00000002>;
            interrupts = <0x00000000 0x000000a8 0x00000004>;
            bus-range = <0x00000000 0x000000ff>;
            clocks = <0x00000003 0x00000034 0x00000003 0x00000033 0x00000003 0x0                                                                                                                           0000035 0x00000003 0x00000036>;
            clock-names = "pl_250m", "tl_26m", "peri_26m", "top_133m";
            phys = <0x0000000c 0x00000002>;
            phy-names = "pcie-phy";
            #interrupt-cells = <0x00000001>;
            interrupt-map-mask = <0x00000000 0x00000000 0x00000000 0x00000007>;
            interrupt-map = <0x00000000 0x00000000 0x00000000 0x00000001 0x00000                                                                                                                           00d 0x00000000 0x00000000 0x00000000 0x00000000 0x00000002 0x0000000d 0x00000001                                                                                                                            0x00000000 0x00000000 0x00000000 0x00000003 0x0000000d 0x00000002 0x00000000 0x                                                                                                                           00000000 0x00000000 0x00000004 0x0000000d 0x00000003>;
            status = "disabled";
            phandle = <0x00000037>;
            interrupt-controller {
                #address-cells = <0x00000000>;
                #interrupt-cells = <0x00000001>;
                interrupt-controller;
                phandle = <0x0000000d>;
            };
        };
        t-phy {
            compatible = "mediatek,mt7986-tphy", "mediatek,generic-tphy-v2";
            ranges;
            #address-cells = <0x00000002>;
            #size-cells = <0x00000002>;
            status = "disabled";
            phandle = <0x00000038>;
            pcie-phy@11c00000 {
                reg = <0x00000000 0x11c00000 0x00000000 0x00020000>;
                clocks = <0x0000000e>;
                clock-names = "ref";
                #phy-cells = <0x00000001>;
                phandle = <0x0000000c>;
            };
        };
        efuse@11d00000 {
            compatible = "mediatek,mt7986-efuse", "mediatek,efuse";
            reg = <0x00000000 0x11d00000 0x00000000 0x00001000>;
            #address-cells = <0x00000001>;
            #size-cells = <0x00000001>;
            phandle = <0x00000039>;
            calib@274 {
                reg = <0x00000274 0x0000000c>;
                phandle = <0x00000007>;
            };
        };
        t-phy@11e10000 {
            compatible = "mediatek,mt7986-tphy", "mediatek,generic-tphy-v2";
            ranges = <0x00000000 0x00000000 0x11e10000 0x00001700>;
            #address-cells = <0x00000001>;
            #size-cells = <0x00000001>;
            status = "disabled";
            phandle = <0x0000003a>;
            usb-phy@0 {
                reg = <0x00000000 0x00000700>;
                clocks = <0x00000004 0x0000003c 0x00000004 0x0000003d>;
                clock-names = "ref", "da_ref";
                #phy-cells = <0x00000001>;
                phandle = <0x00000009>;
            };
            usb-phy@700 {
                reg = <0x00000700 0x00000900>;
                clocks = <0x00000004 0x00000035>;
                clock-names = "ref";
                #phy-cells = <0x00000001>;
                phandle = <0x0000000a>;
            };
            usb-phy@1000 {
                reg = <0x00001000 0x00000700>;
                clocks = <0x00000004 0x0000003c 0x00000004 0x0000003d>;
                clock-names = "ref", "da_ref";
                #phy-cells = <0x00000001>;
                phandle = <0x0000000b>;
            };
        };
        syscon@15000000 {
            compatible = "mediatek,mt7986-ethsys", "syscon";
            reg = <0x00000000 0x15000000 0x00000000 0x00001000>;
            #clock-cells = <0x00000001>;
            #reset-cells = <0x00000001>;
            phandle = <0x00000019>;
        };

2nd part

        wed@15010000 {
            compatible = "mediatek,mt7986-wed", "syscon";
            reg = <0x00000000 0x15010000 0x00000000 0x00001000>;
            interrupt-parent = <0x00000001>;
            interrupts = <0x00000000 0x000000cd 0x00000004>;
            memory-region = <0x0000000f 0x00000010>;
            memory-region-names = "wo-emi", "wo-data";
            mediatek,wo-ccif = <0x00000011>;
            mediatek,wo-ilm = <0x00000012>;
            mediatek,wo-dlm = <0x00000013>;
            mediatek,wo-cpuboot = <0x00000014>;
            phandle = <0x0000001d>;
        };
        wed@15011000 {
            compatible = "mediatek,mt7986-wed", "syscon";
            reg = <0x00000000 0x15011000 0x00000000 0x00001000>;
            interrupt-parent = <0x00000001>;
            interrupts = <0x00000000 0x000000ce 0x00000004>;
            memory-region = <0x00000015 0x00000010>;
            memory-region-names = "wo-emi", "wo-data";
            mediatek,wo-ccif = <0x00000016>;
            mediatek,wo-ilm = <0x00000017>;
            mediatek,wo-dlm = <0x00000018>;
            mediatek,wo-cpuboot = <0x00000014>;
            phandle = <0x0000001e>;
        };
        ethernet@15100000 {
            compatible = "mediatek,mt7986-eth";
            reg = <0x00000000 0x15100000 0x00000000 0x00080000>;
            interrupts = <0x00000000 0x000000c4 0x00000004 0x00000000 0x000000c5                                                                                                                            0x00000004 0x00000000 0x000000c6 0x00000004 0x00000000 0x000000c7 0x00000004>;
            clocks = <0x00000019 0x00000000 0x00000019 0x00000001 0x00000019 0x0                                                                                                                           0000002 0x00000019 0x00000003 0x00000019 0x00000004 0x0000001a 0x00000000 0x0000                                                                                                                           001a 0x00000001 0x0000001a 0x00000002 0x0000001a 0x00000003 0x0000001b 0x0000000                                                                                                                           0 0x0000001b 0x00000001 0x0000001b 0x00000002 0x0000001b 0x00000003 0x00000004 0                                                                                                                           x0000002b 0x00000004 0x0000002c>;
            clock-names = "fe", "gp2", "gp1", "wocpu1", "wocpu0", "sgmii_tx250m"                                                                                                                           , "sgmii_rx250m", "sgmii_cdr_ref", "sgmii_cdr_fb", "sgmii2_tx250m", "sgmii2_rx25                                                                                                                           0m", "sgmii2_cdr_ref", "sgmii2_cdr_fb", "netsys0", "netsys1";
            assigned-clocks = <0x00000004 0x0000002e 0x00000004 0x0000002f>;
            assigned-clock-parents = <0x00000005 0x00000001 0x00000005 0x0000000                                                                                                                           3>;
            #address-cells = <0x00000001>;
            #size-cells = <0x00000000>;
            mediatek,ethsys = <0x00000019>;
            mediatek,sgmiisys = <0x0000001a 0x0000001b>;
            mediatek,wed-pcie = <0x0000001c>;
            mediatek,wed = <0x0000001d 0x0000001e>;
            status = "okay";
            phandle = <0x0000003b>;
            mac@0 {
                compatible = "mediatek,eth-mac";
                reg = <0x00000000>;
                phy-mode = "2500base-x";
                phandle = <0x00000020>;
                fixed-link {
                    speed = <0x000009c4>;
                    full-duplex;
                    pause;
                };
            };
            mac@1 {
                compatible = "mediatek,eth-mac";
                reg = <0x00000001>;
                phy-handle = <0x0000001f>;
                phy-mode = "2500base-x";
                phandle = <0x0000003c>;
            };
            mdio-bus {
                #address-cells = <0x00000001>;
                #size-cells = <0x00000000>;
                phandle = <0x0000003d>;
                switch@1f {
                    compatible = "mediatek,mt7531";
                    reg = <0x0000001f>;
                    reset-gpios = <0x00000002 0x00000005 0x00000000>;
                    interrupt-controller;
                    #interrupt-cells = <0x00000001>;
                    interrupt-parent = <0x00000002>;
                    interrupts = <0x00000042 0x00000004>;
                    phandle = <0x0000003e>;
                    ports {
                        #address-cells = <0x00000001>;
                        #size-cells = <0x00000000>;
                        port@0 {
                            reg = <0x00000000>;
                            label = "lan1";
                        };
                        port@1 {
                            reg = <0x00000001>;
                            label = "lan2";
                        };
                        port@2 {
                            reg = <0x00000002>;
                            label = "lan3";
                        };
                        port@3 {
                            reg = <0x00000003>;
                            label = "lan4";
                        };
                        port@6 {
                            reg = <0x00000006>;
                            label = "cpu";
                            ethernet = <0x00000020>;
                            phy-mode = "2500base-x";
                            fixed-link {
                                speed = <0x000009c4>;
                                full-duplex;
                                pause;
                            };
                        };
                    };
                };
                phy@7 {
                    compatible = "ethernet-phy-ieee802.3-c45";
                    reg = <0x00000007>;
                    reset-assert-us = <0x000186a0>;
                    reset-deassert-us = <0x000186a0>;
                    reset-gpios = <0x00000002 0x00000006 0x00000001>;
                    realtek,aldps-enable;
                    phandle = <0x0000001f>;
                };
            };
        };
        syscon@151a5000 {
            compatible = "mediatek,mt7986-wo-ccif", "syscon";
            reg = <0x00000000 0x151a5000 0x00000000 0x00001000>;
            interrupt-parent = <0x00000001>;
            interrupts = <0x00000000 0x000000d3 0x00000004>;
            phandle = <0x00000011>;
        };
        syscon@151ad000 {
            compatible = "mediatek,mt7986-wo-ccif", "syscon";
            reg = <0x00000000 0x151ad000 0x00000000 0x00001000>;
            interrupt-parent = <0x00000001>;
            interrupts = <0x00000000 0x000000d4 0x00000004>;
            phandle = <0x00000016>;
        };
        syscon@151e0000 {
            compatible = "mediatek,mt7986-wo-ilm", "syscon";
            reg = <0x00000000 0x151e0000 0x00000000 0x00008000>;
            phandle = <0x00000012>;
        };
        syscon@151f0000 {
            compatible = "mediatek,mt7986-wo-ilm", "syscon";
            reg = <0x00000000 0x151f0000 0x00000000 0x00008000>;
            phandle = <0x00000017>;
        };
        syscon@151e8000 {
            compatible = "mediatek,mt7986-wo-dlm", "syscon";
            reg = <0x00000000 0x151e8000 0x00000000 0x00002000>;
            phandle = <0x00000013>;
        };
        syscon@151f8000 {
            compatible = "mediatek,mt7986-wo-dlm", "syscon";
            reg = <0x00000000 0x151f8000 0x00000000 0x00002000>;
            phandle = <0x00000018>;
        };
        syscon@15194000 {
            compatible = "mediatek,mt7986-wo-cpuboot", "syscon";
            reg = <0x00000000 0x15194000 0x00000000 0x00001000>;
            phandle = <0x00000014>;
        };
        wifi@18000000 {
            compatible = "mediatek,mt7986-wmac";
            reg = <0x00000000 0x18000000 0x00000000 0x01000000 0x00000000 0x1000                                                                                                                           3000 0x00000000 0x00001000 0x00000000 0x11d10000 0x00000000 0x00001000>;
            resets = <0x00000021 0x00000017>;
            reset-names = "consys";
            clocks = <0x00000004 0x00000032 0x00000004 0x0000003e>;
            clock-names = "mcu", "ap2conn";
            interrupts = <0x00000000 0x000000d5 0x00000004 0x00000000 0x000000d6                                                                                                                            0x00000004 0x00000000 0x000000d7 0x00000004 0x00000000 0x000000d8 0x00000004>;
            memory-region = <0x00000022>;
            status = "okay";
            pinctrl-names = "default";
            pinctrl-0 = <0x00000023>;
            nvmem-cells = <0x00000024>;
            nvmem-cell-names = "eeprom";
            phandle = <0x0000003f>;
        };
    };
    thermal-zones {
        cpu-thermal {
            polling-delay-passive = <0x000003e8>;
            polling-delay = <0x000003e8>;
            thermal-sensors = <0x00000025 0x00000000>;
            phandle = <0x00000040>;
            trips {
                crit {
                    temperature = <0x0001e848>;
                    hysteresis = <0x000007d0>;
                    type = "critical";
                    phandle = <0x00000041>;
                };
                hot {
                    temperature = <0x0001d4c0>;
                    hysteresis = <0x000007d0>;
                    type = "hot";
                    phandle = <0x00000042>;
                };
                active-high {
                    temperature = <0x0001c138>;
                    hysteresis = <0x000007d0>;
                    type = "active";
                    phandle = <0x00000043>;
                };
                active-med {
                    temperature = <0x00014c08>;
                    hysteresis = <0x000007d0>;
                    type = "active";
                    phandle = <0x00000044>;
                };
                active-low {
                    temperature = <0x0000ea60>;
                    hysteresis = <0x000007d0>;
                    type = "active";
                    phandle = <0x00000045>;
                };
            };
        };
    };
    timer {
        compatible = "arm,armv8-timer";
        interrupt-parent = <0x00000001>;
        interrupts = <0x00000001 0x0000000d 0x00000008 0x00000001 0x0000000e 0x0                                                                                                                           0000008 0x00000001 0x0000000b 0x00000008 0x00000001 0x0000000a 0x00000008>;
    };
    aliases {
        serial0 = "/soc/serial@11002000";
        led-boot = "/leds-gpio/led-0";
        led-failsafe = "/leds-gpio/led-1";
        led-running = "/leds-gpio/led-0";
        led-upgrade = "/leds-gpio/led-1";
    };
    chosen {
        linux,initrd-end = <0x00000000 0x5f7fa6cc>;
        linux,initrd-start = <0x00000000 0x5f41d000>;
        bootargs = "console=ttyS0,115200n8 earlycon=uart8250,mmio32,0x11002000";
    };
    memory@40000000 {
        device_type = "memory";
        reg = <0x00000000 0x40000000 0x00000000 0x20000000>;
    };
    gpio-keys {
        compatible = "gpio-keys";
        button-0 {
            label = "reset";
            gpios = <0x00000002 0x00000009 0x00000001>;
            linux,code = <0x00000198>;
        };
        button-1 {
            label = "mesh";
            gpios = <0x00000002 0x0000000a 0x00000001>;
            linux,code = <0x00000100>;
        };
    };
    leds-gpio {
        compatible = "gpio-leds";
        led-0 {
            color = <0x00000000>;
            function = "status";
            gpios = <0x00000002 0x00000016 0x00000001>;
            phandle = <0x00000046>;
        };
        led-1 {
            color = <0x0000000a>;
            function = "status";
            gpios = <0x00000002 0x0000000b 0x00000001>;
            phandle = <0x00000047>;
        };
    };
    __symbols__ {
        cpu0 = "/cpus/cpu@0";
        cpu1 = "/cpus/cpu@1";
        cpu2 = "/cpus/cpu@2";
        cpu3 = "/cpus/cpu@3";
        clk40m = "/oscillator-40m";
        secmon_reserved = "/reserved-memory/secmon@43000000";
        wmcpu_emi = "/reserved-memory/wmcpu-reserved@4fc00000";
        wo_emi0 = "/reserved-memory/wo-emi@4fd00000";
        wo_emi1 = "/reserved-memory/wo-emi@4fd40000";
        wo_data = "/reserved-memory/wo-data@4fd80000";
        gic = "/soc/interrupt-controller@c000000";
        infracfg = "/soc/infracfg@10001000";
        wed_pcie = "/soc/wed-pcie@10003000";
        topckgen = "/soc/topckgen@1001b000";
        watchdog = "/soc/watchdog@1001c000";
        apmixedsys = "/soc/apmixedsys@1001e000";
        pio = "/soc/pinctrl@1001f000";
        spi_flash_pins = "/soc/pinctrl@1001f000/spi-flash-pins-33-to-38";
        wf_2g_5g_pins = "/soc/pinctrl@1001f000/wf_2g_5g-pins";
        afe = "/soc/audio-controller@11210000";
        pwm = "/soc/pwm@10048000";
        sgmiisys0 = "/soc/syscon@10060000";
        sgmiisys1 = "/soc/syscon@10070000";
        trng = "/soc/rng@1020f000";
        crypto = "/soc/crypto@10320000";
        uart0 = "/soc/serial@11002000";
        uart1 = "/soc/serial@11003000";
        uart2 = "/soc/serial@11004000";
        i2c0 = "/soc/i2c@11008000";
        spi0 = "/soc/spi@1100a000";
        eeprom_factory_0 = "/soc/spi@1100a000/flash@0/partitions/partition@18000                                                                                                                           0/nvmem-layout/eeprom@0";
        spi1 = "/soc/spi@1100b000";
        thermal = "/soc/thermal@1100c800";
        auxadc = "/soc/adc@1100d000";
        ssusb = "/soc/usb@11200000";
        mmc0 = "/soc/mmc@11230000";
        pcie = "/soc/pcie@11280000";
        pcie_intc = "/soc/pcie@11280000/interrupt-controller";
        pcie_phy = "/soc/t-phy";
        pcie_port = "/soc/t-phy/pcie-phy@11c00000";
        efuse = "/soc/efuse@11d00000";
        thermal_calibration = "/soc/efuse@11d00000/calib@274";
        usb_phy = "/soc/t-phy@11e10000";
        u2port0 = "/soc/t-phy@11e10000/usb-phy@0";
        u3port0 = "/soc/t-phy@11e10000/usb-phy@700";
        u2port1 = "/soc/t-phy@11e10000/usb-phy@1000";
        ethsys = "/soc/syscon@15000000";
        wed0 = "/soc/wed@15010000";
        wed1 = "/soc/wed@15011000";
        eth = "/soc/ethernet@15100000";
        gmac0 = "/soc/ethernet@15100000/mac@0";
        gmac1 = "/soc/ethernet@15100000/mac@1";
        mdio = "/soc/ethernet@15100000/mdio-bus";
        switch = "/soc/ethernet@15100000/mdio-bus/switch@1f";
        phy7 = "/soc/ethernet@15100000/mdio-bus/phy@7";
        wo_ccif0 = "/soc/syscon@151a5000";
        wo_ccif1 = "/soc/syscon@151ad000";
        wo_ilm0 = "/soc/syscon@151e0000";
        wo_ilm1 = "/soc/syscon@151f0000";
        wo_dlm0 = "/soc/syscon@151e8000";
        wo_dlm1 = "/soc/syscon@151f8000";
        wo_cpuboot = "/soc/syscon@15194000";
        wifi = "/soc/wifi@18000000";
        cpu_thermal = "/thermal-zones/cpu-thermal";
        cpu_trip_crit = "/thermal-zones/cpu-thermal/trips/crit";
        cpu_trip_hot = "/thermal-zones/cpu-thermal/trips/hot";
        cpu_trip_active_high = "/thermal-zones/cpu-thermal/trips/active-high";
        cpu_trip_active_med = "/thermal-zones/cpu-thermal/trips/active-med";
        cpu_trip_active_low = "/thermal-zones/cpu-thermal/trips/active-low";
        led_system = "/leds-gpio/led-0";
        led_alarm = "/leds-gpio/led-1";
    };
};

if this isn't what you were looking for, let me know what commands to run, this is all new to me.

Thank you very much,can you boot the E60 original firmware? I may need some FDT information from the original firmware to tell if the hardware is consistent.

Due to the restrictions in China, router selling in China has the firmware provided by router vendor which will be different from those selling internationally (removing VPN function), this is very similar to GL-INET's case that they have identical hardware but just different firmware.

dang, I noticed you were asking about the E60 here, I don't own one, only the RG-E6.