this is obsolete doc -- see http://doc.nethence.com/ instead

Installing NetBSD on an UMAX Apus 2000 

 

Keyboard combinations 

To get to the Open Firmware prompt, 

Command (four-leaf clover) - Option (ALT) - O - F

 

To reboot, 

Ctrl - Command - <that backspace-like button on the upper right)

 

cmd-alt-o-f 

 

cmd-alt-p-r 

cmd-alt-n-v 

 

Connect serial @38400 bauds per second 

 

Force serial console output and automaticly go to the Open Firmware without doing the four key combinatino on the keyboard, 

setenv output-device ttya
setenv input-device ttya
setenv auto-boot? false

check, 

printenv output-device
printenv input-device
printenv auto-boot?

apply, 

reset-all

 

setenv input-device keyboard 

setenv output-device screen 

 

Back to the Open Firmware prompt, make sure it's an v1 or v2 Open Firmware (this is not for v3) and prepare it to boot NetBSD, 

dev /openprom
.properties
setenv load-base 600000
setenv real-base F00000

check, 

printenv load-base
printenv real-base

apply, 

reset-all

 

 

Booting on the CDrom 

 

Now boot the CDrom, 

setenv real-base F00000
setenv input-device ttya
setenv output-device ttya
reset-all
printenv
boot scsi/sd@3:0
#boot scsi/sd@3:0 netbsd.macppc
#boot scsi/sd@6:0
#boot scsi/sd@6:0 netbsd.macppc

 

#boot scsi/sd@3:0,OFWBOOT.XCF
#boot scsi/sd@3:0,OFWBOOT.XCF NETBSD.MACPPC

 

 

setenv auto-boot? false
setenv load-base 600000
setenv real-base F00000
setenv boot-device ata/ATA-Disk@0:0
setenv boot-file netbsd
reset-all
boot scsi/sd@6:0 netbsd.macppc

 

setenv auto-boot? true
reset-all

 

 

Preparing the install server 

ftp -a ftp.free.fr 

cd mirrors/ftp.netbsd.org/NetBSD-6.1/macppc/binary/sets/ 

 

 

Installing the system 

^C 

ifconfig ex0 inet <INSTALLATION IP> netmask 255.255.255.0 up 

ping <NFS SERVER IP> 

cd / 

mkdir -p nfs/ 

mount -t nfs -o ro 192.168.0.200:/var/data/ nfs/ 

sysinst 

 

g: Local directory 

a: Base directory /nfs 

b: Binary set directory netbsd61macppc 

 

Booting on the installed system 

 

setenv boot-device ata/ATA-Disk@0:0
setenv boot-file netbsd
setenv real-base F00000
setenv auto-boot? true
reset-all

 

Additional notes 

 

shutdown -p works 

 

 

References 

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.1/macppc/INSTALL.html#Getting%20to%20Open%20Firmware%20%28Without%20using%20MacOS%29 

 

A guide to Open Firmware - The Apple BIOS 

http://mac.linux.be/content/guide-open-firmware-apple-bios-0 

 

Beginning Open Firmware debugging techniques, Part II: Hardware identification 

http://www.dialectronics.com/Words/OF_Part_II.shtml 

 

Subject: Re: openfirmware hardware reset ? 

http://mail-index.netbsd.org/port-macppc/2007/05/17/0007.html