Wednesday, 21 August 2013

Linux device driver: stream data into a single register

Linux device driver: stream data into a single register

I'm trying to stream a piece of data as fast possible into a single
register in hardware and would appreciate some advice. That is, write
every word of the data into the register in sequence.
I imagine streaming the data in by redirecting into the device file:
data.bin > /dev/stream_df0
I know this is vague, but it's the first time I'm doing something like
this and will appreciate anything you have to throw at me:
? What type of considerations should I take before I start on this project
to make this as fast as possible?
? Would a character device driver handle streaming well/be suitable for
this task?
? Is the way I'm going about this entirely inefficient/inpractical?
Thanks in advance.

No comments:

Post a Comment