All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF
Date: Mon, 25 Feb 2008 18:01:13 +0100	[thread overview]
Message-ID: <20080225170113.GD23465@enneenne.com> (raw)

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

             reply	other threads:[~2008-02-25 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 17:01 Rodolfo Giometti [this message]
2008-02-25 17:06 ` [U-Boot-Users] Problem with PXA PCMCIA & (IDE) CF michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080225170113.GD23465@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.