- 23 Mar, 2013 1 commit
-
-
Alessandro Rubini authored
fru-dump includes local headers, where recent commit changed fru_alloc to correctly receive size_t. fru-dump has it's own local implementation, which was still receiving an "int" argument. Thus build failed in 64-bit (and I wonder why my compiler doesn't even warn in 32 bits. But reported and fix suggested by Michel Vincent, in private email. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 20 Mar, 2013 1 commit
-
-
Alessandro Rubini authored
Building for a 64-bit kernel, I found a few warnings, related to printk format strings. I'm thus using %zi and %ti for size_t and ptrdiff_t, resp. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 21 Feb, 2013 6 commits
-
-
Alessandro Rubini authored
This needless zeroing was used to fix the misbehaving fakedev, but that is now fixed. (again, thanks Emilio for noting). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This changes a while how stuff happens in fmc-fakedev, according to comments by Emilio Cota who noted how I got it badly hacked and not really stable. This now mallocs and uses dev->release as it should. It also fills the new fields of fmc_device that are mandated by the current version of the core (carrier_data, nr_slots, eeprom_addr). Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Fixed a few subtle bugs, as yet unexposed by real use, according to review by Emilio Cota. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Change suggested by David Cobas Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Various changes to documentation in and outside the code. Most of them are the result of a review by Emilio Cota and Samuel Iglesias (thanks!) Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 07 Feb, 2013 3 commits
-
-
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>
-
- 24 Jan, 2013 10 commits
-
-
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>
-
Alessandro Rubini authored
Dumoing SDB is very primitive by now, I'm sorry. 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
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This is the library that we really should use for SDB access. Houwever, it still misses subdirectory support, so it is not actually used at this point (even after the commits that build it). I'm hopeful for the future, but only after the upcoming release. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Additionally, this adds some checks that were missing. A device without device_id is now refused, instead of receiving a sequential number. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 15 Jan, 2013 1 commit
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 14 Jan, 2013 16 commits
-
-
Alessandro Rubini authored
This merges a long series of commits that introduces support for FMC identifiers in EEPROM, and related documentation. The branch also has some simple drivers used for debugging. Support for identifiers is not complete at this point (most, it's not tested because I experience gateware-related problems with eeprom writing). However, the code should introduce no regression at all, so I'd better merge now, so to use the new drivers and prevent conflicts from a later merge if I change the documentation.
-
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>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
The new matching requires some changes in data structures. They are documented in a later commit. This also splits out a new file "fmc-match.c" because matching will become a big task when SDB is finally added. 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
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
This addes command line support and environment support to specify the values to be set in the EEPROM. Removes the dumping function (tools/fru-dump will soon be there), removes generation of the fake internal use area and supports the soon-to-be-documented defaults. It is still missing a lot (i.e., power consumption is still hardwired) but it can be used for the initial work on eeprom images. Again, thanks to Manohar Vanga and Matthieu Cattin for libipmi and this tools. 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
unlike in pts, here fmc_eeprom.py is in a subdir, relative to the fru-generator main program, so fix stuff accordingly. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This fixes a bug in the code we imported from PTS, the fix in PTS is carried out separately. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 16 Nov, 2012 1 commit
-
-
Matthieu Cattin authored
The contents of this commit are part of the "fmcadc100m14b4cha" branch of the "pts" project (Python Test Suite) on ohwr, commit 1564157 (Nov 13 2012). Files are renamed like this: test/fmceeprom/python/fmc_eeprom_example.py -> tools/fru-generator test/fmceeprom/python/libipmi/ -> tools/libipmi/ test/fmceeprom/python/fmc_eeprom.py -> tools/libipmi/fmc_eeprom.py The rationale is that tools/fru-generator will be called by our users, while fmc_eeprom.py is part of the library. Later commits in fmc-bus change the files (now copied literally) to fit the different use case. Matthieu is the author of this code with Manohar Vanga, but neither is reposnsible for this commit. The committer marked Matthieu as author so "git blame" will show him not me. It is lifted here (and renamed) unchanged before being customized.
-
- 11 Nov, 2012 1 commit
-
-
Alessandro Rubini authored
Fix use of index (reval of ->validate) and allow the method to be missing from the device. Similarly, allow for reprogram to be missing. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-