[U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF

Rodolfo Giometti giometti at enneenne.com
Mon Feb 25 18:01:13 CET 2008


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




More information about the U-Boot mailing list