ざっくりヘッダ仕立てて通せたので記録
key=csrf_token : 972bdd582e55897abc7614848dfc565c5318feb509c89c1778ec9f327da86c8a
key=file : openwrt-qualcommax-ipq50xx-elecom_wrc-x3000gs2-squashfs-factory.bin
key=apply : applyLocal
firmware update starting...
--- [Fri Mar 18 05:08:13 JST 2022] PID 7273 : No Error Detected (0:0) ---
--- [Fri Mar 18 05:08:14 JST 2022] PID 7273 : ath0 work well ---
--- [Fri Mar 18 05:08:14 JST 2022] PID 7273 : ath2 work well ---
--- [Fri Mar 18 05:08:14 JST 2022] PID 7273 : ath10 work well ---
--- [Fri Mar 18 05:08:14 JST 2022] PID 7273 : ath12 work well ---
STARTING fw checker
fw magic = 434f4d43 crc = fcf8140c
get mstc fw
old fw version: 4.04(XZF.0)b90 new fw version: 4.04(XZF.0)b90
file: /tmp/fw_local.bin.ras, len = 13632847 crc = fcf8140c
Warning: optional section "sbl1" missing from "/tmp/fw_local.bin". Continue...
Warning: optional section "sbl2" missing from "/tmp/fw_local.bin". Continue...
Warning: optional section "u-boot" missing from "/tmp/fw_local.bin". Continue...
Warning: optional section "lkboot" missing from "/tmp/fw_local.bin". Continue...
Warning: optional section "ddr-ap-mp03.3" missing from "/tmp/fw_local.bin". Continue...
Warning: optional section "ssd" missing from "/tmp/fw_local.bin". Continue...
Warning: optional section "tz" missing from "/tmp/fw_local.bin". Continue...
[ 154.565231] wlan: [0:I:ANY] wlan_acs_start_scan_report: [EXT] Invoking ACS module for ACS report
[ 154.565682] wlan: [0:I:ANY] wlan_acs_start_scan_report: [EXT] Invoking ACS module for ACS report
Warning: optional section "rpm" missing from "/tmp/fw_local.bin". Continue...
[ 154.630546] sysupgrade (8007): drop_caches: 3
stat: No such file or directory
[ 154.872111] wlan: [1571:E:ANY] ol_ath_get_chan_grade_info: RF characterization entries is empty
[ 154.872204] wlan: [1571:I:ANY] ieee80211_acs_scan_evhandler: [EXT] lock held duration (1ms)
[ 154.880154] wlan: [1571:E:ANY] ol_ath_get_chan_grade_info: RF characterization entries is empty
[ 154.888199] wlan: [1571:I:ANY] ieee80211_acs_scan_evhandler: [EXT] lock held duration (8ms)
led_set_onoff power
led_set_blink -- power
led_set_blink led_power_r == [blink_b]
Sending TERM to remaining processes ... cnssdaemon askfirst breakpad_report logd rpcd acfg_tool syslogd klogd netifd dnsmasq rngd wifi_led.sh odhcpd lbd sleep lighttpd-angel lighttpd mcsd [ 155.095943] mc_detach: disabled snooping on br-lan.
mcastds: Leaving mcsd executive program
crond ntpd thermald childnetlimit wan_auto_detect elecom_mdns sleep httpredirect mstc_wifi_monit mstc_wifi_monit sleep sleep sleep qrtr-ns wifi led procedure stop...
wifi led procedure stop OK...
Please press Enter to activate this console.
Sending KILL to remaining processes ... rngd askfirst
Switching to ramdisk...
Please press Enter to activate this console.
[ 160.455715] UBIFS (ubi2:0): un-mount UBI device 2
[ 160.455766] UBIFS (ubi2:0): background thread "ubifs_bgt2_0" stops
[ 160.469825] UBIFS (ubi0:4): background thread "ubifs_bgt0_4" stops
Performing system upgrade...
[ 161.903261] ubi0 error: ubi_detach_mtd_dev: ubi0 reference count 2, destroy anyway
[ 161.986174] ubi0: detaching mtd15
[ 161.987233] ubi0: mtd15 is detached
ubiformat: mtd17 (nand), size 53739520 bytes (51.2 MiB), 410 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: scanning eraseblock 409 -- 100 % complete
ubiformat: 410 eraseblocks have valid erase counter, mean value is 1
ubiformat: flashing eraseblock 103 -- 100 % complete
ubiformat: formatting eraseblock 409 -- 100 % complete
Flashed ubi
0+1 records in
1+0 records out
2048 bytes (2.0KB) copied, 0.000126 seconds, 15.5MB/s
Unlocking /dev/mtd2 ...
Erasing /dev/mtd2 ...
Writing from <stdin> to /dev/mtd2 ...
Unlocking /dev/mtd3 ...
Erasing /dev/mtd3 ...
0+1 records in
1+0 records out
2048 bytes (2.0KB) copied, 0.000090 seconds, 21.7MB/s
Writing from <stdin> to /dev/mtd3 ...
grep: /sys/block/mmcblk*/mmcblk*p*/uevent: No such file or directory
mstc header exists, write to FWHEADER partition
Unlocking FWHEADER ...
Erasing FWHEADER ...
Writing from /tmp/fw.header to FWHEADER ...
Upgrade completed
Rebooting system...
[ 171.705889] reboot: Restarting system
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1.1-00064
S - IMAGE_VARIANT_STRING=MAACANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002c5
B - 128 - PBL, Start
B - 1564 - bootable_media_detect_entry, Start
B - 3285 - bootable_media_detect_success, Start
B - 3288 - elf_loader_entry, Start
B - 8331 - auth_hash_seg_entry, Start
B - 8691 - auth_hash_seg_exit, Start
B - 99009 - elf_segs_hash_verify_entry, Start
B - 168589 - PBL, End
B - 138897 - SBL1, Start
B - 200293 - GCC [RstStat:0x10, RstDbg:0x500100] WDog Stat : 0x4
B - 208589 - clock_init, Start
D - 7259 - clock_init, Delta
B - 216031 - boot_flash_init, Start
D - 14762 - boot_flash_init, Delta
B - 230854 - boot_config_data_table_init, Start
D - 4544 - boot_config_data_table_init, Delta - (575 Bytes)
B - 238510 - Boot Setting : 0x00023ecc
B - 245037 - CDT version:2,Platform ID:8,Major ID:4,Minor ID:0,Subtype:2
B - 251960 - sbl1_ddr_set_params, Start
B - 253546 - Pre_DDR_clock_init, Start
B - 259219 - Pre_DDR_clock_init, End
B - 899353 - do ddr sanity test, Start
D - 30 - do ddr sanity test, Delta
B - 904050 - Image Load, Start
D - 241042 - QSEE Image Loaded, Delta - (578956 Bytes)
B - 1146007 - Image Load, Start
D - 13511 - DEVCFG Image Loaded, Delta - (13592 Bytes)
B - 1159549 - Image Load, Start
D - 152439 - APPSBL Image Loaded, Delta - (364882 Bytes)
B - 1312049 - QSEE Execution, Start
D - 61 - QSEE Execution, Delta
B - 1318515 - SBL1, End
D - 1182271 - SBL1, Delta
S - Flash Throughput, 2465 KB/s (958677 Bytes, 388900 us)
S - DDR Frequency, 666 MHz
S - Core 0 Frequency, 800 MHz
U-Boot 2.03.01 (Sep 30 2021 - 15:45:28 +0800)
DRAM: smem ram ptable found: ver: 1 len: 4
256 MiB
NAND: QPIC controller support serial NAND
ID = 394c2
Vendor = c2
Device = 94
Serial Nand Device Found With ID : 0xc2 0x94
Serial NAND device Manufacturer:MX35UF1G24AD-Z4I
Device Size:128 MiB, Page size:2048, Spare Size:64, ECC:4-bit
128 MiB
MMC: sdhci: Node Not found, skipping initialization
PCI Link Intialized
In: serial@78AF000
Out: serial@78AF000
Err: serial@78AF000
machid: 8040002
Turn on Power LED
eth0 MAC Address from ART is not valid
eth1 MAC Address from ART is not valid
Hit any key to stop autoboot: 0
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: volume 2 ("rootfs_data") re-sized from 9 to 284 LEBs
ubi0: attached mtd1 (name "mtd=0", size 51 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: 410, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 131775459
ubi0: available PEBs: 0, total reserved PEBs: 410, PEBs reserved for bad PEB handling: 20
Read 0 bytes from volume kernel to 44000000
No size specified -> Using max size (4063232)
## Loading kernel from FIT Image at 44000000 ...
Using 'config@mp03.3' configuration
Trying 'kernel-1' kernel subimage
Description: ARM64 OpenWrt Linux-6.6.77
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x440000e8
Data Size: 3986060 Bytes = 3.8 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x41000000
Entry Point: 0x41000000
Hash algo: crc32
Hash value: 380e38de
Hash algo: sha1
Hash value: a6b59ab733b054006b2af3d9ae8876b76fb48fa0
Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 44000000 ...
Using 'config@mp03.3' configuration
Trying 'fdt-1' fdt subimage
Description: ARM64 OpenWrt elecom_wrc-x3000gs2 device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x443cd4b8
Data Size: 25495 Bytes = 24.9 KiB
Architecture: AArch64
Hash algo: crc32
Hash value: 62d21066
Hash algo: sha1
Hash value: e09e2632356cb71ba9b941c38377834f6fd72991
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x443cd4b8
Uncompressing Kernel Image ... OK
Loading Device Tree to 4a3f6000, end 4a3ff396 ... OK
Using machid 0x8040002 from environment
Starting kernel ...
Jumping to AARCH64 kernel via monitor
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[ 0.000000] Linux version 6.6.77 (musashino205@TAIHA.NET) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28797+33-302c717aa3) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Feb 17 16:39:48 2025
[ 0.000000] Machine model: ELECOM WRC-X3000GS2
[ 0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a7fffff (4096 KiB) nomap non-reusable tz_apps@4a400000
[ 0.000000] OF: reserved mem: 0x000000004a800000..0x000000004a9fffff (2048 KiB) nomap non-reusable bootloader@4a800000
[ 0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
[ 0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004adfffff (2048 KiB) nomap non-reusable tz@4ac00000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x000000004a3fffff]
[ 0.000000] node 0: [mem 0x000000004a400000-0x000000004a9fffff]
[ 0.000000] node 0: [mem 0x000000004aa00000-0x000000004aafffff]
[ 0.000000] node 0: [mem 0x000000004ab00000-0x000000004adfffff]
[ 0.000000] node 0: [mem 0x000000004ae00000-0x000000004fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 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.0
[ 0.000000] psci: OSI mode supported.
[ 0.000000] psci: [Firmware Bug]: failed to set PC mode: -1
[ 0.000000] percpu: Embedded 18 pages/cpu s35624 r8192 d29912 u73728
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait root=/dev/ubiblock0_1 coherent_pool=2M
[ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64512
[ 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: SWIOTLB bounce buffer size roundup to 0MB
[ 0.000000] software IO TLB: mapped [mem 0x000000004fe46000-0x000000004fec6000] (0MB)
[ 0.000000] Memory: 233540K/262144K available (8256K kernel code, 904K rwdata, 2432K rodata, 1536K init, 279K bss, 28604K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv2m: range[mem 0x0b00a000-0x0b00aff7], SPI[448:479]
[ 0.000000] GICv2m: range[mem 0x0b00b000-0x0b00bff7], SPI[480:511]
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 and mmio timer(s) running at 24.00MHz (virt/virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000116] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000133] pid_max: default: 32768 minimum: 301
[ 0.005051] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.005069] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.010766] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[ 0.011189] rcu: Hierarchical SRCU implementation.
[ 0.011199] rcu: Max phase no-delay instances is 1000.
[ 0.012291] smp: Bringing up secondary CPUs ...
[ 0.013401] Detected VIPT I-cache on CPU1
[ 0.013543] CPU1: Booted secondary processor 0x0000000001 [0x51af8014]
[ 0.013739] smp: Brought up 1 node, 2 CPUs
[ 0.013758] SMP: Total of 2 processors activated.
[ 0.013766] CPU features: detected: 32-bit EL0 Support
[ 0.013772] CPU features: detected: CRC32 instructions
[ 0.013861] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.013871] CPU: All CPU(s) started at EL1
[ 0.013874] alternatives: applying system-wide alternatives
[ 0.021517] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.021555] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.023372] pinctrl core: initialized pinctrl subsystem
[ 0.025829] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.027602] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.027928] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.028240] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.028843] thermal_sys: Registered thermal governor 'step_wise'
[ 0.028969] cpuidle: using governor menu
[ 0.029288] ASID allocator initialised with 65536 entries
[ 0.033293] /soc@0/interrupt-controller@b000000: Fixed dependency cycle(s) with /soc@0/interrupt-controller@b000000
[ 0.047983] Modules: 29376 pages in range for non-PLT usage
[ 0.048000] Modules: 520896 pages in range for PLT usage
[ 0.054691] SCSI subsystem initialized
[ 0.055016] usbcore: registered new interface driver usbfs
[ 0.055067] usbcore: registered new interface driver hub
[ 0.055149] usbcore: registered new device driver usb
[ 0.055557] qcom_scm: convention: smc arm 64
[ 0.058130] clocksource: Switched to clocksource arch_sys_counter
[ 0.062639] NET: Registered PF_INET protocol family
[ 0.062889] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.065252] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.065289] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.065315] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.065347] TCP bind hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.065440] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.066064] MPTCP token hash table entries: 256 (order: 0, 6144 bytes, linear)
[ 0.066282] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.066316] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.066876] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.066942] PCI: CLS 0 bytes, default 64
[ 0.071193] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 0.071853] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.071867] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.326556] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.328584] msm_serial 78af000.serial: msm_serial: detected port #0
[ 0.328658] msm_serial 78af000.serial: uartclk = 1843199
[ 0.329423] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 21, base_baud = 115199) is a MSM
[ 0.329485] msm_serial: console setup on port #0
[ 0.329609] printk: console [ttyMSM0] enabled
[ 1.032953] msm_serial: driver initialized
[ 1.046958] loop: module loaded
[ 1.053859] spi-nand spi0.0: Macronix SPI NAND was found.
[ 1.053927] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.058761] nand: WARNING: (null): the ECC used on your system is too weak compared to the one required by the NAND chip
[ 1.107342] i2c_dev: i2c /dev entries driver
[ 1.111513] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 799999 KHz, changing to: 1008000 KHz
[ 1.113776] sdhci: Secure Digital Host Controller Interface driver
[ 1.121280] sdhci: Copyright(c) Pierre Ossman
[ 1.127364] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.137231] NET: Registered PF_INET6 protocol family
[ 1.141399] Segment Routing with IPv6
[ 1.142522] In-situ OAM (IOAM) with IPv6
[ 1.146115] NET: Registered PF_PACKET protocol family
[ 1.150682] 8021q: 802.1Q VLAN Support v1.8
[ 1.210916] spi-nand spi0.0: Macronix SPI NAND was found.
[ 1.210961] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.215493] nand: WARNING: (null): the ECC used on your system is too weak compared to the one required by the NAND chip
[ 1.224692] 22 qcomsmem partitions found on MTD device spi0.0
[ 1.234479] Creating 22 MTD partitions on "spi0.0":
[ 1.240072] 0x000000000000-0x000000080000 : "0:sbl1"
[ 1.246877] 0x000000080000-0x000000100000 : "0:mibib"
[ 1.252277] 0x000000100000-0x000000140000 : "0:bootconfig"
[ 1.256734] 0x000000140000-0x000000180000 : "0:bootconfig1"
[ 1.262190] 0x000000180000-0x000000280000 : "0:qsee"
[ 1.268818] 0x000000280000-0x000000380000 : "0:qsee_1"
[ 1.273964] 0x000000380000-0x0000003c0000 : "0:devcfg"
[ 1.277789] 0x0000003c0000-0x000000400000 : "0:devcfg_1"
[ 1.282978] 0x000000400000-0x000000440000 : "0:cdt"
[ 1.288447] 0x000000440000-0x000000480000 : "0:cdt_1"
[ 1.292789] 0x000000480000-0x000000500000 : "0:appsblenv"
[ 1.298746] 1 fixed-partitions partitions found on MTD device 0:appsblenv
[ 1.301683] Creating 1 MTD partitions on "0:appsblenv":
[ 1.308521] 0x000000000000-0x000000040000 : "env-data"
[ 1.369639] 0x000000500000-0x000000640000 : "0:appsbl"
[ 1.373198] 0x000000640000-0x000000780000 : "0:appsbl_1"
[ 1.376675] 0x000000780000-0x000000880000 : "0:art"
[ 1.382008] 0x000000880000-0x000000900000 : "0:training"
[ 1.385679] 0x000003fc0000-0x000007300000 : "rootfs"
[ 1.458309] mtd: setting mtd16 (rootfs) as root device
[ 1.459212] mtdsplit: no squashfs found in "rootfs"
[ 1.462428] 0x000003c40000-0x000003fc0000 : "config"
[ 1.473132] 0x000000900000-0x000003c40000 : "rootfs_1"
[ 1.542574] 0x000007300000-0x000007680000 : "config_2"
[ 1.548941] 0x000007680000-0x000007b80000 : "reserved"
[ 1.557883] 0x000007b80000-0x000007c00000 : "fwheader"
[ 1.560372] 0x000007c00000-0x000007c80000 : "factory"
[ 1.594100] ubi0: attaching mtd16
[ 1.951686] ubi0: scanning is finished
[ 1.963324] ubi0: attached mtd16 (name "rootfs", size 51 MiB)
[ 1.963387] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.968077] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.974853] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.981741] ubi0: good PEBs: 410, bad PEBs: 0, corrupted PEBs: 0
[ 1.988493] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 1.994728] ubi0: max/mean erase counter: 5/2, WL threshold: 4096, image sequence number: 131775459
[ 2.001775] ubi0: available PEBs: 0, total reserved PEBs: 410, PEBs reserved for bad PEB handling: 20
[ 2.010744] ubi0: background thread "ubi_bgt0d" started, PID 533
[ 2.021656] block ubiblock0_1: created from ubi0:1(rootfs[ 2.040324] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.041264] Freeing unused kernel memory: 1536K
[ 2.046552] Run /sbin/init as init process
[ 2.336267] init: Console is alive
[ 2.336672] init: - watchdog -
[ 3.169882] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.222209] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 3.239065] ssdk_dt_parse_mac_mode[299]:INFO:mac mode1 doesn't exit!
[ 3.239109] ssdk_dt_parse_mac_mode[307]:INFO:mac mode2 doesn't exit!
[ 3.244834] ssdk_dt_parse_port_bmp[1063]:INFO:port_bmp doesn't exist!
[ 3.250895] ssdk_dt_parse_interrupt[941]:INFO:intr-gpio does not exist
[ 4.868141] ssdk_mp_reset_init[1297]:INFO:MP reset successfully!
[ 5.229161] _adpt_mp_uniphy_clk_output_ctrl_set[255]:INFO:uniphy will output clock as 25000000Hz
[ 5.229319] regi_init[2548]:INFO:Initializing SCOMPHY Done!!
[ 5.237239] regi_init[2574]:INFO:qca-ssdk module init succeeded!
[ 5.246373] dp1: ppe offload disabled: 0 for macid 1
[ 5.248774] random: crng init done
[ 5.253600] dp1: Switch attached to macid 1 status: 0
[ 5.256908] nss-dp 39c00000.dp1 wan (uninitialized): nss_dp_gmac: Registering netdev wan(qcom-id:1) with GMAC, mac_base: 0xffffffc0815b0000
[ 5.329782] Qualcomm IPQ5018 internal PHY 88000.mdio-1:07: attached PHY driver (mii_bus:phy_addr=88000.mdio-1:07, irq=POLL)
[ 5.421038] dp2: ppe offload disabled: 0 for macid 2
[ 5.421080] dp2: Switch attached to macid 2 status: 0
[ 5.425173] nss-dp 39d00000.dp2 (unnamed net_device) (uninitialized): nss_dp_gmac: Registering netdev eth%d(qcom-id:2) with GMAC, mac_base: 0xffffffc0815e0000
[ 5.431366] Generic PHY fixed-0:00: attached PHY driver (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[ 5.446345] **********************************************************
[ 5.452867] * NSS Data Plane driver
[ 5.459331] **********************************************************
[ 5.491919] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.494133] init: - preinit -
[ 5.583139] qca8k 90000.mdio-1:0f: configuring for fixed/sgmii link mode
[ 5.586493] qca8k 90000.mdio-1:0f: Link is Up - 1Gbps/Full - flow control off
[ 5.679393] qca8k 90000.mdio-1:0f lan1 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 5.759413] qca8k 90000.mdio-1:0f lan2 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 5.839379] qca8k 90000.mdio-1:0f lan3 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 5.919391] qca8k 90000.mdio-1:0f lan4 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[ 5.928778] nss-dp 39d00000.dp2 eth0: entered promiscuous mode
[ 5.930560] DSA: tree 0 setup
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
[ 6.701931] nss-dp 39d00000.dp2 eth0: PHY Link up speed: 1000
[ 6.705151] qca8k 90000.mdio-1:0f lan1: configuring for phy/gmii link mode
[ 6.707187] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[ 6.713485] ssdk_dev_event[2313]:ERROR:netdev change notify failed
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
[ 11.027936] UBIFS (ubi0:2): default file-system created
[ 11.028928] UBIFS (ubi0:2): Mounting in unauthenticated mode
[ 11.032190] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 729
[ 11.122639] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs_data"
[ 11.122687] UBIFS (ubi0:2): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.129532] UBIFS (ubi0:2): FS size: 34791424 bytes (33 MiB, 274 LEBs), max 284 LEBs, journal size 1777664 bytes (1 MiB, 14 LEBs)
[ 11.139388] UBIFS (ubi0:2): reserved for root: 1643284 bytes (1604 KiB)
[ 11.151005] UBIFS (ubi0:2): media format: w5/r0 (latest is w5/r0), UUID 0A56360D-E870-447D-BC9C-2D1A233BDB8B, small LPT model
[ 11.160295] mount_root: overlay filesystem has not been fully initialized yet
[ 11.169796] mount_root: switching to ubifs overlay
[ 11.180577] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 11.187309] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 11.279664] procd: - early -
[ 11.279918] procd: - watchdog -
[ 11.957749] procd: - watchdog -
[ 11.958798] procd: - ubus -
[ 12.116519] procd: - init -
Please press Enter to activate this console.
[ 12.726370] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.912800] urngd: v1.0.2 started.
[ 13.004683] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[ 13.004725] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[ 13.036510] NET: Registered PF_QIPCRTR protocol family
[ 13.265568] PPP generic driver version 2.4.2
[ 13.267900] NET: Registered PF_PPPOX protocol family
[ 13.294747] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 29.745741] nss-dp 39d00000.dp2 eth0: PHY Link is down
[ 29.773208] nss-dp 39d00000.dp2 eth0: PHY Link up speed: 1000
[ 29.792449] qca8k 90000.mdio-1:0f lan1: configuring for phy/gmii link mode
[ 29.844134] br-lan: port 1(lan1) entered blocking state
[ 29.844209] br-lan: port 1(lan1) entered disabled state
[ 29.849423] qca8k 90000.mdio-1:0f lan1: entered allmulticast mode
[ 29.853414] nss-dp 39d00000.dp2 eth0: entered allmulticast mode
[ 29.863826] qca8k 90000.mdio-1:0f lan1: entered promiscuous mode
[ 29.924376] qca8k 90000.mdio-1:0f lan2: configuring for phy/gmii link mode
[ 29.926686] br-lan: port 2(lan2) entered blocking state
[ 29.930373] br-lan: port 2(lan2) entered disabled state
[ 29.938238] qca8k 90000.mdio-1:0f lan2: entered allmulticast mode
[ 29.944097] qca8k 90000.mdio-1:0f lan2: entered promiscuous mode
[ 29.999950] qca8k 90000.mdio-1:0f lan3: configuring for phy/gmii link mode
[ 30.002129] br-lan: port 3(lan3) entered blocking state
[ 30.005736] br-lan: port 3(lan3) entered disabled state
[ 30.022694] qca8k 90000.mdio-1:0f lan3: entered allmulticast mode
[ 30.028727] qca8k 90000.mdio-1:0f lan3: entered promiscuous mode
[ 30.068840] qca8k 90000.mdio-1:0f lan4: configuring for phy/gmii link mode
[ 30.076217] br-lan: port 4(lan4) entered blocking state
[ 30.076273] br-lan: port 4(lan4) entered disabled state
[ 30.085974] qca8k 90000.mdio-1:0f lan4: entered allmulticast mode
[ 30.090687] qca8k 90000.mdio-1:0f lan4: entered promiscuous mode
[ 30.816757] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[ 30.816828] ssdk_dev_event[2313]:ERROR:netdev change notify failed
[ 33.050698] qca8k 90000.mdio-1:0f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 33.050850] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[ 33.057535] ssdk_dev_event[2313]:ERROR:netdev change notify failed
[ 33.066768] br-lan: port 2(lan2) entered blocking state
[ 33.072685] br-lan: port 2(lan2) entered forwarding state
BusyBox v1.37.0 (2025-02-17 16:39:48 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r28821+39-9fb44638ba
-----------------------------------------------------
=== 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.77",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "ELECOM WRC-X3000GS2",
"board_name": "elecom,wrc-x3000gs2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"firmware_url": "https://downloads.openwrt.org/",
"revision": "r28821+39-9fb44638ba",
"target": "qualcommax/ipq50xx",
"description": "OpenWrt SNAPSHOT r28821+39-9fb44638ba",
"builddate": "1739810388"
}
}
root@OpenWrt:~# ubus call system info
{
"localtime": 1739810782,
"uptime": 407,
"load": [
0,
2048,
736
],
"memory": {
"total": 240717824,
"free": 166920192,
"shared": 315392,
"buffered": 0,
"available": 157122560,
"cached": 24883200
},
"root": {
"total": 30620,
"free": 30576,
"used": 44,
"avail": 28972
},
"tmp": {
"total": 117536,
"free": 117228,
"used": 308,
"avail": 117228
},
"swap": {
"total": 0,
"free": 0
}
}