| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I1b4d00211913d1be61f33dfb02227ffc8f859584
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: Id01b9ad969f96b0f79623ad9cf2a06f6714a07b1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
| |
Change-Id: I55db0cf7f6041890564f557c98286c8b4bde80cb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
|
|
|
|
|
|
|
| |
Replaced the use of manual Makefile(s) with the use of autotools to
automatically verify and generate the necessary build files. Follow the
steps outlined within the README file to build the package.
Change-Id: Ia3e1e1be7b18fb90382fd56f555866120ae5ece9
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We want to implement the network settings override functionality.
This is an OEM boot parameter selector, using parameter ID 0x61.
The first byte of the parameter data is the same as parameter ID 5 (ie,
the valid flag in the top bit). Persistency doesn't matter here, as
petitboot will not clear out this setting.
The rest of the parameter data is a host network settings description.
For other BMC firmware, the BMC just treats this as opaque (the BMC will
just return the same data (including that data1 byte), in response to a
Get System Boot Option). For OpenBMC, we may want the BMC to know how to
construct that data; the spec for that is at:
http://ozlabs.org/~sam/ipmi-network-format
Closes openbmc/openbmc#267
Change-Id: I2af8776718deda97acf90d10504783085ccf7323
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In the openbmc code, the dbus service name is hardcoded.
The ObjectMapper provides a way to find out the service name by
issuing a GetObject method call to the ObjectMapper.
That functionality is implemented in mapper.c
The output of the call to the mapper is a service name.
Resolves openbmc/openbmc#319.
Change-Id: I724a31ede6bdf3ae4b361e730857b1f2696a8966
Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
|
|
|
|
|
| |
Change-Id: I9480ef48c410708cf2b5fb97c4ac93ef486c6cd2
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor response from constant array to explicitly commented fields.
* Update comments for fields.
* Refer to FSP implementation where appropriate.
Note: Some of the fields present here should be filled in from MRW or
runtime settings in the future.
Resolves openbmc/openbmc#435.
Change-Id: I733274e237cf28d5048c44d527a8fd67a0392168
Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
|
|
|
|
|
| |
Change-Id: I495186b4afd58ec1e5d9d5c6472394f96541d17d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whitelisting of IPMI commands is done to ensure that in restricted
mode only whitelisted commands are executed. Commands that are not
whitelisted is restricted and insufficient privilege is returned as the
completion code.
When the server is deployed it would be set to restricted mode. In this
scenario certain IPMI commands need to be restricted which would not be
added to the whitelist.
Change-Id: I90b8124e34263c4ffc5bcf06a28a7e88231aaf40
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
This is a reaction to a managers.System API update. The
update removes the bus name field from the 'GetObject'
method responses.
Change-Id: I51fb1d1bad20317a429e5b06712475929b6fb4fb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux libraries, including the ipmi plugins, can be versioned,
with suffix .so.*
Add support in ipmid to find and load versioned libraries.
There seems to not be an issue if ipmid loads the same library
twice (a non-versioned and versioned) as with the cases where
a symlink .so points to a .so.* library.
Change-Id: I96d73e90dfec01c1a830dab4e6c20797b6130528
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|\
| |
| | |
Fix two issues in Issue #80
|
|/
|
|
|
|
|
|
| |
Corrected the comment for the Get Channel Info command to
reflect the logic in the code. For issue two, corrected the
condition for returning the unspecifed error.
Fixes openbmc/phosphor-host-ipmid#80
|
|\
| |
| | |
Fix minor fw revision to be BCD encoded
|
|/
|
|
|
|
|
|
|
| |
The IPMI 2.0 spec requires the minor version revision
to be BCD encoded, but the current implementation uses a binary
encoding.
Fixes openbmc/phosphor-host-ipmid#89
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|\
| |
| | |
Update ObjectMapper service/interface/path
|
|/
|
|
|
|
|
| |
The well known service name, interface and path for the mapper
all changed. This patch reacts to that.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|\
| |
| | |
travis: Add Travis CI building
|
| |
| |
| |
| |
| |
| | |
Builds on Ubuntu 15.10 under docker.
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|\ \
| | |
| | | |
Returning correct value from handle_ipmid_command in ipmid.C
|
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of -1, we return 0xFF(Unspecified error) to the bus.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \
| | | |
| | | | |
Cleanup phosphor-host-ipmid storageaddsel.C
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
1.Check returns and handle errors for file IO.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \
| | | |
| | | | |
Adding Boot Policy
|
| | | |
| | | |
| | | |
| | | | |
Review Comment added for 146621
|
|\ \ \ \
| | | | |
| | | | | |
Modify eSEL to follow IPMI spec:
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1. Keep Reservation ID follow IPMI Spec.
2. Make Reservation ID increase sequentially.
3. Make Reservation ID available in shared librarys.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \ \
| |_|/ /
|/| | | |
Handle errors finding openbmc_path #75
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
1.Check return value properly.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
|
|\ \ \
| | | |
| | | | |
ipmid crashing with simplified VERSION_ID
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
if the VERSION_ID is v0.1 instead of v0.1-1 then the code will crash. The fix is to always check
for a NULL token each time.
Change ipmitool output to reflect hex value
VERSION_ID is equal to v0.6-36-gece9f78-dirty
I was forcing the '36' to be shown as 36. Turns out
that the ipmitool prepends the "Aux" section with a
'0x' indicating the value is in hex. So Rather then
it show up as 0x36 I made it actually be 0x24.
root@barreleye:~# ./ipmitool -I dbus mc info
IPMI GROUP EXTENTIONS
IPMI GROUP EXTENTIONS
Device ID : 0
Device Revision : 0
Firmware Revision : 0.06
IPMI Version : 2.0
Manufacturer ID : 42817
Manufacturer Name : Unknown (0xA741)
Product ID : 16451 (0x4043)
Product Name : Unknown (0x4043)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
Aux Firmware Rev Info :
0x00
0x24 <---- is decimal 36
0x01
0x00
root@barreleye:~#
|
|\ \ \
| |/ /
|/| | |
Adjust ipmi device id to accept dbus versioning
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this the ipmi device id would return
ipmitool -Idbus mc info
...
Firmware Revision : 0.06
Now it will track the version that you get from the version property of
/org/openbmc/inventory/system/chassis/motherboard/bmc
i.e.
version = v0.6-19-gf363f61-dirty
^ ^ ^^ ^
| | |----------|-- additional details
| |---------------- Minor
|------------------ Major
Now... ipmitool -Idbus mc info
...
Firmware Revision : 0.06
...
Aux Firmware Rev Info :
0x00
0x19
0x00
0x01
If there is no -dirty (or anything really after the last '-') will force
the aux details byte 4 to 0. A 0 means the FW image was created without
any changes in the yocto build.
|
|\ \
| | |
| | | |
ipmi daemon return code modification
|
|/ / |
|
|\ \
| | |
| | | |
Refactoring of IPMI Transport Handler
|
|/ / |
|
|\ \
| | |
| | | |
Read/Write Boot Count Sensor as int
|
| | |
| | |
| | |
| | |
| | | |
Change the dbus request to read/write the boot count sensor from byte to int.
Passing a type of byte causes the dbus interfaces to fail with ENXIO (no such device or address).
|
|\ \ \
| | | |
| | | | |
Fix memory leak in good paths in ipmid
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
reply was not unref'ed
--signed off by vishwanath@in.ibm.com---
|
|\ \ \
| |/ /
|/| | |
Fixing the Duplicate registration for NetFn [0x6], Cmd:[0xFF]
|
| | |
| | |
| | |
| | | |
enter the commit message for your changes. Lines starting
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Enable debug data section of event logs
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
until now event logs have 3 bytes of debug data. This was due to
a bug in our debug / testing interface. Now that the problem has
been resolved we can start seeing the full ESEL over the rest
interface. This will lead to larger files in the writable
filesystem.
|
|\ \
| | |
| | | |
IPMI Get IP Support
|
|/ /
| |
| |
| |
| |
| | |
Fix parsing of Get IP address.
Dbus method returns additional information such as family and
gateway, but this IPMI option just requires the IP to be returned.
|
|\ \
| | |
| | | |
Get MAC address
|