The NetWinder emulation mode is working well enough to run NetBSD/netwinder.
It is possible to run NetBSD/netwinder in GXemul.
There is no INSTALL ramdisk kernel, so one way to install the NetBSD/netwinder distribution onto a disk image is to install the files using another (emulated) machine. The following instructions will let you install the NetBSD/netwinder distribution onto a disk image, from an emulated DECstation 3MAX machine:
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/pmax/binary/kernel/netbsd-INSTALL.gz
dd if=/dev/zero of=nbsd_netwinder.img bs=1024 count=1 seek=999000
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/netwinder/binary/kernel/netbsd-GENERIC.gz ftp://ftp.netbsd.org/pub/NetBSD/iso/3.1/netwindercd-3.1.iso
gxemul -e 3max -d nbsd_netwinder.img -d netwindercd-3.1.iso netbsd-INSTALL.gz
newfs /dev/sd0c mount /dev/cd0c /mnt mkdir /mnt2; mount /dev/sd0c /mnt2 cd /mnt2; sh for a in /mnt/*/binary/sets/*.tgz; do echo $a; tar zxfp $a; done exit cd dev; sh ./MAKEDEV all; cd ../etc echo rc_configured=YES >> rc.conf echo "/dev/wd0c / ffs rw 1 1" > fstab cd /; umount /mnt; umount /mnt2; halt |
NetBSD/netwinder is now installed on the disk image. The following command line can be used to start NetBSD/netwinder:
gxemul -X -E netwinder -d nbsd_netwinder.img netbsd-GENERIC.gz
This will result in a 1024x768 framebuffer. Add -Y2 to the command line if you want to scale it down to 512x384.
Note: The installation instructions above create a filesystem without a disklabel, so there is only one ffs partition and no swap. You will need to enter the following things when booting with the generic kernel:
root device (default wd0a): wd0c dump device (default wd0b): (just press enter) file system (default generic): (just press enter) init path (default /sbin/init): (just press enter)
Known bugs/problems: