1032 Commits

Author SHA1 Message Date
Francois Isabelle
86c4e40277 Moved out 'kontron' OEM sensor resolution for other OEMs which could
lead to bad event descriptions
Changed LOG_ERR to LOG_DEBUG and corrected display
2007-11-07 15:55:08 +00:00
Francois Isabelle
b0c04f8577 Added new 'FRU edit' mode (field mode)
fru edit [fruid] field [section] [index] [string]\
This can be used to change serial number information and such, use with care

Cleanup/improved 'oem' edit mode :
 - defaults to PICMG for backward compatibily
 - validates that 'oem' is followed by a 'iana' number

Attempted 'tabify' while integrating patch, hope the indentation will be ok
for others.
2007-10-03 16:09:45 +00:00
Francois Isabelle
8824e41b48 moved out extra ] 2007-10-03 15:51:12 +00:00
Francois Isabelle
270a50c8c5 added missing 'iana' field in FRU edit help 2007-10-03 15:50:22 +00:00
Francois Isabelle
8df490955c Added FRU 'edit' help text for supported modes 2007-10-03 15:20:51 +00:00
Francois Isabelle
de63f9a9d5 added 'fru edit' help text 2007-10-01 14:14:24 +00:00
Francois Isabelle
170c14560c Added new 'fru edit 0' operating mode for OEM records
usage is : oem <iana> <recordid> <format> <args...>
 it currently only supports Kontron's OEM information record type 3
 but can be used to support additionnal record types
2007-10-01 14:06:18 +00:00
Francois Isabelle
d3badb58b2 added 'PICMG' iana number to string conversion support 2007-10-01 13:59:00 +00:00
Francois Isabelle
db735bf685 SPD support:
added additionnal parameters to allow specifying 'channel number' as well
 as maximum 'read size', since some SMI or IPMB channels can't support 64
 bytes.
 this should be fully backward compatible as options are optionnal and a the
 end of the original ones:
    usage: spd <i2cbus> <i2caddr> [channel] [maxread]
2007-09-14 19:50:14 +00:00
Albert Chu
7959b894b4 add freeipmi lib 0.5.0 support 2007-09-12 23:35:14 +00:00
Dmitry Frolov
71a6dde3f8 - Removed --disable-intf-open-dual-bridge configure option added
recently;
 - Added configure auto-detection if dual bridge support is present in
   OpenIPMI header.
2007-08-29 14:50:13 +00:00
Dmitry Frolov
8954fe454b Fix HPM.1 upgrade to apply to only given component when instructed to do so.
Patch submitted by Harshad Prabhu (Harshad.Prabhu at radisys dot com).
Quoting his email:

"Initiate Upgrade Action (HPMFWUPG_UPGRADE_ACTION_UPGRADE) was called
for all components even when single component was given on command line
(hpm upgrade <filename> component <id>). So calling this command only
after we decide whether the component is skipped."
2007-08-29 06:03:23 +00:00
Dmitry Frolov
56adf15b23 Add RadiSys Corporation OEM description string 2007-08-29 05:52:16 +00:00
Dmitry Frolov
ab18a0e335 Added --disable-intf-open-dual-bridge configure option to disable dual
bridge support in open interface. This extension is not compatible with
FreeBSD OpenIPMI implementation (and with mainline OpenIPMI too, as far
as I can tell).
2007-08-28 09:44:31 +00:00
Dmitry Frolov
997ca1fa4d Update with latest changes 2007-08-28 07:16:30 +00:00
Dmitry Frolov
b06f6bdbb5 Fix chassis poh command:
- The counter value was always interpreted as hours, the
   minutes-per-count value wasn't regarded.

 - No attention was paid to CPU endianness when reading the 32-bit
   counter value.

Patch submitted by Ingo van Lil (inguin at users dot sourceforge dot net).
Sourceforge patch ID: 1592950
2007-08-28 07:12:13 +00:00
Dmitry Frolov
798228cb72 Correct the misplaced recv in ipmi_lan_recv_packet() in lan and lanplus
interfaces.

Patch is submitted by Ferenc Wagner (wferi at niif dot hu). Quoting his
email:

"The rationale is that the following code expects to use the return
value of recv (ie. a byte count) not that of select (the number of file
descriptors). recv should be executed anyway, that's the whole point of
this snippet..."

The original patch is for lan interface but it also applies to lanplus.
2007-08-28 06:16:14 +00:00
Dmitry Frolov
a022f1e792 Update manpage with latest isol functionality. 2007-08-28 05:49:50 +00:00
Dmitry Frolov
a6e1840e4f Add true "isol" (Intel IPMI 1.5 SOL) functionality, which gives
"isol activate" command.

Patch submitted by Steffen Persvold (sp at scali dot com). Quoting his
email:

"The second patch (ipmitool_isol.patch) is a little more interesting. It
is basically an implementation of true SOL functionality for the "isol"
command on IPMI 1.5. This allows people with Intel based 1.5 controllers
that have the Intel specific SOL implementation (which is close to the
2.0 spec but not quite there) to use the "isol activate" command. This
applies to Dell 1850, 1855, 2850 and sc1425 servers at least (probably
more, but that's what I've tested). There is quite some code duplication
from the lanplus sol version, so at some point "someone" might do some
refactoring and merge the two (only separating what's different) but for
now I thought it was cleanest to do it this way."
2007-08-28 04:35:22 +00:00
Dmitry Frolov
86364dec74 Correct IMPI -> IPMI typos all over the source tree.
Patch submitted by Steffen Persvold (sp at scali dot com).
2007-08-28 03:54:12 +00:00
Jean-Michel Audet
61318c0158 - Add more details for command chassis set boot params 2007-07-27 14:14:22 +00:00
Jean-Michel Audet
14004d0749 Hello,
Patch submitted by Benoit Guillon [guillon@thalescomputers.fr] 

The patch allows you to fill the SDR repository of a BMC with the built-in 
sensor SDRs of the BMC and of the sensors of the satellite FRUs.

- adding new (partial) SDRs
- clearing the SDR repository (ok, it can be dangerous)
- adding SDRs from a dumped file.

Re.:

ipmitool sdr fill sensors
ipmitool sdr fill file <filename>
2007-07-11 14:27:46 +00:00
Jean-Michel Audet
ec9cddc21a - The length of the Upload Firmware Block command is shrunk to conform
to the IPMI-defined maximum for non-bridged messages (32 bytes) when 
sent via KCS interface.

- Double bridging via LAN is taken into account when calculating the 
maximum Upload Firmware Block command length.

- Handling of the long response option of the Upload Firmware Block 
command is implemented.

- The Component parameter of the Finish Firmware Upload command is 
changed from component mask to component ID to conform to the HPM.1 
specification.

- The Rollback Override parameter of the Activate Firmware command is 
implemented. The hpm activate command-line parameter is extended with 
optional  "norollback" parameter.

- A bug that prevented from usage of multiple components in a single 
upgrade image is fixed.

- Garbage in output of the component's description property is eliminated.
2007-07-11 14:03:56 +00:00
Jean-Michel Audet
cedb32d569 - Add double bridge support to LAN plugin (Thanks to Dmitry Konyshev from Pigeon Point)
- Fix an issue when bridging, responses to failed Send Message commands are
  returned to the caller as responses to bridged messages.
2007-07-09 20:10:25 +00:00
Jean-Michel Audet
9a508d1f19 ** Commit patch submitted by Harshad Prabhu from Radisys **
- Modified the display of upgrading firmware
- By default, if the user has not given any option for upgradem tgeb we skip the components if they have the same firmware version as compared to the image file (.hpm)
- Added a HpmPreupgradeCheck function that will check which components needs to be skipped

Tested OK with Kontron products (patch does not brake previous state)
2007-07-09 19:59:22 +00:00
Jean-Michel Audet
f6cb3516b3 - Remove ipmi_watchdog.c in the compilation modules
-- watchdog module have been refused by the ipmitool developpers --
2007-07-09 19:19:49 +00:00
Jean-Michel Audet
fa7a690e26 - Remove watchdog module file.
-- Module refuse by ipmitool developpers --
2007-07-09 19:18:14 +00:00
Jean-Michel Audet
5f018c9516 Remove all watchdog module
-- Module refuse by ipmitool developpers --
2007-07-09 19:16:05 +00:00
Jean-Michel Audet
664848112e - Remove include of watchdog.h.
-- The addition of the watchdog module have been refused by the cvs devel --
2007-07-09 19:13:43 +00:00
Francois Isabelle
a703e41949 corrected "autodetection" of maximum packet size based on src/dest addresses
when using IPMB.
make sure file uses UNIX EOL
2007-06-18 12:45:04 +00:00
Francois Isabelle
3938d15098 Updated help to HPM.1 1.0 (component properties id) 2007-06-14 14:06:50 +00:00
Albert Chu
76bb61de6c support FreeIPMI 0.4.0 api 2007-06-04 18:03:52 +00:00
Jean-Michel Audet
0faade4b8a - Add new Kontron OEM command to set the BIOS boot option sequence 2007-05-23 17:53:04 +00:00
Jean-Michel Audet
4e39200eff Add watchdog command library. 2007-05-23 17:51:28 +00:00
Jean-Michel Audet
a4676f7b6e Include ipmi_watchdog.c file for watchdog library of commands 2007-05-23 17:50:49 +00:00
Jean-Michel Audet
3b384a306f - Add a set of watchdog commands 2007-05-23 17:47:32 +00:00
Jean-Michel Audet
0fcf7acdba - Add support for dual bridge (dual send message) 2007-05-16 20:11:24 +00:00
Jean-Michel Audet
d04f496c7a - Add auto-detect of local IPMB address when PICMG 2.x extension is supported.
- Get address from Get Adddress Info command.
- Add dual bridge support (dual send message)
2007-05-16 20:10:18 +00:00
Jean-Michel Audet
a263209bb6 - Add support for dual bridge command (dual send message) 2007-05-16 20:05:17 +00:00
Jean-Michel Audet
d824af51a9 Add support for dual bridge.
When no dual bridge is used, set the transit_address to local address
2007-05-16 20:02:07 +00:00
Jean-Michel Audet
e655394a7a - Update to be compliant with new HPM.1 specification 1.0 (Official release)
- First commit that support HPM.1 Rev 1.0
2007-05-09 15:24:16 +00:00
Jean-Michel Audet
07c3456330 - Fix improper addressing for lan/lanplus 2007-05-02 13:05:07 +00:00
Jean-Michel Audet
80b8d3b318 - Added dual bridge support 2007-04-26 13:45:00 +00:00
Jean-Michel Audet
ed84ac0a9b - Added transit_channel and transit_addr variable in structure ipmi_intf 2007-04-26 13:41:21 +00:00
Jean-Michel Audet
fa7d4b3ec7 - added dual bridged command support (for IOL)
- add transit channel (-B) and transit address (-T) options
2007-04-26 13:38:38 +00:00
Jean-Michel Audet
f34245e46e - added watchdog command 2007-04-26 13:22:40 +00:00
Jean-Michel Audet
f8bc5ae591 - added fru control
- added amcportstate set
- added clock commands
- improved led command support
2007-04-26 13:21:49 +00:00
Jean-Michel Audet
b3d5150acd -added watchdog command 2007-04-26 13:19:33 +00:00
Jean-Michel Audet
2faf5857c8 - addded fru control
- added amcportstate set
- added clock commands
- improved led command support
2007-04-26 13:16:16 +00:00
Jean-Michel Audet
f4a6a73184 - added fru parsing address table
- added fru parsing shelf power dist
- added fru parsing shelf activation
- added fru parsing amc current requirement
- added fru parsing amc p2p
- added fru parsing amc carrier info
- added fru parsing clk p2p
- added fru parsing clk config
- enhancement in baord p2p
2007-04-26 13:14:53 +00:00