Skip to content

Instantly share code, notes, and snippets.

@ryo
Created September 30, 2014 17:25
Show Gist options
  • Save ryo/ec61fae482b5cdebd00c to your computer and use it in GitHub Desktop.
Save ryo/ec61fae482b5cdebd00c to your computer and use it in GitHub Desktop.
dmesg of NetBSD/cubox-i1
CuBox-i U-Boot > tftpboot 10800000 netbsd.bin; go 10800000"
Using FEC device
TFTP from server 172.31.185.12; our IP address is 172.31.185.27
Filename 'netbsd.bin'.
Load address: 0x10800000
Loading: #################################################################
#################################################################
#################################################################
##############################T ###################################
#################################################################
#################################################################
########################################################
888.7 KiB/s
done
Bytes transferred = 6534848 (63b6c0 hex)
## Starting application at 0x10800000 ...
PC=0x10800024
SP=0x2f770d10
CPSR=0x600001d3
<cortex_init>@ABC12-</cortex_init>
<mmu_init_table></mmu_init_table>
<arm_cpuinit>FG01H1IJKLM</arm_cpuinit>
jump to start()
uboot arg = 0x1, 0x2f771b64, 0x2f771b64, 0x10800000
NetBSD/evbarm (cuboxi) booting ...
initarm: Configuring system, CLIDR=1110000003 CTR=0x83338003
arm32_bootmem_init: memstart=0x10000000, memsize=0x20000000, kernelstart=0x10800000
arm32_bootmem_init: kernelend=0x10e68000
arm32_bootmem_init: adding 63692 free pages: [0x10e68000..0x2fffffff] (VA 0x80e68000)
arm32_bootmem_init: adding 1024 free pages: [0x10000000..0x107fffff] (VA 0x80000000)
arm32_kernel_vm_init: 0 L2 pages are needed to map 0x69a000 kernel bytes
arm32_kernel_vm_init: allocating page tables for kernel vmadd_pages: adding pv 0x80e3bdd8 (pa 0x10e68000, va 0x80e68000, 2 pages) at tail
add_pages: appending pv 0x80e3ca74 (0x10e6c000..0x10e6dfff) to 0x10e68000..0x10e6bfff
add_pages: appending pv 0x80e3ca88 (0x10e6e000..0x10e6ffff) to 0x10e68000..0x10e6dfff
add_pages: appending pv 0x80e3ca9c (0x10e70000..0x10e71fff) to 0x10e68000..0x10e6ffff
add_pages: appending pv 0x80e3cab0 (0x10e72000..0x10e73fff) to 0x10e68000..0x10e71fff
add_pages: appending pv 0x80e3cac4 (0x10e74000..0x10e75fff) to 0x10e68000..0x10e73fff
add_pages: appending pv 0x80e3cad8 (0x10e76000..0x10e77fff) to 0x10e68000..0x10e75fff
add_pages: appending pv 0x80e3caec (0x10e78000..0x10e79fff) to 0x10e68000..0x10e77fff
add_pages: appending pv 0x80e3cb00 (0x10e7a000..0x10e7bfff) to 0x10e68000..0x10e79fff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0x80e3cdb8 (0x10e7c000..0x10e7dfff) to 0x10e68000..0x10e7bfff
add_pages: appending pv 0x80e3cda4 (0x10e7e000..0x10e7ffff) to 0x10e68000..0x10e7dfff
add_pages: appending pv 0x80e3cd90 (0x10e80000..0x10e81fff) to 0x10e68000..0x10e7ffff
add_pages: appending pv 0x80e3cd7c (0x10e82000..0x10e83fff) to 0x10e68000..0x10e81fff
add_pages: appending pv 0x80e3cd68 (0x10e84000..0x10e85fff) to 0x10e68000..0x10e83fff
add_pages: appending pv 0x80e3cdcc (0x10e86000..0x10e87fff) to 0x10e68000..0x10e85fff
add_pages: appending pv 0x80e3be18 (0x10e88000..0x10e8bfff) to 0x10e68000..0x10e87fff
Creating L1 page table at 0x10e68000
arm32_kernel_vm_init: adding L2 pt (VA 0x80e6c000, PA 0x10e6c000) for VA 0xc0000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e6e000, PA 0x10e6e000) for VA 0xc0800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e70000, PA 0x10e70000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e72000, PA 0x10e72000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e74000, PA 0x10e74000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e76000, PA 0x10e76000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e78000, PA 0x10e78000) for VA 0xc3000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80e7a000, PA 0x10e7a000) for VA 0xc3800000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x10800000..0x10d3bfff (VA 0x80800000)
add_pages: adding pv 0x80e3bdc4 (pa 0x10800000, va 0x80800000, 670 pages) before pa 0x10e68000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x10d3c000..0x10e67fff (VA 0x80d3c000)
add_pages: appending pv 0x80e3be40 (0x10d3c000..0x10e67fff) to 0x10800000..0x10d3bfff
add_pages: merging pv 0x80e3bdd8 (0x10e68000..0x10e8bfff) to 0x10800000..0x10e67fff
Listing Chunks
arm32_kernel_vm_init: pv 0x80e3bdc4: chunk VA 0x80800000..0x80e8bfff (PA 0x10800000, prot 3, cache 1)
Mapping Chunks
arm32_kernel_vm_init: mapping last chunk VA 0x80000000..0x9fffffff (PA 0x10000000, prot 3, cache 1)
pmap_map_chunk: pa=0x10000000 va=0x80000000 size=0x20000000 resid=0x20000000 prot=0x3 cache=1
sSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsS
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 0x2fffffff 0x80000000 0x9fffffff 65536
text section: 0x10800000 0x10d3bfff 0x80800000 0x80d3bfff 670
data section: 0x10d40000 0x10e3b6c0 0x80d40000 0x80e3b6c0 126
bss section: 0x10e3b6c0 0x10e66f48 0x80e3b6c0 0x80e66f48 23
L1 page directory: 0x10e68000 0x10e6bfff 0x80e68000 0x80e6bfff 2
ABT stack (CPU 0): 0x10e7c000 0x10e7dfff 0x80e7c000 0x80e7dfff 1
FIQ stack (CPU 0): 0x10e7e000 0x10e7ffff 0x80e7e000 0x80e7ffff 1
IRQ stack (CPU 0): 0x10e80000 0x10e81fff 0x80e80000 0x80e81fff 1
UND stack (CPU 0): 0x10e82000 0x10e83fff 0x80e82000 0x80e83fff 1
IDLE stack (CPU 0): 0x10e84000 0x10e85fff 0x80e84000 0x80e85fff 1
SVC stack: 0x10e86000 0x10e87fff 0x80e86000 0x80e87fff 1
Message Buffer: 0x10e88000 0x10e8bfff 0x80e88000 0x80e8bfff 2
Free Memory: 0x10e8c000 0x2fffffff 63674
Free Memory: 0x10000000 0x107fffff 1024
TTBR0=0x1fffc05b TTBR1=0x1fffc05b TTBCR=0x1 CONTEXTIDR=0
switching to new L1 page table @0x10e68000... ttb (TTBCR=0x11 TTBR0=0x10e6805b TTBR1=0x10e6805b) OK
nfreeblocks = 2, free_pages = 64698 (0xfcba)
bootstrap done.
vectors vbar=0x80bc5b80 0x80bc5b80
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 7.99.1 (CUBOX-I) #1: Wed Oct 1 02:17:07 JST 2014
ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/CUBOX-I
total memory = 512 MB
avail memory = 500 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
kern.module.path=/stand/evbarm/7.99.1/modules
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: 512KB/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 r3p2 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
imxuart0: console
imxwdog0 at axi0 addr 0x20bc000 intr 112: i.MX Watchdog Timer, default period is 10 seconds
enet0 at axi0 addr 0x2188000 intr 150: Gigabit Ethernet Controller
enet0: Ethernet address d0:63:b4:00:35:5d
atphy0 at enet0 phy 0: Atheros AR8035 10/100/1000 PHY, rev. 2
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 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
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
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `au8522'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
boot device: <unknown>
root device:
use one of: enet0 ddb halt reboot
root device: enet0
dump device:
file system (default generic):
root on enet0
nfs_boot: trying static
nfs_boot: client_addr=172.31.185.27
nfs_boot: gateway=172.31.185.69
nfs_boot: netmask=255.255.255.0
nfs_boot: server=172.31.185.12
nfs_boot: root=172.31.185.12:/src/boot/cubox
root on 172.31.185.12:/src/boot/cubox
root file system type: nfs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init path (default /sbin/init):
init: trying /sbin/init
Wed Oct 1 02:12:53 JST 2014
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: cubox
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...
mount_tmpfs: tmpfs on /tmp: Invalid argument
/etc/rc.d/mountall exited with code 1
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.
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh/ssh_host_key.
Your public key has been saved in /etc/ssh/ssh_host_key.pub.
The key fingerprint is:
7a:4c:50:94:fd:76:8a:61:7b:c9:7f:4a:9e:5a:1b:57 root@cubox
The key's randomart image is:
+--[RSA1 1024]----+
| .oo |
| .. . |
| . . |
| . o o . |
| S. * + E|
| + o = .|
| . o . .+ .|
| . +.=.|
| ..=o |
+-----------------+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
9d:55:7c:db:28:3f:7b:20:e4:58:7a:1c:7d:78:cf:e4 root@cubox
The key's randomart image is:
+--[ DSA 1024]----+
| .. |
| .. .|
| .. +o|
| . o= +.=|
| S oB + *.|
| o = + E|
| . . + |
| . .|
| . |
+-----------------+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
69:16:7c:84:3f:54:4c:86:5e:42:92:23:22:7d:95:c3 root@cubox
The key's randomart image is:
+--[ECDSA 521]---+
| . oo=o=+ |
| . o o.Eo+.o |
| . o .o*.o |
| ++ |
| S . |
| o |
| |
| |
| |
+-----------------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
9b:f4:8e:05:62:26:94:33:d5:5f:f6:99:b1:e8:ac:30 root@cubox
The key's randomart image is:
+--[ RSA 1024]----+
| .. |
| o . o . |
| = . o o = |
| . o . . = |
| . + S o |
| + oE= o |
| ooo. |
| +. |
| . . |
+-----------------+
Starting sshd.
Starting inetd.
Starting cron.
The following components reported failures:
/etc/rc.d/mountall
See /var/run/rc.log for more information.
Wed Oct 1 02:13:32 JST 2014
NetBSD/evbarm (cubox) (console)
login: root
Last login: Sat Oct 6 17:40:57 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 7.99.1 (CUBOX-I) #1: Wed Oct 1 02:17:07 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.
cubox# uname -a
NetBSD cubox 7.99.1 NetBSD 7.99.1 (CUBOX-I) #1: Wed Oct 1 02:17:07 JST 2014 ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/CUBOX-I evbarm
cubox#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment