Skip to content

Instantly share code, notes, and snippets.

@ryo
Created December 26, 2014 06:15
Show Gist options
  • Save ryo/8413837f5d1ce828d10b to your computer and use it in GitHub Desktop.
Save ryo/8413837f5d1ce828d10b to your computer and use it in GitHub Desktop.
## Starting application at 0x10800000 ...
PC=0x10800024
SP=0xff34fd70
CPSR=0x600001d3
<cortex_init>@ABC12-</cortex_init>
<mmu_init_table></mmu_init_table>
<arm_cpuinit>FG01H1IJKLM</arm_cpuinit>
@ABC12-FG01H1IJKLM@ABC12-FG01H1IJKLM@ABC12-FG01H1IJKLM
MULTIPROCESSOR hatched!
jump to start()
uboot arg = 0x1, 0xff65720c, 0xff65720c, 0x10800000
NetBSD/evbarm (nitrogen6) booting ...
initarm: Configuring system (4 cpus, hatched 0xe), CLIDR=1110000003 CTR=0x83338003
memsize=3221225472
arm32_bootmem_init: memstart=0x10000000, memsize=0xc0000000, kernelstart=0x10800000
arm32_bootmem_init: kernelend=0x10e70000
arm32_bootmem_init: adding 391368 free pages: [0x10e70000..0xcfffffff] (VA 0x80e70000)
arm32_bootmem_init: adding 1024 free pages: [0x10000000..0x107fffff] (VA 0x80000000)
arm32_kernel_vm_init: 1 L2 pages are needed to map 0x6c2000 kernel bytes
arm32_kernel_vm_init: allocating page tables for kerneladd_pages: adding pv 0x80e4cb14 (pa 0x10e70000, va 0x80e70000, 2 pages) at tail
add_pages: appending pv 0x80e4d7b8 (0x10e74000..0x10e75fff) to 0x10e70000..0x10e73fff
vmadd_pages: appending pv 0x80e4d7cc (0x10e76000..0x10e77fff) to 0x10e70000..0x10e75fff
add_pages: appending pv 0x80e4d7e0 (0x10e78000..0x10e79fff) to 0x10e70000..0x10e77fff
add_pages: appending pv 0x80e4d7f4 (0x10e7a000..0x10e7bfff) to 0x10e70000..0x10e79fff
add_pages: appending pv 0x80e4d808 (0x10e7c000..0x10e7dfff) to 0x10e70000..0x10e7bfff
add_pages: appending pv 0x80e4d81c (0x10e7e000..0x10e7ffff) to 0x10e70000..0x10e7dfff
add_pages: appending pv 0x80e4d830 (0x10e80000..0x10e81fff) to 0x10e70000..0x10e7ffff
add_pages: appending pv 0x80e4d844 (0x10e82000..0x10e83fff) to 0x10e70000..0x10e81fff
add_pages: appending pv 0x80e4d858 (0x10e84000..0x10e85fff) to 0x10e70000..0x10e83fff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0x80e4db00 (0x10e86000..0x10e8dfff) to 0x10e70000..0x10e85fff
add_pages: appending pv 0x80e4daec (0x10e8e000..0x10e95fff) to 0x10e70000..0x10e8dfff
add_pages: appending pv 0x80e4dad8 (0x10e96000..0x10e9dfff) to 0x10e70000..0x10e95fff
add_pages: appending pv 0x80e4dac4 (0x10e9e000..0x10ea5fff) to 0x10e70000..0x10e9dfff
add_pages: appending pv 0x80e4dab0 (0x10ea6000..0x10eadfff) to 0x10e70000..0x10ea5fff
add_pages: appending pv 0x80e4db14 (0x10eae000..0x10eaffff) to 0x10e70000..0x10eadfff
add_pages: appending pv 0x80e4cb58 (0x10eb0000..0x10eb3fff) to 0x10e70000..0x10eaffff
Creating L1 page table at 0x10e70000
arm32_kernel_vm_init: adding L2 pt (VA 0x80e74000, PA 0x10e74000) for VA 0x80800000 (kernel)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e76000, PA 0x10e76000) for VA 0xc0000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e78000, PA 0x10e78000) for VA 0xc0800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e7a000, PA 0x10e7a000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e7c000, PA 0x10e7c000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e7e000, PA 0x10e7e000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e80000, PA 0x10e80000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e82000, PA 0x10e82000) for VA 0xc3000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e84000, PA 0x10e84000) for VA 0xc3800000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x10800000..0x10d47fff (VA 0x80800000)
add_pages: adding pv 0x80e4cb00 (pa 0x10800000, va 0x80800000, 676 pages) before pa 0x10e70000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x10d48000..0x10e6ffff (VA 0x80d48000)
add_pages: appending pv 0x80e4cb80 (0x10d48000..0x10e6ffff) to 0x10800000..0x10d47fff
add_pages: merging pv 0x80e4cb14 (0x10e70000..0x10eb3fff) to 0x10800000..0x10e6ffff
Listing Chunks
arm32_kernel_vm_init: pv 0x80e4cb00: chunk VA 0x80800000..0x80eb3fff (PA 0x10800000, prot 3, cache 1)
Mapping Chunks
arm32_kernel_vm_init: mapping last chunk VA 0x80800000..0x80eb3fff (PA 0x10800000, prot 3, cache 1)
pmap_map_chunk: pa=0x10800000 va=0x80800000 size=0x6b4000 resid=0x6b4000 prot=0x3 cache=1
SSSSSSLLLLLLLLLLLPP
devmap: 02000000 -> 021fffff @ ff000000
pmap_map_chunk: pa=0x2000000 va=0xff000000 size=0x200000 resid=0x200000 prot=0x3 cache=0
SS
devmap: 00a00000 -> 00afffff @ ff200000
pmap_map_chunk: pa=0xa00000 va=0xff200000 size=0x100000 resid=0x100000 prot=0x3 cache=0
S
Physical Virtual Num
Starting Ending Starting Ending Pages
SDRAM: 0x10000000 0xcfffffff 0x80000000 0x3fffffff 393216
text section: 0x10800000 0x10d47fff 0x80800000 0x80d47fff 676
data section: 0x10d50000 0x10e4c400 0x80d50000 0x80e4c400 127
bss section: 0x10e4c400 0x10e6f5c8 0x80e4c400 0x80e6f5c8 18
L1 page directory: 0x10e70000 0x10e73fff 0x80e70000 0x80e73fff 2
ABT stack (CPU 0): 0x10e86000 0x10e87fff 0x80e86000 0x80e87fff 1
FIQ stack (CPU 0): 0x10e8e000 0x10e8ffff 0x80e8e000 0x80e8ffff 1
IRQ stack (CPU 0): 0x10e96000 0x10e97fff 0x80e96000 0x80e97fff 1
UND stack (CPU 0): 0x10e9e000 0x10e9ffff 0x80e9e000 0x80e9ffff 1
IDLE stack (CPU 0): 0x10ea6000 0x10ea7fff 0x80ea6000 0x80ea7fff 1
SVC stack: 0x10eae000 0x10eaffff 0x80eae000 0x80eaffff 1
Message Buffer: 0x10eb0000 0x10eb3fff 0x80eb0000 0x80eb3fff 2
Free Memory: 0x10eb4000 0xcfffffff 391334
Free Memory: 0x10000000 0x107fffff 1024
TTBR0=0x1fffc05b TTBR1=0x1fffc05b TTBCR=0x1 CONTEXTIDR=0
switching to new L1 page table @0x10e70000... ttb (TTBCR=0x11 TTBR0=0x10e7005b TTBR1=0x10e7005b) hatchlingscpu_boot_secondary_processors: writing mbox with 0xe
OK
nfreeblocks = 2, free_pages = 392358 (0x5fca6)
bootstrap done.
vectors vbar=0x80bcd960 0x80bcd960
init subsystems: stacks vectors undefined page pmap_physload pmap kpm tlb0 kcpusets locks l1pt cache(l1pt) specials pools [ Kernel symbol table missing! ]
done.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.99.3 (NITROGEN6MAX) #38: Fri Dec 26 15:11:17 JST 2014
ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/NITROGEN6MAX
total memory = 3072 MB
avail memory = 3035 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/32B 4-way L1 VIPT Instruction cache
cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at mainbus0 core 1
cpu2 at mainbus0 core 2
cpu3 at mainbus0 core 3
armperiph0 at mainbus0
arml2cc0 at armperiph0: ARM PL310 r3p1a L2 Cache Controller (disabled)
arml2cc0: cache enabled
armgic0 at armperiph0: Generic Interrupt Controller, 160 sources (149 valid)
armgic0: 32 Priorities, 128 SPIs, 5 PPIs, 16 SGIs
a9tmr0 at armperiph0: A9 Global 64-bit Timer (396 MHz)
a9tmr0: interrupting on irq 27
axi0 at mainbus0: Advanced eXtensible Interface
imxccm0 at axi0 addr 0x20c4000: Clock Control Module
imxocotp0 at axi0 addr 0x21bc000: On-Chip OTP Controller
imxocotp0: OCOTP_VERSION 2.0.0
imxgpio0 at axi0 addr 0x209c000 intr 98 irqbase 256: interrupts 256..287
imxgpio1 at axi0 addr 0x20a0000 intr 100 irqbase 288: interrupts 288..319
imxgpio2 at axi0 addr 0x20a4000 intr 102 irqbase 320: interrupts 320..351
imxgpio3 at axi0 addr 0x20a8000 intr 104 irqbase 352: interrupts 352..383
imxgpio4 at axi0 addr 0x20ac000 intr 106 irqbase 384: interrupts 384..415
imxgpio5 at axi0 addr 0x20b0000 intr 108 irqbase 416: interrupts 416..447
imxgpio6 at axi0 addr 0x20b4000 intr 110 irqbase 448: interrupts 448..479
imxiomux0 at axi0 addr 0x20e0000: IOMUX Controller
imxuart0 at axi0 addr 0x2020000 intr 58
imxuart1 at axi0 addr 0x21e8000 intr 59
imxuart1: console
ahcisata0 at axi0 addr 0x2200000 intr 71: AHCI Controller
ahcisata0: AHCI revision 1.30, 1 port, 32 slots, CAP 0x6f26ff80<CCCS,PSC,SSC,PMD,SPM,SAM,ISS=0x2=Gen2,SCLO,SAL,SALP,SSS,SSNTF,SNCQ>
atabus0 at ahcisata0 channel 0
imxwdog0 at axi0 addr 0x20bc000 intr 112: i.MX Watchdog Timer, default period is 10 seconds
imxi2c0 at axi0 addr 0x21a0000 intr 68: i.MX IIC bus controller
iic0 at imxi2c0: I2C bus
imxi2c1 at axi0 addr 0x21a4000 intr 69: i.MX IIC bus controller
iic1 at imxi2c1: I2C bus
imxi2c2 at axi0 addr 0x21a8000 intr 70: i.MX IIC bus controller
iic2 at imxi2c2: I2C bus
enet0 at axi0 addr 0x2188000 intr 150: Gigabit Ethernet Controller
enet0: Ethernet address 00:19:b8:01:97:1a
micphy0 at enet0 phy 6: Micrel KSZ9021RNI 10/100/1000 PHY, rev. 1
micphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
imxusbc0 at axi0 addr 0x2184000: Universal Serial Bus Controller
ehci0 at imxusbc0 unit 0 intr 75: i.MX USB Controller
ehci0: id=5 revision=1 HCI revision=0x100
ehci0: 1 host port, device capable, 8 endpoints
usb0 at ehci0: USB revision 2.0
ehci1 at imxusbc0 unit 1 intr 72: i.MX USB Controller
ehci1: id=5 revision=1 HCI revision=0x100
ehci1: 1 host port
usb1 at ehci1: USB revision 2.0
imxsnvs0 at axi0 addr 0x20cc000: Secure Non-Volatile Storage
cpu_boot_secondary_processors: writing mbox with 0xe
cpu_hatch(cpu1): cpu_hatch(cpu3): cpu_hatch(cpu2): vectors vectors vectors vbar=0x80bcd960 vbar=0x80bcd960 stacks stacks tlb tlbcpu1 vbar=0x80bcd960 stacks tlb: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu1: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu1: 32KB/32B 4-way L1 VIPT Instruction cache
cpu1: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu1: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
vfpvfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
interruptscpu2 md(0x80952060) done!
: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu2: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu2: 32KB/32B 4-way L1 VIPT Instruction cache
cpu2: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu2: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
vfpvfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
interruptscpu3 md(0x80952060) done!
: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu3: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu3: 32KB/32B 4-way L1 VIPT Instruction cache
cpu3: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu3: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
vfpvfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
interrupts md(0x80952060) done!
gpio0 at imxgpio0: 32 pins
gpio1 at imxgpio1: 32 pins
gpio2 at imxgpio2: 32 pins
gpio3 at imxgpio3: 32 pins
gpio4 at imxgpio4: 32 pins
gpio5 at imxgpio5: 32 pins
gpio6 at imxgpio6: 32 pins
uhub0 at usb0: i.MX EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at usb1: i.MX EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
boot device: <unknown>
root device: enet0
dump device:
file system (default generic):
root on enet0
nfs_boot: trying static
nfs_boot: client_addr=172.30.185.28
nfs_boot: gateway=172.30.185.12
nfs_boot: netmask=255.255.255.0
nfs_boot: server=172.30.185.12
nfs_boot: root=172.30.185.12:/src/boot/nitromax
root on 172.30.185.12:/src/boot/nitromax
root file system type: nfs
kern.module.path=/stand/evbarm/7.99.3/modules
init path (default /sbin/init):
init: trying /sbin/init
Mon Dec 22 16:51:11 JST 2014
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: max
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
route: writing to routing socket: Network is unreachable
add net default: gateway 172.31.185.69: Network is unreachable
Building databases: dev, utmp, utmpx.
Mounting all filesystems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
swapctl: adding /var/swapfile as swap device at priority 0
Starting virecover.
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting cron.
Mon Dec 22 16:51:20 JST 2014
NetBSD/evbarm (max) (console)
login: root
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 7.99.3 (NITROGEN6MAX) #38: Fri Dec 26 15:11:17 JST 2014
Welcome to NetBSD!
Terminal type is vt100.
We recommend that you create a non-root account and use su(1) for root access.
max# top -1|cat
load averages: 0.13, 0.03, 0.01; up 0+00:00:51 16:51:30
9 processes: 7 sleeping, 2 on CPU
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU3 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 14M Act, 4112K Exec, 5928K File, 3012M Free
Swap: 1024M Total, 1024M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
0 root 0 0 0K 5144K CPU/3 0:01 0.00% 0.15% [system]
335 root 43 0 4224K 1504K CPU/0 0:00 0.00% 0.00% top
280 root 85 0 8816K 2992K wait/0 0:00 0.00% 0.00% login
286 root 85 0 9840K 2344K select/2 0:00 0.00% 0.00% sshd
319 root 85 0 4008K 1776K wait/0 0:00 0.00% 0.00% sh
325 root 85 0 3800K 1328K nanosl/3 0:00 0.00% 0.00% cron
305 root 85 0 4032K 1264K kqueue/3 0:00 0.00% 0.00% inetd
330 root 85 0 3648K 1016K pipe_r/3 0:00 0.00% 0.00% cat
1 root 84 0 3912K 1200K wait/0 0:00 0.00% 0.00% init
max#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment