[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: iBook
こんばんは。
SUNAGAWA Keiki <Keiki_SUNAGAWA@yokogawa.co.jp> wrote:
Keiki> iMac DVと同じ状況なんでしょうか。
買ってきました:-)
とりあえずOpen Firmwareの情報です。手で写していますので間違っ
ているかも知れません。
----------
Apple PowerBook2,1 1.3f1 BootROM built on 10/28/99 at 18:10:16
Copyright 1994-1999 Apple Computer, Inc.
All Rights Reserved.
Welcome to Open Firmware.
To continue to booting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.
ok
0 > printenv
-------------- Partition: common -------- Signature: 0x70 ---------------
little-endian? false false
real-mode? false false
auto-boot? false true
diag-switch? false false
fcode-debug? false false
oem-banner? false false
oem-logo? false false
use-nvramrc? false false
use-generic? false false
default-mac-address? false false
real-base? -1 -1
real-size? -1 -1
load-base? 0x800000 0x800000
virt-base? -1 -1
virt-size? -1 -1
pci-probe-mask -1 -1
screen-#columns 100 100
screen-#rows 40 40
selftest-#megs 0 0
boot-device hd:,\\:tbsi hd:,\\:tbxi
boot-file
boot-screen
console-screen
diag-device enet enet
diag-file ,diags ,diags
input-device keyboard keyboard
output-device screen scren
mouse-device mouse mouse
oem-banner
oem-logo
nvramrc
boot-command mac-boot mac-boot
default-client-ip
default-server-ip
default-gateway-ip
default-subnet-mask
default-router-ip
boot-script
appl,pci Use PRINT-AAPL,PCI to view
ok
0 > devalias
pci0 /pci@f0000000
agp /pci@f0000000
pci1 /pci@f2000000
pci2 /pci@f4000000
pci /pci@f2000000
usb0 /pci@f2000000/usb@18
usb1 /pci@f2000000/usb@19
enet1 /pci@f2000000/ethernet
fw1 /pci@f2000000/firewire
mac-io /pci@f2000000/mac-io@17
mpic /pci@f2000000/mac-io@17/interrupt-controller
ide0 /pci@f2000000/mac-io@17/ata-3@20000/disk@0
ide1 /pci@f2000000/mac-io@17/ata-3@20000/disk@1
hd /pci@f2000000/mac-io@17/ata-4@1f000/disk@0
cd /pci@f2000000/mac-io@17/ata-3@20000/disk@0
zip /pci@f2000000/mac-io@17/ata-3@20000/disk@1
ultra0 /pci@f2000000/mac-io@17/ata-4@1f000/disk@0
ultra1 /pci@f2000000/mac-io@17/ata-4@1f000/disk@1
scca /pci@f2000000/mac-io@17/escc/ch-a
sccb /pci@f2000000/mac-io@17/escc/ch-b
ki2c /pci@f2000000/mac-io@17/i2c
ki2c-serial /pci@f2000000/mac-io@17/i2c/serial
via-pmu /pci@f2000000/mac-io@17/via-pmu
rtc /pci@f2000000/mac-io@17/via-pmu/rtc
adb /pci@f2000000/mac-io@17/via-pmu/adb
adb-keyboard /pci@f2000000/mac-io@17/via-pmu/adb/keyboard
adb-mouse /pci@f2000000/mac-io@17/via-pmu/adb/mouse
wireless /pci@f2000000/mac-io@17/@30000
ui2c /uni-n/i2c
ui2c-serial /uni-n/i2c/serial
enet /pci@f4000000/ethernet
fw /pci@f4000000/firewire
keyboard /psuedo-hid/keyboard
mouse /psuedo-hid/mouse
nvram /nvram
last-boot /pci@f4000000/ethernet@f
screen /pci@f0000000/ATY,RageM_Lp@10
ok
0 > dev / ls
ff839ab8: /cpus
ff839ce8: /PowerPC,750@0
ff83a048: /l2-cache
ff83ab40: /chosen
ff83acd0: /memory@0
ff83aee8: /openprom
ff83aff0: /client-services
ff83c190: /rom@ff800000
ff83c318: /boot-rom@fff00000
ff83c490: /macos
ff83c510: /options
ff83c590: /aliases
ff83ce50: /packages
ff83ceb8: /deblocker
ff83d720: /disk-label
ff83e120: /obp-tftp
ff843978: /mac-parts
ff8447d8: /mac-files
ff8474c8: /hfs-plus-files
ff84c150: /fat-files
ff84de80: /iso-9660-files
ff84ea88: /bootinfo-loader
ff850728: /xcoff-loader
ff851140: /pe-loader
ff851b18: /elf-loader
ff853148: /usb-hid-class
ff855460: /usb-ms-class
ff857630: /sbp2-disk
ff858a48: /ata-disk
ff859c60: /atapi-disk
ff85b2d0: /bootpath-search
ff861af0: /terminal-emulator
ff861b88: /psuedo-hid
ff861c10: /keyboard
ff862290: /mouse
ff8627a8: /multiboot
ff86e778: /diagnostics
ff86e7e0: /tools-node
ff870440: /rtas
ff870640: /nvram@fff04000
ff871108: /uni-n@f8000000
ff871350: /i2c@f8001000
ff871a98: /cereal
ff872148: /pci@f0000000
ff88c1e8: /uni-north-agp@b
ff88c458: /ATY,Rage_M_Lp@10
ff8731c0: /pci@f2000000
ff8752b8: /mac-io@17
ff8762f0: /interrupt-controller@40000
ff876498: /gpio@50
ff876580: /extint-gpio1
ff876718: /programmer-switch
ff876858: /extint-gpio12
ff8769a8: /i2s@10000
ff876b60: /i2s-a@10000
ff876e10: /sound
ff877440: /its-b@11000
ff877598: /escc-legacy@12000
ff877790: /ch-a@12004
ff877910: /ch-b@12000
ff877a90: /escc@13000
ff877c98: /ch-a@13020
ff878640: /ch-b@13000
ff878f40: /timer@15000
ff8790a8: /via-pmu@16000
ff87bff0: /rtc
ff87c6c8: /adb
ff87c808: /keyboard@2
ff87d460: /mouse@3
ff87d7c8: /power-mgt
ff8ae3c0: /usb-power-mgt
ff87da60: /battery@0
ff87db08: /backlight@f300
ff87dc28: /i2c@18000
ff87e4b8: /cereal
ff87eb80: /ata-4@1f000
ff8808f8: /disk
ff880fc8: /ata-3@20000
ff882d40: /disk
ff883388: /ata-3@21000
ff885100: /disk
ff886a48: /usb@18
ff874238: /pci@f4000000
ff895020: /ethernet@f
ok
0 > dev /uni-n ok
0 > .properties
name uni-n
model AAPL,UniNorth
device_type memory-controller
compatible uni-north
reg f8000000 01000000
#address-cells 00000001
#size-cells 00000001
device-rev 00000003
ok
0 > words
close open map-out map-in uni-n-base
ok
0 > boot hd:5,ofwboot.elf load-size=eef8 adler32=a37645fe
Loading ELF
>> NetBSD/macppc OpenFirmware Boot, Revision 1.2
>> (kei@azarin, Sat Dec 4 12:49:02 JST 1999)
open : No such file or directory
open /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:0/netbsd: No such file or directory
Boot: cd:0/macppc/19991204/binary/kernel/netbsd-GENERIC_MD.gz
4490872+211980 [100+91584+76154]=0x4a54b0
start=0x100000
console keyboard type: ADB
Copyright (c) 1996, 1997, 1998, 1999
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 1.4P (GENERIC_MD) #0: Sat Dec 4 19:48:33 JST 1999
kei@azarin:/a/anoncvs/netbsd/src/sys/arch/macppc/compile/GENERIC_MD
CPU: 750 (Revision 8300)
total memory = 32768 KB
avail memory = 21528 KB
using 800 buffers containing 3200 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 512KB backside cache enabled
trap type 200 at 2cee70
Stopped in swapper at cpu_Debugger+0x10: lwz r0, r1, 0x14,
db>
----------
○デバッガーに落ちた後はキーボードはリセット以外効きません。
○mac-bootでもbyeでもMacOSが立ち上がります。
○iMacのキーボードとは違い、Open Firmwareのプロンプトで「む」
のキーが「\」として使えます。
--
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
Hack on NetBSD, and your code runs on over 20 architectures!