Port-sun2 archive

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

Quick procedure to run NetBSD/sun2 on TME



> IMO it might still be worth that we can demonstrate
> "of course it runs NetBSD" anywhere on the TME emulator
> on modern hardware

I've created a pre-built disk image of 5.0.1 for TME, so
the following quick procedure can make you yet another
NetBSD/sun2 user...

---
Quick procedure to run NetBSD/sun2 5.0.1 on TME:

1. install tme package

% setenv PKG_PATH http://nyftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/`uname 
-m`/5.0/All
% su
# pkg_add -v tme
# exit
% rehash

2. fetch ROM image

% ftp http://people.csail.mit.edu/fredette/tme/sun2-multi-rev-R.bin

3. fetch prebuilt disk image

% ftp http://ftp.NetBSD.org/pub/NetBSD/arch/sun2/tme/my-sun2-disk.img.gz
  (Please use appropriate mirrors)
% gunzip my-sun2-disk.img

See mkimg-sun2.sh how to create image from scratch.

4. prepare config files

% tme-sun-idprom 2/120 8:0:20:0:0:1 > my-sun2-idprom.bin
% cp /usr/pkg/share/examples/tme/sun-keyboards.txt .
% cp /usr/pkg/share/examples/tme/my-sun-macros.txt .
% cp /usr/pkg/share/examples/tme/SUN2-MULTIBUS .
% echo command mainbus0 power up >> SUN2-MULTIBUS
  (you can also edit SUN2-MULTIBUS directly instead)

5. exec tme

% setenv LTDL_LIBRARY_PATH /usr/pkg/lib
% tmesh SUN2-MULTIBUS

Have fun!

6. more details (network settings etc.)

See TME homepage:
http://people.csail.mit.edu/fredette/tme/index.html
http://people.csail.mit.edu/fredette/tme/sun2-120-nbsd.html

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index