WSR-2533DHPLSに続き、こちらも大体構成できたので投入テスト。
DHPLS同様、Image1 (Kernel)に書き込まれて再起動し、U-BootがImage1と2のチェックを行い、データが異なるのでImage1から2へのコピーが発生する。ブートはImage1。
NAND Flash上のOpenWrtで使用できる領域がWSR-2533DHPLSの2倍以上なので、OpenWrtブート後に利用可能な領域も大きい。ただしRAMは半分の128MiB。
The tail length is 46! Update len to 11796724!
decodesize 11796480...
cp: can't stat '/usr/sbin/ubi*': No such file or directory
cp: can't stat '/usr/sbin/uboot_env': No such file or directory
token=tools, line=default
token=partitions, line=Kernel
token=Kernel, line=0x0:-
sector: Kernel -> offset=[0x0], write_len=[0xb40000]
[get_all_mtd] MTD[0]: /dev/mtd0, 0x7f80000, 0x20000, ALL
[get_all_mtd] MTD[1]: /dev/mtd1, 0x80000, 0x20000, Bootloader
[get_all_mtd] MTD[2]: /dev/mtd2, 0x80000, 0x20000, Config
[get_all_mtd] MTD[3]: /dev/mtd3, 0x40000, 0x20000, Factory
[get_all_mtd] MTD[4]: /dev/mtd4, 0x3d20000, 0x20000, Kernel
[get_all_mtd] MTD[5]: /dev/mtd5, 0x3a40000, 0x20000, RootFS
[get_all_mtd] MTD[6]: /dev/mtd6, 0x3d20000, 0x20000, Kernel2
[get_all_mtd] MTD[7]: /dev/mtd7, 0x3a40000, 0x20000, RootFS2
[get_all_mtd] MTD[8]: /dev/mtd8, 0x200000, 0x20000, glbcfg
[get_all_mtd] MTD[9]: /dev/mtd9, 0x200000, 0x20000, board_data
[merge_sector_info] sector[0]: name=[Kernel], dev=[/dev/mtd4], offset=[0], write_len=[11796480], max_allow_size=[64094208]
[validate_file] freeram=[43520000] bufferram=[4567040]
/tmp/uploadcnNe5B: CRC OK
[do_default_update] filesize=[11796480], offset=[0]
[do_default_update] Erase MTD[Kernel]: start
[do_default_update] Erase MTD[Kernel]: end
[do_default_update] Write MTD[Kernel]: start
[do_default_update] Write MTD[Kernel]: end
[switch_bank] to 0, return 0
upload return: 0
plc upgrade reboot
Jan 1 00:03:07 miniupnpd[682]: shutting down MiniUPnPd
Restarting system.
===================================================================
MT7621 stage1 code 10:33:11 (ASIC)
CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL3 FB_DL: 0x2, 1/0 = 595/429 09000000
PLL4 FB_DL: 0x10, 1/0 = 599/425 41000000
PLL2 FB_DL: 0x18, 1/0 = 546/478 61000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
0 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120
--------------------------------------------------------------------------------
0000:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0001:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0008:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0009:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
000E:| 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
000F:| 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1
0010:| 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0
0011:| 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
0012:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0013:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0014:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0015:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0016:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0017:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0018:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0019:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001A:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001B:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001C:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001D:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001E:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
001F:| 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
rank 0 coarse = 15
rank 0 fine = 80
B:| 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0
opt_dle value:9
DRAMC_R0DELDLY[018]=00002021
==================================================================
RX DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 7 7 6 11 7 8 9 6 6 5
10 | 9 7 8 10 9 9
--------------------------------------
==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =33 DQS1 = 32
==================================================================
bit DQS0 bit DQS1
0 (1~60)30 8 (1~62)31
1 (1~62)31 9 (1~59)30
2 (1~62)31 10 (1~64)32
3 (1~66)33 11 (1~61)31
4 (1~65)33 12 (1~64)32
5 (1~61)31 13 (1~61)31
6 (1~63)32 14 (1~64)32
7 (1~65)33 15 (1~62)31
==================================================================
3.dq delay value last
==================================================================
bit| 0 1 2 3 4 5 6 7 8 9
--------------------------------------
0 | 10 9 8 11 7 10 10 6 7 7
10 | 9 8 8 11 9 10
==================================================================
==================================================================
TX perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15, finish count=2
DQ loop=15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=15, finish count=1
dqs_perbyte_dly.last_dqdly_pass[1]=15, finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
20,data:88
[EMI] DRAMC calibration passed
===================================================================
MT7621 stage1 code done
CPU=50000000 HZ BUS=16666666 HZ
===================================================================
U-Boot 1.1.3 (Nov 19 2019 - 15:33:02) 0.04
Board: Ralink APSoC DRAM: 128 MB
relocate_code Pointer at: 87f94000
Config XHCI 40M PLL
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 87fc88b0
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [EF F1 00 95 00]
Device found in MTK table, ID: eff1, EXT_ID: 9500
Support this Device in MTK table! eff1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64, mtd->erasesize=131072 devinfo.iowidth=8
..============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Nov 19 2019 Time:15:33:02
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768
##### The CPU freq = 880 MHZ ####
estimate memory size =128 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL
Please choose the operation:
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
default: 3 0
3: System Boot system code via Flash0.
## Booting image at bc140000 ...
=================================================
Check image validation:
Image1 Trx Check --> ---------------------
TRX MAGIC 324c4850
Image len b40000
header crc32 18e6d213
---------------------
trx magic OK!
....................................................................................................................................................................................
## check_trx, crc=417780243, *crc_ret=417780243.
OK
Image1 Header Magic Number --> OK
Image1 Header Checksum --> OK
Image1 Data Checksum --> ...............................................OK
=================================================
=================================================
Check image validation:
Image2 Trx Check --> ---------------------
TRX MAGIC 324c4850
Image len 921000
header crc32 4c9a3a3
---------------------
trx magic OK!
...................................................................................................................................................
## check_trx, crc=80323491, *crc_ret=80323491.
OK
Image2 Header Magic Number --> OK
Image2 Header Checksum --> OK
Image2 Data Checksum --> .............................................OK
=================================================
## check Image1 return 0, check Image2 return 0, Image1 crc=417780243, Image2 crc=80323491.
Image1 is ok!
Image2 is not same as Image1, copy Image1 to Image2!
Copy Image:
Image1(0x140000) to Image2(0x3E60000), size=0xB40000
....................................................................................................................................................................................ranand_erase: start:3e60000, len:20000
..ranand_erase: start:3e80000, len:20000
..ranand_erase: start:3ea0000, len:20000
..ranand_erase: start:3ec0000, len:20000
..ranand_erase: start:3ee0000, len:20000
..ranand_erase: start:3f00000, len:20000
..ranand_erase: start:3f20000, len:20000
..ranand_erase: start:3f40000, len:20000
..ranand_erase: start:3f60000, len:20000
..ranand_erase: start:3f80000, len:20000
..ranand_erase: start:3fa0000, len:20000
..ranand_erase: start:3fc0000, len:20000
..ranand_erase: start:3fe0000, len:20000
..ranand_erase: start:4000000, len:20000
..ranand_erase: start:4020000, len:20000
..ranand_erase: start:4040000, len:20000
..ranand_erase: start:4060000, len:20000
..ranand_erase: start:4080000, len:20000
..ranand_erase: start:40a0000, len:20000
..ranand_erase: start:40c0000, len:20000
..ranand_erase: start:40e0000, len:20000
..ranand_erase: start:4100000, len:20000
..ranand_erase: start:4120000, len:20000
..ranand_erase: start:4140000, len:20000
..ranand_erase: start:4160000, len:20000
..ranand_erase: start:4180000, len:20000
..ranand_erase: start:41a0000, len:20000
..ranand_erase: start:41c0000, len:20000
..ranand_erase: start:41e0000, len:20000
..ranand_erase: start:4200000, len:20000
..ranand_erase: start:4220000, len:20000
..ranand_erase: start:4240000, len:20000
..ranand_erase: start:4260000, len:20000
..ranand_erase: start:4280000, len:20000
..ranand_erase: start:42a0000, len:20000
..ranand_erase: start:42c0000, len:20000
..ranand_erase: start:42e0000, len:20000
..ranand_erase: start:4300000, len:20000
..ranand_erase: start:4320000, len:20000
..ranand_erase: start:4340000, len:20000
..ranand_erase: start:4360000, len:20000
..ranand_erase: start:4380000, len:20000
..ranand_erase: start:43a0000, len:20000
..ranand_erase: start:43c0000, len:20000
..ranand_erase: start:43e0000, len:20000
..ranand_erase: start:4400000, len:20000
..ranand_erase: start:4420000, len:20000
..ranand_erase: start:4440000, len:20000
..ranand_erase: start:4460000, len:20000
..ranand_erase: start:4480000, len:20000
..ranand_erase: start:44a0000, len:20000
..ranand_erase: start:44c0000, len:20000
..ranand_erase: start:44e0000, len:20000
..ranand_erase: start:4500000, len:20000
..ranand_erase: start:4520000, len:20000
..ranand_erase: start:4540000, len:20000
..ranand_erase: start:4560000, len:20000
..ranand_erase: start:4580000, len:20000
..ranand_erase: start:45a0000, len:20000
..ranand_erase: start:45c0000, len:20000
..ranand_erase: start:45e0000, len:20000
..ranand_erase: start:4600000, len:20000
..ranand_erase: start:4620000, len:20000
..ranand_erase: start:4640000, len:20000
..ranand_erase: start:4660000, len:20000
..ranand_erase: start:4680000, len:20000
..ranand_erase: start:46a0000, len:20000
..ranand_erase: start:46c0000, len:20000
..ranand_erase: start:46e0000, len:20000
..ranand_erase: start:4700000, len:20000
..ranand_erase: start:4720000, len:20000
..ranand_erase: start:4740000, len:20000
..ranand_erase: start:4760000, len:20000
..ranand_erase: start:4780000, len:20000
..ranand_erase: start:47a0000, len:20000
..ranand_erase: start:47c0000, len:20000
..ranand_erase: start:47e0000, len:20000
..ranand_erase: start:4800000, len:20000
..ranand_erase: start:4820000, len:20000
..ranand_erase: start:4840000, len:20000
..ranand_erase: start:4860000, len:20000
..ranand_erase: start:4880000, len:20000
..ranand_erase: start:48a0000, len:20000
..ranand_erase: start:48c0000, len:20000
..ranand_erase: start:48e0000, len:20000
..ranand_erase: start:4900000, len:20000
..ranand_erase: start:4920000, len:20000
..ranand_erase: start:4940000, len:20000
..ranand_erase: start:4960000, len:20000
..ranand_erase: start:4980000, len:20000
..Done!
Image Name: MIPS OpenWrt Linux-6.1.82
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3027424 Bytes = 2.9 MB
Load Address: 80001000
Entry Point: 80001000
............................................... Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
[ 0.000000] Linux version 6.1.82 (musashino205@TAIHA.NET) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25667-6460407338) 13.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Fri Mar 29 20:02:17 2024
[ 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 Buffalo WSR-2533DHPL2
[ 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-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] percpu: Embedded 12 pages/cpu s18016 r8192 d22944 u49152
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,57600n8 ubi.block=0,rootfs root=/dev/ubiblock0_0 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00002580
[ 0.000000] Readback ErrCtl register=00002580
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 118516K/131072K available (7363K kernel code, 627K rwdata, 1592K rodata, 1220K init, 222K bss, 12556K reserved, 0K cma-reserved)
[ 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[ 0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[ 0.016005] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[ 0.088323] pid_max: default: 32768 minimum: 301
[ 0.098360] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.112774] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.131371] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.145685] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.158254] rcu: Hierarchical SRCU implementation.
[ 0.167625] rcu: Max phase no-delay instances is 1000.
[ 0.178820] smp: Bringing up secondary CPUs ...
[ 0.188623] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.188648] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.188663] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.188713] CPU1 revision is: 0001992f (MIPS 1004Kc)
[ 0.248330] Synchronize counters for CPU 1: done.
[ 0.310566] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.310585] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.310597] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.310627] CPU2 revision is: 0001992f (MIPS 1004Kc)
[ 0.369546] Synchronize counters for CPU 2: done.
[ 0.429944] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.429965] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.429977] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[ 0.430010] CPU3 revision is: 0001992f (MIPS 1004Kc)
[ 0.489132] Synchronize counters for CPU 3: done.
[ 0.548723] smp: Brought up 1 node, 4 CPUs
[ 0.562160] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.581656] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.595523] pinctrl core: initialized pinctrl subsystem
[ 0.607219] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.636237] clocksource: Switched to clocksource GIC
[ 0.647514] NET: Registered PF_INET protocol family
[ 0.657350] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.672389] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.688938] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.704280] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.719486] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.733710] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.746436] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.759336] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.773529] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.784742] PCI: CLS 0 bytes, default 32
[ 0.795713] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.813799] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.825323] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.849184] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.860616] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.872057] mt7621_gpio 1e000600.gpio: registering 32 gpios
[ 0.883657] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[ 0.896916] mt7621-pci 1e140000.pcie: No bus range found for /pcie@1e140000, using [bus 00-ff]
[ 0.914387] mt7621-pci 1e140000.pcie: MEM 0x0060000000..0x006fffffff -> 0x0060000000
[ 0.930603] mt7621-pci 1e140000.pcie: IO 0x001e160000..0x001e16ffff -> 0x0000000000
[ 1.306250] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[ 1.320038] mt7621-pci 1e140000.pcie: PCIE0 enabled
[ 1.329680] mt7621-pci 1e140000.pcie: PCIE1 enabled
[ 1.339374] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[ 1.353571] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[ 1.366108] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.377006] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[ 1.390636] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 1.402950] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[ 1.414847] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.427284] pci 0000:00:00.0: reg 0x14: [mem 0x60200000-0x6020ffff]
[ 1.439782] pci 0000:00:00.0: supports D1
[ 1.447659] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.459741] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[ 1.471656] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[ 1.484045] pci 0000:00:01.0: reg 0x14: [mem 0x60210000-0x6021ffff]
[ 1.496570] pci 0000:00:01.0: supports D1
[ 1.504399] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[ 1.517977] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[ 1.529893] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 1.543458] 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 with 5.0 GT/s PCIe x1 link)
[ 1.573232] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.583541] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 1.595604] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 1.609091] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 1.622451] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[ 1.634340] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[ 1.647909] 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 with 5.0 GT/s PCIe x1 link)
[ 1.677684] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[ 1.688005] pci 0000:00:01.0: bridge window [io 0x0000-0x0fff]
[ 1.700057] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 1.713548] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[ 1.726719] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[ 1.739805] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.753639] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[ 1.766757] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[ 1.780591] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[ 1.794062] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
[ 1.807554] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[ 1.821030] pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
[ 1.834501] pci 0000:00:00.0: BAR 7: assigned [io 0x0000-0x0fff]
[ 1.846595] pci 0000:00:01.0: BAR 7: assigned [io 0x1000-0x1fff]
[ 1.858704] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[ 1.873226] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.883058] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 1.895149] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]
[ 1.908639] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
[ 1.923157] pci 0000:00:01.0: PCI bridge to [bus 02]
[ 1.933003] pci 0000:00:01.0: bridge window [io 0x1000-0x1fff]
[ 1.945094] pci 0000:00:01.0: bridge window [mem 0x60100000-0x601fffff]
[ 1.960254] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 1.974571] printk: console [ttyS0] disabled
[ 1.983099] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[ 2.001042] printk: console [ttyS0] enabled
[ 2.001042] printk: console [ttyS0] enabled
[ 2.017605] printk: bootconsole [early0] disabled
[ 2.017605] printk: bootconsole [early0] disabled
[ 2.039701] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
[ 2.052453] nand: Winbond W29N01HV
[ 2.059233] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 2.074321] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[ 2.088195] read_bbt: found bbt at block 1023
[ 2.097054] 7 fixed-partitions partitions found on MTD device mt7621-nand
[ 2.110935] Creating 7 MTD partitions on "mt7621-nand":
[ 2.121383] 0x000000000000-0x000000080000 : "u-boot"
[ 2.135286] 0x000000080000-0x000000100000 : "u-boot-env"
[ 2.149590] 0x000000100000-0x000000140000 : "factory"
[ 2.162602] 0x000000140000-0x000003e60000 : "firmware"
[ 2.515296] 2 trx partitions found on MTD device firmware
[ 2.526092] Creating 2 MTD partitions on "firmware":
[ 2.536056] 0x00000000001c-0x000000600000 : "linux"
[ 2.545798] mtd: partition "linux" doesn't start on an erase/write block boundary -- force read-only
[ 2.595414] 0x000000600000-0x000003d20000 : "ubi"
[ 2.883782] 0x000003e60000-0x000007b80000 : "Kernel2"
[ 3.203377] 0x000007b80000-0x000007d80000 : "glbcfg"
[ 3.224645] 0x000007d80000-0x000007f80000 : "board_data"
[ 3.387733] mtk_soc_eth 1e100000.ethernet: generated random MAC address 65:74:68:25:64:00
[ 3.404115] mtk_soc_eth 1e100000.ethernet: generated random MAC address 77:61:6e:00:64:00
[ 3.421833] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[ 3.442157] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[ 3.461924] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 19
[ 3.479914] i2c_dev: i2c /dev entries driver
[ 3.491290] NET: Registered PF_INET6 protocol family
[ 3.503959] Segment Routing with IPv6
[ 3.511430] In-situ OAM (IOAM) with IPv6
[ 3.519458] NET: Registered PF_PACKET protocol family
[ 3.529982] 8021q: 802.1Q VLAN Support v1.8
[ 3.547541] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[ 3.579464] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[ 3.594084] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[ 3.597421] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=21)
[ 3.632400] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=22)
[ 3.655517] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=23)
[ 3.678710] device eth0 entered promiscuous mode
[ 3.688110] DSA: tree 0 setup
[ 3.695357] UBI: auto-attach mtd5
[ 3.702048] ubi0: attaching mtd5
[ 3.778074] UBI: EOF marker found, PEBs from 36 will be erased
[ 4.044396] ubi0: scanning is finished
[ 4.093126] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 383 LEBs
[ 4.107286] ubi0: attached mtd5 (name "ubi", size 55 MiB)
[ 4.118140] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.131854] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 4.145392] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.159266] ubi0: good PEBs: 441, bad PEBs: 0, corrupted PEBs: 0
[ 4.171251] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 4.185653] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1711742537
[ 4.203851] ubi0: available PEBs: 0, total reserved PEBs: 441, PEBs reserved for bad PEB handling: 20
[ 4.222261] ubi0: background thread "ubi_bgt0d" started, PID 296
[ 4.224225] block ubiblock0_0: created from ubi0:0(rootfs)
[ 4.245379] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 4.290524] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.310333] Freeing unused kernel image (initmem) memory: 1220K
[ 4.322299] This architecture does not have kernel memory protection.
[ 4.335220] Run /sbin/init as init process
[ 5.032169] init: Console is alive
[ 5.039443] init: - watchdog -
[ 5.840838] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 5.908216] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.928313] init: - preinit -
[ 9.386239] random: crng init done
[ 9.553459] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[ 10.763984] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 10.784153] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 10.786730] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 10.815553] 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
[ 13.034104] UBIFS (ubi0:1): default file-system created
[ 13.045903] UBIFS (ubi0:1): Mounting in unauthenticated mode
[ 13.057473] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 454
[ 13.183427] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 13.199082] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 13.218827] UBIFS (ubi0:1): FS size: 47362048 bytes (45 MiB, 373 LEBs), max 383 LEBs, journal size 2412544 bytes (2 MiB, 19 LEBs)
[ 13.242055] UBIFS (ubi0:1): reserved for root: 2237026 bytes (2184 KiB)
[ 13.255233] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID A094D1BB-0E29-41D4-B475-163D1AAF36C3, small LPT model
[ 13.281256] mount_root: overlay filesystem has not been fully initialized yet
[ 13.296355] mount_root: switching to ubifs overlay
[ 13.313791] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 13.435280] procd: - early -
[ 13.441337] procd: - watchdog -
[ 14.053275] procd: - watchdog -
[ 14.060651] procd: - ubus -
[ 14.222928] procd: - init -
Please press Enter to activate this console.
[ 14.909919] kmodloader: loading kernel modules from /etc/modules.d/*
[ 14.985448] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
[ 15.192150] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[ 15.207098] Backport generated by backports.git 193becf2
[ 15.433508] pci 0000:00:00.0: enabling device (0002 -> 0003)
[ 15.444857] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[ 15.469124] mt7615e 0000:01:00.0: registering led 'mt76-phy0'
[ 15.484854] pci 0000:00:01.0: enabling device (0002 -> 0003)
[ 15.496277] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[ 15.497811] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[ 15.497811]
[ 15.525827] mt7615e 0000:02:00.0: registering led 'mt76-phy1'
[ 15.608944] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[ 15.608944]
[ 15.659481] PPP generic driver version 2.4.2
[ 15.670001] NET: Registered PF_PPPOX protocol family
[ 15.688033] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.854388] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[ 15.854430] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[ 15.948661] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[ 15.948709] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[ 16.193692] urngd: v1.0.2 started.
[ 17.028273] mtdblock: MTD device 'board_data' is NAND, please consider using UBI block devices instead.
[ 36.747933] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[ 36.782292] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 36.798712] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 36.804667] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 36.832844] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 36.847317] br-lan: port 1(lan1) entered blocking state
[ 36.857868] br-lan: port 1(lan1) entered disabled state
[ 36.872451] device lan1 entered promiscuous mode
[ 36.901620] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 36.917560] br-lan: port 2(lan2) entered blocking state
[ 36.928176] br-lan: port 2(lan2) entered disabled state
[ 36.941748] device lan2 entered promiscuous mode
[ 36.958549] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 36.974944] br-lan: port 3(lan3) entered blocking state
[ 36.985614] br-lan: port 3(lan3) entered disabled state
[ 36.998935] device lan3 entered promiscuous mode
[ 37.024058] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[ 37.043075] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[ 40.196477] mtk_soc_eth 1e100000.ethernet wan: Link is Up - 1Gbps/Full - flow control off
[ 40.212874] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[ 40.234677] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[ 40.250722] br-lan: port 2(lan2) entered blocking state
[ 40.261327] br-lan: port 2(lan2) entered forwarding state
[ 40.274172] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
BusyBox v1.36.1 (2024-03-28 11:18:56 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r25694+38-2ec025d554
-----------------------------------------------------
=== 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": "6.1.82",
"hostname": "OpenWrt",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "Buffalo WSR-2533DHPL2",
"board_name": "buffalo,wsr-2533dhpl2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r25694+38-2ec025d554",
"target": "ramips/mt7621",
"description": "OpenWrt SNAPSHOT r25694+38-2ec025d554"
}
}
root@OpenWrt:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00040000 00020000 "factory"
mtd3: 03d20000 00020000 "firmware"
mtd4: 005fffe4 00020000 "linux"
mtd5: 03720000 00020000 "ubi"
mtd6: 03d20000 00020000 "Kernel2"
mtd7: 00200000 00020000 "glbcfg"
mtd8: 00200000 00020000 "board_data"
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: 2
Logical eraseblock size: 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks: 441 (55996416 bytes, 53.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: 20
Current maximum erase counter value: 2
Minimum input/output unit size: 2048 bytes
Character device major/minor: 251:0
Present volumes: 0, 1
Volume ID: 0 (on ubi0)
Type: dynamic
Alignment: 1
Size: 34 LEBs (4317184 bytes, 4.1 MiB)
State: OK
Name: rootfs
Character device major/minor: 251:1
-----------------------------------
Volume ID: 1 (on ubi0)
Type: dynamic
Alignment: 1
Size: 383 LEBs (48631808 bytes, 46.3 MiB)
State: OK
Name: rootfs_data
Character device major/minor: 251:2
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime,errors=continue)
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)
bpffs 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 4.3M 4.3M 0 100% /rom
tmpfs 58.5M 212.0K 58.3M 0% /tmp
/dev/ubi0_1 41.1M 156.0K 38.8M 0% /overlay
overlayfs:/overlay 41.1M 156.0K 38.8M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:/#