既にstockのコンソール上でチェックは通してあるが、実際にWebUI上から投入して書き込ませるテスト
2g AP WPS PBC is stopped.
5g AP WPS PBC is stopped.
2g client WPS PBC is stopped.
5g client WPS PBC is stopped.
2g client WPS PIN is stopped.
5g client WPS PIN is stopped.
Prepare to do firmware upgrade using /tmp/fw_local.bin...
Begin checksum check.
STARTING fw checker
1 fw magic = 434f4d44 crc = 1f7978e9
get mstc fw
split_head_file: /tmp/fw.header
split_image_file:/tmp/FW.ras
split_image_file:/tmp/fw_local.bin.ras
file: , len = 967800 crc = e978791f
fw checksum check OK
Begin firmware upgrade.
##############1.Update Fwheader##############
##############update_fwheader_num:[1]##############
##############MSTC_FW_CHECK##############
STARTING fw checker
1 fw magic = 434f4d44 crc = 1f7978e9
get mstc fw
split_head_file: /tmp/fw.header
split_image_file:/tmp/FW.ras
split_image_file:/tmp/fw_local.bin.ras
file: , len = 967800 crc = e978791f
fw checksum check OK
update ubi header write /tmp/fw
Unlocking /dev/mtd5 ...
Writing from /tmp/fw.header to /dev/mtd5 ...
MSTC FW Path:/tmp/fw_local.bin.ras
remove header.bin fail
remove tmp_fw.bin fail
Sun May 18 18:50:37 JST 2025 upgrade: Image metadata not present
Sun May 18 18:50:37 JST 2025 upgrade: Commencing upgrade. Closing all shell sessions.
##############2.Update write MSTC pesist num:[1]##############
Unlocking persist ...
############## MSTC persist num check:[1]##############
##############3.Update UBI FW##############
##############update_image_num:[1]##############
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
killall: dropbear: no process killed
killall: ash: no process killed
Sun May 18 18:50:37 JST 2025 upgrade: Sending TERM to remaining processes ... lighttpd ubusdComm blockd crond ntpd childnetlimit sh sh elecom_mdn
s sh httpredirect sh wapp[ 506.968727] -->update_qos_map()
wapp bs20 odhcp6c urngd rpcd odhcpd dnsmasq mcproxy sh sh sh sleep fwdd logd syslogd klogd netifd sleep sleep sh sleep sleep sleep sleep sleep
[HOTPLUG-iface] e ifdown
[HOTPLUG-iface][wifi-bridge] e ifdown...
Sun May 18 18:50:40 JST 2025 upgrade: Sending KILL to remaining processes ... mcproxy
[ 511.227565] sh (9013): drop_caches: 3
Sun May 18 18:50:42 JST 2025 upgrade: Switching to ramdisk...
[ 512.376639] UBIFS (ubi2:0): un-mount UBI device 2
[ 512.381381] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" stops
[ 512.392667] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" stops
[ 512.405145] UBIFS (ubi0:2): un-mount UBI device 0
Sun May 18 09:50:43 UTC 2025 upgrade: Performing system upgrade...
########MstcUpdatePartNum:[1]########
########CI_UBIPART:[ubi]########
#####CI_UBIPART:[ 512.784163] ubi1: attaching mtd6
[ubi] mtdnum:[6]#####
[ 512.929463] ubi1: scanning is finished
[ 512.937896] ubi1: attached mtd6 (name "ubi", size 50 MiB)
[ 512.943305] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 512.950170] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 512.956951] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 512.963971] ubi1: good PEBs: 400, bad PEBs: 0, corrupted PEBs: 0
[ 512.969969] ubi1: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 512.977181] ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1699436729
[ 512.986301] ubi1: available PEBs: 0, total reserved PEBs: 400, PEBs reserved for bad PEB handling: 19
[ 512.995514] ubi1: background thread "ubi_bgt1d" started, PID 9847
UBI device number 1, total 400 LEBs (50790400 bytes, 48.4 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
Volume ID 0, size 35 LEBs (4444160 bytes, 4.2 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "kernel", alignment 1
Volume ID 1, size 44 LEBs (5586944 bytes, 5.3 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
Set volume size to 37838848
Volume ID 2, size 298 LEBs (37838848 bytes, 36.0 MiB), LEB size 126976 bytes (124.0 KiB), dynamic, name "rootfs_data", alignment 1
sysupgrade successful
sysupgrad[ 515.313800] UBIFS (ubi3:0): un-mount UBI device 3
e successful
[ 515.319647] UBIFS (ubi3:0): background thread "ubifs_bgt3_0" stops
umount: can't unmount /dev: Reso[ 515.330695] reboot: Restarting system
urce busy
umoun
F0: 102B 0000
FA: 1040 0000
FA: 1040 0000 [0200]
F9: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 2400 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [1000]
T0: 0000 024B [010F]
Jump to BL
NOTICE: BL2: v2.7(release):c193c70-dirty
NOTICE: BL2: Built : 10:01:50, Jul 19 2023
NOTICE: WDT: disabled
NOTICE: EMI: Using DDR3 settings
dump toprgu registers data:
1001c000 | 00000000 0000ffe0 00000000 00000000
1001c010 | 00000fff 00000000 00f00000 00000000
1001c020 | 00000000 00000000 00000000 00000000
1001c030 | 003c0003 003c0003 00000000 00000000
1001c040 | 00000000 00000000 00000000 00000000
1001c050 | 00000000 00000000 00000000 00000000
1001c060 | 00000000 00000000 00000000 00000000
1001c070 | 00000000 00000000 00000000 00000000
1001c080 | 00000000 00000000 00000000 00000000
dump drm registers data:
1001d000 | 00000000 00000000 00000000 00000000
1001d010 | 00000000 00000000 00000000 00000000
1001d020 | 00000000 00000000 00000000 00000000
1001d030 | 00a003f1 000000ff 00100000 00000000
1001d040 | 00027e71 000200a0 00020303 000000ff
1001d050 | 00000000 00000000 00000000 00000000
1001d060 | 00000002 00000000 00000000 00000000
drm: 500 = 0xc
[DDR Reserve] ddr reserve mode not be enabled yet
DDR RESERVE Success 0
[EMI] ComboMCP not ready, using default setting
NOTICE: TREFI = 3.9
BYTE_swap:0
BYTE_swap:0
Window Sum 584, worse bit 0, min window 72
Window Sum 588, worse bit 8, min window 72
Window Sum 506, worse bit 5, min window 60
Window Sum 448, worse bit 11, min window 52
Window Sum 510, worse bit 5, min window 62
Window Sum 458, worse bit 11, min window 52
Window Sum 516, worse bit 0, min window 64
Window Sum 472, worse bit 11, min window 56
Window Sum 526, worse bit 5, min window 64
Window Sum 476, worse bit 11, min window 56
Window Sum 476, worse bit 8, min window 58
Window Sum 534, worse bit 3, min window 66
Window Sum 490, worse bit 8, min window 58
NOTICE: EMI: Detected DRAM size: 512MB
NOTICE: EMI: complex R/W mem test passed
NOTICE: CPU: MT7981 (1300MHz)
NOTICE: SPI_NAND parses attributes from parameter page.
NOTICE: SPI_NAND Detected ID 0xef
NOTICE: Page size 2048, Block size 131072, size 134217728
NOTICE: Initializing NMBM ...
NOTICE: Signature found at block 1023 [0x07fe0000]
NOTICE: First info table with writecount 0 found in block 960
NOTICE: Second info table with writecount 0 found in block 963
NOTICE: NMBM has been successfully attached in read-only mode
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.7(release):c193c70-dirty
NOTICE: BL31: Built : 10:01:52, Jul 19 2023
NOTICE: Hello BL31!!!
U-Boot 3.1.8 (Jul 19 2023 - 09:53:10 +0800)
CPU: MediaTek MT7981
Model: mt7981-rfb
DRAM: 512 MiB
Core: 35 devices, 16 uclasses, devicetree: embed
Initializing NMBM ...
spi-nand: spi_nand spi_nand@0: Winbond SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
Could not find a valid device for nmbm0
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 MTD... OK
In: serial@11002000
Out: serial@11002000
Err: serial@11002000
Net: eth0: ethernet@15100000
*** U-Boot Boot Menu ***
Press UP/DOWN to move, ENTER to select, ESC/CTRL+C to quit
1. Startup system (Default)
2. Upgrade firmware
3. Upgrade ATF BL2
4. Upgrade ATF FIP
5. Upgrade single image
6. Load image
7. Upgrade MSTC firmware
0. U-Boot console
***mstc_get_bootnum_from_persist***
Reading 'persist' from 0x0 to 0x5fb3a9e0, size 0x10 ... OK
1b 05 ce 17 01 01
mstc_bootnum:01
ubi0: attaching mtd7
ubi0: scanning is finished
ubi0: attached mtd7 (name "ubi", size 50 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 400, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1699436729
ubi0: available PEBs: 0, total reserved PEBs: 400, PEBs reserved for bad PEB handling: 19
No size specified -> Using max size (4444160)
Read 4444160 bytes from volume kernel to 0000000046000000
## Loading kernel from FIT Image at 46000000 ...
Using 'config-1' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.90
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x460000e8
Data Size: 4313261 Bytes = 4.1 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x48000000
Entry Point: 0x48000000
Hash algo: crc32
Hash value: 6ae75828
Hash algo: sha1
Hash value: 34377721257a792730b84aad22f83d66825566be
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
Using 'config-1' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt elecom_wrc-x3000gs3 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x4641d2dc
Data Size: 24613 Bytes = 24 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: fdff9607
Hash algo: sha1
Hash value: 6bf4a52501f728379cc66f728fc8e826952aa744
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x4641d2dc
Uncompressing Kernel Image
Loading Device Tree to 000000005f7f0000, end 000000005f7f9024 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.6.90 (musashino205@TAIHA.NET) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.2.0 r29347+9-f09c23fbc9) 14.2.0, GNU
ld (GNU Binutils) 2.42) #0 SMP Sun May 18 08:27:44 2025
[ 0.000000] Machine model: ELECOM WRC-X3000GS3
[ 0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004302ffff (192 KiB) nomap non-reusable secmon@43000000
[ 0.000000] OF: reserved mem: 0x0000000047c80000..0x0000000047d7ffff (1024 KiB) nomap non-reusable wmcpu-reserved@47c80000
[ 0.000000] OF: reserved mem: 0x0000000047d80000..0x0000000047dbffff (256 KiB) nomap non-reusable wo-emi@47d80000
[ 0.000000] OF: reserved mem: 0x0000000047dc0000..0x0000000047ffffff (2304 KiB) nomap non-reusable wo-data@47dc0000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004302ffff]
[ 0.000000] node 0: [mem 0x0000000043030000-0x0000000047c7ffff]
[ 0.000000] node 0: [mem 0x0000000047c80000-0x0000000047ffffff]
[ 0.000000] node 0: [mem 0x0000000048000000-0x000000005fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 18 pages/cpu s35048 r8192 d30488 u73728
[ 0.000000] pcpu-alloc: s35048 r8192 d30488 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line:
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[ 0.000000] software IO TLB: area num 2.
[ 0.000000] software IO TLB: mapped [mem 0x000000005fd65000-0x000000005fde5000] (0MB)
[ 0.000000] Memory: 496320K/524288K available (8832K kernel code, 994K rwdata, 2568K rodata, 448K init, 289K bss, 27968K reserved, 0K cma-rese
rved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 640 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 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.000078] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000086] pid_max: default: 32768 minimum: 301
[ 0.003009] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.003018] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.005200] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.005758] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.005918] rcu: Hierarchical SRCU implementation.
[ 0.005920] rcu: Max phase no-delay instances is 1000.
[ 0.006354] smp: Bringing up secondary CPUs ...
[ 0.006734] Detected VIPT I-cache on CPU1
[ 0.006779] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.006812] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.006884] smp: Brought up 1 node, 2 CPUs
[ 0.006890] SMP: Total of 2 processors activated.
[ 0.006893] CPU features: detected: 32-bit EL0 Support
[ 0.006897] CPU features: detected: CRC32 instructions
[ 0.006930] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.006934] CPU: All CPU(s) started at EL2
[ 0.006936] alternatives: applying system-wide alternatives
[ 0.010736] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.010753] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.011993] pinctrl core: initialized pinctrl subsystem
[ 0.013134] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.013465] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.013491] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.013512] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.013914] thermal_sys: Registered thermal governor 'fair_share'
[ 0.013918] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.013921] thermal_sys: Registered thermal governor 'step_wise'
[ 0.013923] thermal_sys: Registered thermal governor 'user_space'
[ 0.013971] ASID allocator initialised with 65536 entries
[ 0.014717] pstore: Using crash dump compression: deflate
[ 0.014722] pstore: Registered ramoops as persistent store backend
[ 0.014725] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.016215] /soc/interrupt-controller@c000000: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[ 0.021668] Modules: 29440 pages in range for non-PLT usage
[ 0.021676] Modules: 520960 pages in range for PLT usage
[ 0.022685] cryptd: max_cpu_qlen set to 1000
[ 0.024764] SCSI subsystem initialized
[ 0.024958] libata version 3.00 loaded.
[ 0.026605] clocksource: Switched to clocksource arch_sys_counter
[ 0.028949] NET: Registered PF_INET protocol family
[ 0.029061] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.030323] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.030339] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.030349] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.030383] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[ 0.030482] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.030822] MPTCP token hash table entries: 512 (order: 1, 12288 bytes, linear)
[ 0.030938] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.030954] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.031163] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.031189] PCI: CLS 0 bytes, default 64
[ 0.032499] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[ 0.037234] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.037244] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.105411] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.106756] printk: console [ttyS0] disabled
[ 0.127169] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 72, base_baud = 2500000) is a ST16650V2
[ 0.127212] printk: console [ttyS0] enabled
[ 0.877068] loop: module loaded
[ 0.882382] spi-nand spi0.0: Winbond SPI NAND was found.
[ 0.887726] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 0.896199] Signature found at block 1023 [0x07fe0000]
[ 0.901359] NMBM management region starts at block 960 [0x07800000]
[ 0.908459] First info table with writecount 0 found in block 960
[ 0.917001] Second info table with writecount 0 found in block 963
[ 0.923183] NMBM has been successfully attached
[ 0.928078] 13 fixed-partitions partitions found on MTD device spi0.0
[ 0.934970] Creating 13 MTD partitions on "spi0.0":
[ 0.939898] 0x000000000000-0x000000100000 : "BL2"
[ 0.945637] 0x000000100000-0x000000180000 : "u-boot-env"
[ 0.951723] 0x000000180000-0x000000380000 : "Factory"
[ 0.958575] 0x000000380000-0x000000580000 : "FIP"
[ 0.964731] 0x000000580000-0x0000005a0000 : "Fwheader"
[ 0.970540] 0x0000005a0000-0x0000037a0000 : "firmware1"
[ 1.000916] 1 mstc-boot partitions found on MTD device firmware1
[ 1.006943] Creating 1 MTD partitions on "firmware1":
[ 1.011986] 0x000000000000-0x000003200000 : "ubi"
[ 1.017357] 0x0000037a0000-0x000003b20000 : "Config"
[ 1.024609] 0x000003b20000-0x000003b40000 : "Fwheader_2"
[ 1.030602] 0x000003b40000-0x000006d40000 : "firmware2"
[ 1.062075] 0x000006d40000-0x0000070c0000 : "Config_2"
[ 1.069708] 0x0000070c0000-0x0000071c0000 : "persist"
[ 1.075832] 0x0000071c0000-0x000007200000 : "Mrd"
[ 1.081220] 0x000007200000-0x000007580000 : "Backup"
[ 1.235802] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc081580000, irq 75
[ 1.245753] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc081580000, irq 75
[ 1.255556] i2c_dev: i2c /dev entries driver
[ 1.261742] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.270911] NET: Registered PF_INET6 protocol family
[ 1.276971] Segment Routing with IPv6
[ 1.280661] In-situ OAM (IOAM) with IPv6
[ 1.284620] NET: Registered PF_PACKET protocol family
[ 1.290242] 8021q: 802.1Q VLAN Support v1.8
[ 1.358262] mt7530-mdio mdio-bus:1f: no interrupt support
[ 1.396506] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[ 1.405617] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 1.417654] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.440021] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.462287] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.484468] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=POLL)
[ 1.495870] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[ 1.502642] DSA: tree 0 setup
[ 1.506229] UBI: auto-attach mtd6
[ 1.509578] ubi0: default fastmap pool size: 20
[ 1.514097] ubi0: default fastmap WL pool size: 10
[ 1.518881] ubi0: attaching mtd6
[ 1.661974] ubi0: scanning is finished
[ 1.670102] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 17, need 19
[ 1.680766] ubi0: attached mtd6 (name "ubi", size 50 MiB)
[ 1.686172] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.693052] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.699832] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.706784] ubi0: good PEBs: 400, bad PEBs: 0, corrupted PEBs: 0
[ 1.712777] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 1.719990] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1699436729
[ 1.729115] ubi0: available PEBs: 0, total reserved PEBs: 400, PEBs reserved for bad PEB handling: 17
[ 1.738335] ubi0: background thread "ubi_bgt0d" started, PID 594
[ 1.745040] block ubiblock0_1: created from ubi0:1(rootfs)
[ 1.750563] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 1.757679] clk: Disabling unused clocks
[ 1.766161] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 1.773521] Freeing unused kernel memory: 448K
[ 1.778033] Run /sbin/init as init process
[ 1.782119] with arguments:
[ 1.785073] /sbin/init
[ 1.787778] with environment:
[ 1.790907] HOME=/
[ 1.793254] TERM=linux
[ 1.977525] init: Console is alive
[ 1.981090] init: - watchdog -
[ 2.345605] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.361095] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 2.371799] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.388203] init: - preinit -
[ 2.670306] mtk_soc_eth 15100000.ethernet wan: renamed from eth1
[ 2.716910] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 2.726909] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 2.756265] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 6.836613] random: crng init done
[ 6.973633] UBIFS (ubi0:2): default file-system created
[ 6.979268] UBIFS (ubi0:2): Mounting in unauthenticated mode
[ 6.985030] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 738
[ 7.020014] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 7.027862] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.037777] UBIFS (ubi0:2): FS size: 36569088 bytes (34 MiB, 288 LEBs), max 298 LEBs, journal size 1777664 bytes (1 MiB, 14 LEBs)
[ 7.049417] UBIFS (ubi0:2): reserved for root: 1727248 bytes (1686 KiB)
[ 7.056017] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID B92C3720-6656-45C9-8260-BCA2431E2990, small LPT model
[ 7.068599] mount_root: overlay filesystem has not been fully initialized yet
[ 7.075962] mount_root: switching to ubifs overlay
[ 7.083085] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 7.094914] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 7.153184] procd: - early -
[ 7.156130] procd: - watchdog -
[ 7.717060] procd: - watchdog -
[ 7.725163] procd: - ubus -
[ 7.881911] procd: - init -
Please press Enter to activate this console.
[ 8.160014] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.193316] nat46: module (version 04923c51039e8ca270c6f1dde3f04f3b36958089) loaded.
[ 8.204194] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[ 8.223102] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[ 8.230735] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[ 8.255394] xt_time: kernel timezone is -0000
[ 8.416360] urngd: v1.0.2 started.
[ 8.639442] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20240823161240a
[ 8.639442]
[ 8.833894] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20240823161304
[ 8.928335] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20240823161841
[ 9.026003] mt798x-wmac 18000000.wifi: missing precal data, size=200720
[ 9.032936] mt798x-wmac 18000000.wifi: registering led 'mt76-phy0'
[ 9.109406] mt798x-wmac 18000000.wifi: registering led 'mt76-phy1'
[ 9.212544] PPP generic driver version 2.4.2
[ 9.217912] NET: Registered PF_PPPOX protocol family
[ 9.231791] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 16.595297] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[ 16.610139] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[ 16.619214] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[ 16.634959] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 16.643328] br-lan: port 1(lan1) entered blocking state
[ 16.648618] br-lan: port 1(lan1) entered disabled state
[ 16.653873] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
[ 16.660233] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[ 16.673555] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
[ 16.695404] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 16.703313] br-lan: port 2(lan2) entered blocking state
[ 16.708569] br-lan: port 2(lan2) entered disabled state
[ 16.713822] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[ 16.723374] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[ 16.741807] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 16.753819] br-lan: port 3(lan3) entered blocking state
[ 16.759153] br-lan: port 3(lan3) entered disabled state
[ 16.764408] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[ 16.772586] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[ 16.789884] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[ 16.801307] br-lan: port 4(lan4) entered blocking state
[ 16.806543] br-lan: port 4(lan4) entered disabled state
[ 16.811901] mt7530-mdio mdio-bus:1f lan4: entered allmulticast mode
[ 16.826924] mt7530-mdio mdio-bus:1f lan4: entered promiscuous mode
[ 16.863815] mtk_soc_eth 15100000.ethernet wan: PHY [mdio-bus:00] driver [MediaTek MT7981 PHY] (irq=POLL)
[ 16.873379] mtk_soc_eth 15100000.ethernet wan: configuring for phy/gmii link mode
[ 16.883989] mtk_soc_eth 15100000.ethernet wan: Link is Up - 1Gbps/Full - flow control off
[ 20.881664] mt7530-mdio mdio-bus:1f lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[ 20.881695] br-lan: port 3(lan3) entered blocking state
[ 20.894807] br-lan: port 3(lan3) entered forwarding state
BusyBox v1.37.0 (2025-05-10 14:31:10 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r29612+68-61da745817
-----------------------------------------------------
=== 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.
--------------------------------------------------
OpenWrt recently switched to the "apk" package manager!
OPKG Command APK Equivalent Description
------------------------------------------------------------------
opkg install <pkg> apk add <pkg> Install a package
opkg remove <pkg> apk del <pkg> Remove a package
opkg upgrade apk upgrade Upgrade all packages
opkg files <pkg> apk info -L <pkg> List package contents
opkg list-installed apk info List installed packages
opkg update apk update Update package lists
opkg search <pkg> apk search <pkg> Search for packages
------------------------------------------------------------------
For more https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet
root@OpenWrt:~# ubus call system board
{
"kernel": "6.6.90",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "ELECOM WRC-X3000GS3",
"board_name": "elecom,wrc-x3000gs3",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r29612+68-61da745817",
"target": "mediatek/filogic",
"description": "OpenWrt SNAPSHOT r29612+68-61da745817",
"builddate": "1747556864"
}
}
root@OpenWrt:~# ubinfo -a
UBI version: 1
Count of UBI devices: 1
UBI control device major/minor: 10:127
Present UBI devices: ubi0
ubi0
Volumes count: 3
Logical eraseblock size: 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks: 400 (50790400 bytes, 48.4 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes 128
Count of bad physical eraseblocks: 0
Count of reserved physical eraseblocks: 17
Current maximum erase counter value: 2
Minimum input/output unit size: 2048 bytes
Character device major/minor: 250:0
Present volumes: 0, 1, 2
Volume ID: 0 (on ubi0)
Type: dynamic
Alignment: 1
Size: 35 LEBs (4444160 bytes, 4.2 MiB)
State: OK
Name: kernel
Character device major/minor: 250:1
-----------------------------------
Volume ID: 1 (on ubi0)
Type: dynamic
Alignment: 1
Size: 44 LEBs (5586944 bytes, 5.3 MiB)
State: OK
Name: rootfs
Character device major/minor: 250:2
-----------------------------------
Volume ID: 2 (on ubi0)
Type: dynamic
Alignment: 1
Size: 298 LEBs (37838848 bytes, 36.0 MiB)
State: OK
Name: rootfs_data
Character device major/minor: 250:3
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 5.5M 5.5M 0 100% /rom
tmpfs 242.6M 220.0K 242.3M 0% /tmp
/dev/ubi0_2 31.5M 40.0K 29.8M 0% /overlay
overlayfs:/overlay 31.5M 40.0K 29.8M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~#