Kernel

It's faster to cross-build the kernel, but if you'd like to do the build on the Atari itself, here's how. Note: Previously there was a suggestion to edit /usr/src/sys/arch/atari/conf/Makefile.atari to make some performance optimizations. These are actually not necessary so the advice has been removed.
 * 1) Log in with your user account either at the console or via ssh. Some keyboard characters are mapped oddly on the Atari keyboard so I prefer to use ssh.
 * 2) mkdir syssrc
 * 3) cd syssrc
 * 4) ftp ftp://ftp.netbsd.org/pub/NetBSD/[NetBSD version]/source/sets/syssrc.tgz  (If you're behind a proxy, a mirror such as ftp2.us.NetBSD.org tends to work better.)
 * 5) su to root
 * 6) cd /
 * 7) progress -zf ~[username]/syssrc/syssrc.tgz tar xpf -
 * 8) cd /usr/src/sys/arch/atari/conf
 * 9) cp ATARITT ATARIKERN
 * 10) Configure the kernel. FWIW, here's what I do:
 * 11) Prior to NetBSD 7:
 * 12) vi std.atari
 * 13) Add or edit the makeoptions line to:
 * 14) makeoptions COPTS="-Os -fomit-frame-pointer"
 * 15) Save and exit vi.
 * 16) On NetBSD 7 and above, don't edit std.atari, just update the makeoptions line in ATARIKERN:
 * 17) vi ATARIKERN
 * 18) Edit the makeoptions line to change -O2 to -Os and add -fomit-frame-pointer.
 * 19) Save and exit vi.
 * 20) vi ATARIKERN
 * 21) Enable IPSEC by adding these three lines after INET6:
 * 22) options IPSEC
 * 23) options IPSEC_ESP
 * 24) options IPSEC_NAT_T
 * 25) Enable NTP:
 * 26) options NTP
 * 27) options RTC_OFFSET=0
 * 28) Disable nfsserver. I leave the nfs client ("nfs") enabled for the purposes of backup.
 * 29) Disable lp0
 * 30) Disable unnecessary devices. I disable EtherNEC, BVME410, SMC Elite Ultra, and Crazy Dots.
 * 31) Disable SCSI autochangers, scanners, and SCSI Ethernet.
 * 32) If you plan to run apache add:
 * 33) pseudo-device accf_data
 * 34) pseudo-device accf_http
 * 35) If you plan to run filesystems in userspace (I don't use this, currently):
 * 36) file-system PUFFS
 * 37) pseudo-device putter
 * 38) Save and exit vi.
 * 39) config ATARIKERN
 * 40) cd /usr/src/sys/arch/atari/compile/ATARIKERN
 * 41) make depend && make
 * 42) mv /netbsd /netbsd-ataritt
 * 43) cp netbsd /netbsd
 * 44) shutdown -r now
 * 45) Once the system comes back up, log on as root
 * 46) cd /dev
 * 47) sh MAKEDEV all
 * 48) shutdown -r now

David Ross 18:21, November 26, 2009 (UTC)