大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

WN-DEAX1800GR stock → OpenWrt

頑張ってヘッダを組んだ
とりあえずここまで到達したので記録として
一部OpenWrtで抱えているドライバを追加で弄っており、他機種にも関わる変更である為WN-DEAX1800GRを投げ込むのはまだ先の予定
(本機種はOSイメージを2つ持つ構成であり、従来通りであればOpenWrt導入の際2段階イメージの投入が必要となるものの、それを1回のみで済ませられるようにする為のもの)

Signal 15 received - terminating
miniupnpd[1088]: shutting down MiniUPnPd
[  335.864966] reboot: Restarting system

U-Boot SPL 2018.09-svn1712 (Aug 27 2019 - 15:48:56 +0800)
Trying to boot from NAND


U-Boot 2018.09v1.00.02 (Oct 22 2020 - 11:05:33 +0800)

CPU:   MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board (NAND)
DRAM:  256 MiB
NAND:  128 MiB

Initializing NMBM ...
Signature found at block 1023 [0x07fe0000]
First info table with writecount 0 found in block 960
Second info table with writecount 0 found in block 963
NMBM has been successfully attached

Loading Environment from NMBM... *** Warning - bad CRC, using default environment

In:    uartlite0@1e000c00
Out:   uartlite0@1e000c00
Err:   uartlite0@1e000c00
Net:   
Warning: eth@1e100000 (eth0) using random MAC address - 16:29:bd:47:91:f4
eth0: eth@1e100000

  *** U-Boot Boot Menu ***
  Press UP/DOWN to move, ENTER to select
     1. Startup system (Default)
     2. Upgrade firmware
     3. Upgrade bootloader
     4. Upgrade bootloader (advanced mode)
     5. Load image
     0. U-Boot console


** Boot system from firmware **
Loading FIT image at offset 0x180000 to memory 0x80010000, size 0x29f400 ...
Automatic boot of image at addr 0x80010000 ...
## Loading kernel from FIT Image at 80010000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  MIPS OpenWrt Linux-5.10.147
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x800100e4
     Data Size:    2735676 Bytes = 2.6 MiB
     Architecture: MIPS
     OS:           Linux
     Load Address: 0x82000000
     Entry Point:  0x82000000
     Hash algo:    crc32
     Hash value:   3ff47c7b
     Hash algo:    sha1
     Hash value:   b909b708b80ea3b0aa039346c1a1f1b2ce503cb0
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 80010000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  MIPS OpenWrt iodata_wn-deax1800gr device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x802ac064
     Data Size:    11853 Bytes = 11.6 KiB
     Architecture: MIPS
     Hash algo:    crc32
     Hash value:   eccf8ba4
     Hash algo:    sha1
     Hash value:   803f6e712175d7ce5e7757b91dc19ff9c5cdc9f6
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x802ac064
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 8fe77000, end 8fe7ce4c ... OK
[    0.000000] Linux version 5.10.147 (musashino205@TAIHA.NET) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20886-5b4a1b7176) 11.3.0, GNU 
ld (GNU Binutils) 2.37) #0 SMP Sat Oct 15 18:21:51 2022
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is I-O DATA WN-DEAX1800GR
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30224 r8192 d23024 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00020000
[    0.000000] Readback ErrCtl register=00020000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 249096K/262144K available (6740K kernel code, 622K rwdata, 1368K rodata, 1240K init, 235K bss, 13048K reserved, 0K cma-res
erved, 0K highmem)
[    0.000000] SLUB: HWalign=32, 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: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.007952] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.016988] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.083163] pid_max: default: 32768 minimum: 301
[    0.087938] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.095142] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.105885] rcu: Hierarchical SRCU implementation.
[    0.110940] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.119101] smp: Bringing up secondary CPUs ...
[    0.124410] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.124421] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.124433] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.124512] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178855] Synchronize counters for CPU 1: done.
[    0.211362] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211374] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.211384] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211439] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270336] Synchronize counters for CPU 2: done.
[    0.301008] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.301019] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.301029] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.301089] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355553] Synchronize counters for CPU 3: done.
[    0.385441] smp: Brought up 1 node, 4 CPUs
[    0.394204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.404035] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.411041] pinctrl core: initialized pinctrl subsystem
[    0.418764] NET: Registered protocol family 16
[    0.424436] thermal_sys: Registered thermal governor 'step_wise'
[    0.425568] cpuidle: using governor teo
[    0.482738] clocksource: Switched to clocksource GIC
[    0.489912] NET: Registered protocol family 2
[    0.494658] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.502869] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.511194] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.518796] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.525883] TCP: Hash tables configured (established 2048 bind 2048)
[    0.532303] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.538807] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.546037] NET: Registered protocol family 1
[    0.550337] PCI: CLS 0 bytes, default 32
[    0.557031] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.567750] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.573542] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.585937] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.591824] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.597856] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.604506] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.612798] printk: console [ttyS0] disabled
[    0.617127] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.626134] printk: console [ttyS0] enabled
[    0.626134] printk: console [ttyS0] enabled
[    0.634402] printk: bootconsole [early0] disabled
[    0.634402] printk: bootconsole [early0] disabled
[    0.646647] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
[    0.653145] nand: Winbond W29N01HV
[    0.656539] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.664132] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.672007] Signature found at block 1023 [0x07fe0000]
[    0.677153] NMBM management region starts at block 960 [0x07800000]
[    0.686678] First info table with writecount 0 found in block 960
[    0.702280] Second info table with writecount 0 found in block 963
[    0.708548] NMBM has been successfully attached
[    0.713214] 8 fixed-partitions partitions found on MTD device mt7621-nand
[    0.721730] Creating 8 MTD partitions on "mt7621-nand":
[    0.727024] 0x000000000000-0x000000080000 : "u-boot"
[    0.735631] 0x000000080000-0x000000100000 : "u-boot-env"
[    0.744579] 0x000000100000-0x000000180000 : "factory"
[    0.753341] 0x000000180000-0x000002f80000 : "firmware"
[    0.990961] 0x000002f80000-0x000005d80000 : "firmware2"
[    1.229233] 0x000005d80000-0x000006380000 : "storage"
[    1.265919] 0x000006380000-0x000006480000 : "idmkey"
[    1.277061] 0x000006480000-0x000006500000 : "working"
[    1.291983] Concatenating MTD devices:
[    1.295808] (0): "firmware"
[    1.298600] into device "mtd-firmware"
[    1.322013] 2 fit-fw partitions found on MTD device mtd-firmware
[    1.328020] Creating 2 MTD partitions on "mtd-firmware":
[    1.333337] 0x000000000000-0x0000002a0000 : "kernel"
[    1.352619] 0x000000600000-0x000002e00000 : "ubi"
[    1.561792] Concatenating MTD devices:
[    1.565656] (0): "firmware2"
[    1.568540] into device "mtd-firmware2"
[    1.613958] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.625586] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    1.634899] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 20
[    1.644687] i2c /dev entries driver
[    1.650734] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.657546] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.666393] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.674583] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.682857] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.690208] NET: Registered protocol family 10
[    1.696713] Segment Routing with IPv6
[    1.700485] NET: Registered protocol family 17
[    1.705482] 8021q: 802.1Q VLAN Support v1.8
[    1.713243] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.734942] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=25)
[    1.747422] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=26)
[    1.761240] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.771728] DSA: tree 0 setup
[    1.775140] rt2880-pinmux pinctrl: pcie is already enabled
[    1.780705] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.787443] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.796244] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.804427] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.812715] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.820549] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.828310] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.935805] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.941378] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.047189] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    2.054147] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.059003] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    2.063885] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.073371] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.079740] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.086642] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.093514] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.098980] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    2.109187] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.115211] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.121455] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    2.127785] pci 0000:00:00.0: supports D1
[    2.131779] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.138052] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.144127] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.150377] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    2.156714] pci 0000:00:01.0: supports D1
[    2.160710] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.168289] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    2.174374] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    2.181407] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    2.188121] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    2.195162] pci 0000:01:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    2.201849] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    2.208903] pci 0000:01:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    2.215724] pci 0000:01:00.0: supports D1 D2
[    2.219977] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.226625] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s wit
h 5.0 GT/s PCIe x1 link)
[    2.243012] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.248242] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.254334] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    2.261532] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.268456] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    2.274528] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    2.281558] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    2.288271] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    2.295312] pci 0000:02:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    2.301999] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    2.309039] pci 0000:02:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    2.315856] pci 0000:02:00.0: supports D1 D2
[    2.320110] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.326774] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s wit
h 5.0 GT/s PCIe x1 link)
[    2.343212] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    2.348443] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.354542] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    2.361741] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.368403] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.375021] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.381956] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.388574] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.395530] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
[    2.402755] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
[    2.409947] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.416731] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.423520] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.430279] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.437068] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
[    2.444830] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
[    2.452552] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
[    2.460290] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.465261] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.472025] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    2.479250] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
[    2.487005] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
[    2.494750] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
[    2.502470] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.507446] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.514228] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    2.524905] UBI: auto-attach mtd9
[    2.528248] ubi0: attaching mtd9
[    2.533386] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    2.601529] UBI: EOF marker found, PEBs from 32 will be erased
[    2.788424] ubi0: scanning is finished
[    2.833112] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 278 LEBs
[    2.840788] ubi0: attached mtd9 (name "ubi", size 40 MiB)
[    2.846310] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.853197] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.859956] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.866906] ubi0: good PEBs: 320, bad PEBs: 0, corrupted PEBs: 0
[    2.872915] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.880107] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1665858111
[    2.889216] ubi0: available PEBs: 0, total reserved PEBs: 320, PEBs reserved for bad PEB handling: 8
[    2.898372] ubi0: background thread "ubi_bgt0d" started, PID 445
[    2.900759] block ubiblock0_0: created from ubi0:0(rootfs)
[    2.909981] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    2.946606] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.959391] Freeing unused kernel memory: 1240K
[    2.964026] This architecture does not have kernel memory protection.
[    2.970480] Run /sbin/init as init process
[    3.671575] init: Console is alive
[    3.675576] init: - watchdog -
[    4.494613] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.587664] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.613176] init: - preinit -
[    5.564470] random: jshn: uninitialized urandom read (4 bytes read)
[    5.647426] random: jshn: uninitialized urandom read (4 bytes read)
[    5.686205] random: jshn: uninitialized urandom read (4 bytes read)
[    5.971943] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.980394] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.983295] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    5.995815] 8021q: adding VLAN 0 to HW filter on device lan1
[    6.004159] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.248737] UBIFS (ubi0:1): default file-system created
[    8.255367] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    8.261369] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 569
[    8.385527] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    8.393444] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.403374] UBIFS (ubi0:1): FS size: 34029568 bytes (32 MiB, 268 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[    8.413787] UBIFS (ubi0:1): reserved for root: 1607300 bytes (1569 KiB)
[    8.420377] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID F0CEFC72-3D87-4BC4-9168-2BBACB0C7139, small LPT model
[    8.435212] mount_root: overlay filesystem has not been fully initialized yet
[    8.443513] mount_root: switching to ubifs overlay
[    8.457426] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.646750] procd: - early -
[    8.649920] procd: - watchdog -
[    9.302887] procd: - watchdog -
[    9.306736] procd: - ubus -
[    9.372807] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.381351] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.388457] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.402070] procd: - init -
Please press Enter to activate this console.
[   10.106425] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.316565] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[   10.324238] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[   10.403622] urngd: v1.0.2 started.
[   10.536991] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=21
[   10.542419] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   10.548114] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[   10.555003] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=22
[   10.560478] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   10.566203] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[   10.581355] random: crng init done
[   10.584805] random: 30 urandom warning(s) missed due to ratelimiting
[   10.831914] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211222184017a
[   10.831914] 
[   11.166079] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20211222184052
[   11.205272] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20211222184111
[   16.712209] PPP generic driver version 2.4.2
[   16.718509] NET: Registered protocol family 24
[   16.731966] kmodloader: done loading kernel modules from /etc/modules.d/*
[   47.317675] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   47.333480] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   47.341672] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   47.345592] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   47.357236] 8021q: adding VLAN 0 to HW filter on device lan1
[   47.365861] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   47.373384] br-lan: port 1(lan1) entered blocking state
[   47.378893] br-lan: port 1(lan1) entered disabled state
[   47.385637] device lan1 entered promiscuous mode
[   47.390306] device eth0 entered promiscuous mode
[   47.428815] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   47.436079] 8021q: adding VLAN 0 to HW filter on device lan2
[   47.445885] br-lan: port 2(lan2) entered blocking state
[   47.451130] br-lan: port 2(lan2) entered disabled state
[   47.458036] device lan2 entered promiscuous mode
[   47.483096] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[   47.492579] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   50.771381] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control off
[   50.778783] br-lan: port 2(lan2) entered blocking state
[   50.784041] br-lan: port 2(lan2) entered forwarding state
[   50.792063] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.35.0 (2022-10-15 18:21:51 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r20945+24-85ae64bb27
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# ubus call system board
{
        "kernel": "5.10.147",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "I-O DATA WN-DEAX1800GR",
        "board_name": "iodata,wn-deax1800gr",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r20945+24-85ae64bb27",
                "target": "ramips/mt7621",
                "description": "OpenWrt SNAPSHOT r20945+24-85ae64bb27"
        }
}
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00080000 00020000 "factory"
mtd3: 02e00000 00020000 "firmware"
mtd4: 02e00000 00020000 "firmware2"
mtd5: 00600000 00020000 "storage"
mtd6: 00100000 00020000 "idmkey"
mtd7: 00080000 00020000 "working"
mtd8: 002a0000 00020000 "kernel"
mtd9: 02800000 00020000 "ubi"
mtd10: 02e00000 00020000 "mtd-firmware2"
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.8M      3.8M         0 100% /rom
tmpfs                   122.2M     68.0K    122.2M   0% /tmp
/dev/ubi0_1              29.3M     36.0K     27.8M   0% /overlay
overlayfs:/overlay       29.3M     36.0K     27.8M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:/#