FAQ:  [#6013] bfin_sport driver hangs the system(2010)

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

[#6013] bfin_sport driver hangs the system

Submitted By: Tiago Reis

Open Date

2010-04-22 10:10:50    

Priority:

Medium     Assignee:

Bob Liu

Status:

Open     Fixed In Release:

N/A

Found In Release:

2009R1.1-RC4     Release:

Category:

Drivers     Board:

EZBRD

Processor:

BF526     Silicon Revision:

0.0

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

2008.10     Toolchain version or rev.:

2009r1.1-rc2

App binary format:

N/A     

Summary: bfin_sport driver hangs the system

Details:

 

The problem is the same using 2009R1-RC6, 2009R1.1-RC4 and the trunk version. The execution just stops after the 'dev->regs->tcr1 |=TSPEN' on the sport_write function on bfin_sport driver, with no dump messages. If I put a printk() after this line, this printk is executed, but if I put two printk() only the first one is executed. This happens when configuring sport0 on both Port F and Port G.

 

First the bfin_sport conflicted with bfin_mac, but I resolved it using this tip: http://blackfin.uclinux.org/gf/project/uclinux-dist/forum/?_forum_action=ForumMessageBrowse&thread_id=33196&action=ForumBrowse

 

Now it just halts completely when I execute sport_test or echo something to /dev/sport0 and needs a hard reset. I posted this on the Forum and I've been told to report the bug. My .config file is attached

 

Follow-ups

 

--- Sonic Zhang                                              2010-05-18 00:38:19

Did you see Michael's suggestion in your question? Please follow the guide

first.

 

--- Bob Liu                                                  2010-08-30 00:39:21

I can't repeat this bug in lastest svn trunk.

Maybe you can take a look at this guide.

https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:bfin_sport&s[]=sport&s[]=test

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config    application/octet-stream    36677    Tiago Reis

Attachments

    Outcomes