Install Openwrt on Kuwfi wr181

Hi all,

First of all I want to say that I am used to use OpenWRT but not at all about installing it on none officially yet supported hardware. Please excuse my ignorance.

I got myself a WR181 from Kuwfi. The provided firmware(old OpenWRT version) doesn't not really match my needs. (I am also curious how to install OpenWRT on it).

I have access to the serial port (115200 8N1).
Here is what I've learned from it:

Hardware:
Boot and Recovery Environment for Embedded Devices
Copyright (C) 2018 HackPascal hackpascal@gmail.com
Build date 2018-12-29 [git-135bed9]
Version 1.1 (r1266)

DRAM: 64MB
Platform: MediaTek MT7628AN/MT7688AN ver 1, eco 2
Board: HiWiFi HC5661A
Clocks: CPU: 575MHz, Bus: 191MHz, Ref: 25MHz
Flash: Winbond W25Q64 (8MB) on mt7628-spi.0
rt5350-eth: Using MAC address c8:ee:a6:61:2d:26
eth0: MediaTek MT7628 built-in 5-port 10/100M switch

From breed WebUI I could make a full backup of the current memory.
Then went ahead and installed openwrt-23.05.4-ramips-mt76x8-mediatek_mt7628an-eval-board-initramfs-kernel.bin

System Logs
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.000000] Linux version 5.15.162 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Mon Jul 15 22:14:18 2024
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Board has DDR2
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Analog PMU set to hw control
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Digital PMU set to hw control
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] printk: bootconsole [early0] enabled
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] MIPS: machine is Mediatek MT7628AN evaluation board
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Zone ranges:
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Movable zone start for each node
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Early memory node ranges
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Writing ErrCtl register=0005ea30
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Readback ErrCtl register=0005ea30
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] Memory: 56024K/65536K available (5980K kernel code, 605K rwdata, 748K rodata, 1232K init, 217K bss, 9512K reserved, 0K cma-reserved)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] NR_IRQS: 256
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] intc: using register map from devicetree
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] CPU Clock: 575MHz
Mon Jul 15 22:15:18 2024 kern.crit kernel: [    0.000000] timer_probe: no matching timers found
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.000002] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.008007] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.074169] pid_max: default: 32768 minimum: 301
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.079996] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.087379] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.104198] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.114195] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.121284] pinctrl core: initialized pinctrl subsystem
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.128836] NET: Registered PF_NETLINK/PF_ROUTE protocol family
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.135519] thermal_sys: Registered thermal governor 'step_wise'
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.153251] clocksource: Switched to clocksource MIPS
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.166378] NET: Registered PF_INET protocol family
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.171567] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.180124] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.188743] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.196546] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.204303] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.211415] TCP: Hash tables configured (established 1024 bind 1024)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.218044] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.224697] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.232236] NET: Registered PF_UNIX/PF_LOCAL protocol family
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.238029] PCI: CLS 0 bytes, default 32
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.246933] workingset: timestamp_bits=14 max_order=14 bucket_order=0
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.260808] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.266765] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.278722] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.289710] mt7621_gpio 10000600.gpio: registering 32 gpios
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.295708] mt7621_gpio 10000600.gpio: registering 32 gpios
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.301651] mt7621_gpio 10000600.gpio: registering 32 gpios
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.308025] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.318055] printk: console [ttyS0] disabled
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.322435] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.331655] printk: console [ttyS0] enabled
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.348054] printk: bootconsole [early0] disabled
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.368631] spi-mt7621 10000b00.spi: sys_freq: 191666666
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.404841] spi-nor spi0.0: s25fl064k (8192 Kbytes)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.414683] 4 fixed-partitions partitions found on MTD device spi0.0
Mon Jul 15 22:15:18 2024 kern.err kernel: [    0.427321] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
Mon Jul 15 22:15:18 2024 kern.err kernel: [    0.441845] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.456640] Creating 4 MTD partitions on "spi0.0":
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.466171] 0x000000000000-0x000000030000 : "u-boot"
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.479278] 0x000000030000-0x000000040000 : "u-boot-env"
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.491318] 0x000000040000-0x000000050000 : "factory"
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.504949] 0x000000050000-0x000000800000 : "firmware"
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.516863] 2 uimage-fw partitions found on MTD device firmware
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.528688] Creating 2 MTD partitions on "firmware":
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.538531] 0x000000000000-0x000000234c04 : "kernel"
Mon Jul 15 22:15:18 2024 kern.warn kernel: [    0.548368] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.568024] 0x000000234c04-0x0000007b0000 : "rootfs"
Mon Jul 15 22:15:18 2024 kern.warn kernel: [    0.577960] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.597588] mtd: setting mtd5 (rootfs) as root device
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.608840] 1 squashfs-split partitions found on MTD device rootfs
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    0.621199] 0x0000005c0000-0x0000007b0000 : "rootfs_data"
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.665735] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
Mon Jul 15 22:15:18 2024 kern.err kernel: [    0.681067] mtk_soc_eth 10100000.ethernet: generated random MAC address 66:ac:ad:50:31:6a
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.698096] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.717156] NET: Registered PF_INET6 protocol family
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.734644] Segment Routing with IPv6
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.742006] In-situ OAM (IOAM) with IPv6
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.750056] NET: Registered PF_PACKET protocol family
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.760249] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.786312] 8021q: 802.1Q VLAN Support v1.8
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.796978] clk: Disabling unused clocks
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.818671] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.839605] Freeing unused kernel image (initmem) memory: 1232K
Mon Jul 15 22:15:18 2024 kern.warn kernel: [    0.851367] This architecture does not have kernel memory protection.
Mon Jul 15 22:15:18 2024 kern.info kernel: [    0.864137] Run /sbin/init as init process
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.872235]   with arguments:
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.872241]     /sbin/init
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.872249]   with environment:
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.872255]     HOME=/
Mon Jul 15 22:15:18 2024 kern.debug kernel: [    0.872261]     TERM=linux
Mon Jul 15 22:15:18 2024 user.info kernel: [    1.881607] init: Console is alive
Mon Jul 15 22:15:18 2024 user.info kernel: [    1.889173] init: - watchdog -
Mon Jul 15 22:15:18 2024 user.info kernel: [    3.432807] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.540736] usbcore: registered new interface driver usbfs
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.551814] usbcore: registered new interface driver hub
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.562519] usbcore: registered new device driver usb
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.580639] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.596776] fsl-ehci: Freescale EHCI Host controller driver
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.609923] ehci-platform: EHCI generic platform driver
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.630937] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.644250] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.654603] ehci-platform 101c0000.ehci: EHCI Host Controller
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.666023] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.681872] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.723268] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.737035] hub 1-0:1.0: USB hub found
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.745499] hub 1-0:1.0: 1 port detected
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.762007] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.776028] ohci-platform: OHCI generic platform driver
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.786919] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.800454] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.816384] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.898474] hub 2-0:1.0: USB hub found
Mon Jul 15 22:15:18 2024 kern.info kernel: [    3.907003] hub 2-0:1.0: 1 port detected
Mon Jul 15 22:15:18 2024 user.info kernel: [    3.921701] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Mon Jul 15 22:15:18 2024 user.info kernel: [    3.946838] init: - preinit -
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    5.625932] random: jshn: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    5.833494] random: jshn: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    6.021062] random: jshn: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    6.732658] random: procd: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [    9.116352] jffs2: notice: (301) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 5 orphan) and 11 of xref (5 dead, 0 orphan) found.
Mon Jul 15 22:15:18 2024 user.info kernel: [    9.150046] mount_root: switching to jffs2 overlay
Mon Jul 15 22:15:18 2024 kern.warn kernel: [    9.165239] overlayfs: upper fs does not support tmpfile.
Mon Jul 15 22:15:18 2024 user.warn kernel: [    9.185861] urandom-seed: Seeding with /etc/urandom.seed
Mon Jul 15 22:15:18 2024 user.info kernel: [    9.335780] procd: - early -
Mon Jul 15 22:15:18 2024 user.info kernel: [    9.341928] procd: - watchdog -
Mon Jul 15 22:15:18 2024 user.info kernel: [   10.306407] procd: - watchdog -
Mon Jul 15 22:15:18 2024 user.info kernel: [   10.313566] procd: - ubus -
Mon Jul 15 22:15:18 2024 kern.notice kernel: [   10.497549] random: ubusd: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [   10.514387] random: ubusd: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [   10.527780] random: ubusd: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 user.info kernel: [   10.545554] procd: - init -
Mon Jul 15 22:15:18 2024 kern.notice kernel: [   11.833148] random: jshn: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [   11.922453] random: ubusd: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 kern.notice kernel: [   11.953630] random: ubus: uninitialized urandom read (4 bytes read)
Mon Jul 15 22:15:18 2024 user.info kernel: [   12.143094] kmodloader: loading kernel modules from /etc/modules.d/*
Mon Jul 15 22:15:18 2024 kern.info kernel: [   12.784884] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
Mon Jul 15 22:15:18 2024 kern.info kernel: [   12.799977] Backport generated by backports.git v6.1.97-1-0-g2431d56e
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.417021] mt76_wmac 10300000.wmac: ASIC revision: 76280001
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.447254] mt76_wmac 10300000.wmac: Firmware Version: 20151201
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.459081] mt76_wmac 10300000.wmac: Build Time: 20151201183641
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.503302] mt76_wmac 10300000.wmac: firmware init done
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.684689] mt76_wmac 10300000.wmac: registering led 'mt76-phy0'
Mon Jul 15 22:15:18 2024 kern.debug kernel: [   13.698747] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.939420] PPP generic driver version 2.4.2
Mon Jul 15 22:15:18 2024 kern.info kernel: [   13.974464] NET: Registered PF_PPPOX protocol family
Mon Jul 15 22:15:18 2024 user.info kernel: [   14.032955] kmodloader: done loading kernel modules from /etc/modules.d/*
Mon Jul 15 22:15:18 2024 user.info kernel: [   17.611783] urngd: v1.0.2 started.
Mon Jul 15 22:15:22 2024 kern.notice kernel: [   22.599262] random: crng init done
Mon Jul 15 22:15:22 2024 kern.notice kernel: [   22.606126] random: 69 urandom warning(s) missed due to ratelimiting
Mon Jul 15 22:15:22 2024 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Mon Jul 15 22:15:22 2024 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: started, version 2.90 cachesize 1000
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: DNS service limited to local subnets
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Mon Jul 15 22:15:23 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Jul 15 22:15:23 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 0 names
Mon Jul 15 22:15:24 2024 authpriv.info dropbear[962]: Not backgrounding
Mon Jul 15 22:15:30 2024 daemon.notice wpa_supplicant[1070]: Successfully initialized wpa_supplicant
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: bonding
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: 8021ad
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: 8021q
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: macvlan
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: veth
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: bridge
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: Network device
Mon Jul 15 22:15:30 2024 user.notice : Added device handler type: tunnel
Mon Jul 15 22:15:35 2024 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/network
Mon Jul 15 22:15:35 2024 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/wireless
Mon Jul 15 22:15:35 2024 user.notice ucitrack: Setting up /etc/config/luci-splash reload dependency on /etc/config/firewall
Mon Jul 15 22:15:35 2024 user.notice ucitrack: Setting up /etc/config/qos reload dependency on /etc/config/firewall
Mon Jul 15 22:15:35 2024 user.notice ucitrack: Setting up /etc/config/miniupnpd reload dependency on /etc/config/firewall
Mon Jul 15 22:15:36 2024 user.notice ucitrack: Setting up /etc/config/odhcpd reload dependency on /etc/config/dhcp
Mon Jul 15 22:15:36 2024 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Mon Jul 15 22:15:37 2024 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Mon Jul 15 22:15:37 2024 user.notice ucitrack: Setting up /etc/config/luci_statistics reload dependency on /etc/config/system
Mon Jul 15 22:15:37 2024 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/system
Mon Jul 15 22:15:40 2024 kern.info kernel: [   40.054825] br-lan: port 1(eth0.1) entered blocking state
Mon Jul 15 22:15:40 2024 kern.info kernel: [   40.065626] br-lan: port 1(eth0.1) entered disabled state
Mon Jul 15 22:15:40 2024 kern.info kernel: [   40.076765] device eth0.1 entered promiscuous mode
Mon Jul 15 22:15:40 2024 kern.info kernel: [   40.086318] device eth0 entered promiscuous mode
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'lan' is enabled
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'lan' is setting up now
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'lan' is now up
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'loopback' is enabled
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'loopback' is setting up now
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'loopback' is now up
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'wan' is enabled
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'wan6' is enabled
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Network device 'lo' link is up
Mon Jul 15 22:15:40 2024 daemon.notice netifd: Interface 'loopback' has link connectivity
Mon Jul 15 22:15:42 2024 daemon.info procd: - init complete -
Mon Jul 15 22:15:42 2024 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: started, version 2.90 cachesize 1000
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: DNS service limited to local subnets
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-nftset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for test
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for local
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Mon Jul 15 22:15:47 2024 daemon.warn dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Mon Jul 15 22:15:47 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Mon Jul 15 22:18:12 2024 kern.info kernel: [  192.876538] rt3050-esw 10110000.esw: port 3 link up
Mon Jul 15 22:18:12 2024 daemon.notice netifd: Network device 'eth0' link is up
Mon Jul 15 22:18:12 2024 kern.info kernel: [  192.886606] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Mon Jul 15 22:18:12 2024 kern.info kernel: [  192.902165] br-lan: port 1(eth0.1) entered blocking state
Mon Jul 15 22:18:12 2024 kern.info kernel: [  192.912978] br-lan: port 1(eth0.1) entered forwarding state
Mon Jul 15 22:18:12 2024 kern.info kernel: [  192.924452] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Mon Jul 15 22:18:12 2024 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Jul 15 22:18:12 2024 daemon.notice netifd: VLAN 'eth0.2' link is up
Mon Jul 15 22:18:12 2024 daemon.notice netifd: Interface 'wan' has link connectivity
Mon Jul 15 22:18:12 2024 daemon.notice netifd: Interface 'wan' is setting up now
Mon Jul 15 22:18:12 2024 daemon.notice netifd: Interface 'wan6' has link connectivity
Mon Jul 15 22:18:12 2024 daemon.notice netifd: Interface 'wan6' is setting up now
Mon Jul 15 22:18:12 2024 daemon.notice netifd: bridge 'br-lan' link is up
Mon Jul 15 22:18:12 2024 daemon.notice netifd: Interface 'lan' has link connectivity
Mon Jul 15 22:18:13 2024 kern.info kernel: [  193.003355] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Mon Jul 15 22:18:13 2024 daemon.notice netifd: wan (2109): udhcpc: started, v1.36.1
Mon Jul 15 22:18:13 2024 daemon.err odhcp6c[2108]: Failed to send RS (Address not available)
Mon Jul 15 22:18:13 2024 daemon.err odhcp6c[2108]: Failed to send SOLICIT message to ff02::1:2 (Address not available)
Mon Jul 15 22:18:13 2024 daemon.notice netifd: wan (2109): udhcpc: broadcasting discover
Mon Jul 15 22:18:15 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Jul 15 22:18:15 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Mon Jul 15 22:18:15 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Mon Jul 15 22:18:16 2024 daemon.notice netifd: wan (2109): udhcpc: broadcasting discover
Mon Jul 15 22:18:19 2024 daemon.notice netifd: wan (2109): udhcpc: broadcasting discover
Mon Jul 15 22:18:27 2024 daemon.err uhttpd[1364]: [info] luci: accepted login on / for root from 192.168.1.10
Mon Jul 15 22:18:30 2024 daemon.warn odhcpd[1246]: No default route present, overriding ra_lifetime!

Not supported by Openwrt.

64mb RAM is a dead end, 8mb flash even more so.

1 Like
Kernel Logs
[    0.000000] Linux version 5.15.162 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24012-d8dd03c46f) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Mon Jul 15 22:14:18 2024
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is Mediatek MT7628AN evaluation board
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=0005ea30
[    0.000000] Readback ErrCtl register=0005ea30
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56024K/65536K available (5980K kernel code, 605K rwdata, 748K rodata, 1232K init, 217K bss, 9512K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 575MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns
[    0.000002] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns
[    0.008006] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.074169] pid_max: default: 32768 minimum: 301
[    0.079996] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.087380] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.104179] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.114175] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.121264] pinctrl core: initialized pinctrl subsystem
[    0.128821] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.135499] thermal_sys: Registered thermal governor 'step_wise'
[    0.153234] clocksource: Switched to clocksource MIPS
[    0.166364] NET: Registered PF_INET protocol family
[    0.171553] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.180116] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.188735] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.196538] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.204296] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.211407] TCP: Hash tables configured (established 1024 bind 1024)
[    0.218039] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.224693] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.232233] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.238026] PCI: CLS 0 bytes, default 32
[    0.246961] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.260830] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.266787] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.278735] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.289731] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.295732] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.301673] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.308055] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.318082] printk: console [ttyS0] disabled
[    0.322463] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.331683] printk: console [ttyS0] enabled
[    0.348082] printk: bootconsole [early0] disabled
[    0.368664] spi-mt7621 10000b00.spi: sys_freq: 191666666
[    0.404550] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.414381] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.427018] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.441543] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    0.456339] Creating 4 MTD partitions on "spi0.0":
[    0.465869] 0x000000000000-0x000000030000 : "u-boot"
[    0.478868] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.490927] 0x000000040000-0x000000050000 : "factory"
[    0.504576] 0x000000050000-0x000000800000 : "firmware"
[    0.516497] 2 uimage-fw partitions found on MTD device firmware
[    0.528324] Creating 2 MTD partitions on "firmware":
[    0.538166] 0x000000000000-0x000000234c04 : "kernel"
[    0.548002] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    0.567663] 0x000000234c04-0x0000007b0000 : "rootfs"
[    0.577600] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    0.597236] mtd: setting mtd5 (rootfs) as root device
[    0.608484] 1 squashfs-split partitions found on MTD device rootfs
[    0.620847] 0x0000005c0000-0x0000007b0000 : "rootfs_data"
[    0.665438] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[    0.680769] mtk_soc_eth 10100000.ethernet: generated random MAC address 36:83:1e:52:d1:1f
[    0.697796] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.716856] NET: Registered PF_INET6 protocol family
[    0.734361] Segment Routing with IPv6
[    0.741722] In-situ OAM (IOAM) with IPv6
[    0.749766] NET: Registered PF_PACKET protocol family
[    0.759957] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.786018] 8021q: 802.1Q VLAN Support v1.8
[    0.796715] clk: Disabling unused clocks
[    0.818380] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    0.839253] Freeing unused kernel image (initmem) memory: 1232K
[    0.851016] This architecture does not have kernel memory protection.
[    0.863784] Run /sbin/init as init process
[    0.871883]   with arguments:
[    0.871889]     /sbin/init
[    0.871897]   with environment:
[    0.871903]     HOME=/
[    0.871909]     TERM=linux
[    1.880639] init: Console is alive
[    1.888222] init: - watchdog -
[    3.431548] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.539323] usbcore: registered new interface driver usbfs
[    3.550381] usbcore: registered new interface driver hub
[    3.561101] usbcore: registered new device driver usb
[    3.579328] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.595590] fsl-ehci: Freescale EHCI Host controller driver
[    3.608746] ehci-platform: EHCI generic platform driver
[    3.629742] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    3.643050] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    3.653406] ehci-platform 101c0000.ehci: EHCI Host Controller
[    3.664826] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    3.680677] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    3.713292] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    3.727062] hub 1-0:1.0: USB hub found
[    3.735536] hub 1-0:1.0: 1 port detected
[    3.752032] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.766056] ohci-platform: OHCI generic platform driver
[    3.776944] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    3.790480] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    3.806423] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    3.888461] hub 2-0:1.0: USB hub found
[    3.896987] hub 2-0:1.0: 1 port detected
[    3.911774] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.936908] init: - preinit -
[    4.734003] rt3050-esw 10110000.esw: port 3 link up
[    5.624626] random: jshn: uninitialized urandom read (4 bytes read)
[    5.832434] random: jshn: uninitialized urandom read (4 bytes read)
[    6.019921] random: jshn: uninitialized urandom read (4 bytes read)
[    6.536132] rt3050-esw 10110000.esw: port 3 link down
[    6.742540] random: procd: uninitialized urandom read (4 bytes read)
[    9.139846] jffs2: notice: (301) jffs2_build_xattr_subsystem: complete building xattr subsystem, 11 of xdatum (0 unchecked, 6 orphan) and 12 of xref (6 dead, 0 orphan) found.
[    9.173653] mount_root: switching to jffs2 overlay
[    9.188759] overlayfs: upper fs does not support tmpfile.
[    9.209467] urandom-seed: Seeding with /etc/urandom.seed
[    9.359440] procd: - early -
[    9.365662] procd: - watchdog -
[   10.281251] procd: - watchdog -
[   10.288321] procd: - ubus -
[   10.486027] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.502644] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.525711] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.555128] procd: - init -
[   10.792786] rt3050-esw 10110000.esw: port 3 link up
[   11.831635] random: jshn: uninitialized urandom read (4 bytes read)
[   11.930397] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.963557] random: ubus: uninitialized urandom read (4 bytes read)
[   12.106245] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.711386] Loading modules backported from Linux version v6.1.97-0-g7753af06eebfb
[   12.726502] Backport generated by backports.git v6.1.97-1-0-g2431d56e
[   13.337873] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   13.375591] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   13.387417] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   13.443247] mt76_wmac 10300000.wmac: firmware init done
[   13.625780] mt76_wmac 10300000.wmac: registering led 'mt76-phy0'
[   13.639876] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   13.889106] PPP generic driver version 2.4.2
[   13.924552] NET: Registered PF_PPPOX protocol family
[   14.051108] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.709095] urngd: v1.0.2 started.
[   22.743834] random: crng init done
[   22.750596] random: 69 urandom warning(s) missed due to ratelimiting
[   29.619185] rt3050-esw 10110000.esw: port 3 link down
[   33.749668] rt3050-esw 10110000.esw: port 3 link up
[   40.001959] br-lan: port 1(eth0.1) entered blocking state
[   40.012782] br-lan: port 1(eth0.1) entered disabled state
[   40.023909] device eth0.1 entered promiscuous mode
[   40.033464] device eth0 entered promiscuous mode
[   40.116403] br-lan: port 1(eth0.1) entered blocking state
[   40.127203] br-lan: port 1(eth0.1) entered forwarding state
[   40.983741] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
cat /proc/mtd

dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 007b0000 00010000 "firmware"
mtd4: 00234c04 00010000 "kernel"
mtd5: 0057b3fc 00010000 "rootfs"
mtd6: 001f0000 00010000 "rootfs_data"

cat /proc/cpuinfo

system type : MediaTek MT7628AN ver:1 eco:2
machine : Mediatek MT7628AN evaluation board
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 380.92
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp
Options implemented : tlb 4kex 4k_cache prefetch mcheck ejtag llsc pindexed_dcache userlocal vint perf_cntr_intr_bit perf mm_full
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

So far so good.
But ...
I identified at least three problems.

  • The router reboots on its own every 5 to 15min.
  • The MAC address changes after each reboot
  • The Quectel EC200A-EU is not listed in USB devices (In OEM Boot Logs below the modem is attached to /dev/ttyUSB0)

Any help would be really appreciated.

I guess the OP missed your post

Yes I red this about ram and flash, but since the original firmware was already a custom openwrt I was hoping I could manage to make it as small as possible.
I do not need luci, the traffic will be very low and without complicated routing.

Sure, but it'll be your own personal hobby project, since official support ain't happening.

1 Like

Of course, I do not ask for any official support. Was just hoping I could get hints from experts. Should I post all of this somewhere else ?

Do you have OEM boot log - the netbooted image shows 16MB flash? Can you read a block past 8MB?

Yes here.

Unfortunately I do not have access to the OS itself, SSH and Telnet are Password protected and of course KuWfi didn't want to provide credentials...

OEM Boot Logs
Trying to boot firmware from 0x00050000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
    Image Name:   R32
    Data Size:    1282980 Bytes
    Load Address: 80000000
    Entry Point:  80000000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80000000...

[    0.000000] Linux version 4.4.140 (abu@openwrt) (gcc version 5.4.0 (LEDE GCC 5.4.0 1.0.177) ) #0 Fri Nov 3 13:00:41 2023
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is R32
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0007ea30
[    0.000000] Readback ErrCtl register=0007ea30
[    0.000000] Memory: 60708K/65536K available (2965K kernel code, 139K rwdata, 704K rodata, 152K init, 195K bss, 4828K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 575MHz
[    0.000000] clocksource_probe: no matching clocksources found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6647862422 ns
[    0.000012] sched_clock: 32 bits at 287MHz, resolution 3ns, wraps every 7469508094ns
[    0.007875] Calibrating delay loop... 380.92 BogoMIPS (lpj=1904640)
[    0.070473] pid_max: default: 32768 minimum: 301
[    0.075286] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.081923] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.095850] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.105803] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.112140] pinctrl core: initialized pinctrl subsystem
[    0.118179] NET: Registered protocol family 16
[    0.227763] mt7620-pci 10140000.pcie: Port 0 N_FTS = 1b105000
[    0.382685] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[    0.389429] mt7620-pci: probe of 10140000.pcie failed with error -1
[    0.408352] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.414150] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.419826] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.427116] clocksource: Switched to clocksource MIPS
[    0.433788] NET: Registered protocol family 2
[    0.439122] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.446134] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.452608] TCP: Hash tables configured (established 1024 bind 1024)
[    0.459092] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.464954] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.471619] NET: Registered protocol family 1
[    0.481012] Crashlog allocated RAM at address 0x3f00000
[    0.502545] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.508468] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.521114] io scheduler noop registered
[    0.525030] io scheduler deadline registered (default)
[    0.531322] gpio-export gpio_export: 3 gpio(s) exported
[    0.536796] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.544535] console [ttyS0] disabled
[    0.548182] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.557310] console [ttyS0] enabled
[    0.557310] console [ttyS0] enabled
[    0.564313] bootconsole [early0] disabled
[    0.564313] bootconsole [early0] disabled
[    0.574001] spi-mt7621 10000b00.spi: sys_freq: 191666666
[    0.583407] m25p80 spi32766.0: using chunked io (size=32)
[    0.588967] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
[    0.594262] 6 ofpart partitions found on MTD device spi32766.0
[    0.600186] Creating 6 MTD partitions on "spi32766.0":
[    0.605402] 0x000000000000-0x000000030000 : "u-boot"
[    0.612243] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.619551] 0x000000040000-0x000000050000 : "factory"
[    0.626486] 0x0000007e0000-0x0000007f0000 : "backup"
[    0.633440] 0x0000007f0000-0x000000800000 : "bdinfo"
[    0.640399] 0x000000050000-0x0000007e0000 : "firmware"
[    0.672094] 2 uimage-fw partitions found on MTD device firmware
[    0.678145] 0x000000050000-0x0000001893e4 : "kernel"
[    0.684809] 0x0000001893e4-0x0000007e0000 : "rootfs"
[    0.691733] mtd: device 7 (rootfs) set to be root filesystem
[    0.697645] 1 squashfs-split partitions found on MTD device rootfs
[    0.703922] 0x0000006f0000-0x0000007e0000 : "rootfs_data"
[    0.720686] rt3050-esw 10110000.esw: link changed 0x00
[    0.728373] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.737370] mt7621_wdt 10000100.watchdog: Initialized
[    0.744061] NET: Registered protocol family 10
[    0.751958] NET: Registered protocol family 17
[    0.756560] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.769467] Bridge firewalling registered
[    0.773542] 8021q: 802.1Q VLAN Support v1.8
[    0.787570] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    0.795556] Freeing unused kernel memory: 152K
[    2.489289] init: Console is alive
[    2.492957] init: - watchdog -
[    4.310999] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.401062] usbcore: registered new interface driver usbfs
[    4.406734] usbcore: registered new interface driver hub
[    4.412308] usbcore: registered new device driver usb
[    4.423422] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.431860] ehci-platform: EHCI generic platform driver
[    4.447485] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    4.454289] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    4.459630] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.465495] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.473650] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.497157] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.504683] hub 1-0:1.0: USB hub found
[    4.508918] hub 1-0:1.0: 1 port detected
[    4.516319] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.524270] ohci-platform: OHCI generic platform driver
[    4.529906] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.536830] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.545012] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.612330] hub 2-0:1.0: USB hub found
[    4.616508] hub 2-0:1.0: 1 port detected
[    4.625932] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.634355] init: - preinit -
[    5.276086] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    5.323573] boot from spi
[    5.454180] mount_root: loading kmods from internal overlay
[    5.492806] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.501252] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    7.318767] jffs2: notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    7.335086] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    7.365815] block: extroot: not configured
[    7.501013] jffs2: notice: (330) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.872656] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[    8.903001] block: extroot: not configured
[    8.908891] mount_root: switching to jffs2 overlay
[    8.921332] urandom-seed: Seeding with /etc/urandom.seed
[    9.677243] usb 1-1: new high-speed USB device number 2 using ehci-platform
start
[    9.754505] procd: - early -
[    9.758286] procd: - watchdog -
[   10.692891] procd: - watchdog -
[   10.696373] procd: - ubus -
[   10.798884] random: jshn: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.906975] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.916692] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.925950] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.939201] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.948465] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.957795] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.967454] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
[   10.976937] procd: - init -
[   11.051624] random: ubusd: uninitialized urandom read (4 bytes read, 18 bits of entropy available)
Please press Enter to activate this console.
[   12.110770] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.154446] zram: Added device: zram0
[   12.169392] tun: Universal TUN/TAP device driver, 1.6
[   12.174528] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   12.204759] l2tp_core: L2TP core driver, V2.0
[   12.218564] l2tp_netlink: L2TP netlink interface
[   12.268387] gre: GRE over IPv4 demultiplexor driver
[   12.298957] ip_gre: GRE over IPv4 tunneling driver
[   12.348813] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.402899] Netfilter messages via NETLINK v0.30.
[   12.415741] ip_set: protocol 6
[   12.545268] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.1
[   12.551614] usbcore: registered new interface driver GobiNet
[   12.605849] u32 classifier
[   12.608673]     input device check on
[   12.612382]     Actions configured
[   12.659652] Mirror/redirect action on
[   12.689216] nf_conntrack version 0.5.0 (950 buckets, 3800 max)
[   13.934021] MT7628 module init
[   14.020684] MT7628 AP Driver version-4.1.0.0
[   14.045365] E2pAccessMode=2
[   15.741231] The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
[   15.753068] mt7628_set_ed_cca: TURN OFF EDCCA  mac 0x10618 = 0xd7083f0f, EDCCA_Status=0
[   15.761277] mt7628 nlwifi attach
[   15.798464] cdc_ether 1-1:1.0 usb0: register 'cdc_ether' at usb-101c0000.ehci-1, CDC Ethernet Device, 02:0c:29:a3:9b:6d
[   15.809685] usbcore: registered new interface driver cdc_ether
[   15.860317] usbcore: registered new interface driver cdc_ncm
[   15.871773] usbcore: registered new interface driver cdc_wdm
[   15.890357] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.932009] ctnetlink v0.93: registering with nfnetlink.
[   15.977528] usbcore: registered new interface driver rndis_host
[   16.008426] usbcore: registered new interface driver usbserial
[   16.014458] usbcore: registered new interface driver usbserial_generic
[   16.021258] usbserial: USB Serial support registered for generic
[   16.085756] xt_time: kernel timezone is -0000
[   16.106116] PPP generic driver version 2.4.2
[   16.113338] PPP MPPE Compression module registered
[   16.120243] NET: Registered protocol family 24
[   16.126819] PPTP driver version 0.8.5
[   16.140469] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   16.148293] usbcore: registered new interface driver option
[   16.154064] usbserial: USB Serial support registered for GSM modem (1-port)
[   16.162188] option 1-1:1.2: GSM modem (1-port) converter detected
[   16.168741] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[   16.176187] option 1-1:1.3: GSM modem (1-port) converter detected
[   16.182797] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[   16.190308] option 1-1:1.4: GSM modem (1-port) converter detected
[   16.196852] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[   16.271177] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.304537] mt7628 nlwifi detach
[   17.311479] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.318525] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.325492] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.332476] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.339459] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.346428] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.353405] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.360384] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.367362] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.374330] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.381308] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.388286] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.395254] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.402232] wdev_bcn_buf_deinit(): Bcn not in idle(0) when try to free it!
[   17.409208] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[   17.576513] MT7628 module init
[   17.589276] MT7628 AP Driver version-4.1.0.0
[   17.614439] E2pAccessMode=2
[   18.453283] The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
[   18.465142] mt7628_set_ed_cca: TURN OFF EDCCA  mac 0x10618 = 0xd7083f0f, EDCCA_Status=0
[   18.473339] mt7628 nlwifi attach
[   20.923089] zram0: detected capacity change from 0 to 30408704
[   20.942641] Adding 29692k swap on /dev/zram0.  Priority:-1 extents:1 across:29692k SS
[   23.505435] rt3050-esw 10110000.esw: link changed 0x00
[   25.149894] The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
[   25.219211] The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4
[   26.733246] device eth0.1 entered promiscuous mode
[   26.738334] device eth0 entered promiscuous mode
[   26.773944] br-lan: port 1(eth0.1) entered forwarding state
[   26.779736] br-lan: port 1(eth0.1) entered forwarding state
[   26.903896] device ra0 entered promiscuous mode
[   26.908688] br-lan: port 2(ra0) entered forwarding state
[   26.914103] br-lan: port 2(ra0) entered forwarding state
[   27.646241] rt3050-esw 10110000.esw: link changed 0x08
[   27.707443] gmac: port3 linkup
[   28.777165] br-lan: port 1(eth0.1) entered forwarding state
[   28.907206] br-lan: port 2(ra0) entered forwarding state
[   32.926013] The 4-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 4

4G-LTE login: [   59.917166] random: nonblocking pool is initialized

I do not know how to answer this question "Can you read a block past 8MB?".
How can I test this ? From the bootloader ?

It is 8MB flash, the map in your initramfs does not match.

Thanks for the hint, I'll look at how to built it with the right map

Note it is not in order. Check "kernel" with binwalk for loader offsets. You got kernel+rootfs+rootfs_data available. latest needs to be like 1MB to not die when user installs package.

I was lured by the low low price on AliExpress, so I'm wondering the same thing: can an (older) stock OpenWrt be made to work on the hardware? I mainly would like to be able to use this as an admin fallback solution, preferrably with tailscale.

If you got the device by accident you can pick up work from here.
Nobody has stock firmware except one dumped from device.

Tailscale is a huge package it isn’t going to fit on an 8mb device unfortunately

Oh well, it was cheap :slight_smile: The stock firmware seems to be working well enough (except for IPv6 support?) so I'll just combine it with a second cheap system to run Tailscale on.