/openbmc/docs/designs/ |
H A D | multihost-ipmi-design.md | 1 # Multi-host IPMI design 12 The current version of OpenBMC does not support multi-host implementation in 13 IPMI commands handling. We have a multi-host system and proposing the design to 14 support multi-host. 16 As detailed below the hosts are connected in the IPMB interface, all host 18 IPMB buses and the IPMB messages are routed to ipmid. 20 Issue 1: ipmbridged does not send the channel number (ie HostId) Issue 2: ipmid 22 The ipmid handlers should have the host details to fetch the host specific 30 +------------------------------------+ 32 | +-----------+ +------------+ | +--------+ [all …]
|
/openbmc/openpower-host-ipmi-flash/ |
H A D | hiomap.cpp | 1 // SPDX-License-Identifier: Apache-2.0 7 #include <ipmid/api.h> 10 #include <systemd/sd-bus.h> 11 #include <systemd/sd-event.h> 13 #include <ipmid-host/cmd-utils.hpp> 14 #include <ipmid-host/cmd.hpp> 15 #include <ipmid/api.hpp> 16 #include <phosphor-logging/log.hpp> 37 The primary motivation of the Host I/O Mapping protocol (HIOMAP) is to mediate 38 host access to a BMC-controlled flash chip housing the host's boot firmware. [all …]
|
/openbmc/phosphor-host-ipmid/docs/ |
H A D | testing.md | 21 `sudo docker run hello-world`. 29 mkdir openbmc-ci-tests 30 cd openbmc-ci-tests 31 git clone https://github.com/openbmc/openbmc-build-scripts.git 34 ## Add `phosphor-host-ipmid` 39 basic idea is that it's like having a second copy of your repo - but the second 46 `run-unit-test-docker.sh`, you can't run the CI with untracked changes anyways, 54 cd /my/dir/for/phosphor-host-ipmid 55 git worktree add /path/to/openbmc-ci-tests/phosphor-host-ipmid 58 Now, if you `cd /path/to/openbmc-ci-tests`, you should see a directory [all …]
|
/openbmc/docs/testing/ |
H A D | local-ci-build.md | 13 `sudo docker run hello-world`. 26 git clone https://github.com/openbmc/openbmc-build-scripts.git 29 ## Add a Read-Only Repo 33 clones and builds phosphor-hwmon directly. The upstream CI will try building 35 `format-code.sh` and check if the code is formatted properly if there is a 36 `.clang-format` file present in the target repository, or if there is a script 37 in the repo named `format-code.sh`. 41 git clone https://github.com/openbmc/phosphor-hwmon 42 WORKSPACE=$(pwd) UNIT_TEST_PKG=phosphor-hwmon \ 43 ./openbmc-build-scripts/run-unit-test-docker.sh [all …]
|
/openbmc/phosphor-host-ipmid/include/ |
H A D | meson.build | 2 'dbus-sdr', 8 'ipmid', 14 'ipmid-host', 19 # install the ipmid-host and ipmid includes 20 install_subdir('ipmid-host', install_dir: get_option('includedir')) subdir 21 install_subdir('ipmid', install_dir: get_option('includedir')) subdir
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-defaults.inc | 5 # obmc-bmc-state-manager 9 VIRTUAL-RUNTIME_obmc-bmc-state-manager ?= "phosphor-state-manager-bmc" 11 # obmc-chassis-state-manager 15 VIRTUAL-RUNTIME_obmc-chassis-state-manager ?= "phosphor-state-manager-chassis" 17 # obmc-host-state-manager 19 # Provides an implementation of the xyz.openbmc_project.State.Host 21 VIRTUAL-RUNTIME_obmc-host-state-manager ?= "phosphor-state-manager-host" 23 # obmc-discover-system-state 25 # Provides an implementation of phosphor-discover-system-state, which, if the 26 # host is powered off, will check the current power policy and, if necessary, [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Ipmi/ |
H A D | SOL.interface.yaml | 2 SOL properties use for Get/Set SOL config parameter command in host-ipmid 3 sending config to SOL process in net-ipmid. Since some platforms need to 5 manager is implemented in net-ipmid and cannot be accessed by host-ipmid, 6 add a D-Bus interface for host-ipmid command to transfer properties to 7 net-ipmid. This interface will be implemented in phosphor-settings. 9 - name: Progress 15 - name: Enable 21 - name: ForceEncryption 26 - name: ForceAuthentication 31 - name: Privilege [all …]
|
/openbmc/openbmc/meta-openpower/recipes-phosphor/ipmi/ |
H A D | openpower-host-ipmi-flash_git.bb | 1 SUMMARY = "Phosphor IPMI plugin for the Host I/O Mapping Protocol" 2 HOMEPAGE = "https://github.com/openbmc/openpower-host-ipmi-flash" 5 LICENSE = "Apache-2.0" 9 inherit obmc-phosphor-ipmiprovider-symlink 11 DEPENDS += "phosphor-ipmi-host" 13 DEPENDS += "phosphor-logging" 14 DEPENDS += "phosphor-dbus-interfaces" 16 TARGET_CFLAGS += "-fpic" 22 SRC_URI = "git://github.com/openbmc/openpower-host-ipmi-flash;branch=master;protocol=https" 25 EXTRA_OEMESON:append = " -Dtests=disabled" [all …]
|
H A D | openpower-ipmi-oem_git.bb | 5 LICENSE = "Apache-2.0" 9 inherit obmc-phosphor-ipmiprovider-symlink 14 DEPENDS += "phosphor-ipmi-host" 15 DEPENDS += "autoconf-archive-native" 17 DEPENDS += "${PYTHON_PN}-sdbus++-native" 18 DEPENDS += "${PYTHON_PN}-mako-native" 19 DEPENDS += "${PYTHON_PN}-pyyaml-native" 20 DEPENDS += "phosphor-logging" 21 DEPENDS += "phosphor-dbus-interfaces" 22 DEPENDS += "virtual/phosphor-ipmi-inventory-sel" [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | meson.build | 2 'phosphor-host-ipmid', 18 conf_data.set_quoted('BOARD_SENSOR', get_option('board-sensor')) 19 conf_data.set_quoted('SYSTEM_SENSOR', get_option('system-sensor')) 20 conf_data.set('IPMI_SMS_ATN_ACK_TIMEOUT_SECS', get_option('ipmi-sms-atn-ack-timeout-secs')) 24 conf_data.set_quoted('SOFTOFF_BUSNAME', get_option('softoff-busname')) 25 conf_data.set_quoted('SOFTOFF_OBJPATH', get_option('softoff-objpath')) 26 …'IPMI_HOST_SHUTDOWN_COMPLETE_TIMEOUT_SECS', get_option('ipmi-host-shutdown-complete-timeout-secs')) 27 conf_data.set_quoted('HOST_INBAND_REQUEST_DIR', get_option('host-inband-request-dir')) 28 conf_data.set_quoted('HOST_INBAND_REQUEST_FILE', get_option('host-inband-request-file')) 31 conf_data.set_quoted('CONTROL_HOST_BUSNAME', get_option('control-host-busname')) [all …]
|
H A D | host-interface.cpp | 4 #include "host-interface.hpp" 8 #include <ipmid-host/cmd-utils.hpp> 9 #include <ipmid-host/cmd.hpp> 10 #include <ipmid/api.hpp> 11 #include <ipmid/utils.hpp> 12 #include <phosphor-logging/lg2.hpp> 20 namespace host namespace 30 // Non-OEM commands that need to send SMS_ATN 36 static const std::map<OEMCmd, Host::Command> intfCommand = { 37 {CMD_HEARTBEAT, Base::Host::Command::Heartbeat}, [all …]
|
H A D | README.md | 1 # phosphor-host-ipmid 3 ## Compile ipmid with default options 7 ninja -C builddir 10 ## Compile ipmid with yocto defaults 13 meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled 14 ninja -C builddir 17 If any of the dependencies are not found on the host system during 19 in `ipmid/subprojects`. 24 meson builddir -Dwrap_mode=nofallback 25 ninja -C builddir [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ |
H A D | phosphor-ipmi-host_git.bb | 5 LICENSE = "Apache-2.0" 8 RRECOMMENDS:${PN} += "packagegroup-obmc-ipmid-providers-libs" 11 inherit obmc-phosphor-ipmiprovider-symlink 12 inherit obmc-phosphor-sdbus-service 13 inherit obmc-phosphor-systemd 14 inherit phosphor-ipmi-host 22 'VIRTUAL-RUNTIME_phosphor-ipmi-providers', True) or '' 24 whitelists = [ '{}-whitelist-native'.format(x) for x in whitelists ] 27 PACKAGECONFIG ??= "allowlist i2c-allowlist boot-flag-safe-mode softoff libuserlayer entity-manager-… 28 PACKAGECONFIG[dynamic-sensors] = "-Ddynamic-sensors=enabled,-Ddynamic-sensors=disabled" [all …]
|
H A D | phosphor-ipmi-ethstats_git.bb | 3 HOMEPAGE = "http://github.com/openbmc/phosphor-ipmi-ethstats" 4 LICENSE = "Apache-2.0" 6 DEPENDS += "phosphor-ipmi-host" 11 SRC_URI = "git://github.com/openbmc/phosphor-ipmi-ethstats;branch=master;protocol=https" 16 inherit obmc-phosphor-ipmiprovider-symlink 18 EXTRA_OEMESON:append = " -Dtests=disabled" 20 PACKAGECONFIG[google-oen] = "-Dgoogle_oen=true,-Dgoogle_oen=false" 22 FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" 23 FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" 24 FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" [all …]
|
H A D | phosphor-ipmi-fru_git.bb | 4 virtual/phosphor-ipmi-fru-inventory \ 5 virtual/phosphor-ipmi-fru-properties \ 7 ${PYTHON_PN}-mako-native \ 8 ${PYTHON_PN}-pyyaml-native \ 9 phosphor-ipmi-host \ 10 phosphor-logging \ 16 SRC_URI += "file://of-name-to-eeprom.sh" 18 SYSTEMD_SERVICE:${PN} += "obmc-read-eeprom@.service" 22 inherit obmc-phosphor-systemd 23 inherit obmc-phosphor-ipmiprovider-symlink [all …]
|
H A D | phosphor-ipmi-host.inc | 1 HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid" 2 LICENSE = "Apache-2.0" 4 SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid;branch=master;protocol=https"
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/ipmi/ |
H A D | wistron-ipmi-oem_git.bb | 3 HOMEPAGE = "https://github.com/openbmc/wistron-ipmi-oem" 6 LICENSE = "Apache-2.0" 10 inherit obmc-phosphor-ipmiprovider-symlink 12 DEPENDS += "phosphor-ipmi-host" 13 DEPENDS += "autoconf-archive-native" 16 SRC_URI = "git://github.com/openbmc/wistron-ipmi-oem;branch=master;protocol=https" 19 FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" 20 FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" 21 FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.l…
|
/openbmc/openbmc/meta-ieisystem/recipes-ieisystem/ipmi/ |
H A D | iei-ipmi-oem_git.bb | 4 LICENSE = "Apache-2.0" 7 SRC_URI = "git://github.com/openbmc/iei-ipmi-oem;branch=master;protocol=https" 13 DEPENDS += "phosphor-ipmi-host" 14 DEPENDS += "phosphor-logging" 17 inherit obmc-phosphor-ipmiprovider-symlink 21 FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" 22 FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" 23 FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" 24 FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}"
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-phosphor/ipmi/ |
H A D | ampere-ipmi-oem.bb | 4 LICENSE = "Apache-2.0" 8 DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd" 10 inherit meson pkgconfig obmc-phosphor-ipmiprovider-symlink 15 SRC_URI = "git://github.com/openbmc/ampere-ipmi-oem.git;branch=master;protocol=https" 21 FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" 22 FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" 23 FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" 24 FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" 27 install -d ${D}${includedir}/ampere-ipmi-oem 28 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/ampere-ipmi-oem
|
/openbmc/openbmc/meta-intel-openbmc/meta-common/recipes-intel/ipmi/ |
H A D | intel-ipmi-oem_git.bb | 4 LICENSE = "Apache-2.0" 7 SRC_URI = "git://github.com/openbmc/intel-ipmi-oem;branch=master;protocol=https" 13 DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd phosphor-dbus-interfaces libgpiod libt… 15 inherit meson obmc-phosphor-ipmiprovider-symlink pkgconfig 22 FILES:${PN}:append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" 23 FILES:${PN}:append = " ${libdir}/host-ipmid/lib*${SOLIBS}" 24 FILES:${PN}:append = " ${libdir}/net-ipmid/lib*${SOLIBS}" 25 FILES:${PN}-dev:append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV}" 28 install -d ${D}${includedir}/intel-ipmi-oem 29 install -m 0644 -D ${S}/include/*.hpp ${D}${includedir}/intel-ipmi-oem
|
/openbmc/openbmc/meta-facebook/recipes-fb/ipmi/ |
H A D | fb-ipmi-oem_git.bb | 4 LICENSE = "Apache-2.0" 7 SRC_URI = "git://github.com/openbmc/fb-ipmi-oem;branch=master;protocol=https" 13 DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd " 15 inherit meson pkgconfig obmc-phosphor-ipmiprovider-symlink 18 PACKAGECONFIG:fb-compute-multihost ??= "bic" 20 PACKAGECONFIG[bic] = "-Dbic=enabled,-Dbic=disabled" 23 -Dtests=disabled \ 24 -Dmachine='${MACHINE}' \ 25 -Dhost-instances='${OBMC_HOST_INSTANCES}' \ 33 FILES:${PN}:append = " ${datadir}/lcd-debug/*.json" [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/fans/ |
H A D | phosphor-pid-control_git.bb | 7 HOMEPAGE = "github.com/openbmc/phosphor-pid-control" 8 LICENSE = "Apache-2.0" 10 DEPENDS += "autoconf-archive-native" 12 DEPENDS += "phosphor-dbus-interfaces" 13 DEPENDS += "phosphor-logging" 15 DEPENDS += "nlohmann-json" 19 DEPENDS += "phosphor-ipmi-host" 24 SRC_URI = "git://github.com/openbmc/phosphor-pid-control;branch=master;protocol=https" 27 SERVICE_FILE = "phosphor-pid-control.service" 32 inherit obmc-phosphor-ipmiprovider-symlink [all …]
|
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/ipmi/ |
H A D | fii-ipmi-oem_git.bb | 4 LICENSE = "Apache-2.0" 5 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" 9 DEPENDS = "boost phosphor-ipmi-host phosphor-logging systemd libgpiod" 13 SRC_URI = "git://github.com/openbmc/foxconn-ipmi-oem.git;branch=master;protocol=https" 16 FILES:${PN}:append = " ${libdir}/ipmid-providers" 17 FILES:${PN}:append = " ${libdir}/host-ipmid" 18 FILES:${PN}:append = " ${libdir}/net-ipmid"
|
/openbmc/openbmc/meta-google/recipes-google/ipmi/ |
H A D | google-ipmi-i2c_git.bb | 3 HOMEPAGE = "https://github.com/openbmc/google-ipmi-i2c" 6 LICENSE = "Apache-2.0" 11 DEPENDS += "phosphor-ipmi-host" 14 SRC_URI = "git://github.com/openbmc/google-ipmi-i2c;branch=master;protocol=https" 17 FILES:${PN}:append = " ${libdir}/ipmid-providers" 18 FILES:${PN}:append = " ${libdir}/host-ipmid" 19 FILES:${PN}:append = " ${libdir}/net-ipmid"
|
/openbmc/openbmc/meta-phosphor/classes/ |
H A D | obmc-phosphor-ipmiprovider-symlink.bbclass | 3 inherit obmc-phosphor-utils 6 LIBDIR = "${D}/${libdir}/ipmid-providers/" 10 HOSTIPMI_LIBDIR = "${D}/${libdir}/host-ipmid/" 11 NETIPMI_LIBDIR = "${D}/${libdir}/net-ipmid/" 12 BLOBIPMI_LIBDIR = "${D}/${libdir}/blob-ipmid/" 30 source = "../ipmid-providers/" + file
|