login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel-newbies
»
2011
»
January
»
3
Re: FPGA registers userspace interface?
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Kfir Lavi
Subject:
Re: FPGA registers userspace interface?
Date: Monday, January 3, 2011 - 8:09 am
On Mon, Jan 3, 2011 at 3:00 PM, Philip Downer <phil@pjd.me.uk> wrote:
quoted text
> On 03/01/11 12:47, Kfir Lavi wrote: > > I have a FPGA that is constantly changing (its on development phase). >> I want to let userspace app to update those registers, but don't want to >> create an API yet. >> What is the best way to open a range of registers to userspace, so no >> driver update is required? >> > > When I had to do this recently I used sysfs, I have no idea if it's the > best way but it certainly was very effective. Remember in sysfs that each > file should only have one value. > > Once it's setup though you can just write to the sysfs files, I started by > writing simple perl scripts to test things before starting to write more > complex apps. > > HTH > > Phil >
So what do expose in sysfs? for each register - a file of it's own? or you get a bulk of data to one file? Thanks, Kfir
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
FPGA registers userspace interface?
, Kfir Lavi
, (Mon Jan 3, 5:47 am)
Re: FPGA registers userspace interface?
, Daniel Baluta
, (Mon Jan 3, 5:57 am)
Re: FPGA registers userspace interface?
, Philip Downer
, (Mon Jan 3, 6:00 am)
Re: FPGA registers userspace interface?
, Kfir Lavi
, (Mon Jan 3, 8:09 am)
Re: FPGA registers userspace interface?
, Kfir Lavi
, (Mon Jan 3, 8:21 am)
Re: FPGA registers userspace interface?
, Daniel Baluta
, (Mon Jan 3, 1:52 pm)
Re: FPGA registers userspace interface?
, Greg KH
, (Mon Jan 3, 2:29 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Adrian Bunk
[RFC: 2.6 patch] remove the broken SUN_AURORA driver
Francis Moreau
Re: Disk geometry from /sys
David Howells
Re: [PATCH 5/5]bluetooth:hci_bcsp Fix operation on 'bcsp->msgq_txseq' may be un...
Christoph Lameter
Re: [bug] SLUB + mm/slab.c boot crash in -rc9
Eberhard Moenkeberg
Re: OT: character encodings (was: Linux 2.6.20-rc4)
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Tait
Re: [PATCH] Replace hard-coded path with one from <paths.h>
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Frans Pop
'git gc --aggressive' effectively unusable
Lynn Lin
Re: clearcase migration to git
git-commits-head
:
Linux Kernel Mailing List
tracing: Simplify trace_option_write()
Linux Kernel Mailing List
ACPICA: Fix to allow zero-length ASL field declarations
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
Fast TSC calibration: calculate proper frequency error bounds
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
David Miller
Re: [PATCH] IPv6: preferred lifetime of address not getting updated
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Mark McLoughlin
Re: [PATCH 2/3] virtio: fix delayed xmit of packet and freeing of old packets.
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
openbsd-misc
:
Robert
disklabel - cylinder rounding
Samuel Baldwin
Re: Forum engine
nixlists
Re: Which laptops do the developers use?
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Colocation donated by:
Syndicate