Port-zaurus archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD/zaurus installation tips



PR port-zaurus/44898 (zbsdmod.o can't load kernels) has been fixed,
and installation of NetBSD/zaurus -current on my SL-C1000 works fine.
(though NetBSD/zaurus 5.1 and netbsd-5 still have the problem)

Unfortunately there is no install note (yet),
so I'd put a dumb note how to install NetBSD/zaurus.

Installation method of NetBSD/zaurus is the same way as OpenBSD/zaurus,
using an Linux LKM which loads NetBSD kernel file via a device node.

Preparations:
- currently NetBSD/zaurus supports SL-C1000 and SL-C3x00 models
  (SL-C700 support seems ongoing though)
- fetch NetBSD-current snapshot binaries
  http://nyftp.NetBSD.org/pub/NetBSD-daily/HEAD/
  and copy <releasedir>/zaurus/installation/zbsdmod.o and
  <releasedir>/zaurus/installation/kernel/netbsd-INSTALL to some SD or CF

Installation:
- boot Zaurus Linux
- install and start some terminal emulater on it
   http://www.users.on.net/~hluc/myZaurus/ might help  
- su root on shell prompt
   bash-2.05% su
- install zbsdmod.o LKM
   # insmod zbsdmod.o
- copy install kernel into /proc/zboot device node
   # cp netbsd-INSTALL /proc/zboot
  then sysinst of NetBSD/zaurus install kernel will start
  as other NetBSD ports
   http://www.netbsd.org/docs/guide/en/index.html
- to fetch installation sets, you can use a CF disk, USB CD/DVD drives,
  or CF NICs

Tips:
- FAT on CF is mounted on /usr/mnt.rom/cf and SD is on /usr/mnt.rom/card
  on Zaurus Linux
- SD driver on Zaurus Linux has a bug and it can't handle 2GB SD
  (note NetBSD/zaurus -current supports both 2GB SD and >2GB SDHC)
- to use SDHC and 2GB SD on Zaurus Linux for bootstrap, use custom drivers:
  http://petit-noise.net/download/sdhc-driver
- to start GENERIC kernel after install, you have to put the GENERIC
  kernel into some FAT partition which can be loaded on Zaurus Linux
- NetBSD/zaurus kernel doesn't recognize booted device automatically (yet)
  so you have to enter booted device (ld0 for SD, wd0 for CF) manually

There is "NetBSD/zaurus on SL-C1000" youtube video:
http://www.youtube.com/watch?v=Jq5ZHwum5vM

Have fun,
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index