* [U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF
@ 2008-02-25 17:01 Rodolfo Giometti
2008-02-25 17:06 ` michael
0 siblings, 1 reply; 2+ messages in thread
From: Rodolfo Giometti @ 2008-02-25 17:01 UTC (permalink / raw)
To: u-boot
Hello,
on my custom board I have 2 PCMCIA slots. After pcmcia init I get:
equantum> pinit on
Fixed Disk Card
IDE interface
[silicon] [single] [sleep] [standby] [idle] [low power]
but when I do "ide reset" I get:
Device 2: ide_outb (dev= 2, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 2, port= 0x1f2) : @ 0x200001f2 -> 0xd1
ide_outb (dev= 2, port= 0x1f7, val= 0xec) : @ 0x200001f7
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0xd1
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0x58
in input data base for read is 200001f0
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 2 start 0, blocks 1 buffer at A2EFF918
ide_outb (dev= 2, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0xd0
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0x51
ide_outb (dev= 2, port= 0x1f7, val= 0xe5) : @ 0x200001f7
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0xd1
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_inb (dev= 2, port= 0x1f2) : @ 0x200001f2 -> 0x00
Powersaving 00
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0x50
ide_outb (dev= 2, port= 0x1f2, val= 0x01) : @ 0x200001f2
ide_outb (dev= 2, port= 0x1f3, val= 0x00) : @ 0x200001f3
ide_outb (dev= 2, port= 0x1f4, val= 0x00) : @ 0x200001f4
ide_outb (dev= 2, port= 0x1f5, val= 0x00) : @ 0x200001f5
ide_outb (dev= 2, port= 0x1f6, val= 0xe0) : @ 0x200001f6
ide_outb (dev= 2, port= 0x1f7, val= 0x20) : @ 0x200001f7
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0xd1
ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0x51
Error (no IRQ) dev 2 blk 0: status 0x51
So, the CF is recognized but when the system tries to read first
sectors something goes wrong!
Any suggestions?
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at gnudd.com
Embedded Systems giometti at linux.it
UNIX programming phone: +39 349 2432127
^ permalink raw reply [flat|nested] 2+ messages in thread* [U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF
2008-02-25 17:01 [U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF Rodolfo Giometti
@ 2008-02-25 17:06 ` michael
0 siblings, 0 replies; 2+ messages in thread
From: michael @ 2008-02-25 17:06 UTC (permalink / raw)
To: u-boot
Hi,
Rodolfo Giometti wrote:
> ide_outb (dev= 2, port= 0x1f3, val= 0x00) : @ 0x200001f3
> ide_outb (dev= 2, port= 0x1f4, val= 0x00) : @ 0x200001f4
> ide_outb (dev= 2, port= 0x1f5, val= 0x00) : @ 0x200001f5
> ide_outb (dev= 2, port= 0x1f6, val= 0xe0) : @ 0x200001f6
> ide_outb (dev= 2, port= 0x1f7, val= 0x20) : @ 0x200001f7
> ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0xd1
> ide_inb (dev= 2, port= 0x1f7) : @ 0x200001f7 -> 0x51
> Error (no IRQ) dev 2 blk 0: status 0x51
>
> So, the CF is recognized but when the system tries to read first
> sectors something goes wrong!
>
> Any suggestions?
>
> Rodolfo
>
>
This happen in the true ide mode when the timings are wrong so maybe
you have the same problem in pcmcia mode.
Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-25 17:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 17:01 [U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF Rodolfo Giometti
2008-02-25 17:06 ` michael
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.