I cannot find the documentation for the last release
If in the
section you cannot find the documentation of the last release, you can
use the last available one even if it is quite old. The APIs involved in
this project (ZIO, FMC, libfmcadc) are very stable, so there are not
important differences from the user point of view. An old documentation,
probably, just lacks of a couple new attributes.
Which Linux versions are supported?
Officially, we support version 3.2.43-rt63 on 32bit system, and
3.6.11-rt30 on 64bit system. This is not a strict constraint, it
should compiles and works correctly from version
The EEPROM of my fmc-adc is empty and the driver won't load, what should I do?
a) Calibrate the board using a Production Test Suite (PTS) system.
Once you get your eeprom image (option a, or b), you have to write
it on the ADC eeprom. To do that
cd /sys/bus/fmc/devices/<device-name>-<device-id>cat /path/to/your/eeprom/image > eeprom
Where <device-name>-<device-id> depends on: mezzanine, carrier and
Of course, you can dump/read the current eeprom image:
cd /sys/bus/fmc/devices/<device-name>-<device-id>cat eepromhexdump eeprom
I get a diagnostic '‘union sdb_record’ has no member named ‘repo_url’
More specifically, something like
fmc-sdb.c: In function ‘__fmc_show_sdb_tree’:fmc-sdb.c:220:30: error: ‘union sdb_record’ has no member named ‘repo_url’
This problem affects the build process in kernel versions 3.11 to 3.14.
due to the mismatch between the fmc-bus.h header that the kernel offers
one that the local repository contains. In 3.15 and after, and before
headers are in sync.
A quick workaround implies adding a
CC += -I $(the_path_to_your_local)/fmc-bus
variable definition in your local Makefile, to override the use of the
How do I set up the FMC ADC software from scratch?
When you have a problem and the FAQ doesn't help you, you can ask us for
support by writing on the Discourse Forum:
we'll try to help you. In order to help us to understand your problem we recommend you to:
describe your problem
tell us what did you tried to solve the problem
tell us about your system configuration
tell us the version that you are using
if the problem is reproducible please describe exactly how to
copy and paste commands and errors instead of describe them
attach the output of: dmesg
attach the output of: lsmod
attach the output of: grep . /sys/module/*/version
attach the output of: ls -l /dev/
attach the output of: ls -l /sys/bus/zio/devices/ /sys/bus/fmc/devices/
if you are using code of your own, please share it with us