Ok, my messy soldering skills aside I have successfully connected via serial. It shows that Busybox/OpenWRT is running and I'm in the shell. Not sure what to do from here - is there some way of rescuing the system from inside? Or should I just flash the netgear software and wait for a known working firmware to come along?
ip link
only shows 3 interfaces - loopback, eth0 and br-lan - no wifi radios.
Here's the full dmesg if someone can make any sense of what's going wrong:
root@OpenWrt:/# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.15.133 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24096-9536446965) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Fri Oct 6 19:59:29 2023
[ 0.000000] Machine model: Netgear WAX220
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
[ 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-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 17 pages/cpu s30040 r8192 d31400 u69632
[ 0.000000] pcpu-alloc: s30040 r8192 d31400 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: 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: 258048
[ 0.000000] Kernel command line:
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1011568K/1048576K available (8384K kernel code, 912K rwdata, 2288K rodata, 448K init, 303K bss, 37008K 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 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 640 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.000107] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000115] pid_max: default: 32768 minimum: 301
[ 0.000320] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.000330] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.001360] rcu: Hierarchical SRCU implementation.
[ 0.001623] smp: Bringing up secondary CPUs ...
[ 0.001877] Detected VIPT I-cache on CPU1
[ 0.001900] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.001925] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.002185] Detected VIPT I-cache on CPU2
[ 0.002196] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.002208] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.002444] 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.002489] smp: Brought up 1 node, 4 CPUs
[ 0.002502] SMP: Total of 4 processors activated.
[ 0.002506] CPU features: detected: 32-bit EL0 Support
[ 0.002509] CPU features: detected: CRC32 instructions
[ 0.002533] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.002586] CPU: All CPU(s) started at EL2
[ 0.002597] alternatives: patching kernel code
[ 0.004971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.004992] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.005134] pinctrl core: initialized pinctrl subsystem
[ 0.005771] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.006013] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.006035] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.006053] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.006304] thermal_sys: Registered thermal governor 'fair_share'
[ 0.006308] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.006311] thermal_sys: Registered thermal governor 'step_wise'
[ 0.006314] thermal_sys: Registered thermal governor 'user_space'
[ 0.006467] ASID allocator initialised with 65536 entries
[ 0.006788] pstore: Registered ramoops as persistent store backend
[ 0.006792] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.014196] cryptd: max_cpu_qlen set to 1000
[ 0.015677] SCSI subsystem initialized
[ 0.015762] libata version 3.00 loaded.
[ 0.016544] clocksource: Switched to clocksource arch_sys_counter
[ 0.016992] NET: Registered PF_INET protocol family
[ 0.017079] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.017534] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.017549] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.017556] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.017594] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.017680] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.017750] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.017767] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.017875] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.017900] PCI: CLS 0 bytes, default 64
[ 0.019780] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 0.022503] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.022518] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.045373] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.048586] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.049950] printk: console [ttyS0] disabled
[ 0.070093] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 121, base_baud = 2500000) is a ST16650V2
[ 0.707941] printk: console [ttyS0] enabled
[ 0.712734] mtk_rng 1020f000.rng: registered RNG driver
[ 0.712792] hwrng: no data available
[ 0.718172] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.729704] loop: module loaded
[ 0.732854] Loading iSCSI transport class v2.0-870.
[ 0.739020] spi spi0.0: setup: ignoring unsupported mode bits a00
[ 0.745359] spi-nand spi0.0: Winbond SPI NAND was found.
[ 0.750696] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 0.760017] Signature found at block 1023 [0x07fe0000]
[ 0.765136] NMBM management region starts at block 960 [0x07800000]
[ 0.775694] First info table with writecount 0 found in block 960
[ 0.794634] Second info table with writecount 0 found in block 963
[ 0.800805] NMBM has been successfully attached
[ 0.805524] 14 fixed-partitions partitions found on MTD device spi0.0
[ 0.811981] Creating 14 MTD partitions on "spi0.0":
[ 0.816845] 0x000000000000-0x000000100000 : "BL2"
[ 0.822701] 0x000000100000-0x000000180000 : "u-boot-env"
[ 0.828675] 0x000000180000-0x000000380000 : "Factory"
[ 0.835515] 0x000000380000-0x000000580000 : "FIP"
[ 0.842038] 0x000000580000-0x0000056c0000 : "ubi"
[ 0.914423] 0x0000056c0000-0x000005ac0000 : "RAE"
[ 0.922530] 0x000005ac0000-0x000005bc0000 : "POT"
[ 0.928263] 0x000005bc0000-0x000005fc0000 : "Language"
[ 0.936775] 0x000005fc0000-0x0000061c0000 : "Traffic"
[ 0.943599] 0x0000061c0000-0x0000062c0000 : "Cert"
[ 0.949451] 0x0000062c0000-0x0000063c0000 : "NTGRcryptK"
[ 0.955809] 0x0000063c0000-0x0000068c0000 : "NTGRcryptD"
[ 0.965385] 0x0000068c0000-0x0000069c0000 : "LOG"
[ 0.971142] 0x0000069c0000-0x000007000000 : "User_data"
[ 1.107722] mtk_soc_eth 15100000.ethernet: generated random MAC address 3a:bd:51:35:e7:10
[ 1.468639] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009800000, irq 128
[ 1.478150] i2c_dev: i2c /dev entries driver
[ 1.483364] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.491798] NET: Registered PF_INET6 protocol family
[ 1.497342] Segment Routing with IPv6
[ 1.501016] In-situ OAM (IOAM) with IPv6
[ 1.504955] NET: Registered PF_PACKET protocol family
[ 1.510018] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.523043] 8021q: 802.1Q VLAN Support v1.8
[ 1.528004] pstore: Using crash dump compression: deflate
[ 1.539621] UBI: auto-attach mtd4
[ 1.542939] ubi0: default fastmap pool size: 30
[ 1.547475] ubi0: default fastmap WL pool size: 15
[ 1.552247] ubi0: attaching mtd4
[ 2.918140] ubi0: scanning is finished
[ 2.945555] ubi0: attached mtd4 (name "ubi", size 81 MiB)
[ 2.950964] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.957823] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.964590] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.971531] ubi0: good PEBs: 650, bad PEBs: 0, corrupted PEBs: 0
[ 2.977521] ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128
[ 2.984720] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1664355062
[ 2.993829] ubi0: available PEBs: 185, total reserved PEBs: 465, PEBs reserved for bad PEB handling: 19
[ 3.003203] ubi0: background thread "ubi_bgt0d" started, PID 474
[ 3.006902] block ubiblock0_1: created from ubi0:1(rootfs)
[ 3.014658] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 3.036804] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.044095] Freeing unused kernel memory: 448K
[ 3.126576] Run /sbin/init as init process
[ 3.130656] with arguments:
[ 3.133607] /sbin/init
[ 3.136298] with environment:
[ 3.139429] HOME=/
[ 3.141773] TERM=linux
[ 3.470391] init: Console is alive
[ 3.473900] init: - watchdog -
[ 4.090928] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.129566] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.141449] init: - preinit -
[ 4.826558] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:06] driver [RTL8221B-VB-CG 2.5Gbps PHY] (irq=62)
[ 4.836668] mt7986b-pinctrl 1001f000.pinctrl: Can not find pin
[ 4.842482] genirq: Failed to request resources for mdio-bus:06 (irq 62) on irqchip mt-eint
[ 4.850836] RTL8221B-VB-CG 2.5Gbps PHY mdio-bus:06: Error -22 requesting IRQ 62, falling back to polling
[ 4.862422] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
[ 4.918813] random: procd: uninitialized urandom read (4 bytes read)
[ 6.986231] UBIFS (ubi0:20): Mounting in unauthenticated mode
[ 6.992066] UBIFS (ubi0:20): background thread "ubifs_bgt0_20" started, PID 572
[ 7.122520] UBIFS (ubi0:20): recovery needed
[ 7.356551] random: crng init done
[ 7.451521] UBIFS (ubi0:20): recovery completed
[ 7.456093] UBIFS (ubi0:20): UBIFS: mounted UBI device 0, volume 20, name "rootfs_data"
[ 7.464085] UBIFS (ubi0:20): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.474066] UBIFS (ubi0:20): FS size: 33013760 bytes (31 MiB, 260 LEBs), max 270 LEBs, journal size 1650688 bytes (1 MiB, 13 LEBs)
[ 7.485779] UBIFS (ubi0:20): reserved for root: 1559321 bytes (1522 KiB)
[ 7.492466] UBIFS (ubi0:20): media format: w5/r0 (latest is w5/r0), UUID 8232A0F5-57CC-445D-9E81-3C35F0DF5BEC, small LPT model
[ 7.511537] mount_root: switching to ubifs overlay
[ 7.527827] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 7.552327] urandom-seed: Seeding with /etc/urandom.seed
[ 7.621661] procd: - early -
[ 7.624584] procd: - watchdog -
[ 8.007008] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 100Mbps/Unknown - flow control off
[ 8.015726] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.177782] procd: - watchdog -
[ 8.181135] procd: - ubus -
[ 8.247879] procd: - init -
[ 8.514827] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.526151] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[ 8.540267] Loading modules backported from Linux version v6.5-0-g2dde18cd1d8f
[ 8.547516] Backport generated by backports.git v5.15.92-1-56-g5fb2ccb6b9e8
[ 8.632873] urngd: v1.0.2 started.
[ 8.879945] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174648a
[ 8.879945]
[ 9.208488] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174725
[ 9.358949] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[ 9.580647] mtdblock: MTD device 'u-boot-env' is NAND, please consider using UBI block devices instead.
[ 10.704125] mtdblock: MTD device 'u-boot-env' is NAND, please consider using UBI block devices instead.
[ 12.329274] PPP generic driver version 2.4.2
[ 12.334226] NET: Registered PF_PPPOX protocol family
[ 12.341384] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 14.935045] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[ 15.346559] mtk_soc_eth 15100000.ethernet eth0: PHY [mdio-bus:06] driver [RTL8221B-VB-CG 2.5Gbps PHY] (irq=POLL)
[ 15.358888] mtk_soc_eth 15100000.ethernet eth0: configuring for phy/2500base-x link mode
[ 15.407108] br-lan: port 1(eth0) entered blocking state
[ 15.412321] br-lan: port 1(eth0) entered disabled state
[ 15.417674] device eth0 entered promiscuous mode