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,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
# Multi Host Overrides
SRC_URI += "file://ibm_host_settings.override.yml"
SETTINGS_HOST_TEMPLATES:append = " ibm_host_settings.override.yml"
@@ -0,0 +1,15 @@
/xyz/openbmc_project/control/host{}/power_cap:
- Interface: xyz.openbmc_project.Control.Power.Cap
Properties:
PowerCap:
Default: 0
PowerCapEnable:
Default: 'false'
/xyz/openbmc_project/control/host{}/power_restore_policy:
- Interface: xyz.openbmc_project.Control.Power.RestorePolicy
Properties:
PowerRestorePolicy:
Default: RestorePolicy::Policy::Restore
PowerRestoreDelay:
Default: 30000000
@@ -0,0 +1,13 @@
/xyz/openbmc_project/control/host0/boot:
- Interface: xyz.openbmc_project.Control.Boot.Source
Properties:
BootSource:
Default: Source::Sources::Default
- Interface: xyz.openbmc_project.Control.Boot.Mode
Properties:
BootMode:
Default: Mode::Modes::Regular
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'false'
@@ -0,0 +1,6 @@
---
/org/open_power/control/host0/ClearHostSecurityKeys:
- Interface: org.open_power.Control.TPM.SecurityKeys
Properties:
ClearHostSecurityKeys:
Default: 0
@@ -0,0 +1,72 @@
/xyz/openbmc_project/network/hypervisor:
- Interface: xyz.openbmc_project.Network.SystemConfiguration
Properties:
HostName:
Default: '""'
/xyz/openbmc_project/network/hypervisor/eth0:
- Interface: xyz.openbmc_project.Network.MACAddress
Properties:
MACAddress:
Default: '"00:00:00:00:00:00"'
Validation:
Type: "regex"
Validator: '^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$'
- Interface: xyz.openbmc_project.Network.EthernetInterface
Properties:
DHCPEnabled:
Default: EthernetInterface::DHCPConf::none
/xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0:
- Interface: xyz.openbmc_project.Network.IP
Properties:
Address:
Default: '"0.0.0.0"'
PrefixLength:
Default: 0
Validation:
Type: "range"
Validator: 0..32
Unit: "bits"
Origin:
Default: IP::AddressOrigin::Static
Type:
Default: IP::Protocol::IPv4
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'false'
/xyz/openbmc_project/network/hypervisor/eth1:
- Interface: xyz.openbmc_project.Network.MACAddress
Properties:
MACAddress:
Default: '"00:00:00:00:00:00"'
Validation:
Type: "regex"
Validator: '^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$'
- Interface: xyz.openbmc_project.Network.EthernetInterface
Properties:
DHCPEnabled:
Default: EthernetInterface::DHCPConf::none
/xyz/openbmc_project/network/hypervisor/eth1/ipv4/addr0:
- Interface: xyz.openbmc_project.Network.IP
Properties:
Address:
Default: '"0.0.0.0"'
PrefixLength:
Default: 0
Validation:
Type: "range"
Validator: 0..32
Unit: "bits"
Origin:
Default: IP::AddressOrigin::Static
Type:
Default: IP::Protocol::IPv4
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'false'
@@ -0,0 +1,39 @@
/xyz/openbmc_project/network/hypervisor:
- Interface: xyz.openbmc_project.Network.SystemConfiguration
Properties:
HostName:
Default: '""'
/xyz/openbmc_project/network/hypervisor/eth0:
- Interface: xyz.openbmc_project.Network.MACAddress
Properties:
MACAddress:
Default: '"00:00:00:00:00:00"'
Validation:
Type: "regex"
Validator: '^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$'
- Interface: xyz.openbmc_project.Network.EthernetInterface
Properties:
DHCPEnabled:
Default: EthernetInterface::DHCPConf::none
/xyz/openbmc_project/network/hypervisor/eth0/ipv4/addr0:
- Interface: xyz.openbmc_project.Network.IP
Properties:
Address:
Default: '"0.0.0.0"'
PrefixLength:
Default: 0
Validation:
Type: "range"
Validator: 0..32
Unit: "bits"
Origin:
Default: IP::AddressOrigin::Static
Type:
Default: IP::Protocol::IPv4
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'false'
@@ -0,0 +1,6 @@
---
/xyz/openbmc_project/control/host0/TPMEnable:
- Interface: xyz.openbmc_project.Control.TPM.Policy
Properties:
TPMEnable:
Default: 'true'
@@ -0,0 +1,17 @@
/xyz/openbmc_project/logging/send_event_logs_to_host:
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'true'
/xyz/openbmc_project/dump/system_dump_policy:
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'true'
/xyz/openbmc_project/hardware_isolation/allow_hw_isolation:
- Interface: xyz.openbmc_project.Object.Enable
Properties:
Enabled:
Default: 'true'
@@ -0,0 +1,8 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append:ibm-ac-server = " file://TPMEnable-default-true.override.yml"
SRC_URI:append:ibm-ac-server = " file://ClearHostSecurityKeys-default-zero.override.yml"
SRC_URI:append = " file://ibm_settings.override.yml"
SRC_URI:append:p10bmc = " file://HypervisorInterface-default-p10bmc.override.yml"
SRC_URI:append:p10bmc = " file://TPMEnable-default-true.override.yml"
SRC_URI:append:p10bmc = " file://BootMode-default-setup.override.yml"
SRC_URI:append:witherspoon-tacoma = " file://HypervisorInterface-default-tacoma.override.yml"
@@ -0,0 +1,2 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
MRW_EXPRESSION_VARS = "-v PS_DERATING=${POWER_SUPPLY_DERATING_FACTOR}"
@@ -0,0 +1,11 @@
/xyz/openbmc_project/control/host0/power_cap:
- Interface: xyz.openbmc_project.Control.Power.Cap
Properties:
PowerCap:
Default: 0
Validation:
Type: "range"
Validator: "[[MRW_OPEN_POWER_SOFT_MIN_PCAP_WATTS/(PS_DERATING/100)]]..[[MRW_OPEN_POWER_N_PLUS_ONE_BULK_POWER_LIMIT_WATTS/(PS_DERATING/100)]]"
Unit: "Watts"
PowerCapEnable:
Default: 'false'