Skip to content

Instantly share code, notes, and snippets.

@ryo
Created July 31, 2014 12:34
Show Gist options
  • Save ryo/b7dd77b93f30153f4b45 to your computer and use it in GitHub Desktop.
Save ryo/b7dd77b93f30153f4b45 to your computer and use it in GitHub Desktop.
NetBSD/evbarm (nitrogen) booting ...
initarm: Configuring system, CLIDR=1110000003 CTR=0x83338003
arm32_bootmem_init: memstart=0x10800000, memsize=0x3f800000, kernelstart=0x10800000
arm32_bootmem_init: kernelend=0x10aaa000
arm32_bootmem_init: adding 129707 free pages: [0x10aaa000..0x4fffffff] (VA 0x80aaa000)
arm32_kernel_vm_init: 0 L2 pages are needed to map 0x2dc000 kernel bytes
arm32_kernel_vm_init: allocating page tables for kernel vmadd_pages: adding pv 0x80a8cc24 (pa 0x10aaa000, va 0x80aaa000, 1 pages) at tail
add_pages: appending pv 0x80a9ad90 (0x10aac000..0x10aaffff) to 0x10aaa000..0x10aabfff
add_pages: appending pv 0x80a8cde8 (0x10ab0000..0x10ab1fff) to 0x10aaa000..0x10aaffff
add_pages: appending pv 0x80a8cdfc (0x10ab2000..0x10ab3fff) to 0x10aaa000..0x10ab1fff
add_pages: appending pv 0x80a8ce10 (0x10ab4000..0x10ab5fff) to 0x10aaa000..0x10ab3fff
add_pages: appending pv 0x80a8ce24 (0x10ab6000..0x10ab7fff) to 0x10aaa000..0x10ab5fff
add_pages: appending pv 0x80a8ce38 (0x10ab8000..0x10ab9fff) to 0x10aaa000..0x10ab7fff
add_pages: appending pv 0x80a8ce4c (0x10aba000..0x10abbfff) to 0x10aaa000..0x10ab9fff
add_pages: appending pv 0x80a8ce60 (0x10abc000..0x10abdfff) to 0x10aaa000..0x10abbfff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0x80a8d118 (0x10abe000..0x10abffff) to 0x10aaa000..0x10abdfff
add_pages: appending pv 0x80a8d104 (0x10ac0000..0x10ac1fff) to 0x10aaa000..0x10abffff
add_pages: appending pv 0x80a8d0f0 (0x10ac2000..0x10ac3fff) to 0x10aaa000..0x10ac1fff
add_pages: appending pv 0x80a8d0dc (0x10ac4000..0x10ac5fff) to 0x10aaa000..0x10ac3fff
add_pages: appending pv 0x80a8d0c8 (0x10ac6000..0x10ac7fff) to 0x10aaa000..0x10ac5fff
add_pages: appending pv 0x80a8d12c (0x10ac8000..0x10ac9fff) to 0x10aaa000..0x10ac7fff
add_pages: appending pv 0x80a8cc60 (0x10aca000..0x10acdfff) to 0x10aaa000..0x10ac9fff
Creating L1 page table at 0x10aac000
arm32_kernel_vm_init: adding L2 pt (VA 0x80aaa000, PA 0x10aaa000) for VA 0xc0800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ab0000, PA 0x10ab0000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ab2000, PA 0x10ab2000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ab4000, PA 0x10ab4000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ab6000, PA 0x10ab6000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ab8000, PA 0x10ab8000) for VA 0xc3000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80aba000, PA 0x10aba000) for VA 0xc3800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80abc000, PA 0x10abc000) for VA 0xc4000000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x10800000..0x10a79fff (VA 0x80800000)
add_pages: adding pv 0x80a8cc10 (pa 0x10800000, va 0x80800000, 317 pages) before pa 0x10aaa000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x10a7a000..0x10aa9fff (VA 0x80a7a000)
add_pages: appending pv 0x80a8cc88 (0x10a7a000..0x10aa9fff) to 0x10800000..0x10a79fff
add_pages: merging pv 0x80a8cc24 (0x10aaa000..0x10acdfff) to 0x10800000..0x10aa9fff
Listing Chunks
arm32_kernel_vm_init: pv 0x80a8cc10: chunk VA 0x80800000..0x80acdfff (PA 0x10800000, prot 3, cache 1)
Mapping Chunks
arm32_kernel_vm_init: mapping last chunk VA 0x80800000..0xbfffffff (PA 0x10800000, prot 3, cache 1)
pmap_map_chunk: pa=0x10800000 va=0x80800000 size=0x3f800000 resid=0x3f800000 prot=0x3 cache=1
SSSSSSSSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsS
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: 0x10800000 0x4fffffff 0x80800000 0xbfffffff 130048
text section: 0x10800000 0x10a79fff 0x80800000 0x80a79fff 317
data section: 0x10a80000 0x10a8c500 0x80a80000 0x80a8c500 7
bss section: 0x10a8c500 0x10aa8950 0x80a8c500 0x80aa8950 15
L1 page directory: 0x10aac000 0x10aaffff 0x80aac000 0x80aaffff 2
ABT stack (CPU 0): 0x10abe000 0x10abffff 0x80abe000 0x80abffff 1
FIQ stack (CPU 0): 0x10ac0000 0x10ac1fff 0x80ac0000 0x80ac1fff 1
IRQ stack (CPU 0): 0x10ac2000 0x10ac3fff 0x80ac2000 0x80ac3fff 1
UND stack (CPU 0): 0x10ac4000 0x10ac5fff 0x80ac4000 0x80ac5fff 1
IDLE stack (CPU 0): 0x10ac6000 0x10ac7fff 0x80ac6000 0x80ac7fff 1
SVC stack: 0x10ac8000 0x10ac9fff 0x80ac8000 0x80ac9fff 1
Message Buffer: 0x10aca000 0x10acdfff 0x80aca000 0x80acdfff 2
Free Memory: 0x10ace000 0x4fffffff 129689
TTBR0=0x4fffc05b TTBR1=0x4fffc05b TTBCR=0x1 CONTEXTIDR=0
switching to new L1 page table @0x10aac000... ttb (TTBCR=0x11 TTBR0=0x10aac05b TTBR1=0x10aac05b) OK
nfreeblocks = 1, free_pages = 129689 (0x1fa99)
bootstrap done.
vectors vbar=0x809db020 0x809db020
init subsystems: stacks vectors undefined page pmap_physload pmap kpm tlb0 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 6.99.49 (NITROGEN6X) #440: Thu Jul 31 21:29:11 JST 2014
ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/NITROGEN6X
total memory = 1016 MB
avail memory = 1003 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: 1 GHz 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
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
a9wdt0 at armperiph0: A9 Watchdog Timer, default period is 12 seconds
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
imxuart0 at axi0 addr 0x2020000 intr 58
imxuart1 at axi0 addr 0x21e8000 intr 59
imxuart1: console
imxuart2 at axi0 addr 0x21ec000 intr 60
imxuart3 at axi0 addr 0x21f0000 intr 61
imxuart4 at axi0 addr 0x21f4000 intr 62
ahcisata0 at axi0 addr 0x2200000 intr 71: AHCI controller
ahcisata0: AHCI revision 0.0, 1 port, 1 slot, CAP 0x0<ISS=0x0
atabus0 at ahcisata0 channel 0
enet0 at axi0 addr 0x2188000 intr 150: Gigabit Ethernet Controller
enet0: Ethernet address 00:19:b8:00:f2:f8
micphy0 at enet0 phy 6: Micrel KSZ9021RNI 10/100/1000 PHY, rev. 1
micphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
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
boot device: <unknown>
root on enet0
nfs_boot: trying static
nfs_boot: client_addr=172.31.185.23
nfs_boot: gateway=172.31.185.65
nfs_boot: netmask=255.255.255.0
nfs_boot: server=172.31.185.12
nfs_boot: root=172.31.185.12:/src/boot/nitro
enet_init:860: ifp=0xc125e868
enet0: link state DOWN (was UNKNOWN)
root on 172.31.185.12:/src/boot/nitro
root time: 0x506fee3b
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init: copying out path `/sbin/init' 11
Sat Oct 6 08:39:23 UTC 2012
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
Setting tty flags.
WARNING: module error: vfs load failed for `wsdisplay', error 78
WARNING: module error: vfs load failed for `wsdisplay', error 78
WARNING: module error: vfs load failed for `wsdisplay', error 78
WARNING: module error: vfs load failed for `wsdisplay', error 78
WARNING: module error: vfs load failed for `com', error 78
WARNING: module error: vfs load failed for `com', error 78
Setting sysctl variables:
Starting network.
Hostname: nitro
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
add net default: gateway 172.31.185.69
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.
Sat Oct 6 08:39:32 UTC 2012
NetBSD/evbarm (nitro) (console)
login: root
Last login: Sat Oct 6 08:39:45 2012 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
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 6.99.49 (NITROGEN6X) #440: Thu Jul 31 21:29:11 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.
nitro# ifconfig
enet0: flags=8a43<UP,BROADCAST,Renet0: link state UP (was DOWN)
UNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
address: 00:19:b8:00:f2:f8
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 172.31.185.23 netmask 0xffffff00 broadcast 172.31.185.255
inet6 fe80::219:b8ff:fe00:f2f8%enet0 prefixlen 64 tentative scopeid 0x1
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
nitro# uname -a
NetBSD nitro 6.99.49 NetBSD 6.99.49 (NITROGEN6X) #440: Thu Jul 31 21:29:11 JST 2014 ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/NITROGEN6X evbarm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment