Subject: Re: booting Efika with ppc-oea-renovation
To: Tim Rightnour <root@garbled.net>
From: Frank Wille <frank@phoenix.owl.de>
List: port-ofppc
Date: 07/08/2007 21:38:20
Tim Rightnour wrote:

>> As the Efika has no ISA IO area, everything is included in the 5200B SoC,
>> I have just disabled the call and reached askroot:
> 
> In ofwoea_map_space it tries to do a find_ranges() call for
> RANGE_TYPE_ISA. It then looks to see if the range and cur values are zero,
> and if either are, it should exit out. I'd throw some printfs in the
> find_ranges call and try to figure out why it's not failing on the efika,
> which has no ISA.

Ok. Will try that tomorrow.

I had not much time for it today, as I wanted to enjoy the first day without
rain since weeks... :P


>> - ofwpci is not detected (SmartFirmware shows: /pci@80000000)
> 
> Yeah.. I don't have a dump of the pci node itself for the efika. Could you
> cd to /pci and do a .properties for me there? It would help a bunch.

Here it is:

ok cd pci
ok ls
display@10
display@10,1
ok .properties 
name                  "pci"
device_type           "pci"
#address-cells        0x3 (3)
#size-cells           0x2 (2)
clock-frequency       0x3EF1480 (66000000)
ranges                [0x30 bytes]
        [000] 01000000 00000000 00000000 F8000000
        [010] 00000000 00010000 02000000 00000000
        [020] 80000000 80000000 00000000 40000000

reg                   80000000:40000000
#interrupt-cells      0x1 (1)
interrupt-map-mask    [0x10 bytes]
        [000] 00000000 00000000 00000000 00000007

bus-range             0:1
interrupt-map         [0x20 bytes]
        [000] 00008000 00000000 00000000 00000001
        [010] 07C57D30 00000000 00000000 00000003


And, FYI, the two PCI buses of the Pegasos II:

ok cd pci@80000000
ok ls
host@0
firewire@1
isa@C
ide@C,1
usb@C,2
usb@C,3
other@C,4
sound@C,5
pci1106,3068@C,6
ethernet@D
ok .properties
name                  "pci"
device_type           "pci"
#address-cells        0x3 (3)
#size-cells           0x2 (2)
clock-frequency       0x1FCA055 (33333333)
ranges                [0x30 bytes]
        [000] 01000000 00000000 00000000 FE000000
        [010] 00000000 00010000 02000000 00000000
        [020] 80000000 80000000 00000000 40000000

8259-interrupt-acknowledge 0xF1000CB4 (-251654988)
reg                   80000000:40000000
pci-bridge-number     0x0 (0)
bus-range             0:1

ok cd pci@c0000000
ok ls
host@0
display@8
ok .properties
name                  "pci"
device_type           "pci"
#address-cells        0x3 (3)
#size-cells           0x2 (2)
clock-frequency       0x3F940AA (66666666)
ranges                [0x30 bytes]
        [000] 01000000 00000000 00000000 F8000000
        [010] 00000000 00010000 02000000 00000000
        [020] C0000000 C0000000 00000000 20000000

reg                   C0000000:20000000
pci-bridge-number     0x1 (1)
bus-range             0:1


-- 
    _  Frank Wille (frank@phoenix.owl.de)
 _ //  http://sun.hasenbraten.de/~frank/
 \X/   Phx @ #AmigaGer