Subject: NetBSD/zaurus
To: None <>
From: NONAKA Kimihiro <>
List: port-arm
Date: 11/19/2006 15:19:43

I tried to port NetBSD to Sharp zaurus.
It reached multi-user mode.

# Source and patch kit for NetBSD/zaurus is following URL.

boot message output is follows.

NetBSD/zaurus booting ...
[ Kernel symbol table missing! ]
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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.3 (GENERIC) #173: Sat Nov 11 16:17:24 JST 2006
total memory = 65536 KB
avail memory = 59784 KB
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.996 MHz
pxaip0: kernel is configured for PXA270, cpu type is PXA270
pxaintc0 at pxaip0 addr 0x40d00000-0x40d0001f: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000-0x40e0014f: GPIO Controller
com0 at pxaip0 a: ns16550a, working fifo
com0: console
com1 at pxaip0 addr 0x40200000-0x4020001f intr 21: ns16550a, working fifo
com2 at pxaip0 addr 0x40700000-0x4070001f intr 20: ns16550a, working fifo
saost0 at pxaip0 addr 0x40a00000-0x40a0001f
saost0: SA-11x0 OS Timer
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
clock: hz=100 stathz=64
wdc0 at pcmcia0 function 0: <HITACHI, microdrive>
wdc0: i/o mapped mode
atabus0 at wdc0 channel 0
wdc1 at pcmcia1 function 0: <, , >
wdc1: i/o mapped mode
atabus1 at wdc1 channel 0
wd0 at atabus0 drive 0: <HMS360606D5CF00>
wd0: drive supports 32-sector PIO transfers, LBA addressing
wd0: 5859 MB, 11905 cyl, 16 head, 63 sec, 512 bytes/sect x 12000556 sectors
wd0: drive supports PIO mode 4
wd1 at atabus1 drive 0: <>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 7935 MB, 16122 cyl, 16 head, 63 sec, 512 bytes/sect x 16250976 sectors
wd1: drive supports PIO mode 4
root device: wd1
dump device (default wd1b):
file system (default generic):
root on wd1a dumps on wd1b
mountroot: trying ffs...
root file system type: ffs
init path (default /sbin/init):
init: copying out path `/sbin/init' 11
Sat Nov 11 07:31:22 UTC 2006
swapctl: adding /dev/wd1b as swap device at priority 0
Checking for botched superblock upgrades: done.
Starting file system checks:
fsck_ffs: ioctl (DIOCGWEDGEINFO): Inappropriate ioctl for device
/dev/rwd1a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: zaurus
Configuring network interfaces:.
route: writing to routing socket: Network is unreachable
add net default: gateway gw: Network is unreachable
Adding interface aliases:
Building databases...
Starting syslogd.
Mounting all filesystems...
Clearing /tmp.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting inetd.
Sat Nov 11 07:31:29 UTC 2006

NetBSD/zaurus (zaurus) (console)


NONAKA Kimihiro