Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,4 @@
# Set MaxBootCycleCount to 5 on IBM systems
EXTRA_OEMESON:append:p10bmc = "-Dmax-boot-cycle-count=5"
EXTRA_OEMESON:append:witherspoon-tacoma = "-Dmax-boot-cycle-count=5"
@@ -0,0 +1,45 @@
{
"services" : [
"xyz.openbmc_project.biosconfig_manager.service",
"xyz.openbmc_project.Dump.Manager.service",
"xyz.openbmc_project.EntityManager.service",
"xyz.openbmc_project.hwmontempsensor.service",
"xyz.openbmc_project.Inventory.Manager.service",
"xyz.openbmc_project.Logging.service",
"xyz.openbmc_project.Network.service",
"xyz.openbmc_project.nvmesensor.service",
"xyz.openbmc_project.ObjectMapper.service",
"xyz.openbmc_project.Settings.service",
"xyz.openbmc_project.Software.BMC.Updater.service",
"xyz.openbmc_project.Software.Download.service",
"xyz.openbmc_project.Software.Version.service",
"xyz.openbmc_project.State.BMC.service",
"xyz.openbmc_project.State.Chassis@0.service",
"xyz.openbmc_project.State.Host@0.service",
"xyz.openbmc_project.Time.Manager.service",
"xyz.openbmc_project.User.Manager.service",
"bmcweb.service",
"attn_handler.service",
"bmc-acf-manager.service",
"bmc-vmi-ca-manager.service",
"com.ibm.panel.service",
"com.ibm.VPD.Manager.service",
"mctp-demux.service",
"org.open_power.OCC.Control.service",
"org.open_power.Dump.Manager.service",
"org.open_power.HardwareIsolation.service",
"org.openbmc.HostIpmi.service",
"phosphor-fan-control@0.service",
"phosphor-fan-monitor@0.service",
"phosphor-fan-presence-tach@0.service",
"phosphor-ipmi-net@eth0.service",
"phosphor-ipmi-net@eth1.service",
"phosphor-power-control.service",
"phosphor-psu-monitor.service",
"phosphor-regulators.service",
"phosphor-virtual-sensor.service",
"pldmd.service",
"sensor-monitor.service ",
"system-vpd.service"
]
}
@@ -0,0 +1,37 @@
# Witherspoon system does not support warm reboots
PACKAGECONFIG:append:witherspoon = " no-warm-reboot"
# IBM systems only want power restore when AC loss occurred
PACKAGECONFIG:append = " only-run-apr-on-power-loss"
# IBM systems only allow boot operations when BMC is Ready
PACKAGECONFIG:append = " only-allow-boot-when-bmc-ready"
# The scheduled-host-transition package provides support to
# schedule power on and off operations for the host at some
# time in the future. IBM systems will utilize this feature
RRECOMMENDS:${PN}-host:append = " ${PN}-scheduled-host-transition"
# IBM systems track the state of the hypervisor so bring
# in the needed package when the host state package is
# included
RRECOMMENDS:${PN}-host:append = " ${PN}-hypervisor"
# IBM p10 machines want the optional secure-check
# feature enabled. This will verify all security
# settings in manufacturing mode.
RRECOMMENDS:${PN}-host:append:p10bmc = " ${PN}-secure-check"
# IBM systems want the chassis package to not allow a
# system power on if chassis power is in a bad state
RRECOMMENDS:${PN}-chassis:append = " ${PN}-chassis-check-power-status"
# Override critical services to monitor with IBM file
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
FILES:${PN}-bmc:append = " ${sysconfdir}/phosphor-service-monitor-default.json"
SRC_URI:append = " file://phosphor-service-monitor-default.json"
do_install:append() {
install -d ${D}${sysconfdir}/phosphor-systemd-target-monitor
install -m 0644 ${WORKDIR}/phosphor-service-monitor-default.json \
${D}${sysconfdir}/phosphor-systemd-target-monitor/
}