Need help with IDE/PCI config on unknown board(was: [U-Boot-Users] (no subject))
Jerry K. Schieffer
jerry at schieffer.us
Thu Mar 2 04:43:35 CET 2006
Thank you for your help. In answer to your questions:
>>>Can you "see" the PCI IDE controller at this address? What's the
output of:
>>>=> md.b e80001f0 10
I believe not because
=> md.b e8000000 10
e8000000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
................
>>>What's the output of:
>>>=> pci long
=> pci long
Scanning PCI devices on bus 0
Found PCI device 00.00.00:
vendor ID = 0x1014
device ID = 0x0156
command register = 0x0006
status register = 0x2210
revision ID = 0x01
class code = 0x06 (Bridge device)
sub class code = 0x00
programming interface = 0x00
cache line = 0x00
latency time = 0x07
header type = 0x00
BIST = 0x00
base address 0 = 0x00000000
base address 1 = 0x00000008
base address 2 = 0x00000000
base address 3 = 0x00000000
base address 4 = 0x00000000
base address 5 = 0x00000000
cardBus CIS pointer = 0x00000000
sub system vendor ID = 0x10e8
sub system ID = 0xcafe
expansion ROM base address = 0x00000000
interrupt line = 0x00
interrupt pin = 0x01
min Grant = 0x00
max Latency = 0x00
Found PCI device 00.04.00:
vendor ID = 0x105a
device ID = 0x0d30
command register = 0x0004
status register = 0x0210
revision ID = 0x02
class code = 0x01 (Mass storage controller)
sub class code = 0x01
programming interface = 0x8a
cache line = 0x00
latency time = 0x40
header type = 0x00
BIST = 0x00
base address 0 = 0x000001f1
base address 1 = 0x000003f5
base address 2 = 0x00000171
base address 3 = 0x00000375
base address 4 = 0x00006801
base address 5 = 0x00000000
cardBus CIS pointer = 0x00000000
sub system vendor ID = 0x105a
sub system ID = 0x4d33
expansion ROM base address = 0x000dc000
interrupt line = 0x1d
interrupt pin = 0x01
min Grant = 0x00
max Latency = 0x00
=>
I suppose that the oxFF bytes are not correct for the contents of the
ide controller registers.
What should I look for?
I used 0xE8000000 (apparently incorrectly) because it was reported in
the following messages when initializing with the PPBBoot firmware:
PCI_Scan:Device 4 is present Bus Func 2000 ClassCode 101
IDE device found:
PCI_Config_Device:Read Base Addr Reg 0 = 0x000001f1
***PCI I/O space = 0x10 bytes 0
IDE-Just Set CFG_ATA_BASE_ADDR to e8000000^M
PCI_Config_Device:Read Base Addr Reg 1 = 0x000003f5
***PCI I/O space = 0x4 bytes 10
PCI_Config_Device:Read Base Addr Reg 2 = 0x00000171
***PCI I/O space = 0x10 bytes 20
PCI_Config_Device:Read Base Addr Reg 3 = 0x00000375
***PCI I/O space = 0x4 bytes 30
PCI_Config_Device:Read Base Addr Reg 4 = 0xffffffc1
***PCI I/O space = 0x40 bytes 40
PCI_Config_Device:Read Base Addr Reg 5 = 0xfffe0000
***PCI Memory space = 0x20000 bytes
Hardcode address e80001f0
>>>PS: Please use a subject next time!
Done - see subject.
More information about the U-Boot
mailing list