Subject: Powerbook (firewire) now supported!
To: None <port-macppc@netbsd.org>
From: Michael Wolfson <mw@costello.cnf.cornell.edu>
List: port-macppc
Date: 08/11/2000 19:11:59
Our talented port maintainer, Tsubai Masanari, has recently added support
for the newest Apple PowerBooks.

Two caveats:
1) built-in keyboard doesn't work, and neither does an USB keyboard (I
tried an
   Apple strawberry iMac's keyboard, without any hub between the kb and my
   usb port)
2) You must remove the DVD-ROM from the media bay, or your console gets
   spewed with interminable "unknown event (0x5401330)" messages.

Since there is no local console, I updated the Diskless HOW-TO to describe
how to netboot a system with no console (this is how I got my system
working):
<http://www.netbsd.org/Documentation/network/netboot>

The patch to get this model working comes after the latest snapshot in the
archvies.  He put a patched GENERIC kernel on his site:
ftp://nandra.iri.co.jp/pub/NetBSD/tmp/netbsd.mw.gz

The following dmesg is from my netbooted machine with the original firmware
(3.2.1f1):
Apple PowerBook3,1 2.1f1 BootROM built on 01/29/00 at 22:38:07


NetBSD 1.5C (GENERIC) #0: Wed Aug  2 13:37:34 JST 2000
    tsubai@parla:/a/0727/src/sys/arch/macppc/compile/GENERIC
total memory = 192 MB
avail memory = 170 MB
using 2483 buffers containing 9932 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 750 (Revision 8300), ID 0 (primary)
cpu0: 1MB backside cache
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies product 0x4c46
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
obio0 at pci1 dev 23 function 0: addr 0x80000000
zsc0 at obio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
adb0 at obio0 offset 0x16000 irq 25: 0 targets
aed0 at adb0 addr 0: ADB Event device
battery at obio0 offset 0x0 not configured
backlight at obio0 offset 0xf300 not configured
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
wd0 at wdc0 channel 0 drive 0: <FUJITSU MHK2060AT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
mediabay0 at obio0 offset 0x34 irq 16
wdc1 at mediabay0 offset 0x20000 irq 20
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
radio at obio0 offset 0x30000 not configured
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
cbb0 at pci1 dev 26 function 0: Texas Instruments PCI1211 PCI-CardBus
Bridge (rev. 0x00)
cbb0: interrupting at irq 58
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x21008 lscp 0x20010100
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0x20
pcmcia0 at cardslot0
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
pchb2 at pci2 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
Apple Computer product 0x0018 (Firewire serial bus, interface 0x10,
revision 0x01) at pci2 dev 14 function 0 not configured
gm0 at pci2 dev 15 function 0: Ethernet address 00:0a:27:e1:50:ae
gm0: interrupting at irq 41
ukphy0 at gm0 phy 0: Generic IEEE 802.3u media interface
ukphy0: BCM5201 10/100 media interface (OUI 0x001018, model 0x0021), rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ums0 at uhub0 port 1 configuration 1 interface 0
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.14, addr 2,
iclass 3/1
ums0: 5 buttons and Z dir.
wsmouse1 at ums0
boot device: gm0
root on gm0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP server: 128.84.235.137
nfs_boot: my_name=foobar
nfs_boot: my_domain=ee.cornell.edu
nfs_boot: my_addr=128.84.235.69
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=128.84.235.200
root on 128.84.235.137:/home/macppc
root file system type: nfs


Many thanks!

  -- MW