Frequently Asked Questions
If this FAQ can't solve your problems, try to read also the other
FAQs:
FMC ADC 100m14b4cha
FAQ
FMC bus FAQ
I cannot find the documentation for the last release
If in the documents 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 2.6.37
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.
b) Base eeprom image containing dummy calibration data (offsets=0, gains=1):
- Dummy fmc-adc eeprom image
- attachment:fmc-adc_dummy_eeprom_image.out
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
slot.
Of course, you can dump/read the current eeprom image:
cd /sys/bus/fmc/devices/<device-name>-<device-id>
cat eeprom
hexdump 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.
It is
due to the mismatch between the fmc-bus.h header that the kernel offers
and the
one that the local repository contains. In 3.15 and after, and before
3.11, both
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
kernel's
fmc-bus.h header.
FAQs don't help me
When you have a problem and the FAQ doesn't help you, you can ask us for support by writing on the mailing list : 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 reproduce it
- 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
Federica Vaga, Matthieu Cattin - August 2014