Help - Search - Members - Calendar
Full Version: Netbsd Ported To Zaurus
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > OpenBSD
mathemajikian
NetBSD has been ported to the Sharp Zaurus by NONAKA Kimihiro. Here's the link to the original message and port source:

http://mail-index.netbsd.org/port-arm/2006/11/19/0000.html

QUOTE
Boot message output is follows.

-----
NetBSD/zaurus booting ...
[ Kernel symbol table missing! ]
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright © 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright © 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
        nonaka@koharu:/usr/src/sys/arch/zaurus/compile/GENERIC
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)

login:


If you take a look at the source you'll notice that it makes use of the OpenBSD zbsdmod.o and a slightly modified OpenBSD zboot.

Further information can be found here: http://d.hatena.ne.jp/nonakap/20061111/p1

Finally, we may begin to see some of the Zaurii's features rise from the dead!
Sequethin
I wonder how long before there is a real reason to try it out? Like... better support for something? I don't see why the devs wouldn't want to just work on the openbsd zaurus tree since it's already working... but hey I'm not a dev so I will just be grateful some hacker out there is making it possible for me to use my zaurus in many ways smile.gif
mathemajikian
QUOTE(Sequethin @ Nov 28 2006, 04:19 PM)
I wonder how long before there is a real reason to try it out? Like... better support for something? I don't see why the devs wouldn't want to just work on the openbsd zaurus tree since it's already working... but hey I'm not a dev so I will just be grateful some hacker out there is making it possible for me to use my zaurus in many ways smile.gif


I'd give it a few months. That gives the developers enough time to back port the current OpenBSD/Zaurus drivers and work towards improving them. In my opinion this whole process has been backwards. NetBSD, whose motto is "Of course it runs NetBSD", should have developed the original Zaurus port and then OpenBSD should have imported the NetBSD port into their development tree. However, things don't always work in the most logical way.
daniel3000
Excuse my ignorance:
What are the advantages of NetBSD or OpenBSD compared to Linux?
Some people seem to like it very much, so maybe I should look at it.

Thanks
daniel
mathemajikian
QUOTE(daniel3000 @ Dec 1 2006, 12:26 PM)
Excuse my ignorance:
What are the advantages of NetBSD or OpenBSD compared to Linux?
Some people seem to like it very much, so maybe I should look at it.


I'd suggest reading the following post: About Running Openbsd Vs Other Distributions
mathemajikian
Here's the latest news from Jaime Fournier at NetBSD concerning the Zaurus port along with a link to the official NetBSD/Zaurus port website:

Original Source


QUOTE
To: port-arm@NetBSD.org
Subject: NetBSD/zaurus port status?

Is there any NEW news concerning the NetBSD/zaurus ports development? Is there a wiki or website? How about installation documentation?

Thanks!


QUOTE
Right now http://www.netbsd.org/Ports/zaurus is up.
We have created the mailing list, and this weekend I will be
sending the announcement as well as updating the primary ports page to
include a link to Zaurus page.

Compile wise Zaurus is there, and should cross compile easily.
The above web page includes what is currently supported and what is not.
I am working on the initial draft of the installation howto.
Since sysinst is not yet ported the installation procedure will require a little more work.

Let me know if you have any other questions.


-Jaime Fournier
mathemajikian
Rumor has it that NONAKA Kimihiro has also developed NetBSD drivers to support the Zaurii's on-board SD card reader. This will definitely be a motivating reason for BSD users to switch from running OpenBSD on their Zaurii to NetBSD.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.