Skip to content

Instantly share code, notes, and snippets.

@yamori813
Last active May 26, 2016 02:56
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/4ea9d0c27e410bd52f1bd86c16b83a3e to your computer and use it in GitHub Desktop.
Save yamori813/4ea9d0c27e410bd52f1bd86c16b83a3e to your computer and use it in GitHub Desktop.
5VT1310-EVB# bootm
## Booting image at 00800000 ...
Image Name: FreeBSD Kernel Image
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 982111 Bytes = 959.1 kB
Load Address: 40000100
Entry Point: 40000100
Verifying Checksum ... OK
Uncompressing LZMA Kernel Image .......................................OK
Starting kernel @40000100...
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 #1 1e6e610(zrouter)-dirty: Wed May 25 18:41:23 JST 2016
hiroki@microserver:/usr/home/hiroki/ZRouter/obj/usr/home/hiroki/ZRouter2/zro
uter/tmp/arm.arm/usr/home/hiroki/data/git/freebsd/sys/Buffalo_WZR2-G300N arm
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "kernel" at 0xc02e9374.
CPU: ARM926EJ-S rev 5 (ARM9EJ-S core)
Little-endian DC enabled IC disabled WB enabled LABT branch prediction disable
d
16KB/32B 4-way instruction cache
16KB/32B 4-way write-back-locking-C data cache
real memory = 16777216 (16 MB)
avail memory = 11501568 (10 MB)
Physical memory chunk(s):
0x40000000 - 0x40ffffff, 16 MB ( 4096 pages)
Excluded memory regions:
0x40000000 - 0x40423fff, 4 MB ( 1060 pages) NoAlloc
Static device mappings:
0x19c00000 - 0x19cdffff mapped at VA 0xfff10000
0x1e800000 - 0x1effffff mapped at VA 0xff700000
0x1f000000 - 0x1f3fffff mapped at VA 0xff300000
ULE: setup cpu 0
random: entropy device external interface
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
mem: <memory>
random: harvesting attach, 8 bytes (4 bits) from nexus0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
random: harvesting attach, 8 bytes (4 bits) from simplebus0
simplebus1: <Flattened device tree simple bus> on ofwbus0
random: harvesting attach, 8 bytes (4 bits) from simplebus1
simplebus2: <Flattened device tree simple bus> on ofwbus0
simplebus2: No interrupt-parent found, assuming direct parent
simplebus2: Missing #interrupt-cells property, assuming <1>
simplebus2: No interrupt-parent found, assuming direct parent
simplebus2: Missing #interrupt-cells property, assuming <1>
random: harvesting attach, 8 bytes (4 bits) from simplebus2
random: harvesting attach, 8 bytes (4 bits) from ofwbus0
pic0: <RT1310 Interrupt Controller> mem 0x40000-0x5ffff on simplebus1
random: harvesting attach, 8 bytes (4 bits) from pic0
timer0: <RT1310 timer> mem 0-0xf,0x10-0x1f,0x20-0x2f,0x30-0x3f irq 3,4,5 on simp
lebus2
Event timer "RT1310ATimer2" frequency 75000000 Hz quality 1000
Timecounter "RT1310ATimer1" frequency 75000000 Hz quality 1000
random: harvesting attach, 8 bytes (4 bits) from timer0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
random: harvesting attach, 8 bytes (4 bits) from cpu0
random: harvesting attach, 8 bytes (4 bits) from cpulist0
cfi0: <AMD/Fujitsu - 4MB> mem 0-0x3fffff on simplebus0
cfi0: [8x8KB,63x64KB]
cfid0 on cfi0
random: harvesting attach, 8 bytes (4 bits) from cfid0
random: harvesting attach, 8 bytes (4 bits) from cfi0
simplebus1: <fvmdio@0> mem 0x80000-0x9ffff compat fv,mdio (no driver attached)
fv0: <FV Ethernet interface> mem 0x80000-0x9ffff irq 7 on simplebus1
fv0: bpf attached
fv0: Ethernet address: 00:1a:f1:01:1f:23
random: harvesting attach, 8 bytes (4 bits) from fv0
fv1: <FV Ethernet interface> mem 0xa0000-0xbffff irq 8 on simplebus1
fv1: bpf attached
fv1: Ethernet address: 00:1a:f1:01:1f:24
random: harvesting attach, 8 bytes (4 bits) from fv1
simplebus2: <rtc@20000> mem 0x20000-0x3ffff irq 6 compat rt,rtc (no driver attac
hed)
uart0: <16550 or compatible> mem 0x40000-0x5ffff irq 1 on simplebus2
uart0: console (38400,n,8,1)
uart0: fast interrupt
uart0: PPS capture mode: DCDinvalid
random: harvesting attach, 8 bytes (4 bits) from uart0
gpio0: <RT1310 GPIO> mem 0xa0000-0xbffff irq 8 on simplebus2
gpiobus0: <GPIO bus> on gpio0
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
Timecounters tick every 10.000 msec
vlan: initialized, using hash tables with chaining
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 512
lo0: bpf attached
GEOM: new disk cfid0
Trying to mount root from cd9660:/dev/cfid0s.rootfs.uzip []...
cfid0: slice 00000000-0000ffff: boot (63KB)
cfid0: slice 00010000-000fffff: kernel (959KB)
cfid0: slice 00100000-003cffff: rootfs (2879KB)
MAP: No valid partition found at cfid0
MAP: No valid partition found at cfid0s.boot
MAP: No valid partition found at cfid0s.kernel
MAP: No valid partition found at cfid0s.rootfs
MAP: No valid partition found at cfid0s.rootfs.uzip
cd9660: RockRidge Extension
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
Jan 1 00:00:07 init: NSSWITCH(_nsdispatch): nis, passwd_compat, endpwent, not f
ound, and no fallback provided
Enter full pathname of shell or RETURN for /bin/sh:
Cannot read termcap database;
using dumb terminal settings.
# ls -l /dev
total 2
crw------- 1 root wheel 0xd Jan 1 00:00 bpf
lrwxr-xr-x 1 root wheel 3 Jan 1 00:00 bpf0 -> bpf
crw------- 1 root wheel 0x1c Jan 1 00:00 cfi0
crw-r----- 1 root operator 0x2a Jan 1 00:00 cfid0
crw-r----- 1 root operator 0x2b Jan 1 00:00 cfid0s.boot
crw-r----- 1 root operator 0x2c Jan 1 00:00 cfid0s.kernel
crw-r----- 1 root operator 0x2d Jan 1 00:00 cfid0s.rootfs
crw-r----- 1 root operator 0x2e Jan 1 00:00 cfid0s.rootfs.uzip
crw------- 1 root wheel 0x7 Jan 1 01:29 console
crw-rw-rw- 1 root wheel 0x17 Jan 1 00:00 ctty
crw-rw---- 1 66 dialer 0x21 Jan 1 00:00 cuau0
crw-rw---- 1 66 dialer 0x22 Jan 1 00:00 cuau0.init
crw-rw---- 1 66 dialer 0x23 Jan 1 00:00 cuau0.lock
crw------- 1 root wheel 0x5 Jan 1 00:00 devctl
crw------- 1 root wheel 0x6 Jan 1 00:00 devctl2
cr--r--r-- 1 root wheel 0x1d Jan 1 00:00 devstat
dr-xr-xr-x 2 root wheel 512 Jan 1 00:00 fd
crw------- 1 root wheel 0x19 Jan 1 00:00 fido
crw-rw-rw- 1 root wheel 0xa Jan 1 00:00 full
crw-r----- 1 root operator 0x4 Jan 1 00:00 geom.ctl
crw------- 1 root wheel 0x24 Jan 1 00:00 gpioc0
crw------- 1 root wheel 0x18 Jan 1 00:00 klog
crw-r----- 1 root kmem 0x1b Jan 1 00:00 kmem
crw-r----- 1 root kmem 0x1a Jan 1 00:00 mem
crw-rw-rw- 1 root wheel 0xb Jan 1 00:00 null
crw------- 1 root wheel 0xf Jan 1 00:00 openfirm
crw-rw-rw- 1 root wheel 0x10 Jan 1 00:00 ptmx
crw-r--r-- 1 root wheel 0x8 Jan 1 00:00 random
dr-xr-xr-x 2 root wheel 512 Jan 1 00:00 reroot
lrwxr-xr-x 1 root wheel 4 Jan 1 00:00 stderr -> fd/2
lrwxr-xr-x 1 root wheel 4 Jan 1 00:00 stdin -> fd/0
lrwxr-xr-x 1 root wheel 4 Jan 1 00:00 stdout -> fd/1
crw------- 1 root wheel 0x1e Jan 1 01:28 ttyu0
crw------- 1 root wheel 0x1f Jan 1 00:00 ttyu0.init
crw------- 1 root wheel 0x20 Jan 1 00:00 ttyu0.lock
lrwxr-xr-x 1 root wheel 6 Jan 1 00:00 urandom -> random
crw-rw-rw- 1 root wheel 0xc Jan 1 00:00 zero
# devinfo -r
nexus0
ofwbus0
cpulist0
cpu0
simplebus0
cfi0
Device Memory:
0x1f000000-0x1f3fffff
cfid0
simplebus1
pic0
Device Memory:
0x19c40000-0x19c5ffff
fv0
Interrupts:
0x7
Device Memory:
0x19c80000-0x19c9ffff
fv1
Interrupts:
0x8
Device Memory:
0x19ca0000-0x19cbffff
simplebus2
timer0
Interrupts:
0x3
0x4
0x5
Device Memory:
0x1e800000-0x1e80000f
0x1e800010-0x1e80001f
0x1e800020-0x1e80002f
0x1e800030-0x1e80003f
uart0
Interrupts:
0x1
Device Memory:
0x1e840000-0x1e85ffff
gpio0
Device Memory:
0x1e8a0000-0x1e8bffff
gpiobus0
gpioc0
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment