/openbmc/openbmc/meta-phosphor/recipes-phosphor/settings/ |
H A D | phosphor-settings-manager_git.bb | 1 SUMMARY = "Phosphor Settings Manager" 2 DESCRIPTION = "Phosphor Settings Manager is an application that creates \ 3 d-bus objects to represent various user settings." 8 inherit obmc-phosphor-dbus-service 10 inherit phosphor-settings-manager 12 require phosphor-settings-manager.inc 14 DBUS_SERVICE:${PN} = "xyz.openbmc_project.Settings.service" 16 DEPENDS += "${PYTHON_PN}-pyyaml-native" 17 DEPENDS += "${PYTHON_PN}-mako-native" 18 DEPENDS += "${PYTHON_PN}-sdbus++-native" [all …]
|
H A D | phosphor-settings-read-settings-mrw-native.bb | 1 # Generates MRW settings override yaml for phosphor-settings-manager 2 # The default YAML file, mrw-override-settings.yaml, is empty, therefore no 3 # settings will be overwritten. To override, modify mrw-override-settings.yaml. 4 SUMMARY = "Generates MRW settings override YAML for phosphor-settings-manager." 5 LICENSE = "Apache-2.0" 6 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 7 DEPENDS += "mrw-native mrw-perl-tools-native" 10 SRC_URI += "file://mrw-override-settings.yaml" 15 inherit phosphor-settings-manager 16 inherit mrw-xml [all …]
|
H A D | phosphor-settings-defaults-native.bb | 1 SUMMARY = "Default settings" 2 LICENSE = "Apache-2.0" 3 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacd… 4 PROVIDES += "virtual/phosphor-settings-defaults" 8 SRC_URI += "file://host-template.yaml" 10 SETTINGS_HOST_TEMPLATES:append = " host-template.yaml" 14 inherit phosphor-settings-manager 19 install -d ${DEST}
|
/openbmc/phosphor-state-manager/ |
H A D | discover_system_state.cpp | 4 #include "settings.hpp" 10 #include <systemd/sd-bus.h> 12 #include <phosphor-logging/elog-errors.hpp> 13 #include <phosphor-logging/lg2.hpp> 25 namespace phosphor namespace 34 using namespace phosphor::logging; 42 } // namespace phosphor 46 using namespace phosphor::logging; in main() 55 while ((arg = getopt_long(argc, argv, "h:", longOpts, &optIndex)) != -1) in main() 74 using namespace settings; in main() [all …]
|
H A D | meson.build | 2 'phosphor-state-manager', 6 license: 'Apache-2.0', 11 build_host_gpios = get_option('host-gpios') 14 conf.set_quoted('HOST_SCHED_OBJPATH', get_option('host-sched-objpath')) 15 conf.set_quoted('HYPERVISOR_BUSNAME', get_option('hypervisor-busname')) 16 conf.set_quoted('HYPERVISOR_OBJPATH', get_option('hypervisor-objpath')) 17 conf.set_quoted('HOST_STATE_PERSIST_PATH', get_option('host-state-persist-path')) 20 get_option('poh-counter-persist-path'), 24 get_option('chassis-state-change-persist-path'), 28 get_option('scheduled-host-transition-persist-path'), [all …]
|
H A D | secure_boot_check.cpp | 5 #include <phosphor-logging/lg2.hpp> 6 #include <xyz/openbmc_project/Logging/Settings/client.hpp> 16 sdbusplus::client::xyz::openbmc_project::logging::Settings<>; 58 phosphor::state::manager::utils::createError( in checkTpmMeasurement() 69 // security settings (i.e. "Manufacturing") 73 std::string path = "/xyz/openbmc_project/logging/settings"; in isMfgModeEnabled() 79 phosphor::state::manager::utils::getService(bus, path, interface); in isMfgModeEnabled() 105 phosphor::state::manager::utils::getGpioValue("bmc-secure-boot"); in main() 106 if (secureBootGpio == -1) in main() 108 debug("bmc-secure-boot gpio not present or can not be read"); in main() [all …]
|
H A D | settings.cpp | 1 #include "settings.hpp" 5 #include <phosphor-logging/elog-errors.hpp> 6 #include <phosphor-logging/lg2.hpp> 10 namespace settings namespace 15 using namespace phosphor::logging; 64 * Interface. A persistent user setting and a one-time in Objects() 66 * The one-time setting will have "one_time" in its in Objects() 81 * Interface. A persistent user setting and a one-time in Objects() 83 * The one-time setting will have "one_time" in its in Objects() 128 return result.begin()->first; in service() [all …]
|
/openbmc/phosphor-time-manager/ |
H A D | manager.cpp | 5 #include <phosphor-logging/lg2.hpp> 21 namespace phosphor namespace 28 Manager::Manager(sdbusplus::bus_t& bus) : bus(bus), settings(bus) in Manager() 35 bus, propertiesChanged(settings.timeSyncMethod, settings::timeSyncIntf), in Manager() 38 // Check the settings daemon to process the new settings in Manager() 39 auto mode = getSetting(settings.timeSyncMethod.c_str(), in Manager() 40 settings::timeSyncIntf, propertyTimeMode); in Manager() 50 bool newNtpMode = (settings::ntpSync == value); in onPropertyChanged() 57 debug("NTP property changed in phosphor-settings, update to systemd" in onPropertyChanged() 99 return -1; in onTimedateChanged() [all …]
|
H A D | settings.cpp | 1 #include "settings.hpp" 5 #include <phosphor-logging/elog-errors.hpp> 6 #include <phosphor-logging/lg2.hpp> 8 namespace settings namespace 13 using namespace phosphor::time::utils; 14 using namespace phosphor::logging; 51 } // namespace settings
|
H A D | README.md | 3 `phosphor-time-manager` is the time manager service that implements D-Bus 9 phosphor-time-manager is configured by setting `-D` flags that correspond to 10 options in `phosphor-time-manager/meson.options`. The option names become C++ 13 - Compile phosphor-time-manager with default options: 17 ninja -C builddir 20 - Compile phosphor-time-manager with some configurable options: 23 meson setup builddir -Dbuildtype=minsize -Dtests=disabled 24 ninja -C builddir 27 - Generate test coverage report: 30 meson setup builddir -Db_coverage=true -Dtests=enabled [all …]
|
H A D | manager.hpp | 6 #include "settings.hpp" 14 namespace phosphor namespace 21 * @details It registers various time related settings and properties signals 39 this->timeMode = mode; in setTimeMode() 44 return this->timeMode; in getTimeMode() 54 /** @brief The match of settings property change */ 57 /** @brief Settings objects of intereset */ 58 settings::Objects settings; member in phosphor::time::Manager 65 * @param[in] path - The dbus object path 66 * @param[in] interface - The dbus interface [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/packagegroups/ |
H A D | packagegroup-obmc-apps.bb | 1 SUMMARY = "OpenBMC - Applications" 8 ${PN}-bmc-state-mgmt \ 9 ${PN}-bmcweb \ 10 ${PN}-chassis-state-mgmt \ 11 ${PN}-console \ 12 ${PN}-dbus-monitor \ 13 ${PN}-extras \ 14 ${PN}-devtools \ 15 ${PN}-fan-control \ 16 ${PN}-health-monitor \ [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/settings/phosphor-settings-manager/ |
H A D | xyz.openbmc_project.Settings.service | 2 Description=Phosphor Settings Daemon 5 ExecStart=/usr/bin/env phosphor-settings-manager 6 SyslogIdentifier=phosphor-settings-manager 12 WantedBy=multi-user.target
|
/openbmc/openbmc/meta-phosphor/classes/ |
H A D | obmc-phosphor-image.bbclass | 1 # Common code for generating Phosphor OpenBMC images. 3 # Additional IMAGE_FEATURES available with Phosphor OpenBMC: 5 # - obmc-bmc-state-mgmt - OpenBMC BMC state management 6 # - obmc-bmcweb - OpenBMC webserver 7 # - obmc-chassis-mgmt - OpenBMC chassis management 8 # - obmc-chassis-state-mgmt - OpenBMC chassis state management 9 # - obmc-console - OpenBMC serial over LAN 10 # - obmc-dbus-monitor - OpenBMC dbus monitoring 11 # - obmc-debug-collector - OpenBMC debug collector 12 # - obmc-devtools - OpenBMC development and debugging tools [all …]
|
/openbmc/phosphor-settingsd/ |
H A D | settings_manager.mako.hpp | 57 #include <phosphor-logging/elog.hpp> 58 #include <phosphor-logging/elog-errors.hpp> 59 #include <phosphor-logging/lg2.hpp> 63 #define SETTINGS_BUSNAME "xyz.openbmc_project.Settings" 64 /* Path of directory housing persisted settings */ 65 #define SETTINGS_PERSIST_PATH "/var/lib/phosphor-settings-manager/settings" 75 namespace phosphor 77 namespace settings 85 // A setting d-bus object /foo/bar/baz is persisted in the filesystem with the 86 // same path. This eases re-construction of settings objects when we restore [all …]
|
H A D | meson.build | 2 'phosphor-settingsd', 14 phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') 15 phosphor_logging_dep = dependency('phosphor-logging') 50 'settings.py', 55 command: [python_prog, '@INPUT0@', '-i', '@INPUT2@'], 70 'phosphor-settings-manager',
|
/openbmc/docs/designs/ |
H A D | fail-boot-on-hw-error.md | 30 Extensions within phosphor-logging may process logs that do not always come 31 through the standard phosphor-logging interfaces (for example logs sent down by 39 - Provide a mechanism to cause the OpenBMC firmware to halt a system if a 40 phosphor-logging log is created with a inventory callout 41 - The mechanism to enable/disable this feature does not need to be an external 44 - The halt must be obvious to the user when it occurs 45 - The log which causes the halt must be identifiable 46 - The halt must only stop the chassis/host instance that encountered the error 47 - The halt must allow the host firmware the opportunity to gracefully shut 49 - The halt must stop the host (run obmc-host-stop@X.target) associated with [all …]
|
/openbmc/phosphor-webui/ |
H A D | README.md | 3 phosphor-webui is a Web-based user interface for the OpenBMC firmware stack. 5 [webui-vue repository](https://github.com/openbmc/webui-vue) is a replacement 6 for phosphor-webui. 8 If you haven't switched to webui-vue, it is strongly recommended you do so now. 10 - phosphor-webui uses AngularJS which has gone [End of 12 - phosphor-webui uses the REST D-BUS API which has been [disabled by default in 14 - webui-vue has many additional features not present in phosphor-webui 15 - Very little active development is happening in phosphor-webui and at a later 16 date phosphor-webui will move to ReadOnly 20 - View system overview data such as model information and serial number [all …]
|
/openbmc/phosphor-state-manager/service_files/ |
H A D | xyz.openbmc_project.State.Host@.service | 2 Description=Phosphor Host%i State Manager 3 Wants=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service 4 After=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service 5 Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 6 After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service 7 After=phosphor-ipmi-host.service 9 Before=obmc-host-reset@%i.target 10 Wants=xyz.openbmc_project.Settings.service 11 After=xyz.openbmc_project.Settings.service 16 ExecStart=/usr/bin/phosphor-host-state-manager --host %i [all …]
|
H A D | phosphor-bmc-security-check.service | 2 Description=Phosphor BMC Security Check 3 Wants=xyz.openbmc_project.Settings.service 4 After=xyz.openbmc_project.Settings.service 8 ExecStart=/usr/bin/phosphor-secure-boot-check 13 WantedBy=multi-user.target
|
/openbmc/phosphor-host-ipmid/ |
H A D | settings.cpp | 1 #include "settings.hpp" 4 #include <phosphor-logging/elog-errors.hpp> 5 #include <phosphor-logging/lg2.hpp> 9 namespace settings namespace 12 using namespace phosphor::logging; 36 for (auto& interface : iter.second.begin()->second) in Objects() 41 auto& paths = found->second; in Objects() 65 return result.begin()->first; in service() 74 } // namespace settings
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-google/acpi-power-state/acpi-power-state-daemon/ |
H A D | gbs-host-s5-set-failsafe.service | 3 PartOf=host-s5-state.target 4 Requires=phosphor-pid-control.service 5 After=phosphor-pid-control.service 6 Wants=mapper-wait@-xyz-openbmc_project-settings-fanctrl.service 7 After=mapper-wait@-xyz-openbmc_project-settings-fanctrl.service 12 ExecStart=/usr/bin/gbs-set-failsafe.sh 102 15 WantedBy=host-s5-state.target
|
H A D | gbs-host-s0-set-failsafe.service | 3 PartOf=host-s0-state.target 4 Requires=phosphor-pid-control.service 5 After=phosphor-pid-control.service 6 Wants=mapper-wait@-xyz-openbmc_project-settings-fanctrl.service 7 After=mapper-wait@-xyz-openbmc_project-settings-fanctrl.service 12 ExecStart=/usr/bin/gbs-set-failsafe.sh 255 15 WantedBy=host-s0-state.target
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/datetime/ |
H A D | phosphor-time-manager_git.bb | 1 SUMMARY = "Phosphor Time Manager daemon" 3 HOMEPAGE = "http://github.com/openbmc/phosphor-time-manager" 4 LICENSE = "Apache-2.0" 8 DEPENDS += "${PYTHON_PN}-sdbus++-native" 9 DEPENDS += "phosphor-logging" 10 DEPENDS += "phosphor-dbus-interfaces" 15 SRC_URI = "git://github.com/openbmc/phosphor-time-manager;branch=master;protocol=https" 20 inherit obmc-phosphor-dbus-service 22 EXTRA_OEMESON = " -Dtests=disabled" 24 RDEPENDS:${PN} += "phosphor-settings-manager" [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/bios/ |
H A D | biosconfig-manager_git.bb | 6 HOMEPAGE = "https://github.com/openbmc/bios-settings-mgr" 7 LICENSE = "Apache-2.0" 11 nlohmann-json \ 13 phosphor-dbus-interfaces \ 14 phosphor-logging \ 21 SRC_URI = "git://github.com/openbmc/bios-settings-mgr;branch=master;protocol=https"
|