Skip to content

Instantly share code, notes, and snippets.

@josla972
Created April 21, 2019 14:19
Show Gist options
  • Save josla972/48d9e63a57ef03e65fcf3d372ff82e4a to your computer and use it in GitHub Desktop.
Save josla972/48d9e63a57ef03e65fcf3d372ff82e4a to your computer and use it in GitHub Desktop.
WN-G300R boot 12.0
Starting kernel ...
CPU platform: Atheros AR9341 rev 1
CPU Frequency=535 MHz
CPU DDR Frequency=400 MHz
CPU AHB Frequency=200 MHz
platform frequency: 535 MHz
CPU reference clock: 25 MHz
CPU MDIO clock: 25 MHz
arguments:
a0 = 00000007
a1 = a1f73fb0
a2 = a1f74470
a3 = 00000004
Cmd line:argv is invalid
Environment:
envp is invalid
Cache info:
picache_stride = 4096
picache_loopcount = 16
pdcache_stride = 4096
pdcache_loopcount = 8
max line size = 32
cpu0: MIPS Technologies processor v76.151
MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)
L1 i-cache: 4 ways of 512 sets, 32 bytes per line
L1 d-cache: 4 ways of 256 sets, 32 bytes per line
L2 cache: disabled
Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
Config2=0x80001000
Config3=0x2c20<ULRI>
Config7=0x80000800<WII>
Physical memory chunk(s):
0x331000 - 0x1ffffff, 30208000 bytes (7375 pages)
Maxmem is 0x2000000
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-STABLE #0 092c754da16(HEAD)-dirty: Sun Apr 21 15:23:06 JST 2019
josef@freebsd-virtual:/usr/home/josef/ZRouter/obj/usr/home/josef/ZRouter/ZRouter/tmp/usr/home/josef/freebsd/mips.mips/syss
gcc version 6.4.0 (FreeBSD Ports Collection for mips)
Preloaded elf kernel "kernel" at 0x8032a74c.
real memory = 33554432 (32768K bytes)
Physical memory chunk(s):
0x003bd000 - 0x01f7dfff, 29102080 bytes (7105 pages)
avail memory = 28262400 (26MB)
arc4random: no preloaded entropy cache
random: entropy device external interface
null: <full device, null device, zero device>
mem: <memory>
nexus0: <MIPS32 root nexus>
argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0
mdio0: <MDIO> on argemdio0
mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 267500000 Hz quality 800
Event timer "MIPS32" frequency 267500000 Hz quality 800
argemdio1: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x1a000000-0x1a000fff on nexus0
mdio1: <MDIO> on argemdio1
mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1
arswitch0: <Atheros AR9340 Ethernet Switch (ver 0 rev 0)> on mdio1
arswitch0: ar9340_hw_global_setup: GMII
arswitch0: ar9340_hw_global_setup: PHY4 - CPU
miibus0: <MII bus> on arswitch0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: OUI 0x00c82e, model 0x0004, rev. 2
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus1: <MII bus> on arswitch0
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: OUI 0x00c82e, model 0x0004, rev. 2
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus2: <MII bus> on arswitch0
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2
ukphy2: OUI 0x00c82e, model 0x0004, rev. 2
ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus3: <MII bus> on arswitch0
ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3
ukphy3: OUI 0x00c82e, model 0x0004, rev. 2
ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
etherswitch0: <Switch controller> on arswitch0
mdio2: <MDIO> on arswitch0
mdioproxy2: <MII/MDIO proxy, MDIO side> on mdio2
apb0 at irq 4 on nexus0
uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0
uart0: console (115200,n,8,1)
uart0: fast interrupt
uart0: PPS capture mode: DCD
gpio0: <Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0
gpio0: [GIANT-LOCKED]
gpio0: function_set: 0x0
gpio0: function_clear: 0x0
gpio0: gpio pinmask=0x7db000
gpiobus0: <GPIO bus> on gpio0
gpioled0: <GPIO led> at pin 15 on gpiobus0
gpioled1: <GPIO led> at pin 13 on gpiobus0
gpioled2: <GPIO led> at pin 12 on gpiobus0
gpioc0: <GPIO controller> on gpio0
arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
arge0: Overriding MAC from EEPROM
miiproxy0: <MII/MDIO proxy, MII side> on arge0
miiproxy0: attached to target mdio1
arge0: finishing attachment, phymask 0001, proxy set
arge0: unable to attach PHY 0: 6
miiproxy0: detached
device_attach: arge0 attach returned 6
arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0
arge1: arge_attach: overriding MII mode to 'GMII'
arge1: Generating random ethernet address.
mii_attach_proxy: not attaching, no mdio device hint for arge1
arge1: finishing attachment, phymask 0000, proxy null
arge1: bpf attached
arge1: Ethernet address: 62:73:64:92:23:ee
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <SPI bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
mx25l0: device type en25q32, size 4096K in 64 sectors of 64K, erase size 64K
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
Device configuration finished.
Timecounters tick every 1.000 msec
lo0: bpf attached
vlan: initialized, using hash tables with chaining
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512
arswitch0port1: link state changed to DOWN
arswitch0port2: link state changed to DOWN
arswitch0port3: link state changed to DOWN
arswitch0port4: link state changed to DOWN
GEOM: new disk flash/spi0
Trying to mount root from cd9660:/dev/map/rootfs.uzip []...
MAP: flash/spi0: 0x40000, data=0x40000 "/dev/map/bootloader"
MAP: flash/spi0: 40000x3a0000, data=0x3a0000 "/dev/map/upgrade"
MAP: search flash/spi0 for key ".!/bin/sh" from 0x100000, step 0x10000
MAP: flash/spi0: 40000x100000, data=0x100000 "/dev/map/kernel"
MAP: search flash/spi0 for key ".!/bin/sh" from 0x100000, step 0x10000
MAP: flash/spi0: 140000x2a0000, data=0x2a0000 "/dev/map/rootfs"
MAP: flash/spi0: 3f0000x10000, data=0x10000 "/dev/map/ART"
MAP: No valid partition found at map/rootfs.uzip
cd9660: RockRidge Extension
Warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
arswitch0: arswitch_miipollstat: port 0: port -> UP
arsed to UP
gpio_pin_set_flags: Invalid argument
kenv: unable to get HostName
kern.coredump: 1 -> 0
net.inet.ip.forwarding: 0 -> 1
memory disk size = 10m
MAP: No valid partition found at md0
random: unblocking device.
MAP: No valid partition found at md0
lo0: link state changed to UP
Thu Jan 1 00:00:32 UTC 1970
login:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment