Skip to content

Instantly share code, notes, and snippets.

@josla972
Created February 11, 2019 02:42
Show Gist options
  • Save josla972/a281c1b07feaa5bd5578030cad0ec636 to your computer and use it in GitHub Desktop.
Save josla972/a281c1b07feaa5bd5578030cad0ec636 to your computer and use it in GitHub Desktop.
WN-G300R boot 11.2
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
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
Physical memory chunk(s):
0x2fa000 - 0x1ffffff, 30433280 bytes (7430 pages)
Maxmem is 0x2000000
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2018 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 11.2-RELEASE-p9 #0 dbe75471303(freebsd_11_pf_improved): Mon Feb 11 11:41:16 JST 2019
josef@freebsd-virtual:/usr/home/josef/ZRouter/obj/usr/home/josef/ZRouter/ZRouter/tmp/mips.mips/usr/home/josef/freebs
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "kernel" at 0x802f3b40.
real memory = 33554432 (32768K bytes)
Physical memory chunk(s):
0x00386000 - 0x01f41fff, 29081600 bytes (7100 pages)
avail memory = 28430336 (27MB)
random: entropy device external interface
mem: <memory>
null: <full device, null device, zero device>
nexus0: <MIPS32 root nexus>
random: harvesting attach, 8 bytes (4 bits) from nexus0
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
random: harvesting attach, 8 bytes (4 bits) from mdioproxy0
random: harvesting attach, 8 bytes (4 bits) from mdio0
random: harvesting attach, 8 bytes (4 bits) from argemdio0
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 267500000 Hz quality 800
Event timer "MIPS32" frequency 267500000 Hz quality 800
random: harvesting attach, 8 bytes (4 bits) from clock0
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
random: harvesting attach, 8 bytes (4 bits) from mdioproxy1
arswitch0: <Atheros AR9340 Ethernet Switch (ver 0 rev 0)> on mdio1
arswitch0: unable to reset switch
device_attach: arswitch0 attach returned 6
random: harvesting attach, 8 bytes (4 bits) from mdio1
random: harvesting attach, 8 bytes (4 bits) from argemdio1
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: DCDinvalid
random: harvesting attach, 8 bytes (4 bits) from uart0
gpio0: <Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0
gpio0: [GIANT-LOCKED]
gpio0: function_set: 0x2000
gpio0: function_clear: 0x0
gpio0: gpio pinmask=0x7db000
gpiobus0: <GPIO bus> on gpio0
gpioled0: <GPIO led> at pin 15 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled0
gpioled1: <GPIO led> at pin 13 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled1
gpioled2: <GPIO led> at pin 12 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled2
random: harvesting attach, 8 bytes (4 bits) from gpiobus0
gpioc0: <GPIO controller> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpioc0
random: harvesting attach, 8 bytes (4 bits) from gpio0
random: harvesting attach, 8 bytes (4 bits) from apb0
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
random: harvesting attach, 8 bytes (4 bits) from miiproxy0
arge0: can't attach proxy
arge0: finishing attachment, phymask 0010, proxy null
arge0: unable to attach PHY 4: 6
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:1e:0e:30
random: harvesting attach, 8 bytes (4 bits) from arge1
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
random: harvesting attach, 8 bytes (4 bits) from mx25l0
random: harvesting attach, 8 bytes (4 bits) from spibus0
random: harvesting attach, 8 bytes (4 bits) from spi0
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
random: harvesting attach, 8 bytes (4 bits) from ar71xx_wdog0
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
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: 40000xe0000, data=0xe0000 "/dev/map/kernel"
MAP: search flash/spi0 for key ".!/bin/sh" from 0x100000, step 0x10000
MAP: flash/spi0: 120000x2c0000, data=0x2c0000 "/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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment