- Feb 14, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
* D/d,0,1 modes can not be used by the first channel (ch0) * C/c mode is only useful for the last channel (ch4) * wr-pps can not be used for channel 0
-
-
This also updates the links to binaries in the documentation. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Feb 12, 2014
-
-
Benoit Rat authored
- Remove only for write in #72557df7 - NetworkManger (Unbuntu LTS 12.04) insists on accessing to the phy when it is used from LM32 and flood the dmesg so we remove the warning.
-
Benoit Rat authored
-
- Feb 11, 2014
-
-
Alessandro Rubini authored
This also documents how to write the eeprom, using the new writable file in sysfs. A working image for the eeprom is included, for people with devices that were not programmed by the manufacturer. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
This is needed so the gennum core (as opposed to the gennum chip) can access the SPI flash from the newly-programmed fpga image. With this gpio setting, both the lm32 from inside the fpga and the host computer can read and write the flash device. Signed-off-by:
Theodor Stana <t.stana@cern.ch> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 18, 2013
-
-
Alessandro Rubini authored
Now we can properly have spec.ko drive a carrier with no mezzanine. We can then use tools/spec-fwloader and do other mezzanine-independent things. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Nov 04, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jul 02, 2013
-
-
Alessandro Rubini authored
The device is master-enabled at boot time, but the disable_device() at remove time clears it. pci_enable_device() doesn't re-enable, so we need to also pci_set_master(). Otherwise DMA works at first load, and the machine freezes at second load. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jun 07, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
For traceability purposes, we include commit descriptions as MODULE_VERSION information in drivers that are deployed in CERN control system. Ideally, the commit description should be added to all the binary blobs installed, but the kernel module is critical in this connection, as it is crucial to trace back quickly the whereabouts of installed .ko sources.
-
- May 31, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 20, 2013
-
-
Alessandro Rubini authored
The module parameter eeprom= accepts a list of filenames (looked for in /lib/firmware) to fake eeprom images. The list is in probe order, which means it is unpredictable if you have more than one spec card plugged -- but it's the same every time your reload the module. This is a tool for developers who want to experiment with eeproms, so this "rude" approach to multi-card setups is not considered an issue. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Now we read the whole eeprom area with a single command. Reading time is thus 1/3 of what it was, and initialization time goes down from 2 seconds to 0.6 seconds. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- May 16, 2013
-
-
Alessandro Rubini authored
fmc-bus is now fixed WRT the dev->release(). Now devices are correctly released when their use count reaches zero. Thus, we can't release them ourselves. This commit picks the new fmc-bus and adapts th own releae method. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
When using the SPEC as White Rabbit grandmaster, you need to feed it with 10MHz, which would kill the computer with an interrupt flood. DIO interrupts are now disabled if they consume more than 80% of the total time, which usually triggers between 100kHz and 200kHz. Network interrupts are not affected. Thanks to Anders Wallin for reporting the problem and helping in the diagnosis. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is a long-standing bug, and completely my fault. Since our i2c is simply a bitbanging gpio-based interface, I need to add some delays into the operations. Without this, accessing eeprom worked with most mezzanines but not with all of them. The measured speed was more than 1MHz. The devices are rated at 400kHz, so delay 1.25 usecs at each output operation (thus, writing is three such delay for each bit). Addin the unpredictable software delays I see slightly more than than 200kHz in my test system. The driver now takes 2.5s to read the whole eeprom, but there's ample space to make it better by fixing the FIXME in spec-i2c.c . Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
NetworkManager tries to access the phy, so this WARN_ON is pretty common if the daemon is running. Now we know who is misbehaving, and the driver can keep silent (disclaimer: this opinionated message is by Alessandro :)
-
When the user passes "gateware=", the code uses a wrong SDB entry point: "Can't find SDB at address 0x630000" (with one too many zeroes. Replace typoed constant values with WRN_SDB_ADDR.
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Apr 29, 2013
-
-
- Mar 20, 2013
-
-
Alessandro Rubini authored
SET_HI32(variable, highhalf) was meant to prevent warnings and unneeded code to get the best of 32 and 64 bits. But I had a bug in 64-bit mode. This is the trivial fix. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
While building for a 64-bit host I found a few warnings in format strings. One is corrected by using "%zi", and other ones are about resources. Unfortunately %pR was added in 2.6.32, so to avoid introducing backporting issues to our 2.6.24 cast the argument instead. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Jan 24, 2013
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This includes a new version of the submodule and fixes the code to match the new set of fields in the fmc structure. The biggest change is in the i2c address, that is now hosted in the fmc structure (this changes the spec-i2c file). Also, use new fmc_reprogram(). The function allows to centralize dumping the eeprom and the sdb tree, so the bus framework dumps or not, and can be changed at run time. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 17, 2012
-
-
Alessandro Rubini authored
This directory includes some tests to validate firmware loading and other things, but they don't really apply to the new software layout. Given things are pretty stable on that level, it's easier to remove the directory (for which I had already dropped the docs) than to port the code). Thanks to Benoit Rat for noting this old code was still there. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 14, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
- Dec 04, 2012
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-