大破雑記帳

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

WG600HP stock -> OpenWrt

注意点はあるけどfactoryイメージ仕立てられたので記録

メーカーファームウェアでfactoryイメージを投入して再起動されOpenWrtのinitramfsイメージで上がって来た際、U-Bootの置き換えとsysupgradeの両方をせずに電源を切るかrebootするとブートできなくなるので、その場合シリアルコンソールが必要になる

メーカーのファームウェアブートローダそれぞれにおけるハードウェアリセットの仕様の違いによる問題なので、現状どうにもできない どうにかなった

lzma-loaderをダミーとして本来のfirmware領域に置き、OpenWrtのinitramfsイメージをTP領域に置いてダミーがブートされた場合はフルリセットを掛けることで対処

login: #### cwm_action_mac40to20: ht40 -> ht20
#### osif_vap_init: IEEE80211_F_COEXT_DISABLE skip wlan_determine_cw()
#### cwm_action_mac40to20: ht40 -> ht20
#### osif_vap_init: IEEE80211_F_COEXT_DISABLE skip wlan_determine_cw()
#### cwm_action_mac40to20: ht40 -> ht20
#### osif_vap_init: IEEE80211_F_COEXT_DISABLE skip wlan_determine_cw()
#### cwm_action_mac40to20: ht40 -> ht20
#### osif_vap_init: IEEE80211_F_COEXT_DISABLE skip wlan_determine_cw()

NetBSD/messimips (Amnesiac) (console)

login: s/w clock, h/w clock diff
 s/w real_time 1420038150 sec
 h/w RTC       1420038152 sec

IPL:SOFT-RESET
memory test ... ok
flinstall OK

boot version: 1.0.0

PKG "Orthos-HP"
CPU "Atheros/AR9344"
Revision 212.1 CLOCK 560.0 MHz
HEAP MEMORY 262144 bytes
Boot:InitFilesystem
phy0.1: "Atheros/AR8327(SW)"
phy0.0: "Atheros/AR8327(phy)"
active ch:0
now booting Firmware ...
loaded Firmware
NEC Aterm series

## booted with dummy firmware (lzma-loader), resetting... ##

IPL:HARD-RESET
memory test ... ok
flinstall OK

boot version: 1.0.0

PKG "Orthos-HP"
CPU "Atheros/AR9344"
Revision 212.1 CLOCK 560.0 MHz
HEAP MEMORY 262144 bytes
Boot:InitFilesystem
phy0.1: "Atheros/AR8327(SW)"
phy0.0: "Atheros/AR8327(phy)"
active ch:0
post start
NEC Aterm series


OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80060000...

[    0.000000] Linux version 6.1.86 (musashino205@TAIHA.NET) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r26084+52-6e5edec159) 13.2.0, GNU ld (GNU Binutils) 2.42) #0 Tue Apr 30 06:20:25 2024
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is NEC Aterm WG600HP
[    0.000000] SoC: Atheros AR9344 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, 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] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: 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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 107396K/131072K available (4517K kernel code, 541K rwdata, 716K rodata, 16488K init, 195K bss, 23676K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 560.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[    0.000001] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[    0.092775] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.237630] pid_max: default: 32768 minimum: 301
[    0.293664] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.381176] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.476435] cblist_init_generic: Setting adjustable number of callback queues.
[    0.562874] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.641228] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.758927] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.840172] pinctrl core: initialized pinctrl subsystem
[    0.904708] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.979880] gpio-13 (switch-reset): hogged as output/high
[    1.057751] clocksource: Switched to clocksource MIPS
[    1.120166] NET: Registered PF_INET protocol family
[    1.178880] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.266453] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.367569] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.460292] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    1.551906] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    1.636276] TCP: Hash tables configured (established 1024 bind 1024)
[    1.712435] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.790639] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.874395] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.942194] PCI: CLS 0 bytes, default 32
[    2.284049] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.366753] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.436569] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.559038] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    2.629439] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.706492] printk: console [ttyS0] disabled
[    2.757714] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    2.861924] printk: console [ttyS0] enabled
[    2.861924] printk: console [ttyS0] enabled
[    2.961915] printk: bootconsole [early0] disabled
[    2.961915] printk: bootconsole [early0] disabled
[    3.089654] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    3.149255] 4 fixed-partitions partitions found on MTD device spi0.0
[    3.225360] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    3.304531] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    3.384041] Creating 4 MTD partitions on "spi0.0":
[    3.441458] 0x000000000000-0x000000020000 : "bootloader"
[    3.511197] 0x000000020000-0x000000030000 : "config"
[    3.571953] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    3.651550] 0x000000030000-0x000000040000 : "art"
[    3.711719] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    3.791328] 0x000000040000-0x000000800000 : "firmware"
[    4.331726] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
[    5.058217] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    5.183094] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    5.260293] NET: Registered PF_INET6 protocol family
[    5.329350] Segment Routing with IPv6
[    5.373318] In-situ OAM (IOAM) with IPv6
[    5.420376] NET: Registered PF_PACKET protocol family
[    5.481206] 8021q: 802.1Q VLAN Support v1.8
[    5.534150] PCI host bridge to bus 0000:00
[    5.583191] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    5.665419] pci_bus 0000:00: root bus resource [io  0x0000]
[    5.732072] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    5.826877] pci 0000:00:00.0: [168c:0030] type 00 class 0x028000
[    5.898834] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1001ffff 64bit]
[    5.980085] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    6.060375] pci 0000:00:00.0: supports D1
[    6.108349] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    6.179313] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    6.258555] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    6.346006] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    6.515243] Freeing unusedrnel image (imem) memory: 88K
[    6.577825] This architect does not havernel memory tection.
[    6.645381] Run /init as i process
[    7.548448] init: Console alive
[    7.586630] init: - watchd-
[    7.788047] usbcore: regised new interf driver usbfs[    7.842256] usbcore: regied new interf driver hubc/mles-boot.d/*
[    7.898447] usbcore: regied new deviceiver usb
[    7.986656] SCSI subsystemitialized
[    8.039162] ehci-platform 00000.usb: EHHost Controll
                                                       [    8.097651] ehci-platform 00000.usb: neSB bus registd, assigned bnumber 1
[    8.178844] ehci-platform 00000.usb: ir, io mem 0x1b000
[    8.267776] ehci-platform 00000.usb: US.0 started, E 1.00
[    8.333625] hub 1-0:1.0: Uhub found
[    8.375350] hub 1-0:1.0: 1rt detected
[    8.424139] usbcore: regised new interf driver usb-sage
[    8.491317] kmodloader: doloading kerneodules from //modules-boot*
[    8.575946] init: - preini
[    8.757847] usb 1-1: new h-speed USB dee number 2 us ehci-platfor[    9.080123] hub 1-1:1.0: Uhub found
[   10.417772] random: crng i doneetected
[   12.020051] Atheros AR82168236/AR8316 m.0:00: Port 1 up
[   12.083161] Atheros AR82168236/AR8316 m.0:00: Port 5 up
[   12.147100] eth0: link up 00Mbps/Full dex)
Press the [f] key and hit [enter[   12.317368] IPv6: ADDRCONTDEV_CHANGE):h0: link beco ready
] to enter fails[   12.395846]Pv6: ADDRCONFTDEV_CHANGE):h0.1: link bees ready
afe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   14.400958] eth0: link dow[   14.455124] procd: - early
                                                          [   14.486965] procd: - watch -
[   14.521915] procd: Watchdoas previouslyset the syste[   15.158551] procd: - watch -
[   15.193383] procd: Watchdoas previouslyset the syste[   15.249234] procd: - ubus[   15.335730] procd: - init Please press Enter to activate this console.
[   16.353642] kmodloader: long kernel mods from /etc/mles.d/*
[   17.096300] Loading moduleackported froinux version 6.15-0-g51f3515c4
[   17.173379] Backport generd by backportit 193becf2
[   17.641285] PPP generic drr version 2.4
                                          [   17.738917] NET: RegistereF_PPPOX proto family
[   17.948183] ieee80211 phy0theros AR9340v:1 mem=0x0fb5b, irq=14
[   18.034284] gpio-506 (usb--reset): hoggas output/hig[   18.088780] ieee80211 phytheros AR9300v:3 mem=0xdc47d, irq=17
[   19.145146] urngd: v1.0.2 rted.ng kerneodules from //modules.d/*
[   60.560125] eth0: link up 00Mbps/Full dex)
[   60.738842] device eth0.1ered promiscu moded statee
[   60.791587] device eth0 ened promiscuouode
[   60.902100] IPv6: ADDRCONFTDEV_CHANGE):h0: link beco ready
[   61.163875] br-lan: port h0.1) enteredrwarding stat[   61.557854] IPv6: ADDRCONFTDEV_CHANGE):-lan: link bees ready
^[[B


BusyBox v1.36.1 (2024-04-30 06:20:25 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r26084+52-6e5edec159
 -----------------------------------------------------
=== 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:/# sysupgrade /tmp/openwrt-ath79-tiny-nec_wg600hp-squashfs-sysupgrade.bin
Tue Apr 30 16:21:39 UTC 2024 upgrade: The bootloader doesn't seem to be replaced to U-Boot!
Image check failed.
root@OpenWrt:/# mtd write /tmp/openwrt-ath79-tiny-nec_wg600hp-uboot.bin bootloader
Unlocking bootloader ...

Writing from /tmp/openwrt-ath79-tiny-nec_wg600hp-uboot.bin to bootloader ...     
root@OpenWrt:/# sysupgrade /tmp/openwrt-ath79-tiny-nec_wg600hp-squashfs-sysupgrade.bin 
Cannot save config while running from ramdisk.
Tue Apr 30 12:19:12 UTC 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog has previously reset the system
Tue Apr 30 12:19:14 UTC 2024 upgrade: Sending TERM to remaining processes ...
Tue Apr 30 12:19:14 UTC 2024 upgrade: Sending signal TERM to netifd (1316)
Tue Apr 30 12:19:18 UTC 2024 upgrade: Sending KILL to remaining processes ...
Tue Apr 30 12:19:18 UTC 2024 upgrade: Sending signal KILL to netifd (1316)
Tue Apr 30 12:19:26 UTC 2024 upgrade: Switching to ramdisk...
Tue Apr 30 12:19:29 UTC 2024 upg[  674.289617] do_stage2 (28 drop_caches:
                                                                         rade: Performing system upgrade...
Unlocking firmware ...

Writing from <stdin> to firmware ...     
Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
.File /tmp/sysupgrade.tgz does not exist                                                                                                         
Tue Apr 30 12:20:50 UTC 2024 upgrade: Upgrade completed
Tue Apr 30 12:20:51 UTC 2024 upg[  756.413024] reboot: Restag system
*""*&+73"             <--- U-Boot, シリアルコンソールのbaudrateが9600bpsから115200bpsに切り替わる

                              <--- 以下115200に切り替えた場合
U-Boot 2024.04-OpenWrt-r26084+50-6e5edec159 (Apr 30 2024 - 18:00:32 +0000)

DRAM:  128 MiB
Core:  5 devices, 4 uclasses, devicetree: separate
Loading Environment from <NULL>... OK
In:    uart@18020000
Out:   uart@18020000
Err:   uart@18020000
Hit any key to stop autoboot:  0 
## Booting kernel from Legacy Image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-6.1.86
   Image Type:   MIPS Linux Kernel Image (uncompressed)
   Data Size:    1818936 Bytes = 1.7 MiB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Loading Kernel Image to 80060000
NEC Aterm series


OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80060000...

[    0.000000] Linux version 6.1.86 (musashino205@TAIHA.NET) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r26084+52-6e5edec159) 13.2.0, GNU ld (GNU Binutils) 2.42) #0 Tue Apr 30 06:20:25 2024
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is NEC Aterm WG600HP
[    0.000000] SoC: Atheros AR9344 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200 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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 122692K/131072K available (4517K kernel code, 541K rwdata, 716K rodata, 1192K init, 195K bss, 8380K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 560.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[    0.000001] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[    0.008768] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[    0.085702] pid_max: default: 32768 minimum: 301
[    0.091659] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.099848] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.111081] cblist_init_generic: Setting adjustable number of callback queues.
[    0.119153] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.131438] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.142475] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.150109] pinctrl core: initialized pinctrl subsystem
[    0.158005] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.168949] gpio-13 (switch-reset): hogged as output/high
[    0.188020] clocksource: Switched to clocksource MIPS
[    0.195544] NET: Registered PF_INET protocol family
[    0.201351] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.210615] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.220117] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.228792] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.237353] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.245261] TCP: Hash tables configured (established 1024 bind 1024)
[    0.252523] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.259894] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.268108] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.274480] PCI: CLS 0 bytes, default 32
[    0.282985] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.295837] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.302409] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.319130] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.327119] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.335279] printk: console [ttyS0] disabled
[    0.340222] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.350002] printk: console [ttyS0] enabled
[    0.358917] printk: bootconsole [early0] disabled
[    0.383305] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    0.388592] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.395129] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.401921] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.409088] Creating 4 MTD partitions on "spi0.0":
[    0.414017] 0x000000000000-0x000000020000 : "bootloader"
[    0.425357] 0x000000020000-0x000000030000 : "config"
[    0.431707] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.438897] 0x000000030000-0x000000040000 : "art"
[    0.447695] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.454880] 0x000000040000-0x000000800000 : "firmware"
[    0.462850] 2 uimage-fw partitions found on MTD device firmware
[    0.468941] Creating 2 MTD partitions on "firmware":
[    0.474040] 0x000000000000-0x0000001bd000 : "kernel"
[    0.480192] 0x0000001bd000-0x0000007c0000 : "rootfs"
[    0.488261] mtd: setting mtd5 (rootfs) as root device
[    0.493486] 1 squashfs-split partitions found on MTD device rootfs
[    0.499810] 0x0000005b7000-0x0000007c0000 : "rootfs_data"
[    0.855017] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
[    1.508478] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    1.519950] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    1.529458] NET: Registered PF_INET6 protocol family
[    1.543637] Segment Routing with IPv6
[    1.547465] In-situ OAM (IOAM) with IPv6
[    1.551692] NET: Registered PF_PACKET protocol family
[    1.557186] 8021q: 802.1Q VLAN Support v1.8
[    1.584230] PCI host bridge to bus 0000:00
[    1.588454] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    1.595453] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.601136] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.609248] pci 0000:00:00.0: [168c:0030] type 00 class 0x028000
[    1.615390] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[    1.622355] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.629322] pci 0000:00:00.0: supports D1
[    1.633408] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.641425] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.648244] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[    1.655700] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[    1.677899] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.690191] Freeing unused kernel image (initmem) memory: 1192K
[    1.696221] This architecture does not have kernel memory protection.
[    1.702798] Run /sbin/init as init process
[    1.706954]   with arguments:
[    1.706962]     /sbin/init
[    1.706971]   with environment:
[    1.706978]     HOME=/
[    1.706986]     TERM=linux
[    2.445798] init: Console is alive
[    2.449926] init: - watchdog -
[    4.124069] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.182509] usbcore: registered new interface driver usbfs
[    4.188291] usbcore: registered new interface driver hub
[    4.193791] usbcore: registered new device driver usb
[    4.230849] SCSI subsystem initialized
[    4.245979] ehci-platform 1b000000.usb: EHCI Host Controller
[    4.251846] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    4.259940] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[    4.288044] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    4.295586] hub 1-0:1.0: USB hub found
[    4.300470] hub 1-0:1.0: 1 port detected
[    4.312966] usbcore: registered new interface driver usb-storage
[    4.322981] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.341033] init: - preinit -
[    7.868041] random: crng init done
[    9.493599] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 1 is up
[    9.500367] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is up
[    9.507917] eth0: link up (1000Mbps/Full duplex)
[    9.527595] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.544537] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   11.779174] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   11.799214] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.848847] eth0: link down
[   11.882861] procd: - early -
[   11.886185] procd: - watchdog -
[   12.508269] procd: - watchdog -
[   12.513359] procd: - ubus -
[   12.588218] procd: - init -
[   13.875195] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.562207] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[   14.569882] Backport generated by backports.git 193becf2
[   14.588517] platform ath9k-leds: deferred probe pending
[   15.081510] PPP generic driver version 2.4.2
[   15.089640] NET: Registered PF_PPPOX protocol family
[   15.212882] ath: EEPROM regdomain: 0x88
[   15.212913] ath: EEPROM indicates we should expect a direct regpair map
[   15.212933] ath: Country alpha2 being used: JP
[   15.212943] ath: Regpair used: 0x88
[   15.226073] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.227242] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb53458f3, irq=14
[   15.234558] ath9k 0000:00:00.0: enabling device (0000 -> 0002)
[   15.246892] ath: EEPROM regdomain: 0x88
[   15.246919] ath: EEPROM indicates we should expect a direct regpair map
[   15.246938] ath: Country alpha2 being used: JP
[   15.246949] ath: Regpair used: 0x88
[   15.257368] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.258396] gpio-506 (usb-hub-reset): hogged as output/high
[   15.264468] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0x478b979e, irq=17
[   15.468501] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.638081] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   15.850745] hub 1-1:1.0: USB hub found
[   15.868845] hub 1-1:1.0: 4 ports detected
[   16.440898] urngd: v1.0.2 started.
[   49.967122] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   50.018241] jffs2_build_filesystem(): unlocking the mtd device... 
[   50.018301] done.
[   50.026549] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   52.592680] eth0: link up (1000Mbps/Full duplex)
[   52.618842] br-lan: port 1(eth0.1) entered blocking state
[   52.624359] br-lan: port 1(eth0.1) entered disabled state
[   52.630280] device eth0.1 entered promiscuous mode
[   52.635170] device eth0 entered promiscuous mode
[   52.668066] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   52.708382] br-lan: port 1(eth0.1) entered blocking state
[   52.713901] br-lan: port 1(eth0.1) entered forwarding state
[   53.628117] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   73.169560] done.
[   73.171565] jffs2: notice: (1837) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   73.386872] overlayfs: upper fs does not support tmpfile.



BusyBox v1.36.1 (2024-04-30 06:20:25 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r26084+52-6e5edec159
 -----------------------------------------------------
=== 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:/#