[OpenBIOS] Beige G3 device tree
Programmingkid
programmingkidx at gmail.com
Fri Feb 15 18:34:17 CET 2013
I finally obtained a Beige G3 for comparing with our emulated model. The model is very wrong. No wonder Mac OS X won't boot. What it expects a Beige G3 to look like is not being supplied. It is going to take a lot of changes to QEMU and OpenBIOS to fix things. My current guess why Mac OS X stops where it does is because of the missing ide at 20000 node under the mac-io at 10 node.
Here is a real Beige G3's device tree:
Children of the node:
86748104: / [AAPL,Gossamer MacRISC]
Node Adr Node Name Compatible
86753208: /cpus at 0
86753488: /PowerPC,750 at 0
86754536: /l2-cache at 0,0
86756192: /chosen at 0
86756496: /memory at 0
86756824: /openprom at 0
86757016: /AAPL,ROM at FFC00000 [AAPL,ROM]
86757600: /options at 0
86758784: /aliases at 0
/packages at 0
/deblocker at 0,0
/disk-label at 0,0
/obp-tftp at 0,0
/mac-files at 0,0
/mac-parts at 0,0
/aix-boot at 0,0
/fat-files at 0,0
/iso-9660-files at 0,0
/xcoff-loader at 0,0
/terminal-emulator at 0,0
/pci at 80000000 [grackle]
/mac-io at 10 [heathrow]
/mesh at 10000 [mesh]
/sd at 0,0 [sd]
/st at 0,0 [st]
/bmac at 11000 [bmac]
/escc at 13000 [escc CHRP,es0]
/ch-a at 13020 [ch-a CHRP,es2]
/ch-b at 13000 [ch-b CHRP,es3]
/davbus at 14000
/sound at 0,0 [awacs screamer]
/swim3 at 15000 [swim3]
/nvram at 60000 [nvram]
/ide at 20000 [heathrow-ata]
/disk at 0,0
/ide at 21000 [heathrow-ata]
/disk at 0,0
/via-cuda at 16000 [via-cuda]
/adb at 0,0 [adb]
/keyboard at 0,0
/mouse at 1,0
/pram at 0,0
/rtc at 0,0 [rtc]
/power-mgt at 0,0 [power-mgt]
/ATY,mach64_3DU at 12
/perch at 0 [Wings]
\ Properties of the root node
0 > .properties
name device-tree
model Power Macintosh
compatible AAPL,Gossamer
MacRISC
AAPL,cpu-id 00000000
#address-cells 00000001
#size-cells 00000001
clock-frequency 03FB97A0
\ mac-io node properties
name mac-io
device_type dbdma
model AAPL,343S1201
reg 00008000 00000000 00000000 00000000 00000000
02008010 00000000 F3000000 00000000 00080000
assigned-addresses 02008010 00000000 F3000000 00000000 00080000
ranges 00000000 02008010 00000000 F3000000 00080000
#address-cells 00000001
#size-cells 00000001
vendor-id 0000106B
device-id 00000010
revision-id 00000001
class-code 00FF0000
min-grant 00000000
max-latency 00000000
devsel-speed 00000001
AAPL,address F3000000
compatible heathrow
0 > dev mesh at 10000 ok
0 > .properties
name mesh
device_type scsi
model AAPL,343S1146
reg 00010000 00000100
00008000 00000200
clock-frequency 02FAF080
AAPL,interrupts 0000000C 00000000
AAPL,connector scsi
compatible mesh
0 > dev /nvram at 60000 ok
0 > .properties
name nvram
device_type nvram
compatible nvram
reg 00060000 00020000
existing 00000000 00002000
0 > dev ide at 20000 ok
0 > ls
Children of the node:
86825168: /ide at 20000 [heathrow-ata]
Node Adr Node Name Compatible
86832680: /disk at 0,0
0 > .properties
name ide
device_type ide
AAPL,connector ata
compatible heathrow-ata
AAPL,bus-id 00000000
reg 00020000 00002000
00008800 00000200
AAPL,pio-timing 00000526 00000085 00000025 00000025 00000025 00000000 00000000 00000000
AAPL,interrupts 00000000 00000002
#address-cells 00000001
More information about the OpenBIOS
mailing list