NetBSD/evbarm on Radxa Rock USB編
2014/11/09(日) 24:29 NetBSD はてブ情報 はてブに登録 はてブ数

デバイスが認識される程度に動いたよ!

root hubから先に進まず悩んでいたのですが、ふかうみさんに4port usb hubの電源を入れないとダメというヒントが大きかったですー。

オンボードの無線LANチップがugenで見えています。
sd0として見えているのは2GBのUSBメモリです。NetBSD/evbarmのbase.tgz, etc.tgz, modules.tgzが展開されているのですが、root deviceとしてマウントしようとするも、あえなくpanicしております。
Loaded initial symtab at 0x8077e7e8, strtab at 0x807b32a8, # entries 13465
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 (RADXA) #194: Sun Nov  9 14:38:23 UTC 2014
        root@aug:/usr/obj/sys/arch/evbarm/compile/RADXA
total memory = 1024 MB
avail memory = 1009 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: 1600 MHz Cortex-A9 r4p0 (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: 64KB/32B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
armperiph0 at mainbus0: mapping registers at 0x1013c000 size 12288 memh feb3c000
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 (800 MHz)
a9tmr0: interrupting on irq 27
a9wdt0 at armperiph0: A9 Watchdog Timer, default period is 12 seconds
obio0 at mainbus0: On-board I/O
grf iomux: old 00005554, new ffff5555, renew 00005555
grf iomux: old 00000000, new ffff0004, renew 00000004
grf iomux: old 00001000, new ffff1400, renew 00001400
gpio: 0x2000a000 0x00000100 -> 0x00000108
gpio: 0x2000a004 0x00000104 -> 0x0000010c
com0 at obio0: addr 0x20064000-0x200643ff intr 68  mult 4
: ns16550a, working fifo
com0: console
dwctwo0 at obio0: addr 0x10180000-0x101bffff intr 48  mult 1
: USB controller
dwctwo1 at obio0: addr 0x101c0000-0x101fffff intr 49  mult 1
: USB controller
usb0 at dwctwo0: USB revision 2.0
usb1 at dwctwo1: USB revision 2.0
uhub0 at usb0: vendor 0x0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at usb1: vendor 0x0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2 at uhub1 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/85.36, addr 2
uhub2: single transaction translator
ugen0 at uhub2 port 1
ugen0: Realtek 802.11n WLAN Adapter, rev 2.00/2.00, addr 3
umass0 at uhub2 port 3 configuration 1 interface 0
umass0: SMI Corporation USB DISK, rev 2.00/11.00, addr 4
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <S31B0807, USB DISK, 1100> disk removable
sd0: 1983 MB, 3936 cyl, 16 head, 63 sec, 512 bytes/sect x 4061184 sectors
boot device: <unknown>
root device: sd0a
dump device (default sd0b):
file system (default generic):
root on sd0a dumps on sd0b
mountroot: trying ffs...
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
Undefined instruction 0xdeadbeef in kernel at 0x80dfacb0 (LR 0x805db50c SP 0xbfd
c9c18)
Stopped in pid 1.1 (init) at    80dfacb0:       cdple   p14, 10, c11, c13, c15, 7

0xbfdc9ccc: netbsd:ufs_lookup+0x10
0xbfdc9d04: netbsd:VOP_LOOKUP+0xa0
0xbfdc9d54: netbsd:lookup_once+0x19c
0xbfdc9e24: netbsd:namei_tryemulroot+0x524
0xbfdc9e5c: netbsd:namei+0x34
0xbfdc9ebc: netbsd:nameiat_simple_kernel+0x64
0xbfdc9fac: netbsd:start_init+0x94
db>

名前:  非公開コメント   

  • TB-URL  http://www.tokuda.net/diary/0851/tb/