History log of /openbmc/google-ipmi-sys/ (Results 51 – 75 of 123)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
a2056e9c10-Oct-2021 Willy Tu <wltu@google.com>

Add Google Copyright 2021

Change-Id: I26020265613218d0c8df85b83772856bfc555e86
Signed-off-by: Willy Tu <wltu@google.com>

c841bfd214-Sep-2021 Willy Tu <wltu@google.com>

build: Update to c++20 and meson >= 0.57.0

Change-Id: I52b281d6389e7b5fbc3f1c9fd158d9a1ef23b4c6
Signed-off-by: Willy Tu <wltu@google.com>

b69209b413-Jul-2021 William A. Kennington III <wak@google.com>

eth: Support looking up alternate interace channels

This makes it possible to use the GetEthDevice command to look up
interfaces other than the default NCSI interface.

Change-Id: I3a5563743a28b39ad

eth: Support looking up alternate interace channels

This makes it possible to use the GetEthDevice command to look up
interfaces other than the default NCSI interface.

Change-Id: I3a5563743a28b39adc753d8957f68f0bc330cf3a
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

8d3d46a213-Jul-2021 William A. Kennington III <wak@google.com>

handler: Don't hardcode channel information

We can use the functions from the ipmi daemon to get the proper channel
for the named NIC.

Change-Id: I9f479ec90bffed147a68131a6dda5aebd9cfc910
Signed-of

handler: Don't hardcode channel information

We can use the functions from the ipmi daemon to get the proper channel
for the named NIC.

Change-Id: I9f479ec90bffed147a68131a6dda5aebd9cfc910
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

bc62b19324-Jun-2021 William A. Kennington III <wak@google.com>

build: Remove autotools

Change-Id: I01464a3631013ea801b9e415d4927a2e5eaf3a14
Signed-off-by: William A. Kennington III <wak@google.com>

ac730af224-Jun-2021 William A. Kennington III <wak@google.com>

build: Add meson build

Change-Id: I0c42715b0f15c3caabf04da290ab6b99c50bbc13
Signed-off-by: William A. Kennington III <wak@google.com>

5d78973424-Jun-2021 William A. Kennington III <wak@google.com>

treewide: Cleanup pedantic C++ warnings

Change-Id: I9c770506d78bd30dde1903645d9bfe92bceab44d
Signed-off-by: William A. Kennington III <wak@google.com>

3ddd298424-Jun-2021 William A. Kennington III <wak@google.com>

makefile: Fix target install

These lines should be tabs not spaces

Change-Id: Ibaceacd88968d73fed8403dcd9278dc071415ebc
Signed-off-by: William A. Kennington III <wak@google.com>

8cfa4c4416-Jun-2021 linyuny <linyuny@google.com>

Add new google ipmi sys command: SysHostPowerOff

New google ipmi sys command to let the BMC knows host shutdown,
allow host to gracefully shutdown and disable the watchdog with given
time delay.

Si

Add new google ipmi sys command: SysHostPowerOff

New google ipmi sys command to let the BMC knows host shutdown,
allow host to gracefully shutdown and disable the watchdog with given
time delay.

Signed-off-by: Yunyun Lin <linyuny@google.com>
Change-Id: I02171c9cfed57ae5d10d66b515e4ab7ee8856466

show more ...

3b1b427c02-Mar-2021 Willy Tu <wltu@google.com>

Add OEM command to request flash size

The BMC flash is `/dev/mtd0` and the size can found in
`/sys/class/mtd/mtd0/size`. This OEM command will request that
information with MTDINFO.

Tested:
Success

Add OEM command to request flash size

The BMC flash is `/dev/mtd0` and the size can found in
`/sys/class/mtd/mtd0/size`. This OEM command will request that
information with MTDINFO.

Tested:
Successfully requested the flash size information with ipmitool.

```
cat /sys/class/mtd/mtd0/size
67108864
```
67108864 / 1024 / 1024 = 64MB flash

```
ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x09
79 2b 00 09 00 00 00 04
```
Output in little endian.
0x04000000 -> 67108864

Change-Id: Iec1b33503d1166a42ceef4b8491e5c19c3a077fe
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

6d42ce4724-Feb-2021 Patrick Venture <venture@google.com>

MAINTAINERS: venture M->R

Reduced cycles for the foreseeable future, reducing my role to
interested reviewer.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I5bed6adf237bfd1bb67f9f3

MAINTAINERS: venture M->R

Reduced cycles for the foreseeable future, reducing my role to
interested reviewer.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I5bed6adf237bfd1bb67f9f3621791f9d54935d57

show more ...

ac4a16f702-Feb-2021 Shounak Mitra <shounak@google.com>

Add sys command for powercycle on host shutdown.

The new command will trigger a power cycle the next time the host shuts
down. This can exist in parallel with the existing mechanism to trigger
a pow

Add sys command for powercycle on host shutdown.

The new command will trigger a power cycle the next time the host shuts
down. This can exist in parallel with the existing mechanism to trigger
a power cycle after a specified time interval.

The implementation of host state detection and power cycling is platfrom
specific; the new command will just add a temporary file that marks the
system ready to powercycle on the next shutdown. Usually, a systemd unit
would be enabled by the presence of this file to handle the power
cycling process.

Signed-off-by: Shounak Mitra <shounak@google.com>
Change-Id: I0cc40307748fb996be3f6062d8cba1a4b5049683

show more ...

96ad906924-Nov-2020 William A. Kennington III <wak@google.com>

Remove globally constructed variables

Using global variables that have construction order dependencies on each
other do not guarantee the expected execution order. We had an issue
where the defaultC

Remove globally constructed variables

Using global variables that have construction order dependencies on each
other do not guarantee the expected execution order. We had an issue
where the defaultConfigPath is not constructed from the string in
handler.cpp before it was used to construct the Handler impl.

This resolves the issue by removing runtime constructed global variables
entirely.

Change-Id: I868f34782d22d3b2b07be303a05f58b9c9f8c8b8
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

29f35bce04-Nov-2020 William A. Kennington III <wak@google.com>

Add suppport for retrieving machine name

This adds support for reading /etc/os-release, parsing out
OPENBMC_TARGET_MACHINE and returning this to the caller.

Change-Id: If2a419b9a77597686f5137efce97

Add suppport for retrieving machine name

This adds support for reading /etc/os-release, parsing out
OPENBMC_TARGET_MACHINE and returning this to the caller.

Change-Id: If2a419b9a77597686f5137efce97b1150142f181
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

6d50744c13-Aug-2020 Patrick Venture <venture@google.com>

drop unused header: handler_ipml

The ipmi routing handler only needs to know the interface, and not any
specific implementation.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id761

drop unused header: handler_ipml

The ipmi routing handler only needs to know the interface, and not any
specific implementation.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id76119ee644f719d18c24f1b97b69557bcceb8fa

show more ...

0e9aae5d13-Aug-2020 Patrick Venture <venture@google.com>

split the commands out

Split the commands out to avoid conflicts in multiple definitions of
IPMI_CC_OK, etc, in a different environment.

Signed-off-by: Patrick Venture <venture@google.com>
Change-I

split the commands out

Split the commands out to avoid conflicts in multiple definitions of
IPMI_CC_OK, etc, in a different environment.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I1f3a0214b4f6f6417a5649b0fc2d297119f8ad88

show more ...

eff1f2eb05-Aug-2020 Patrick Venture <venture@google.com>

move implementation to ipmi file

Move the entrance point for the IPMI OEM handling to a separate file and
pass in the handler pointer via binding.

Signed-off-by: Patrick Venture <venture@google.com

move implementation to ipmi file

Move the entrance point for the IPMI OEM handling to a separate file and
pass in the handler pointer via binding.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I4371ebee1c252ab6e9d8a7ff2389583919ecc996

show more ...

40e8ace412-Aug-2020 Patrick Venture <venture@google.com>

add missing headers to handler mock

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I5c7f60f7c3550dab826e9899638b2aea98d9ba37

dd5d953f01-Jun-2020 Patrick Venture <venture@google.com>

pcie_i2c: drop unused util header

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I743e25e5791f3bae995439c732bd0e53a645be14

a3f9c2d329-May-2020 Patrick Venture <venture@google.com>

move handler specific method to implementation

Move readNameFromConfig from interface header to implementation header.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I97080a691fdcda

move handler specific method to implementation

Move readNameFromConfig from interface header to implementation header.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I97080a691fdcdac25ab29d978054f6e47b18f1c3

show more ...

c87de55820-May-2020 Patrick Venture <venture@google.com>

split out handler implementation from interface

Split out the handler object definition from the interface and drop the
default parameters.

Signed-off-by: Patrick Venture <venture@google.com>
Chang

split out handler implementation from interface

Split out the handler object definition from the interface and drop the
default parameters.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ie8c9dbf7881bbe6b5af3596a60430e3b3d573762

show more ...

bd4041e418-May-2020 William A. Kennington III <wak@google.com>

handler: Add more entity IDs

Change-Id: I77b8a78deda33d9f15b6c69a1f6950f1dacc5170
Signed-off-by: William A. Kennington III <wak@google.com>

cc53c84730-Sep-2019 Peter Lundgren <peterlundgren@google.com>

Add more entity ids

The entity ids are defined in the IPMI spec Section 43.14 Table 43-,
Entity ID Codes.

Tested:
GetEntityName [1] works with these new ids when combined with a json
file that uses

Add more entity ids

The entity ids are defined in the IPMI spec Section 43.14 Table 43-,
Entity ID Codes.

Tested:
GetEntityName [1] works with these new ids when combined with a json
file that uses them. For example:

{
"system_board": [
{"instance": 1, "name": "foo"}
],
"power_system_board": [
{"instance": 1, "name": "bar"}
],
"system_internal_expansion_board": [
{"instance": 1, "name": "baz"}
],
"fan": [
{"instance": 1, "name": "qux"}
]
}

[1]: https://github.com/openbmc/google-ipmi-sys#getentityname---subcommand-0x06

Signed-off-by: Peter Lundgren <peterlundgren@google.com>
Change-Id: I8f546aa23d9da8a3ddf282b0c2de89f9c17edf8c

show more ...

0c0bfd3a17-Aug-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

conf: use Wno-portability

This is required when using newer autoconf-archive and
aaminclude_static.am.

Change-Id: Icc381b65f9ca76d30337c822c55cafd30921acd0
Signed-off-by: Brad Bishop <bradleyb@fuzz

conf: use Wno-portability

This is required when using newer autoconf-archive and
aaminclude_static.am.

Change-Id: Icc381b65f9ca76d30337c822c55cafd30921acd0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

0885a9da10-Jun-2019 Patrick Venture <venture@google.com>

MAINTAINERS: add wak@ as new maintainer

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I097033ddc39877bcaf9f0edba57f28846db3a89d

12345