2009-07-29 04:35:27     ard / libata does not work since trunk revison 7063 / IRQ_NOAUTOEN

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

2009-07-29 04:35:27     ard / libata does not work since trunk revison 7063 / IRQ_NOAUTOEN

Konstantin Hartwich (GERMANY)

Message: 78145   

 

hi there

 

in the trunk log post for revision 7063, there was a removal of the

 

IRQ_NOAUTOEN for the PATA_INT

 

in the stamp.c as well as a fix to libata-core.c.

 

which due to wat b

 

my image hardware does not work now, which i could easily revert back. no problem.

 

BUT: there barry said something about a hardware fix, that made it possible to jump back to mainline.

 

since i'd like to stay current to main trunk, what kind of hardware fix is needed to have that think done and working again?

 

i found a discussion on that issue, which seemed to leed to that revision.

 

  blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_id=141&tracker_item_id=4607

 

can anyone supply some more information on that one? i'd love not to jum back on that one

 

 

 

PS: down there is a text print of what is going on in my board, when booting, that said, it worked fine (with the IRQ_NOATUOEN workaround), now it crashes

 

debug.txt

QuoteReplyEditDelete

 

 

2009-07-29 04:58:53     ard / libata does not work since trunk revison 7063 / IRQ_NOAUTOEN

Michael Hennerich (GERMANY)

Message: 78147    This issue is caused by a Pull-Up resistor on the INTRQ line on the

CF-IDE-NAND Card.

 

Read this:

  www.mail-archive.com/t13@tgi.com/msg00418.html

 

On the CF Card socket we also have that pull-up - but there we had no

choice since in PC-Card IO mode the Interrupt is asserted Low. So this

was a tradeoff, and at the time doing the card - it worked without

errors.

 

The problem here is that the INTRQ signal output line has a high

impedance when no devices are selected or interruption is disabled.

 

Recent Linux libata assumes the INTRQ staying inactive the time between

the IRQ is requested and the device is configured.

 

I'll add some more info to the wiki shortly.

 

-Michael

QuoteReplyEditDelete

 

 

2009-07-29 05:00:39     Re: ard / libata does not work since trunk revison 7063 / IRQ_NOAUTOEN

Michael Hennerich (GERMANY)

Message: 78148   

 

Adding a workaround picture.

 

Pull Down INTRQ using a 1kOhm resitor to GND.

 

See attachment.

 

-Michael

 

IDE_INTRQ Pull Down.jpg

QuoteReplyEditDelete

 

 

2009-07-29 05:24:06     Re: ard / libata does not work since trunk revison 7063 / IRQ_NOAUTOEN

Michael Hennerich (GERMANY)

Message: 78149   

 

I added some more info here:

 

  docs.blackfin.uclinux.org/doku.php?id=hw:cards:cf-ide-nand#hardware

QuoteReplyEditDelete

 

 

2009-07-29 05:35:06     Re: ard / libata does not work since trunk revison 7063 / IRQ_NOAUTOEN

Konstantin Hartwich (GERMANY)

Message: 78150   

 

thanks michael,

 

that worked for me..though, jpg link is broken, but text helped anyway

Attachments

Outcomes