* [U-Boot-Users] Again on PCMCIA/IDE and PXA270
@ 2008-04-16 16:46 Rodolfo Giometti
2008-04-17 3:49 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 5+ messages in thread
From: Rodolfo Giometti @ 2008-04-16 16:46 UTC (permalink / raw)
To: u-boot
Hello,
Using a 1GB CF on my system I get:
equantum> pinit on
KINGSTON CF CARD 1GB
Fixed Disk Card
IDE interface
[silicon] [unique] [single] [sleep] [standby] [idle] [low power]
equantum> ide reset
Reset IDE: Bus 0: ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x51
OK
Device 0: ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 0, port= 0x1f2) : @ 0x200001f2 -> 0x01
ide_inb (dev= 0, port= 0x1f3) : @ 0x200001f3 -> 0x01
ide_inb (dev= 0, port= 0x1f4) : @ 0x200001f4 -> 0x00
ide_outb (dev= 0, port= 0x1f7, val= 0xec) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x81
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x58
in input data base for read is 200001f0
Here follows the CF configuration words from command IDENTIFY DEVICE:
0000) 8a84:.. ae07:.. 0000:.. 1000:.. 0000:.. 4002:@. 3f00:?. 1e00:..
0008) 203d: = 0000:.. 4643:FC 4731:G1 2042: B 2020: 2020: 2020:
0010) 3030:00 3030:00 3130:10 4642:FB 0200:.. 0200:.. 0400:.. 3032:02
0018) 3730:70 3130:10 3133:13 4643:FC 4320:C 5241:RA 2044: D 4731:G1
0020) 2042: B 2020: 2020: 2020: 2020: 2020: 2020: 2020:
0028) 2020: 2020: 2020: 2020: 2020: 2020: 2020: 0180:..
0030) 0000:.. 0002:.. 0000:.. 0002:.. 0000:.. 0300:.. ae07:.. 1000:..
0038) 3f00:?. 203d: = 1e00:.. 0001:.. 203d: = 1e00:.. 0000:.. 0000:..
0040) 0300:.. 0000:.. 0000:.. 7800:x. 7800:x. 0000:.. 0000:.. 0000:..
0048) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0050) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0058) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0060) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0068) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0070) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0078) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0080) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0088) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0090) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0098) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00a0) 0000:.. 0000:.. 0000:.. 9204:.. 1b00:.. 0000:.. 0000:.. 0000:..
00a8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00b0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00b8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00c0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00c8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00d0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00d8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00e0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00e8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00f0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00f8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0100) 0000:.. 0000:.. e0ab:.. 02a3:.. 0000:.. 0000:.. 0000:.. 0000:..
0108) 0000:.. 0000:.. 6002:`. f2a2:.. b001:.. f2a2:.. f487:.. 00a3:..
0110) e0ab:.. 02a3:.. 8002:.. f2a2:.. 0000:.. 0000:.. 0000:.. 0000:..
0118) 0000:.. 0000:.. 0000:.. 0000:.. c005:.. 01a3:.. 7802:x. f2a2:..
0120) 8002:.. f2a2:.. 1400:.. 0000:.. c801:.. f2a2:.. 1800:.. 0000:..
0128) 0b00:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0130) 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0138) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. b001:.. f2a2:..
0140) 0000:.. 0000:.. 80fe:.. efa2:.. 30fe:0. efa2:.. 44fe:D. efa2:..
0148) 0000:.. 0000:.. 0200:.. 0000:.. 7c0b:|. 01a3:.. 0000:.. 0000:..
0150) e001:.. f2a2:.. 0000:.. 0000:.. 6400:d. 0000:.. 0000:.. 0000:..
0158) 0000:.. 0000:.. e002:.. f2a2:.. b001:.. f2a2:.. c802:.. f2a2:..
0160) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0200:.. 0000:..
0168) ffff:.. ffff:.. 30ff:0. efa2:.. 0200:.. 0000:.. 0100:.. 0000:..
0170) 0100:.. 0000:.. 0caf:.. 6200:b. 0000:.. 0000:.. b40c:.. 01a3:..
0178) 1cb7:.. 02a3:.. 0100:.. 0000:.. 0200:.. 0000:.. acf2:.. 00a3:..
0180) 94f4:.. 00a3:.. 8034:.4 00a3:.. 0200:.. 0000:.. 3600:6. f0a2:..
0188) 3132:12 0000:.. 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:..
0190) 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0198) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
01a0) 0000:.. 0000:.. 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:..
01a8) 0000:.. 0000:.. 0100:.. 0000:.. a80d:.. 02a3:.. 0200:.. 0000:..
01b0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
01b8) 0000:.. 0000:.. adff:.. efa2:.. 0600:.. 0000:.. c851:.Q 02a3:..
01c0) ffff:.. ffff:.. ffff:.. ffff:.. c25b:.[ f3e9:.. a810:.. 00a3:..
01c8) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01d0) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01d8) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01e0) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01e8) ffff:.. ffff:.. 0100:.. 0000:.. 0100:.. 0000:.. 28ca:(. 00a3:..
01f0) 6400:d. 0000:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01f8) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
The device is correctly identified:
Model: CF CARD 1GB Firm: 20070131 Ser#: FCG1 B 000010FB
Type: Removable Hard Disk
Capacity: 967.6 MB = 0.9 GB (1981728 x 512)
ide_read dev 0 start 0, blocks 1 buffer at A2EFF91C
ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x51
IDE read: warning, device 0 not ready
ide_outb (dev= 0, port= 0x1f7, val= 0xe5) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_inb (dev= 0, port= 0x1f2) : @ 0x200001f2 -> 0x00
Powersaving 00
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
write low bits
ide_outb (dev= 0, port= 0x1f2, val= 0x01) : @ 0x200001f2
ide_outb (dev= 0, port= 0x1f3, val= 0x00) : @ 0x200001f3
ide_outb (dev= 0, port= 0x1f4, val= 0x00) : @ 0x200001f4
ide_outb (dev= 0, port= 0x1f5, val= 0x00) : @ 0x200001f5
ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_outb (dev= 0, port= 0x1f7, val= 0x20) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x80
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x58
in input data base for read is 200001f0
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_inb (dev= 0, port= 0x1f1) : @ 0x200001f1 -> 0x00
Also we can read the first sector correctly (error == 0):
IDE read: error 00
ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_outb (dev= 0, port= 0x1f7, val= 0x03) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x81
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_inb (dev= 0, port= 0x1f1) : @ 0x200001f1 -> 0x20
IDE read: extd 20
But this is the *only* CF that works! Just putting another one I get:
equantum> pinit on
Fixed Disk Card
IDE interface
[silicon] [single] [sleep] [standby] [idle] [low power]
equantum> ide reset
Reset IDE: Bus 0: ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x51
OK
Device 0: ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 0, port= 0x1f2) : @ 0x200001f2 -> 0xd1
ide_outb (dev= 0, port= 0x1f7, val= 0xec) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0xd1
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x58
in input data base for read is 200001f0
0000) 8a84:.. f401:.. 0000:.. 1000:.. 0000:.. 1002:.. 2000: . 0300:..
0008) 00e8:.. 0000:.. 4349:CI 4146:AF 3031:01 3030:00 3030:00 3435:45
0010) 2031: 1 2020: 2020: 2020: 0200:.. 0200:.. 0400:.. 6172:ar
0018) 3330:30 302e:0. 6630:f0 6e49:nI 7564:ud 7473:ts 6972:ir 6c61:la
0020) 4320:C 2046: F 6143:aC 6472:dr 2020: 2020: 2020: 2020:
0028) 2020: 2020: 2020: 2020: 2020: 2020: 2020: 0100:..
0030) 0000:.. 0002:.. 0000:.. 0002:.. 0000:.. 0100:.. f401:.. 1000:..
0038) 2000: . 00e8:.. 0300:.. 0001:.. 00e8:.. 0300:.. 0000:.. 0000:..
0040) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0048) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0050) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0058) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0060) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0068) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0070) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0078) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0080) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0088) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0090) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0098) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00a0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00a8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00b0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00b8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00c0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00c8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00d0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00d8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00e0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00e8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00f0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
00f8) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0100) 0000:.. 0000:.. e0ab:.. 02a3:.. 0000:.. 0000:.. 0000:.. 0000:..
0108) 0000:.. 0000:.. 6002:`. f2a2:.. b001:.. f2a2:.. f487:.. 00a3:..
0110) e0ab:.. 02a3:.. 8002:.. f2a2:.. 0000:.. 0000:.. 0000:.. 0000:..
0118) 0000:.. 0000:.. 0000:.. 0000:.. c005:.. 01a3:.. 7802:x. f2a2:..
0120) 8002:.. f2a2:.. 1400:.. 0000:.. c801:.. f2a2:.. 1800:.. 0000:..
0128) 0b00:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0130) 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0138) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. b001:.. f2a2:..
0140) 0000:.. 0000:.. 80fe:.. efa2:.. 30fe:0. efa2:.. 44fe:D. efa2:..
0148) 0000:.. 0000:.. 0200:.. 0000:.. 7c0b:|. 01a3:.. 0000:.. 0000:..
0150) e001:.. f2a2:.. 0000:.. 0000:.. 6400:d. 0000:.. 0000:.. 0000:..
0158) 0000:.. 0000:.. e002:.. f2a2:.. b001:.. f2a2:.. c802:.. f2a2:..
0160) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0200:.. 0000:..
0168) ffff:.. ffff:.. 30ff:0. efa2:.. 0200:.. 0000:.. 0100:.. 0000:..
0170) 0100:.. 0000:.. 0caf:.. 6200:b. 0000:.. 0000:.. b40c:.. 01a3:..
0178) 1cb7:.. 02a3:.. 0100:.. 0000:.. 0200:.. 0000:.. acf2:.. 00a3:..
0180) 94f4:.. 00a3:.. 8034:.4 00a3:.. 0200:.. 0000:.. 3600:6. f0a2:..
0188) 3132:12 0000:.. 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:..
0190) 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
0198) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
01a0) 0000:.. 0000:.. 0000:.. 0000:.. 0100:.. 0000:.. 0000:.. 0000:..
01a8) 0000:.. 0000:.. 0100:.. 0000:.. a80d:.. 02a3:.. 0200:.. 0000:..
01b0) 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:.. 0000:..
01b8) 0000:.. 0000:.. adff:.. efa2:.. 0600:.. 0000:.. c851:.Q 02a3:..
01c0) ffff:.. ffff:.. ffff:.. ffff:.. c25b:.[ f3e9:.. a810:.. 00a3:..
01c8) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01d0) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01d8) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01e0) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01e8) ffff:.. ffff:.. 0100:.. 0000:.. 0100:.. 0000:.. 28ca:(. 00a3:..
01f0) 6400:d. 0000:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
01f8) ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:.. ffff:..
The card is correctly identified:
Model: Industrial CF Card Firm: ra03.00f Ser#: CIAF01000045 1
Type: Removable Hard Disk
Capacity: 125.0 MB = 0.1 GB (256000 x 512)
ide_read dev 0 start 0, blocks 1 buffer at A2EFF91C
ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0xd0
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x51
IDE read: warning, device 0 not ready
ide_outb (dev= 0, port= 0x1f7, val= 0xe5) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0xd1
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_inb (dev= 0, port= 0x1f2) : @ 0x200001f2 -> 0x00
Powersaving 00
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
write low bits
ide_outb (dev= 0, port= 0x1f2, val= 0x01) : @ 0x200001f2
ide_outb (dev= 0, port= 0x1f3, val= 0x00) : @ 0x200001f3
ide_outb (dev= 0, port= 0x1f4, val= 0x00) : @ 0x200001f4
ide_outb (dev= 0, port= 0x1f5, val= 0x00) : @ 0x200001f5
ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_outb (dev= 0, port= 0x1f7, val= 0x20) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0xd1
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x51
Error (no IRQ) dev 0 blk 0: status 0x51
ide_inb (dev= 0, port= 0x1f1) : @ 0x200001f1 -> 0x10
But the ide_read() returns error!
IDE read: error 10
Using the REQUEST_SENSE command I get:
ide_outb (dev= 0, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_outb (dev= 0, port= 0x1f7, val= 0x03) : @ 0x200001f7
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0xd0
ide_inb (dev= 0, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_inb (dev= 0, port= 0x1f1) : @ 0x200001f1 -> 0x1f
IDE read: extd 1f
Which means: Data Transfer Error / Aborted Command
Any suggestions?
Rodolfo
P.S. Sorry for the long post...
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] Again on PCMCIA/IDE and PXA270
2008-04-16 16:46 [U-Boot-Users] Again on PCMCIA/IDE and PXA270 Rodolfo Giometti
@ 2008-04-17 3:49 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-17 8:23 ` Rodolfo Giometti
0 siblings, 1 reply; 5+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-04-17 3:49 UTC (permalink / raw)
To: u-boot
On 18:46 Wed 16 Apr , Rodolfo Giometti wrote:
> Hello,
>
> Using a 1GB CF on my system I get:
>
> equantum> pinit on
> KINGSTON CF CARD 1GB
> Fixed Disk Card
> IDE interface
> [silicon] [unique] [single] [sleep] [standby] [idle] [low power]
> equantum> ide reset
>
Could you gice more information about your environment : u-boot
version, hard init, etc...
And also could specify the Voltage of the Flash that you use 3.3V, 5V,
3.3/5V.
Best Regards,
J.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Again on PCMCIA/IDE and PXA270
2008-04-17 3:49 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-04-17 8:23 ` Rodolfo Giometti
2008-04-17 9:45 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 5+ messages in thread
From: Rodolfo Giometti @ 2008-04-17 8:23 UTC (permalink / raw)
To: u-boot
On Thu, Apr 17, 2008 at 05:49:24AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 18:46 Wed 16 Apr , Rodolfo Giometti wrote:
> > Hello,
> >
> > Using a 1GB CF on my system I get:
> >
> > equantum> pinit on
> > KINGSTON CF CARD 1GB
> > Fixed Disk Card
> > IDE interface
> > [silicon] [unique] [single] [sleep] [standby] [idle] [low power]
> > equantum> ide reset
> >
> Could you gice more information about your environment : u-boot
> version, hard init, etc...
Yes, sorry. u-boot version 1.2.0 running on PXA270 based board.
What do you mean by "hard init"? The GPIOs settings or so?
> And also could specify the Voltage of the Flash that you use 3.3V, 5V,
> 3.3/5V.
The voltage is 3.3.
Thanks for your help,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Again on PCMCIA/IDE and PXA270
2008-04-17 8:23 ` Rodolfo Giometti
@ 2008-04-17 9:45 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-17 12:51 ` Rodolfo Giometti
0 siblings, 1 reply; 5+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-04-17 9:45 UTC (permalink / raw)
To: u-boot
On 10:23 Thu 17 Apr , Rodolfo Giometti wrote:
> On Thu, Apr 17, 2008 at 05:49:24AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 18:46 Wed 16 Apr , Rodolfo Giometti wrote:
> > > Hello,
> > >
> > > Using a 1GB CF on my system I get:
> > >
> > > equantum> pinit on
> > > KINGSTON CF CARD 1GB
> > > Fixed Disk Card
> > > IDE interface
> > > [silicon] [unique] [single] [sleep] [standby] [idle] [low power]
> > > equantum> ide reset
> > >
> > Could you gice more information about your environment : u-boot
> > version, hard init, etc...
>
> Yes, sorry. u-boot version 1.2.0 running on PXA270 based board.
Please update to the current version
and take a look on this patch
Date: Fri, 04 Apr 2008 15:17:18 +0200
From: Martin Krause <martin.krause@tqs.de>
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] [PATCH v2] IDE: fix bug in reset sequence
>
> What do you mean by "hard init"? The GPIOs settings or so?
Yes and other configuration
Best Regards,
J.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Again on PCMCIA/IDE and PXA270
2008-04-17 9:45 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2008-04-17 12:51 ` Rodolfo Giometti
0 siblings, 0 replies; 5+ messages in thread
From: Rodolfo Giometti @ 2008-04-17 12:51 UTC (permalink / raw)
To: u-boot
On Thu, Apr 17, 2008 at 11:45:50AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Please update to the current version
Yes, I'll do it, but I'm still working on this version since another
board PXA255 based, with the same code version, works perfectly!
> and take a look on this patch
> Date: Fri, 04 Apr 2008 15:17:18 +0200
> From: Martin Krause <martin.krause@tqs.de>
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] [PATCH v2] IDE: fix bug in reset sequence
I saw it but it changes nothing...
> >
> > What do you mean by "hard init"? The GPIOs settings or so?
> Yes and other configuration
Memory controller registers:
48000000: 08000bc9 021ba018 7ff87ff8 7ff87ff9 ................
48000010: 7ffc123c 00000002 00000000 00000000 <...............
48000020: 00000000 00000000 00050a3e 00000000 ........>.......
48000030: 00050a3e 00000000 0002c5a2 00000000 >...............
48000040: 00320032 00000009 02000234 55555588 2.2.....4....UUU
48000050: 55555555 00000005 00000000 55555555 UUUU........UUUU
48000060: 55555555 00000100 80000fff 00000000 UUUU............
GPIO settings:
40e00000: 001ff3fd 01ffffd6 732de3a4 c8e98008 ..........-s....
40e00010: fccfab83 063bffff 00000000 00000000 ......;.........
40e00020: 00000000 00000000 00000000 00000000 ................
40e00030: 00000000 00000000 00000000 00000000 ................
40e00040: 00000000 00000000 00000000 00000000 ................
40e00050: 00000000 80000000 a5254010 699a955a .........@%.Z..i
40e00060: aaa5a0aa 6aaaaaaa 01000556 45554020 .......jV... @UE
40e00070: 00000146 00000000 00000000 00000000 F...............
40e00080: 00000000 00000000 00000000 00000000 ................
40e00090: 00000000 00000000 00000000 00000000 ................
40e000a0: 00000000 00000000 00000000 00000000 ................
40e000b0: 00000000 00000000 00000000 00000000 ................
40e000c0: 00000000 00000000 00000000 00000000 ................
40e000d0: 00000000 00000000 00000000 00000000 ................
40e000e0: 00000000 00000000 00000000 00000000 ................
40e000f0: 00000000 00000000 00000000 00000000 ................
40e00100: 01d1ffef 00000000 00000000 002a4010 .............@*.
40e00110: 00000000 00000000 00000000 00000000 ................
40e00120: 00000000 00000000 00000000 00000000 ................
40e00130: 00000000 00000000 00000000 00000000 ................
40e00140: 00000000 00000000 00000000 00000000 ................
40e00150: 00000000 00000000 00000000 00000000 ................
Thanks,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-17 12:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-16 16:46 [U-Boot-Users] Again on PCMCIA/IDE and PXA270 Rodolfo Giometti
2008-04-17 3:49 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-17 8:23 ` Rodolfo Giometti
2008-04-17 9:45 ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-17 12:51 ` Rodolfo Giometti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox