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,52 @@
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
xyz.openbmc_project.Inventory.Item:
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Board
xyz.openbmc_project.Inventory.Decorator.Revision:
Version:
IPMIFruProperty: FRU File ID
IPMIFruSection: Board
0x01:
/system/chassis/hsbp:
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,19 @@
SUMMARY = "FRU properties config for ipmi-fru-parser"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit phosphor-ipmi-fru
inherit native
SRC_URI += "file://extra-properties.yaml"
PROVIDES += "virtual/phosphor-ipmi-fru-properties"
S = "${WORKDIR}"
do_install() {
DEST=${D}${properties_datadir}
install -d ${DEST}
install extra-properties.yaml ${DEST}
}
@@ -0,0 +1,7 @@
/system/chassis/bmc:
xyz.openbmc_project.Inventory.Item:
Present: 'true'
/system/chassis/hsbp:
xyz.openbmc_project.Inventory.Item:
Present: 'true'
@@ -0,0 +1,19 @@
SUMMARY = "gsj inventory map for phosphor-ipmi-host"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit phosphor-ipmi-host
inherit native
SRC_URI += "file://config.yaml"
PROVIDES += "virtual/phosphor-ipmi-fru-read-inventory"
S = "${WORKDIR}"
do_install() {
DEST=${D}${config_datadir}
install -d ${DEST}
install config.yaml ${DEST}
}
@@ -0,0 +1,19 @@
SUMMARY = "gsj IPMI to DBus Inventory mapping."
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit phosphor-ipmi-fru
inherit native
SRC_URI += "file://config.yaml"
PROVIDES += "virtual/phosphor-ipmi-fru-inventory"
S = "${WORKDIR}"
do_install() {
DEST=${D}${config_datadir}
install -d ${DEST}
install config.yaml ${DEST}
}
@@ -0,0 +1,19 @@
SUMMARY = "Quanta gsj IPMI to DBus Sensor mapping."
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit phosphor-ipmi-host
inherit native
PROVIDES += "virtual/phosphor-ipmi-sensor-inventory"
SRC_URI += "file://config.yaml"
S = "${WORKDIR}"
do_install() {
DEST=${D}${sensor_datadir}
install -d ${DEST}
install config.yaml ${DEST}/sensor.yaml
}
@@ -0,0 +1,977 @@
0x30:
entityID: 0x06
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/KL0
sensorReadingType: 0x01
bExp: 0
rExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x31:
entityID: 0x0D
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/KL1
sensorReadingType: 0x01
bExp: 0
rExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x32:
entityID: 0x0E
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/KL2
sensorReadingType: 0x01
bExp: 0
rExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x33:
entityID: 0x0E
entityInstance: 2
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/KL3
sensorReadingType: 0x01
bExp: 0
rExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x3C:
entityID: 0x0A
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/P48V_HSC_Temp
sensorReadingType: 0x01
bExp: 0
rExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x70:
entityID: 0x0A
entityInstance: 5
sensorType: 0x03
path: /xyz/openbmc_project/sensors/current/P48V_HSC_Current
sensorReadingType: 0x01
multiplierM: 9
offsetB: 0
bExp: 0
rExp: -2
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x60:
entityID: 0x0A
entityInstance: 3
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P48V_HSC_Vol
sensorReadingType: 0x01
multiplierM: 243
offsetB: 0
bExp: 0
rExp: -3
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x90:
entityID: 0x0A
entityInstance: 6
sensorType: 0x0B
path: /xyz/openbmc_project/sensors/power/P48V_HSC_Power
sensorReadingType: 0x01
multiplierM: 310
offsetB: 4
bExp: 2
rExp: -2
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x3D:
entityID: 0x0A
entityInstance: 2
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/P12V_BRIC_Temp
sensorReadingType: 0x01
bExp: 0
rExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x71:
entityID: 0x0A
entityInstance: 7
sensorType: 0x03
path: /xyz/openbmc_project/sensors/current/P12V_BRIC_Curr
sensorReadingType: 0x01
multiplierM: 200
offsetB: 0
bExp: 0
rExp: -3
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x61:
entityID: 0x0A
entityInstance: 4
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P12V_BRIC_Vol
sensorReadingType: 0x01
multiplierM: 509
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x80:
entityID: 0x1D
entityInstance: 1
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan0_0_RPM
sensorReadingType: 0x01
multiplierM: 79
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x81:
entityID: 0x1D
entityInstance: 2
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan0_1_RPM
sensorReadingType: 0x01
multiplierM: 79
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x82:
entityID: 0x1D
entityInstance: 3
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan1_0_RPM
sensorReadingType: 0x01
multiplierM: 79
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x83:
entityID: 0x1D
entityInstance: 4
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan1_1_RPM
sensorReadingType: 0x01
multiplierM: 79
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x84:
entityID: 0x1D
entityInstance: 5
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan2_0_RPM
sensorReadingType: 0x01
multiplierM: 79
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x85:
entityID: 0x1D
entityInstance: 6
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan2_1_RPM
sensorReadingType: 0x01
multiplierM: 79
offsetB: 0
bExp: 0
rExp: 0
unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0xC0: &fan_pwm
sensorType: 0x04
path: /xyz/openbmc_project/sensors/fan_tach/Fan0_0_RPM
sensorReadingType: 0x01
multiplierM: 1
offsetB: 0
bExp: 0
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
interfaces:
xyz.openbmc_project.Control.FanPwm:
Target:
Offsets:
0xFF:
type: uint64_t
0xC1:
<<: *fan_pwm
path: /xyz/openbmc_project/sensors/fan_tach/Fan1_0_RPM
0xC2:
<<: *fan_pwm
path: /xyz/openbmc_project/sensors/fan_tach/Fan2_0_RPM
0x34:
entityID: 0x07
entityInstance: 1
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme0
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x35:
entityID: 0x07
entityInstance: 2
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme1
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x36:
entityID: 0x07
entityInstance: 3
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme2
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x37:
entityID: 0x07
entityInstance: 4
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme3
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x38:
entityID: 0x07
entityInstance: 5
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme4
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x39:
entityID: 0x07
entityInstance: 6
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme5
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x3A:
entityID: 0x07
entityInstance: 7
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme6
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x3B:
entityID: 0x07
entityInstance: 8
sensorType: 0x01
path: /xyz/openbmc_project/sensors/temperature/nvme7
sensorReadingType: 0x01
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x40:
entityID: 0x07
entityInstance: 9
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_0_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x41:
entityID: 0x07
entityInstance: 10
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_1_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x42:
entityID: 0x07
entityInstance: 11
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_2_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x43:
entityID: 0x07
entityInstance: 12
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_3_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x44:
entityID: 0x07
entityInstance: 13
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_4_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x45:
entityID: 0x07
entityInstance: 14
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_5_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x46:
entityID: 0x07
entityInstance: 15
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_6_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x47:
entityID: 0x07
entityInstance: 16
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_7_locate
sensorReadingType: 0x6F
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x01:
type: bool
assert: true
0x50:
entityID: 0x07
entityInstance: 17
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_0_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x51:
entityID: 0x07
entityInstance: 18
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_1_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x52:
entityID: 0x07
entityInstance: 19
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_2_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x53:
entityID: 0x07
entityInstance: 20
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_3_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x54:
entityID: 0x07
entityInstance: 21
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_4_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x55:
entityID: 0x07
entityInstance: 22
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_5_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x56:
entityID: 0x07
entityInstance: 23
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_6_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0x57:
entityID: 0x07
entityInstance: 24
sensorType: 0x21
path: /xyz/openbmc_project/led/groups/led_u2_7_fault
sensorReadingType: 0x6F
mutability: Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Led.Group:
Asserted:
Offsets:
0x00:
type: bool
assert: true
0xB0:
entityID: 0x20
entityInstance: 1
sensorType: 0x0C
path: /xyz/openbmc_project/metrics/memory/BmcECC
sensorReadingType: 0x6F
serviceInterface: org.freedesktop.DBus.Properties
readingType: assertion
mutability: Mutability::Read
sensorNamePattern: nameLeaf
interfaces:
xyz.openbmc_project.Memory.MemoryECC:
state:
Offsets:
0x00:
type: string
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.CE
0x01:
type: string
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.UE
0x05:
type: string
assert: xyz.openbmc_project.Memory.MemoryECC.ECCStatus.LogFull
0x62:
entityID: 0x0A
entityInstance: 7
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P3V3_STBY_Vol
sensorReadingType: 0x01
multiplierM: 156
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x64:
entityID: 0x0A
entityInstance: 8
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P2V5_BMC_Vol
sensorReadingType: 0x01
multiplierM: 117
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x65:
entityID: 0x0A
entityInstance: 9
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P1V8_BMC_Vol
sensorReadingType: 0x01
multiplierM: 78
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x66:
entityID: 0x0A
entityInstance: 10
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P1V2_BMC_Vol
sensorReadingType: 0x01
multiplierM: 78
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x67:
entityID: 0x0A
entityInstance: 11
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/PVTT_BMC_Vol
sensorReadingType: 0x01
multiplierM: 392
offsetB: 0
bExp: 0
rExp: -5
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x68:
entityID: 0x0A
entityInstance: 12
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P1V175_BMC_Vol
sensorReadingType: 0x01
multiplierM: 78
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
0x69:
entityID: 0x0A
entityInstance: 13
sensorType: 0x02
path: /xyz/openbmc_project/sensors/voltage/P3V3_PEVPH_Vol
sensorReadingType: 0x01
multiplierM: 156
offsetB: 0
bExp: 0
rExp: -4
mutability: Mutability::Write|Mutability::Read
serviceInterface: org.freedesktop.DBus.Properties
readingType: readingData
sensorNamePattern: nameLeaf
unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
interfaces:
xyz.openbmc_project.Sensor.Value:
Value:
Offsets:
0xFF:
type: double
@@ -0,0 +1 @@
FILESEXTRAPATHS:prepend:gsj := "${THISDIR}/${PN}:"
@@ -0,0 +1,9 @@
{
"0" : {
"access_mode" : "always_available",
"user_auth_disabled" : false,
"per_msg_auth_disabled" : false,
"alerting_disabled" : false,
"priv_limit" : "priv-admin"
}
}
@@ -0,0 +1,25 @@
{
"0" : {
"name" : "usb0",
"is_valid" : true,
"active_sessions" : 0,
"channel_info" : {
"medium_type" : "lan-802.3",
"protocol_type" : "ipmb-1.0",
"session_supported" : "multi-session",
"is_ipmi" : true
}
},
"8" : {
"name" : "INTRABMC",
"is_valid" : true,
"active_sessions" : 0,
"channel_info" : {
"medium_type" : "oem",
"protocol_type" : "oem",
"session_supported" : "session-less",
"is_ipmi" : true
}
}
}
@@ -0,0 +1 @@
PACKAGECONFIG:append:gsj = " net-bridge reboot-update static-bmc"
@@ -0,0 +1,2 @@
SYSFS_PATH=/sys/bus/i2c/devices/10-0055/eeprom
FRUID=0
@@ -0,0 +1,2 @@
SYSFS_PATH=/sys/bus/i2c/devices/9-0055/eeprom
FRUID=1
@@ -0,0 +1,20 @@
inherit obmc-phosphor-systemd
FILESEXTRAPATHS:prepend:gsj := "${THISDIR}/${PN}:"
EEPROM_NAMES = "hsbp bmc"
EEPROMFMT = "system/chassis/{0}"
EEPROM_ESCAPEDFMT = "system-chassis-{0}"
EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROM_NAMES')}"
EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROM_NAMES')}"
ENVFMT = "obmc/eeproms/{0}"
SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gsj := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}"
TMPL = "obmc-read-eeprom@.service"
TGT = "multi-user.target"
INSTFMT = "obmc-read-eeprom@{0}.service"
FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}"
SYSTEMD_LINK:${PN}:append:gsj := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}"
@@ -0,0 +1,61 @@
#<NetFn>:<Command>
0x00:0x00 //<Chassis>:<Chassis Capabiliti>
0x00:0x01 //<Chassis>:<Get Chassis Status>
0x00:0x02 //<Chassis>:<Chassis Control>
0x00:0x05 //<Chassis>:<Set Chassis Capabilities>
0x00:0x06 //<Chassis>:<Set Power Restore Policy>
0x00:0x08 //<Chassis>:<Set System Boot Options>
0x00:0x09 //<Chassis>:<Get System Boot Options>
0x04:0x20 //<Sensor/Event>:<Get Device SDR Info>
0x04:0x21 //<Sensor/Event>:<Get Device SDR>
0x04:0x22 //<Sensor/Event>:<Reserve Device SDR Repository>
0x04:0x27 //<Sensor/Event>:<Get Sensor Threshold>
0x04:0x29 //<Sensor/Event>:<Get Sensor Event Enable>
0x04:0x2B //<Sensor/Event>:<Get Sensor Event Status>
0x04:0x2D //<Sensor/Event>:<Get Sensor Reading>
0x04:0x2F //<Sensor/Event>:<Get Sensor Type>
0x04:0x30 //<Sensor/Event>:<Set Sensor Reading and Event Status>
0x06:0x01 //<App>:<Get Device ID>
0x06:0x02 //<App>:<Cold Reset>
0x06:0x03 //<App>:<Warm Reset>
0x06:0x04 //<App>:<Get Self Test Results>
0x06:0x08 //<App>:<Get Device GUID>
0x06:0x35 //<App>:<Read Event Message Buffer>
0x06:0x40 //<App>:<Set Channel Access>
0x06:0x41 //<App>:<Get Channel Access>
0x06:0x42 //<App>:<Get Channel Info>
0x06:0x43 //<App>:<Set User Access>
0x06:0x44 //<App>:<Get User Access>
0x06:0x45 //<App>:<Set User Name>
0x06:0x46 //<App>:<Get User Name>
0x06:0x47 //<App>:<Set User Password>
0x06:0x48 //<App>:<Activate Payload>
0x06:0x49 //<App>:<Deactivate Payload>
0x06:0x4A //<App>:<Get Payload Activation Status>
0x06:0x4B //<App>:<Get Payload Instance Info>
0x06:0x54 //<App>:<Get Channel Cipher Suites>
0x0A:0x10 //<Storage>:<Get FRU Inventory Area Info>
0x0A:0x11 //<Storage>:<Read FRU Data>
0x0A:0x20 //<Storage>:<Get SDR Repository Info>
0x0A:0x22 //<Storage>:<Reserve SDR Repository>
0x0A:0x23 //<Storage>:<Get SDR>
0x0A:0x40 //<Storage>:<Get SEL Info>
0x0A:0x42 //<Storage>:<Reserve SEL>
0x0A:0x43 //<Storage>:<Get SEL Entry>
0x0A:0x44 //<Storage>:<Add SEL Entry>
0x0A:0x47 //<Storage>:<Clear SEL>
0x0A:0x48 //<Storage>:<Get SEL Time>
0x0A:0x49 //<Storage>:<Set SEL Time>
0x0C:0x01 //<Transport>:<Set LAN Configuration Parameters>
0x0C:0x02 //<Transport>:<Get LAN Configuration Parameters>
0x2C:0x00 //<Group Extension>:<Group Extension Command>
0x2C:0x01 //<Group Extension>:<Get DCMI Capabilities>
0x2C:0x02 //<Group Extension>:<Get Power Reading>
0x2C:0x03 //<Group Extension>:<Get Power Limit>
0x2C:0x06 //<Group Extension>:<Get Asset Tag>
0x2C:0x07 //<Group Extension>:<Get Sensor Info>
0x2C:0x10 //<Group Extension>:<Get Temperature Readings>
0x2C:0x3E //<Group Extension>:<Get HPM.x Capabilities>
0x2E:0x02 //<Google OEM>:<I2C via Proxy Adapter>
0x2E:0x30 //<Google OEM>:<Ethernet Statistics>
0x2E:0x32 //<Google OEM>:<Sys Commands>
@@ -0,0 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
# Replace the default whitelist for GSJ board.
SRC_URI:append:gsj = " file://gsj-ipmid-whitelist.conf"
WHITELIST_CONF:remove:gsj = " ${S}/host-ipmid-whitelist.conf"
WHITELIST_CONF:append:gsj = " ${WORKDIR}/gsj-ipmid-whitelist.conf"
@@ -0,0 +1,3 @@
# In gsj, usb0 is the interface.
RMCPP_IFACE:gsj = "usb0"