Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Commit 1.20 ofw_machdep.c breaks PowerMac G5 in NetBSD HEAD
On 04/04/2013 03:31 AM, Michael wrote:
What's in your /memory properties? Especially "available" and "reg"?
Also, what's in / "#size-cells" and "#address-cells" ?
0 > dev / ok
0 > .properties
model PowerMac11,2
compatible PowerMac11,2
MacRISC4
Power Macintosh
customer-sw-config
pid# 000022c2
scb# 00000002
display-config-info ffffffff ffffffff
name device-tree
copyright Copyright 1983-2005 Apple Computer, Inc. All
Rights Reserved
device_type bootrom
system-id 0000000000000
#address-cells 00000002
#size-cells 00000001
clock-frequency 3b9aca00
AAPL,add-fcode-file xt=^ff86.40d8
display-family 00000000
platform-slewing-done
/ht@0,f2000000/pci@8/mac-io@7/gpio@50/slewing-done@38
platform-set-vdnap0 /ht@0,f2000000/pci@8/mac-io@7/gpio@50/vdnap0@14
platform-get-vdnap0 /ht@0,f2000000/pci@8/mac-io@7/gpio@50/vdnap0@14
ok
0 > dev /memory ok
0 > .properties
name memory
device_type memory
reg 00000000 00000000 00000000
00000000 00000000 00000000
00000000 00000000 40000000
00000000 00000000 00000000
00000000 00000000 00000000
00000000 00000000 00000000
00000000 40000000 40000000
00000001 00000000 40000000
slot-names 000000ff
DIMM0/J6700
DIMM1/J6800
DIMM2/J6900
DIMM3/J7000
DIMM4/J7100
DIMM5/J7200
DIMM6/J7300
DIMM7/J7400
available pseudo=00003000 7f5ed000
ram-map 00000000 00000000 00000000 00000000 00000000
00000000
00000001 00000000 40000000 00000000 00000000
00000000
00000000 00000000 00000000 00000000 00000000
00000000
00000000 00000000 40000000 00000000 40000000
40000000
bank-names 000000ff
64 bit Bank0/J6700/J6800/front
64 bit Bank1/J6700/J6800/back
64 bit Bank2/J6900/J7000/front
64 bit Bank3/J6900/J7000/back
64 bit Bank4/J7100/J7200/front
64 bit Bank5/J7100/J7200/back
64 bit Bank6/J7300/J7400/front
64 bit Bank7/J7300/J7400/back
bank-sizes 00000000 00000000 40000000 00000000 00000000
00000000
40000000 40000000
dimm-info 8008080d 0a604000 053d5000 82100000 0c043801
0200073d
5050603c 283c2840 25371022 3c1e1e00 00376980
1e280000
00030000 00000000 00000000 00001283 ce000000
00000000
014d3320 37385433 33353443 5a332d43 44352033
43053945
0859b400 59453230 38305400 00000000 00000000
00000000
00000000 00000000 8008080d 0a604000 053d5000
82100000
0c043801 0200073d 5050603c 283c2840 25371022
3c1e1e00
00376980 1e280000 00030000 00000000 00000000
00001283
ce000000 00000000 014d3320 37385433 33353443
5a332d43
44352033 43053945 01593500 59453230 38305400
00000000
00000000 00000000 00000000 00000000
... 00000400 bytes total
dimm-types DDR2 SDRAM
DDR2 SDRAM
DDR2 SDRAM
DDR2 SDRAM
DDR2 SDRAM
DDR2 SDRAM
dimm-speeds PC2-4200U-444
PC2-4200U-444
PC2-4200U-455
PC2-4200U-455
PC2-4200U-444
PC2-4200U-444
ram-layout-architecture 00000001
ram-bus-width 00000080
ok
Finally, does it work if you remove this:
if (((regcnt >> 2) % (acells + scells)) != 0) {
aprint_normal("messed up 'available' property detected\n");
acells = 1;
}
... and just set acells to 1 there?
It didn't help.
Regards
Home |
Main Index |
Thread Index |
Old Index