sysinst
setroot() まで到達するものの FFUART の RXD の設定が悪いんだか、ハンダがヘボいんだかでシリアルコンソールから入力ができないので、適当にインストールカーネル作って md0 から自動起動させてみた。
うーん、まあ、とりあえず動作してる感じ。
次はキーボードの press/release 割り込みがどこかを調べないと。
[ Kernel symbol table missing! ] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 4.99.59 (INSTALL_WS003SH) #0: Wed Apr 23 23:20:34 JST 2008 nonaka@koharu:/usr/src/sys/arch/hpcarm/compile/INSTALL_WS003SH total memory = 65536 KB avail memory = 55156 KB timecounter: Timecounters tick every 10.000 msec mainbus0 (root) cpu0 at mainbus0: PXA27x rev 7 (XScale core) cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled cpu0: 32KB/32B 32-way Instruction cache cpu0: 32KB/32B 32-way write-back-locking Data cache pxaip0 at mainbus0: PXA2x0 Onchip Peripheral Bus pxaip0: CPU clock = 415.994 MHz pxaip0: kernel is configured for PXA270, cpu type is PXA270 pxaintc0 at pxaip0 addr 0x40d00000-0x40d0000f: Interrupt Controller pxagpio0 at pxaip0 addr 0x40e00000-0x40e0000f: GPIO Controller com0 at pxaip0 addr 0x40100000-0x4010001f intr 22: ns16550a, working fifo com0: console saost0 at pxaip0 addr 0x40a00000-0x40a0001f saost0: SA-11x0 OS Timer lcd0 at pxaip0: PXA2x0 LCD controller wsdisplay0 at lcd0 kbdmux 1 wsmux1: connecting to wsdisplay0 pxadmac0 at pxaip0 addr 0x40000000-0x400002ff intr 25: DMA Controller pxartc0 at pxaip0 addr 0x40900000-0x4090000f: PXA2x0 Real-time Clock w03kbd0 at pxaip0: keyboard timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 clock: hz=100 stathz=64 timecounter: Timecounter "saost_count" frequency 3250000 Hz quality 100 md0: internal 4352 KB image area root on md0a dumps on md0b root file system type: ffs WARNING: preposterous TOD clock time WARNING: using filesystem time WARNING: CHECK AND RESET THE DATE! erase ^?, werase ^W, kill ^U, intr ^C Welcome to sysinst, the NetBSD-4.99.59 system installation tool. This menu-driven tool is designed to help you install NetBSD to a hard disk, or upgrade an existing NetBSD system, with a minimum of work. In the following menus type the reference letter (a, b, c, ...) to select an item, or type CTRL+N/CTRL+P to select the next/previous item. The arrow keys and Page-up/Page-down may also work. Activate the current selection from the menu by typing the enter key.