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,31 @@
SUMMARY = "YAML configuration for s6q"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit allarch
SRC_URI = " \
file://ipmi-fru.yaml \
file://ipmi-fru-properties.yaml \
file://ipmi-sensors.yaml \
file://ipmi-inventory-sensors.yaml \
"
S = "${WORKDIR}"
do_install() {
install -m 0644 -D ipmi-fru.yaml ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
install -m 0644 -D ipmi-fru-properties.yaml ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
install -m 0644 -D ipmi-sensors.yaml ${D}${datadir}/${BPN}/ipmi-sensors.yaml
install -m 0644 -D ipmi-inventory-sensors.yaml ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
}
FILES:${PN}-dev = " \
${datadir}/${BPN}/ipmi-fru-read.yaml \
${datadir}/${BPN}/ipmi-extra-properties.yaml \
${datadir}/${BPN}/ipmi-sensors.yaml \
${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
"
ALLOW_EMPTY:${PN} = "1"
@@ -0,0 +1,31 @@
/system:
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis:
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/bmc:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/mainboard:
xyz.openbmc_project.Inventory.Decorator.Replaceable:
FieldReplaceable: 'true'
xyz.openbmc_project.Inventory.Decorator.Cacheable:
Cached: 'true'
xyz.openbmc_project.Inventory.Item:
Present: 'true'
@@ -0,0 +1,60 @@
0x00:
/system/chassis/bmc:
entityID: 6
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
PartNumber:
IPMIFruProperty: Part Number
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
CustomField:
IPMIFruProperty: CustomField
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Decorator.Revision:
Version:
IPMIFruProperty: FRU File ID
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item.NetworkInterface:
MACAddress:
IPMIFruProperty: Custom Field 1
IPMIFruSection: Board
0x01:
/system/chassis/mainboard:
entityID: 16
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
BuildDate:
IPMIFruProperty: Mfg Date
IPMIFruSection: Board
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Board
PartNumber:
IPMIFruProperty: Part Number
IPMIFruSection: Board
Manufacturer:
IPMIFruProperty: Manufacturer
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Decorator.Revision:
Version:
IPMIFruProperty: FRU File ID
IPMIFruSection: Board
@@ -0,0 +1,255 @@
/xyz/openbmc_project/sensors/current/PSU0_Current:
eventReadingType: 1
sensorID: 0x01
sensorType: 0x03
offset: 0xff
/xyz/openbmc_project/sensors/current/PSU1_Current:
eventReadingType: 1
sensorID: 0x02
sensorType: 0x03
offset: 0xff
/xyz/openbmc_project/sensors/power/PSU0_Input:
eventReadingType: 1
sensorID: 0x03
sensorType: 0x08
offset: 0xff
/xyz/openbmc_project/sensors/power/PSU1_Input:
eventReadingType: 1
sensorID: 0x04
sensorType: 0x08
offset: 0xff
/xyz/openbmc_project/sensors/power/Fan_Power_G0:
eventReadingType: 1
sensorID: 0x05
sensorType: 0x08
offset: 0xff
/xyz/openbmc_project/sensors/power/Fan_Power_G1:
eventReadingType: 1
sensorID: 0x06
sensorType: 0x08
offset: 0xff
/xyz/openbmc_project/sensors/utilization/CPU:
eventReadingType: 1
sensorID: 0x07
sensorType: 0x0B
offset: 0xff
/xyz/openbmc_project/sensors/utilization/Memory:
eventReadingType: 1
sensorID: 0x08
sensorType: 0x0B
offset: 0xff
/xyz/openbmc_project/sensors/utilization/Storage_RW:
eventReadingType: 1
sensorID: 0x09
sensorType: 0x0B
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_PSU0:
eventReadingType: 1
sensorID: 0x0A
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_PSU1:
eventReadingType: 1
sensorID: 0x0B
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_AON_VR_CPU0:
eventReadingType: 1
sensorID: 0x0C
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_AON_VR_CPU1:
eventReadingType: 1
sensorID: 0x0D
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_HV_VR_CPU0:
eventReadingType: 1
sensorID: 0x0E
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_HV_VR_CPU1:
eventReadingType: 1
sensorID: 0x0F
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_MB1:
eventReadingType: 1
sensorID: 0x10
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_MB2:
eventReadingType: 1
sensorID: 0x11
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_PCH:
eventReadingType: 1
sensorID: 0x12
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_VR_CPU0:
eventReadingType: 1
sensorID: 0x13
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_VR_CPU1:
eventReadingType: 1
sensorID: 0x14
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_Inlet:
eventReadingType: 1
sensorID: 0x15
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_SCM:
eventReadingType: 1
sensorID: 0x16
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/utilization/SYS_CPU_util:
eventReadingType: 1
sensorID: 0x17
sensorType: 0x0B
offset: 0xff
/xyz/openbmc_project/sensors/utilization/SYS_IO_util:
eventReadingType: 1
sensorID: 0x18
sensorType: 0x0B
offset: 0xff
/xyz/openbmc_project/sensors/utilization/SYS_MEM_util:
eventReadingType: 1
sensorID: 0x19
sensorType: 0x0B
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_FAON_CPU0:
eventReadingType: 1
sensorID: 0x1A
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_FAON_CPU1:
eventReadingType: 1
sensorID: 0x1B
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P1V0:
eventReadingType: 1
sensorID: 0x1C
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P1V2:
eventReadingType: 1
sensorID: 0x1D
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P1V2_MAX_MB:
eventReadingType: 1
sensorID: 0x1E
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P1V8:
eventReadingType: 1
sensorID: 0x1F
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P1V05PCH_MB:
eventReadingType: 1
sensorID: 0x20
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P2V5:
eventReadingType: 1
sensorID: 0x21
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P2V5_MAX_MB:
eventReadingType: 1
sensorID: 0x22
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P3V3:
eventReadingType: 1
sensorID: 0x23
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P3V3_AUX_MB:
eventReadingType: 1
sensorID: 0x64
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P3V3_MB:
eventReadingType: 1
sensorID: 0x65
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P3V_BAT:
eventReadingType: 1
sensorID: 0x66
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P5V:
eventReadingType: 1
sensorID: 0x67
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P5V_AUX_MB:
eventReadingType: 1
sensorID: 0x68
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P5V_MB:
eventReadingType: 1
sensorID: 0x69
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P12V:
eventReadingType: 1
sensorID: 0x6A
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P12V_AUX_MB:
eventReadingType: 1
sensorID: 0x6B
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_P12V_MB:
eventReadingType: 1
sensorID: 0x6C
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_PGPPA:
eventReadingType: 1
sensorID: 0x6D
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_PVCCFA_CPU0:
eventReadingType: 1
sensorID: 0x6E
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_PVCCFA_CPU1:
eventReadingType: 1
sensorID: 0x6F
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_PVCCIN_CPU0:
eventReadingType: 1
sensorID: 0x70
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/voltage/Volt_PVCCIN_CPU1:
eventReadingType: 1
sensorID: 0x71
sensorType: 0x02
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_CPU0:
eventReadingType: 1
sensorID: 0x72
sensorType: 0x01
offset: 0xff
/xyz/openbmc_project/sensors/temperature/Temp_CPU1:
eventReadingType: 1
sensorID: 0x73
sensorType: 0x01
offset: 0xff