[#4205] cf-ide-nand card does not work with cf true ide and pata framework

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4205] cf-ide-nand card does not work with cf true ide and pata framework

Submitted By: Mike Frysinger

Open Date

2008-06-27 13:48:24     Close Date

2009-06-24 00:23:42

Priority:

Medium     Assignee:

Sonic Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2008R1.5-RC3     Release:

2.6.24.x

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

2009

App binary format:

N/A     

Summary: cf-ide-nand card does not work with cf true ide and pata framework

Details:

 

trying to use the cf slot on the cf-ide-nand card in true ide mode with the pcmcia driver.

 

the old driver works (ATA/ATAPI/MFM/RLL support -> PCMCIA IDE support):

pccard: PCMCIA card inserted into slot 0

pcmcia: registering new device pcmcia0.0

Probing IDE interface ide0...

hda: SanDisk SDCFH2-002G, CFA DISK drive

ide0 at 0x20310000-0x20310007,0x2031000e on irq 54

hda: max request size: 128KiB

hda: 4001760 sectors (2048 MB) w/1KiB Cache, CHS=3970/16/63

hda: hda1

ide-cs: hda: Vpp = 0.0

root:/> ls /dev/hda*

/dev/hda   /dev/hda1

 

the new driver does not (Serial ATA (prod) and Parallel ATA (experimental) drivers -> PCMCIA PATA support):

pccard: PCMCIA card inserted into slot 0

pcmcia: registering new device pcmcia0.0

scsi0 : pata_pcmcia

ata1: PATA max PIO0 cmd 0x20310000 ctl 0x2031000e irq 54

ata1.00: CFA: SanDisk SDCFH2-002G, HDX 4.32, max PIO4

ata1.00: 4001760 sectors, multi 0: LBA

ata1.00: Drive reports diagnostics failure. This may indicate a drive

ata1.00: fault or invalid emulation. Contact drive vendor for information.

ata1.00: configured for PIO0

ata1.00: configured for PIO0

ata1: EH complete

scsi 0:0:0:0: Direct-Access     ATA      SanDisk SDCFH2-0 HDX  PQ: 0 ANSI: 5

root:/> ls /dev/sda*

ls: /dev/sda*: No such file or directory

 

Follow-ups

 

--- Sonic Zhang                                              2008-06-29 22:39:19

What do you mean pcmcia driver? Is it the driver mode for CF card on our

extension board? Yes, the common platform ata driver doesn't support the

"16-bit mapping for multimode CF Interface" mode on that board.

 

--- Mike Frysinger                                           2008-06-29 22:44:55

i'm not talking about the platform pata driver

 

please see:

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:bfin_cf_pcmcia#driver_example_compactflash_ide_cards

 

--- Sonic Zhang                                              2008-08-06 03:18:39

Can't replicate on SVN trunk.

See updated configuration document at

https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:bfin_cf_pcmcia

 

--- Robin Getz                                               2009-06-24 00:20:07

If this is working, and the documentation has been updated - I'm going to

close.

 

If it is still an issue - please re-open.

-Robin

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes