2009-02-26 16:48:25     Question on using bfin_simple_timer

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

2009-02-26 16:48:25     Question on using bfin_simple_timer

andy (UNITED STATES)

Message: 70040   

 

Hi

 

Am using uclinux2006. Am trying to write a test code that uses the bfin_simple_timer driver. I have compiled the driver into the kernel. Upon dmesg it shows:

timer initialize: module loaded, which is printk'd in the timer driver code.

Also upon ls in /proc it shows bfin_simple_timer. Upon cat of the timer, it shows 7 timers with isr count being zero.

 

I understand that the simple timer driver should load device files such as timer0, timer1 and so on. But Upon ls in /dev I do not see any such files.

 

Why aren't the device files being loaded? What am I doing/understanding wrong here?

QuoteReplyEditDelete

 

 

2009-02-26 17:16:30     Re: Question on using bfin_simple_timer

Mike Frysinger (UNITED STATES)

Message: 70041   

 

this is covered in the wiki:

docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:dev-management

QuoteReplyEditDelete

 

 

2009-02-26 18:15:55     Re: Question on using bfin_simple_timer

Frank Van Hooft (CANADA)

Message: 70045   

 

You might also want to update your kernel. 2006 is getting pretty old, and there have been a lot of updates & bug fixes since then.

Attachments

    Outcomes