メッセージ欄

2013年10月の日記

一覧で表示する

NetBSD/evbarm (APC8750) 2013/10/24
2013/10/24(木) 26:38 NetBSD はてブ情報 はてブに登録 はてブ数

やっとここまで来ました!
WMT # set serverip 192.168.0.10; tftpboot 8000; go 8000
EEP-less strapping = TRUE
*** Warning: no boot file name; using 'C0A80002.img'
TFTP from server 192.168.0.10; our IP address is 192.168.0.2
Filename 'C0A80002.img'.
Load address: 0x8000
Loading: #################################################################
         ###########################################T ######################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################T #################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################T #############################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################################T ############
         #################################################################
         ##################
done
Bytes transferred = 6747520 (66f580 hex)
## Starting application at 0x00008000 ...
00008328
NetBSD
00000000 00000000 0088a74b 00000412
00000000 00000412 00000008 00000412
c0000000 00000000 0088a74b 0000041e
00003000 0000041e 00000008 0000041e
fe000000 d8000000 010fffff 00000412
00003f80 d8000412 00000010 00000412
00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
NS
NetBSD/evbarm (APC) booting ...
initarm: Configuring system ...
arm32_bootmem_init: memstart=0, memsize=0x20000000, kernelstart=0x8000
arm32_bootmem_init: kernelend=0x68b000
arm32_bootmem_init: adding 129397 free pages: [0x68b000..0x1fffffff] (VA 0xc068b000)
arm32_bootmem_init: adding 8 free pages: [0..0x7fff] (VA 0xc0000000)
arm32_kernel_vm_init: 2 L2 pages are needed to map 0x6b6000 kernel bytes
arm32_kernel_vm_init: allocating page tables for vectoradd_pages: adding pv 0xc0677cac (pa 0x68b000, va 0xc068b000, 1 pages) at tail
 kerneladd_pages: appending pv 0xc06826ec (0x68c000..0x68ffff) to 0x68b000..0x68bfff
add_pages: appending pv 0xc0677f30 (0x690000..0x690fff) to 0x68b000..0x68ffff
add_pages: appending pv 0xc0677f44 (0x691000..0x691fff) to 0x68b000..0x690fff
 vmadd_pages: appending pv 0xc0677f58 (0x692000..0x692fff) to 0x68b000..0x691fff
add_pages: appending pv 0xc0677f6c (0x693000..0x693fff) to 0x68b000..0x692fff
add_pages: appending pv 0xc0677f80 (0x694000..0x694fff) to 0x68b000..0x693fff
add_pages: appending pv 0xc0677f94 (0x695000..0x695fff) to 0x68b000..0x694fff
add_pages: appending pv 0xc0677fa8 (0x696000..0x696fff) to 0x68b000..0x695fff
add_pages: appending pv 0xc0677fbc (0x697000..0x697fff) to 0x68b000..0x696fff
add_pages: appending pv 0xc0677fd0 (0x698000..0x698fff) to 0x68b000..0x697fff
add_pages: appending pv 0xc0677fe4 (0x699000..0x699fff) to 0x68b000..0x698fff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0xc0678230 (0x69a000..0x69afff) to 0x68b000..0x699fff
add_pages: appending pv 0xc0678244 (0x69b000..0x69bfff) to 0x68b000..0x69afff
add_pages: appending pv 0xc0678258 (0x69c000..0x69cfff) to 0x68b000..0x69bfff
add_pages: appending pv 0xc067826c (0x69d000..0x69dfff) to 0x68b000..0x69cfff
add_pages: appending pv 0xc0678280 (0x69e000..0x69ffff) to 0x68b000..0x69dfff
add_pages: appending pv 0xc067821c (0x6a0000..0x6a1fff) to 0x68b000..0x69ffff
add_pages: appending pv 0xc0677d24 (0x6a2000..0x6a5fff) to 0x68b000..0x6a1fff
Creating L1 page table at 0x0068c000
arm32_kernel_vm_init: adding L2 pt (VA 0xc068b000, PA 0x68b000) for VA 0xffff0000
 (vectors)arm32_kernel_vm_init: adding L2 pt (VA 0xc0690000, PA 0x690000) for VA 0xc0000000 (kernel)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0691000, PA 0x691000) for VA 0xc0400000 (kernel)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0692000, PA 0x692000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0693000, PA 0x693000) for VA 0xc1400000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0694000, PA 0x694000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0695000, PA 0x695000) for VA 0xc1c00000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0696000, PA 0x696000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0697000, PA 0x697000) for VA 0xc2400000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0698000, PA 0x698000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0xc0699000, PA 0x699000) for VA 0xc2c00000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x8000..0x1cffff (VA 0xc0008000)
add_pages: adding pv 0xc0677c98 (pa 0x8000, va 0xc0008000, 456 pages) before pa 0x68b000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x1d0000..0x68afff (VA 0xc01d0000)
add_pages: appending pv 0xc0677cfc (0x1d0000..0x68afff) to 0x8000..0x1cffff
add_pages: merging pv 0xc0677cac (0x68b000..0x6a5fff) to 0x8000..0x68afff
Listing Chunks
arm32_kernel_vm_init: pv 0xc0677c98: chunk VA 0xc0008000..0xc06a5fff (PA 0x8000, prot 3, cache 1)

Mapping Chunks
arm32_kernel_vm_init: mapping last chunk VA 0xc0008000..0xc06a5fff (PA 0x8000, prot 3, cache 1)
pmap_map_chunk: pa=0x8000 va=0xc0008000 size=0x69e000 resid=0x69e000 prot=0x3 cache=1
PPPPPPPPLLLLLLLLLLLLLLLSSSSSLLLLLLLLLLPPPPPP
devmap: d8000000 -> d8ffffff @ fe000000
pmap_map_chunk: pa=0xd8000000 va=0xfe000000 size=0x1000000 resid=0x1000000 prot=0x3 cache=0
SSSSSSSSSSSSSSSS
                             Physical              Virtual        Num
                       Starting    Ending    Starting    Ending   Pages
               SDRAM: 0x00000000 0x1fffffff 0xc0000000 0xdfffffff 131072
        text section: 0x00008000 0x001cffff 0xc0008000 0xc01cffff 456
        data section: 0x001d0000 0x00677580 0xc01d0000 0xc0677580 1192
         bss section: 0x00677580 0x0068a74c 0xc0677580 0xc068a74c 20
   L1 page directory: 0x0068c000 0x0068ffff 0xc068c000 0xc068ffff 4
   ABT stack (CPU 0): 0x0069a000 0x0069afff 0xc069a000 0xc069afff 1
   FIQ stack (CPU 0): 0x0069b000 0x0069bfff 0xc069b000 0xc069bfff 1
   IRQ stack (CPU 0): 0x0069c000 0x0069cfff 0xc069c000 0xc069cfff 1
   UND stack (CPU 0): 0x0069d000 0x0069dfff 0xc069d000 0xc069dfff 1
  IDLE stack (CPU 0): 0x0069e000 0x0069ffff 0xc069e000 0xc069ffff 2
           SVC stack: 0x006a0000 0x006a1fff 0xc06a0000 0xc06a1fff 2
      Message Buffer: 0x006a2000 0x006a5fff 0xc06a2000 0xc06a5fff 4
   Exception Vectors: 0x006a6000 0x006a6fff 0xffff0000 0xffff0fff 1
         Free Memory: 0x006a7000 0x1fffffff                       129369
         Free Memory: 0x00000000 0x00007fff                       8
switching to new L1 page table @0x68c000...TTBR0=0x68c000 OK
done.
nfreeblocks = 2, free_pages = 129377 (0x1f961)
bootstrap done.
vectors 0xffff0000
init subsystems: stacks vectors undefined page pmap_physload pmap [ Kernel symbol table missing! ]
done.
Loaded initial symtab at 0xc01d4360, strtab at 0xc01f42a0, # entries 8165
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    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.24 (APC) #5: Thu Oct 24 17:27:18 UTC 2013
        root@oct.localdomain:/usr/obj/sys/arch/evbarm/compile/APC
total memory = 512 MB
avail memory = 495 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: ARM1176JZ-S r0p7 (ARM11J V6ZK core)
cpu0: DC enabled IC enabled WB enabled LABT
cpu0: 16KB/32B 4-way L1 Instruction cache
cpu0: 16KB/32B 4-way write-back-locking-C L1 Data cache
vfp0 at cpu0: VFP11
obio0 at mainbus0
wmicu0 at obio0 addr 0xd8140000-0xd814ffff
wmtmr0 at obio0 addr 0xd8100000-0xd810ffff intr 48 : WMT System Timer
wmtcom0 at obio0 addr 0xd8200000-0xd820ffff intr 32 : WMT UART
rn_init: radix functions require max_keylen be set
boot device: <unknown>
root on md0a dumps on md0b
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying ffs...
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init: copying out flags `-s' 3
init: copying out path `/sbin/init' 11
erase ^?, werase ^W, kill ^U, intr ^C

# ls /
.profile        kern            sbin            sysinstmsgs.fr  usr
bin             libexec         sysinst         sysinstmsgs.pl  var
dev             mnt             sysinstmsgs.de  targetroot
etc             mnt2            sysinstmsgs.es  tmp
# ls /usr/sbin
chroot
# ls /usr/bin
cu        gunzip    gzip      more      sed       tip
ftp       gzcat     less      progress  tar       tset
# ls /bin
cat   chmod dd    ed    ls    mv    pwd   rmdir stty
chgrp cp    df    ln    mkdir pax   rm    sh    sync
# echo hello > /foo.txt
# cat /foo.txt
hello
#