Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamori813/7ea382a519212c53ccc6ea499bf80d32 to your computer and use it in GitHub Desktop.
Save yamori813/7ea382a519212c53ccc6ea499bf80d32 to your computer and use it in GitHub Desktop.
ar7240> tftpboot 80050000 kernel.WZR-300HP
Using eth1 device
TFTP from server 10.10.10.3; our IP address is 10.10.10.99
Filename 'kernel.WZR-300HP'.
Load address: 0x80050000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################################################
done
Bytes transferred = 4592580 (4613c4 hex)
ar7240> bootelf
Loading .text @ 0x80050100 (2851840 bytes)
Loading .MIPS.stubs @ 0x80308500 (16 bytes)
Loading .rodata @ 0x80308510 (312644 bytes)
Loading set_sysctl_set @ 0x80354a54 (4400 bytes)
Loading set_sysuninit_set @ 0x80355b84 (1164 bytes)
Loading set_sysinit_set @ 0x80356010 (2052 bytes)
Loading set_modmetadata_set @ 0x80356814 (664 bytes)
Loading set_kdb_dbbe_set @ 0x80356aac (8 bytes)
Loading set_cons_set @ 0x80356ab4 (8 bytes)
Loading .interp @ 0x80356abc (13 bytes)
Loading .hash @ 0x80356acc (41688 bytes)
Loading .dynsym @ 0x80360da4 (101136 bytes)
Loading .dynstr @ 0x803798b4 (98325 bytes)
Loading .reginfo @ 0x803918cc (24 bytes)
Loading .data @ 0x80394000 (207216 bytes)
Loading .rld_map @ 0x803c6970 (4 bytes)
Loading set_pcpu @ 0x803c6980 (3332 bytes)
Loading .got @ 0x803c7690 (5864 bytes)
Loading .dynamic @ 0x803c8d78 (200 bytes)
Clearing .bss @ 0x803c8e40 (516608 bytes)
## Starting application at 0x80050100 ...
CPU platform: Atheros AR7240 rev 2
CPU Frequency=400 MHz
CPU DDR Frequency=400 MHz
CPU AHB Frequency=200 MHz
platform frequency: 400 MHz
CPU reference clock: 5 MHz
CPU MDIO clock: 5 MHz
arguments:
a0 = 00000000
a1 = 81f94604
a2 = 00000010
a3 = fffffffe
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 v116.147
MMU: Standard TLB, 16 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=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
Config2=0x80000000
Config3=0x20
Physical memory chunk(s):
0x448000 - 0x3ffffff, 62619648 bytes (15288 pages)
Maxmem is 0x4000000
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 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.0-CURRENT #0 r299110: Thu May 5 17:19:26 JST 2016
hiroki@microserver:/usr/home/hiroki/data/freebsd/head/obj/mips_ap/mips.mips/
usr/home/hiroki/data/freebsd/head/src/sys/WZR-300HP mips
gcc version 4.2.1 20070831 patched [FreeBSD]
WARNING: WITNESS option enabled, expect reduced performance.
MEMGUARD DEBUGGING ALLOCATOR INITIALIZED:
MEMGUARD map base: 0xc0800000
MEMGUARD map size: 104860 KBytes
Preloaded elf kernel "kernel" at 0x80441450.
real memory = 67108864 (65536K bytes)
Physical memory chunk(s):
0x004dc000 - 0x03eb3fff, 60653568 bytes (14808 pages)
avail memory = 53534720 (51MB)
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
arswitch0: <Atheros AR7240 Ethernet Switch (ver 0 rev 0)> on mdio0
miibus0: <MII bus> on arswitch0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: OUI 0x00c82e, model 0x0004, rev. 1
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 10
00baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy0
random: harvesting attach, 8 bytes (4 bits) from miibus0
miibus1: <MII bus> on arswitch0
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: OUI 0x00c82e, model 0x0004, rev. 1
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 10
00baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy1
random: harvesting attach, 8 bytes (4 bits) from miibus1
miibus2: <MII bus> on arswitch0
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2
ukphy2: OUI 0x00c82e, model 0x0004, rev. 1
ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 10
00baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy2
random: harvesting attach, 8 bytes (4 bits) from miibus2
miibus3: <MII bus> on arswitch0
ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3
ukphy3: OUI 0x00c82e, model 0x0004, rev. 1
ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 10
00baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy3
random: harvesting attach, 8 bytes (4 bits) from miibus3
etherswitch0: <Switch controller> on arswitch0
random: harvesting attach, 8 bytes (4 bits) from etherswitch0
mdio1: <MDIO> on arswitch0
mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1
random: harvesting attach, 8 bytes (4 bits) from mdioproxy1
random: harvesting attach, 8 bytes (4 bits) from mdio1
random: harvesting attach, 8 bytes (4 bits) from arswitch0
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 200000000 Hz quality 800
Event timer "MIPS32" frequency 200000000 Hz quality 800
random: harvesting attach, 8 bytes (4 bits) from clock0
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
random: harvesting attach, 8 bytes (4 bits) from apb0
pcib0 at irq 0 on nexus0
pcib0: ar724x_pci_slot_fixup: checking dev pcib0, 0/0/0
pcib0: found EEPROM at 0x1f051000 on 0.0.0
0x000074cd=0xcabf64a1
Trap cause = 5 (address error (store) - kernel mode)
[ thread pid 0 tid 100000 ]
Stopped at platform_start+0x13b0: sw s0,0(v0)
db>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment