OpenWrt support for ASUS RT-AX57M (AX1800S v2)

Secondary label: ASUS RT-AX1800S V2 (stock images are identical)

SOC: MediaTek MT7981b
RAM: 256MB DDR3
FLASH: 128MB SPI-NAND
WIFI: Mediatek MT7981b DBDC 802.11ax 2.4/5 GHz
ETH: MediaTek MT7531 Switch
UART: 3V3 115200 8N1 (Pinout silkscreened / Do not connect VCC)

Installiation OpenWrt image:

  1. Download TRX-image openwrt-23_rt-ax57m-initramfs.trx and install its via WEB-interface AsusWRT.
    Change computer IP-addr to 192.168.1.10 and wait 60...90 seconds.

  2. Download OpenWRT sysupgrade image [openwrt-XXXXX-asus_rt-ax57m-sysupgrade.bin] and install its via WEB-interface OpenWRT.
    Wait for the system to restart for 60...120 seconds.

Revert to stock AsusWRT:

  1. Install package facinstall.
  2. Install Asus stock TRX-image via OpenWRT LuCI interface.
    Change computer IP-addr to 192.168.50.10 and wait 70...120 seconds.

All the files listed above can be downloaded from here: my google drive


My sysupgrade image is very large because there are a lot of preinstalled modules.

Git patch: https://github.com/openwrt-xiaomi/openwrt/commit/81bfbed6eefb29ba35499ae09bf80d13ae2496b1

5 Likes

You're amazing! Flashing the openwrt-XXXXX-asus_rt-ax57m-sysupgrade.bin worked perfectly.

Below is the boot message:


F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [1000]
T0: 0000 0236 [010F]
Jump to BL

NOTICE:  BL2: v2.7(release):
NOTICE:  BL2: Built : 16:49:51, Jun 27 2023
NOTICE:  WDT: disabled
NOTICE:  EMI: Using DDR3 settings
NOTICE:  EMI: Detected DRAM size: 256MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  CPU: MT7981 (1300MHz)
NOTICE:  SPI_NAND parses attributes from parameter page.
NOTICE:  SPI_NAND Detected ID 0xef
NOTICE:  Page size 2048, Block size 131072, size 134217728
NOTICE:  BL2: Booting BL31
NOTICE:  BL31: v2.7(release):
NOTICE:  BL31: Built : 16:49:56, Jun 27 2023


U-Boot 2022.10 (Sep 04 2023 - 16:49:04 +0800)
RT-AX57M bootloader version: 2.0.0.0

CPU:   MediaTek MT7981
Model: mt7981-rfb
DRAM:  256 MiB
Core:  37 devices, 16 uclasses, devicetree: separate
Loading Environment from MTD...
SPINAND raw ID: EF AA 21
spi-nand: spi_nand spi_nand@0: Winbond W25N01GV SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64, ECC strength 1/512, default ECC status.
OK
In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
ASUS RT-AX57M gpio/led init
Net:   eth0: ethernet0@15100000
ubi0: attaching mtd4
ubi0: scanning is finished
ubi0: attached mtd4 (name "UBI_DEV", size 124 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: 992, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 723537886
ubi0: available PEBs: 2, total reserved PEBs: 990, PEBs reserved for bad PEB handling: 20
UBI:   vol_id  reserved_pebs  alignment  data_pad  vol_type  usable_leb_size  used_ebs  used_bytes  last_eb_bytes  corrupted  upd_marker  name_len  name
UBI:        0              1          1         0   dynamic            1f000         1       1f000         1f000          0           0         5  nvram
UBI:        1              8          1         0   dynamic            1f000         8       f8000         1f000          0           0         7  Factory
UBI:        2              8          1         0   dynamic            1f000         8       f8000         1f000          0           0         8  Factory2
UBI:        3             1e          1         0   dynamic            1f000        1e      3a2000         1f000          0           0         5  linux
UBI:        4              2          1         0   dynamic            1f000         2       3e000         1f000          0           0         5  jffs2
UBI:        5             9d          1         0   dynamic            1f000        9d     1303000         1f000          0           0         6  rootfs
UBI:        6            2f8          1         0   dynamic            1f000       2f8     5c08000         1f000          0           0         b  rootfs_data
UBI: 7fffefff              2          1         0   dynamic            1f000         2       3e000             2          0           0         d  layout volume
UBI volume [linux] size 3a2000 smaller than 45fe000!
Read 1015808 bytes from volume Factory to 000000004f705f20
EEPROM set 0: OK (version 67)
Read 1015808 bytes from volume Factory2 to 000000004f705f20
EEPROM set 1: OK (version 67)
Read 1015808 bytes from volume Factory to 000000004fb46810
Select EEPROM set 0 at offset 0x0.

Please choose the operation:
   1: Load System code to SDRAM via TFTP.
   2: Load System code then write to Flash via TFTP.
   3: Boot System code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                           0
   3: Boot System code via Flash (default).

RT-AX57M bootloader version: 2.0.0.0
MAC Address: 10:7C:61:E1:B2:D4
HwID A
Read 40 bytes from volume linux to 0000000046000000
   FIT/FDT format image found at 0x46000000,size 0x3a0d14
Read 3804476 bytes from volume linux to 0000000046000000
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.162
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000ec
     Data Size:    3779828 Bytes = 3.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x48000000
     Entry Point:  0x48000000
     Hash algo:    crc32
     Hash value:   47ac421c
     Hash algo:    sha1
     Hash value:   ee5f4c59ad1f737145630ee56ba42910bdbbd005
   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 asus_rt-ax57m device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4639af20
     Data Size:    22743 Bytes = 22.2 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   45215d36
     Hash algo:    sha1
     Hash value:   2e127cb576c73258b3ad79d9bb0865db2f47e93c
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x4639af20
   Uncompressing Kernel Image
   Loading Device Tree to 000000004f7f1000, end 000000004f7f98d6 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.162 (user@debian) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Jul 15 22:14:18 2024
[    0.000000] Machine model: ASUS RT-AX57M
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000004fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x0000000047c7ffff]
[    0.000000]   node   0: [mem 0x0000000047c80000-0x0000000047ffffff]
[    0.000000]   node   0: [mem 0x0000000048000000-0x000000004fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 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.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64512
[    0.000000] Kernel command line: ubi.mtd=UBI_DEV
[    0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 241372K/262144K available (8384K kernel code, 906K rwdata, 1488K rodata, 448K init, 300K bss, 20772K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: 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.000001] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000150] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000160] pid_max: default: 32768 minimum: 301
[    0.000437] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.000447] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.001722] rcu: Hierarchical SRCU implementation.
[    0.002086] smp: Bringing up secondary CPUs ...
[    0.002398] Detected VIPT I-cache on CPU1
[    0.002423] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.002451] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002513] smp: Brought up 1 node, 2 CPUs
[    0.002527] SMP: Total of 2 processors activated.
[    0.002532] CPU features: detected: 32-bit EL0 Support
[    0.002537] CPU features: detected: CRC32 instructions
[    0.002563] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.002625] CPU: All CPU(s) started at EL2
[    0.002636] alternatives: patching kernel code
[    0.005991] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006013] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.006153] pinctrl core: initialized pinctrl subsystem
[    0.006990] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.007299] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.007326] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.007349] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.007690] thermal_sys: Registered thermal governor 'fair_share'
[    0.007693] thermal_sys: Registered thermal governor 'bang_bang'
[    0.007698] thermal_sys: Registered thermal governor 'step_wise'
[    0.007702] thermal_sys: Registered thermal governor 'user_space'
[    0.007879] ASID allocator initialised with 65536 entries
[    0.008324] pstore: Registered ramoops as persistent store backend
[    0.008330] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.018594] cryptd: max_cpu_qlen set to 1000
[    0.020861] SCSI subsystem initialized
[    0.021010] libata version 3.00 loaded.
[    0.022149] clocksource: Switched to clocksource arch_sys_counter
[    0.022802] NET: Registered PF_INET protocol family
[    0.022892] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.023304] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.023320] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.023329] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.023348] TCP bind hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.023376] TCP: Hash tables configured (established 2048 bind 2048)
[    0.023442] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.023459] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.023584] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.023620] PCI: CLS 0 bytes, default 64
[    0.026090] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.029719] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.029735] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.063274] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.073967] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.076170] printk: console [ttyS0] disabled
[    0.096341] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 18, base_baud = 2500000) is a ST16650V2
[    0.712168] printk: console [ttyS0] enabled
[    0.717147] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.726436] loop: module loaded
[    0.729578] Loading iSCSI transport class v2.0-870.
[    0.736673] spi spi0.0: setup: ignoring unsupported mode bits a00
[    0.743187] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.748499] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.756851] 2 fixed-partitions partitions found on MTD device spi0.0
[    0.763216] Creating 2 MTD partitions on "spi0.0":
[    0.767997] 0x000000000000-0x000000400000 : "Bootloader"
[    0.776530] 0x000000400000-0x000008000000 : "UBI_DEV"
[    0.983349] mtk_soc_eth 15100000.ethernet: generated random MAC address 3a:48:f0:40:53:2d
[    0.991589] mtk_soc_eth 15100000.ethernet: generated random MAC address 8e:6e:31:b6:bd:32
[    1.014427] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009500000, irq 82
[    1.024289] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009500000, irq 82
[    1.033882] i2c_dev: i2c /dev entries driver
[    1.039400] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.048204] NET: Registered PF_INET6 protocol family
[    1.054059] Segment Routing with IPv6
[    1.057741] In-situ OAM (IOAM) with IPv6
[    1.061689] NET: Registered PF_PACKET protocol family
[    1.066803] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.080134] 8021q: 802.1Q VLAN Support v1.8
[    1.085328] pstore: Using crash dump compression: deflate
[    1.138152] mt7530-mdio mdio-bus:1f: no interrupt support
[    1.150302] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.159689] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.170917] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.191472] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.211735] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.231962] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[    1.243600] DSA: tree 0 setup
[    1.246888] ubi0: default fastmap pool size: 45
[    1.251418] ubi0: default fastmap WL pool size: 22
[    1.256225] ubi0: attaching mtd1
[    2.066988] ubi0: scanning is finished
[    2.081254] ubi0: attached mtd1 (name "UBI_DEV", size 124 MiB)
[    2.087109] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.093977] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.100752] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.107702] ubi0: good PEBs: 992, bad PEBs: 0, corrupted PEBs: 0
[    2.113698] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
[    2.120905] ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 723537886
[    2.129938] ubi0: available PEBs: 0, total reserved PEBs: 992, PEBs reserved for bad PEB handling: 20
[    2.139156] ubi0: background thread "ubi_bgt0d" started, PID 433
[    2.147050] block ubiblock0_5: created from ubi0:5(rootfs)
[    2.152562] ubiblock: device ubiblock0_5 (rootfs) set to be root filesystem
[    2.159749] clk: Disabling unused clocks
[    2.171744] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.179111] Freeing unused kernel memory: 448K
[    2.183611] Run /sbin/init as init process
[    2.187694]   with arguments:
[    2.190648]     /sbin/init
[    2.193353]   with environment:
[    2.196481]     HOME=/
[    2.198828]     TERM=linux
[    2.431441] init: Console is alive
[    2.435035] init: - watchdog -
[    3.321862] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.362181] random: crng init done
[    3.380861] usbcore: registered new interface driver usbfs
[    3.386418] usbcore: registered new interface driver hub
[    3.391758] usbcore: registered new device driver usb
[    3.404083] usbcore: registered new interface driver usb-storage
[    3.410341] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.426297] init: - preinit -
[    3.807348] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    3.815841] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    3.824516] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
RTNETLINK answers: Resource busy
[    3.885222] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
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
[    5.960971] mount_root: loading kmods from internal overlay
[    5.976977] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.985008] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    6.287451] UBIFS (ubi0:6): Mounting in unauthenticated mode
[    6.293233] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 571
[    6.352355] UBIFS (ubi0:6): recovery needed
[    6.523621] UBIFS (ubi0:6): recovery completed
[    6.528123] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
[    6.535967] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.545873] UBIFS (ubi0:6): FS size: 95105024 bytes (90 MiB, 749 LEBs), max 760 LEBs, journal size 4825088 bytes (4 MiB, 38 LEBs)
[    6.557513] UBIFS (ubi0:6): reserved for root: 4492045 bytes (4386 KiB)
[    6.564119] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7E32A07E-2D5F-425B-AFE5-BD958985681E, small LPT model
[    6.576020] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    6.588305] block: extroot: not configured
[    6.592543] UBIFS (ubi0:6): un-mount UBI device 0
[    6.597251] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" stops
[    6.607117] UBIFS (ubi0:6): Mounting in unauthenticated mode
[    6.612887] UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 574
[    6.729041] UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
[    6.736893] UBIFS (ubi0:6): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    6.746797] UBIFS (ubi0:6): FS size: 95105024 bytes (90 MiB, 749 LEBs), max 760 LEBs, journal size 4825088 bytes (4 MiB, 38 LEBs)
[    6.758442] UBIFS (ubi0:6): reserved for root: 4492045 bytes (4386 KiB)
[    6.765047] UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 7E32A07E-2D5F-425B-AFE5-BD958985681E, small LPT model
[    6.781487] mount_root: loading kmods from internal overlay
[    6.796721] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    6.807014] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[    7.007217] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[    7.019505] block: extroot: not configured
[    7.026249] mount_root: switching to ubifs overlay
[    7.038629] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    7.053229] urandom-seed: Seeding with /etc/urandom.seed
[    7.103707] procd: - early -
[    7.106659] procd: - watchdog -
[    7.652395] procd: - watchdog -
[    7.698631] procd: - ubus -
[    7.785311] procd: - init -
Please press Enter to activate this console.
[    8.443371] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.459085] NET: Registered PF_ALG protocol family
[    8.479727] Key type dns_resolver registered
[    8.532384] Key type cifs.idmap registered
[    8.542459] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[    8.550026] tun: Universal TUN/TAP device driver, 1.6
[    8.565471] l2tp_core: L2TP core driver, V2.0
[    8.570790] l2tp_netlink: L2TP netlink interface
[    8.576784] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    8.585595] gre: GRE over IPv4 demultiplexor driver
[    8.591676] ip_gre: GRE over IPv4 tunneling driver
[    8.600010] ip6_gre: GRE over IPv6 tunneling driver
[    8.608030] GACT probability on
[    8.611903] Mirror/redirect action on
[    8.619911] u32 classifier
[    8.622683]     input device check on
[    8.626340]     Actions configured
[    8.634861] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    8.697226] urngd: v1.0.2 started.
[    8.912015] Bridge firewalling registered
[    8.916716] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[    8.924307] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[    8.952841] xt_time: kernel timezone is -0000
[    9.286239] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221208201745a
[    9.286239]
[    9.527427] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221208201806
[    9.645132] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221208202048
[    9.737289] mt798x-wmac 18000000.wifi: eeprom load fail, use default bin
[    9.746741] mt798x-wmac 18000000.wifi: missing precal data, size=200720
[    9.753439] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[    9.761969] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[    9.810342] PPP generic driver version 2.4.2
[    9.815524] PPP MPPE Compression module registered
[    9.821145] NET: Registered PF_PPPOX protocol family
[    9.827050] PPTP driver version 0.8.5
[    9.832786] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    9.840613] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    9.852933] batman_adv: B.A.T.M.A.N. advanced 2023.1-openwrt-7 (compatibility version 15) loaded
[    9.863325] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[    9.872703] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.731538] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   15.752521] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   15.761243] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   15.768829] device eth0 entered promiscuous mode
[   15.776499] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   15.786957] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.793586] br-lan: port 1(lan1) entered blocking state
[   15.798813] br-lan: port 1(lan1) entered disabled state
[   15.808206] device lan1 entered promiscuous mode
[   15.826664] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   15.836789] br-lan: port 2(lan2) entered blocking state
[   15.842022] br-lan: port 2(lan2) entered disabled state
[   15.849272] device lan2 entered promiscuous mode
[   15.862436] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   15.883524] br-lan: port 3(lan3) entered blocking state
[   15.888758] br-lan: port 3(lan3) entered disabled state
[   15.906423] device lan3 entered promiscuous mode
[   15.924995] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   15.935044] br-lan: port 4(lan4) entered blocking state
[   15.940277] br-lan: port 4(lan4) entered disabled state
[   15.968049] device lan4 entered promiscuous mode
[   15.985695] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/2500base-x link mode
[   15.998128] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   16.792207] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   17.205002] br-lan: port 5(phy0-ap0) entered blocking state
[   17.210596] br-lan: port 5(phy0-ap0) entered disabled state
[   17.216477] device phy0-ap0 entered promiscuous mode
[   17.221593] br-lan: port 5(phy0-ap0) entered blocking state
[   17.227223] br-lan: port 5(phy0-ap0) entered forwarding state
[   17.235992] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   17.350713] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[   17.972493] br-lan: port 6(phy1-ap0) entered blocking state
[   17.978081] br-lan: port 6(phy1-ap0) entered disabled state
[   17.983894] device phy1-ap0 entered promiscuous mode
[   17.988945] br-lan: port 6(phy1-ap0) entered blocking state
[   17.994554] br-lan: port 6(phy1-ap0) entered forwarding state
[   18.001041] br-lan: port 6(phy1-ap0) entered disabled state
[   18.685962] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   18.692762] br-lan: port 6(phy1-ap0) entered blocking state
[   18.698338] br-lan: port 6(phy1-ap0) entered forwarding state
[   20.078782] mt7530-mdio mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.086746] br-lan: port 4(lan4) entered blocking state
[   20.091965] br-lan: port 4(lan4) entered forwarding state

2 Likes

Definitely not a developer of any sort but have been attempting to get my ax57m to work. Openwrt installs fine using the above method but cannot get Wan(eth1) to connect. Have tried using pppoe, and plugging the wan port into my currently running sophos router using both the gui and or configuring via ssh and can not get the interface to connect to the network. When I restore back to AsusWRT it immediately connects to the network and internet. Any suggestions?

Is cable up? Why you dont use wan for wan? Open a new issue explaiining changes you made to break it.

Firmware flashed successfully for me as well, but no WAN connectivity over eth1. This is because auto negotiation is broken! 2.5G WAN port refuses to do 1G - TX packets seen but no RX packets. Using ethtool to force speed, duplex, or negotiation does not work. Check similar issue with a different router using the MT7530 @ https://github.com/openwrt/openwrt/issues/15348