[U-Boot-Users] IDE Access from U-Boot
sudhakar rajashekhara
rsudhakar_blr at yahoo.com
Fri Feb 6 15:56:30 CET 2004
Hi All,
We are trying to boot Linux from SATA 150 Tx2plus
Promise HDD using U-Boot from a MPC8280 board. The ATA
card is a 33Mhz PCI card. After U-Boot comes up, it's
able to detect the PCI card and also identifies the
IDE device. But the IDE initializations of U-Boot
fails. Is the memory mapping for the Promise device
correct? How can I confirm it? Following is the U-Boot
log:
Intializing 8250 PCI, Hose Addres 0xffaec10
In: serial
Out: serial
Err: serial
Net: FCC2 ETHERNET
IDE: Bus 0: not available Bus 1: not available
Hit any key to stop autoboot: 5 4 0
=>
=>
=>
=>
=>
=>
=> pci
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class
Sub-Class
_____________________________________________________________
00.00.00 0x1057 0x18c0 Bridge device
0x00
00.10.00 0x105a 0x3375 Mass storage
0x80
00.11.00 0x104c 0xac51 Bridge device
0x07
00.11.01 0x104c 0xac51 Bridge device
0x07
00.12.00 0x1014 0x01a7 Bridge device
0x04
// PCI Bridge Configuration Space
=> pci header 0.0.0
vendor ID = 0x1057
device ID = 0x18c0
command register = 0x0006
status register = 0x20b0
revision ID = 0x20
class code = 0x06 (Bridge device)
sub class code = 0x00
programming interface = 0x00
cache line = 0x08
latency time = 0xf8
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 = 0x0000
sub system ID = 0x0000
expansion ROM base address = 0x00000000
interrupt line = 0x00
interrupt pin = 0x01
min Grant = 0x00
max Latency = 0x00
// Promise Card Configuration Space
=> pci header 0.10.0
vendor ID = 0x105a
device ID = 0x3375
command register = 0x0007
status register = 0x0230
revision ID = 0x02
class code = 0x01 (Mass storage
controller)
sub class code = 0x80
programming interface = 0x00
cache line = 0x08
latency time = 0x80
header type = 0x00
BIST = 0x00
base address 0 = 0xa0000001
base address 1 = 0xa0000041
base address 2 = 0xa0000081
base address 3 = 0x80000000
base address 4 = 0x80020000
base address 5 = 0x00000000
cardBus CIS pointer = 0x00000000
sub system vendor ID = 0x105a
sub system ID = 0x3375
expansion ROM base address = 0x00080001
interrupt line = 0x0e
interrupt pin = 0x01
min Grant = 0x04
max Latency = 0x12
=> md 80020000
80020000: 55aa20e9 de320000 52000000 00000000 U.
..2..R.......
80020010: 00000000 00000000 8e110c2e 00000000
................
80020020: 75335a10 75336000 00bd1e06 5633d232
u3Z.u3`.....V3.2
80020030: e4d1e08a d48ae032 c0be2000 1e2e8e1e
.......2.. .....
80020040: 6f11f606 7b00201f 7402eb29 894414c7
o...{. .t..).D..
80020050: 44160080 8cc08af4 c0ee04c1 e00403d8
D...............
80020060: 8ac61400 32e48ec0 895c108c 4412b901
....2....\..D...
80020070: 005e071f c3890489 5402895c 04c74406
.^......T..\..D.
80020080: 00008c44 08c7440c 1000c744 10ffffc7
...D..D....D....
80020090: 4412ffff 5006578c d88ec0bf 2000b805
D...P.W..... ...
800200a0: 8133d2cd 4b5f0758 72a2837c 10ff749c
.3..K_.Xr..|..t.
800200b0: 837c12ff 74968cd8 8ec057bf 2000b806
.|..t.....W. ...
800200c0: 81ba0000 cd4b5fbe 20008b4c 0e518d74
.....K_. ..L.Q.t
800200d0: 10c74406 000083c6 08e2f683 ee08804c
..D............L
800200e0: 078059eb 8c568a04 d0e00244 01b410f6
..Y..V.....D....
800200f0: e4be6710 03f02e8a 64022e8a 440e5e50
..g.....d...D.^P
regards,
Sudhakar.
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
More information about the U-Boot
mailing list