diff options
Diffstat (limited to 'meta-bytedance')
6 files changed, 547 insertions, 27 deletions
diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/g220a-ipmi-sensors.yaml b/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/g220a-ipmi-sensors.yaml index af7aea46b..3e68a7aa1 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/g220a-ipmi-sensors.yaml +++ b/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/g220a-ipmi-sensors.yaml @@ -20,9 +20,9 @@ sensorType: 1 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC -4: +2: bExp: 0 - entityID: 50 + entityID: 3 entityInstance: 1 interfaces: xyz.openbmc_project.Sensor.Value: @@ -32,6 +32,50 @@ type: double multiplierM: 1 mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/CPU0_VR_0_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +3: + bExp: 0 + entityID: 3 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/CPU1_VR_0_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +4: + bExp: 0 + entityID: 3 + entityInstance: 3 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read path: /xyz/openbmc_project/sensors/temperature/DTS_CPU1 offsetB: 0 rExp: 0 @@ -44,8 +88,8 @@ unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC 5: bExp: 0 - entityID: 50 - entityInstance: 1 + entityID: 3 + entityInstance: 4 interfaces: xyz.openbmc_project.Sensor.Value: Value: @@ -64,9 +108,317 @@ sensorType: 1 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC -38: +6: bExp: 0 - entityID: 50 + entityID: 3 + entityInstance: 5 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/PCH_VR_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +13: + bExp: 0 + entityID: 32 + entityInstance: 3 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/CPU0_DIMM_VR_1_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +14: + bExp: 0 + entityID: 32 + entityInstance: 4 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/CPU1_DIMM_VR_1_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +15: + bExp: 0 + entityID: 19 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/PSU0_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +16: + bExp: 0 + entityID: 19 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/PSU1_Temperature + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +17: + bExp: 0 + entityID: 19 + entityInstance: 3 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/MB_InIet1_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +18: + bExp: 0 + entityID: 19 + entityInstance: 4 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/MB_InIet2_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +19: + bExp: 0 + entityID: 23 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/OCP_BP_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +21: + bExp: 0 + entityID: 23 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/NVMe_Front_BP0_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +22: + bExp: 0 + entityID: 23 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/NVMe_Front_BP1_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +23: + bExp: 0 + entityID: 23 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/NVMe_Rear_BP_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +24: + bExp: 0 + entityID: 23 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/Riser_Rear_BP_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +25: + bExp: 0 + entityID: 23 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/MB_Outlet1_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +26: + bExp: 0 + entityID: 23 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/temperature/MB_Outlet2_Temp + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 1 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC +27: + bExp: 0 + entityID: 10 entityInstance: 1 interfaces: xyz.openbmc_project.Sensor.Value: @@ -86,9 +438,9 @@ sensorType: 2 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.Volts -39: +28: bExp: 0 - entityID: 50 + entityID: 10 entityInstance: 1 interfaces: xyz.openbmc_project.Sensor.Value: @@ -108,9 +460,9 @@ sensorType: 2 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.Volts -40: +29: bExp: 0 - entityID: 50 + entityID: 10 entityInstance: 1 interfaces: xyz.openbmc_project.Sensor.Value: @@ -130,7 +482,95 @@ sensorType: 2 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.Volts -67: +36: + bExp: 0 + entityID: 50 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/current/PSU0_Input_Current + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 3 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes +37: + bExp: 0 + entityID: 50 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/current/PSU1_Input_Current + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 3 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes +38: + bExp: 0 + entityID: 50 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/current/PSU0_Output_Current + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 3 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes +39: + bExp: 0 + entityID: 50 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 1 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/current/PSU1_Output_Current + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 3 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.Amperes +40: bExp: 0 entityID: 50 entityInstance: 1 @@ -152,7 +592,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -68: +41: bExp: 0 entityID: 50 entityInstance: 1 @@ -174,7 +614,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -69: +42: bExp: 0 entityID: 50 entityInstance: 1 @@ -196,7 +636,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -70: +43: bExp: 0 entityID: 50 entityInstance: 1 @@ -218,7 +658,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -71: +44: bExp: 0 entityID: 50 entityInstance: 1 @@ -240,7 +680,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -72: +45: bExp: 0 entityID: 50 entityInstance: 1 @@ -262,7 +702,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -73: +46: bExp: 0 entityID: 50 entityInstance: 1 @@ -284,7 +724,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -74: +47: bExp: 0 entityID: 50 entityInstance: 1 @@ -306,7 +746,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -75: +48: bExp: 0 entityID: 50 entityInstance: 1 @@ -315,7 +755,7 @@ Value: Offsets: 255: - type: double + type: double multiplierM: 96 mutability: Mutability::Read path: /xyz/openbmc_project/sensors/fan_tach/Fan5_0 @@ -328,7 +768,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -76: +49: bExp: 0 entityID: 50 entityInstance: 1 @@ -350,7 +790,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -77: +50: bExp: 0 entityID: 50 entityInstance: 1 @@ -359,7 +799,7 @@ Value: Offsets: 255: - type: double + type: double multiplierM: 96 mutability: Mutability::Read path: /xyz/openbmc_project/sensors/fan_tach/Fan6_0 @@ -372,7 +812,7 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS -78: +51: bExp: 0 entityID: 50 entityInstance: 1 @@ -381,7 +821,7 @@ Value: Offsets: 255: - type: double + type: double multiplierM: 96 mutability: Mutability::Read path: /xyz/openbmc_project/sensors/fan_tach/Fan6_1 @@ -394,3 +834,47 @@ sensorType: 4 serviceInterface: org.freedesktop.DBus.Properties unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS +165: + bExp: 0 + entityID: 50 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 96 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/power/CPU_Power + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 11 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts +166: + bExp: 0 + entityID: 50 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Sensor.Value: + Value: + Offsets: + 255: + type: double + multiplierM: 96 + mutability: Mutability::Read + path: /xyz/openbmc_project/sensors/power/Memory_Power + offsetB: 0 + rExp: 0 + readingType: readingData + scale: 0 + sensorNamePattern: nameLeaf + sensorReadingType: 1 + sensorType: 11 + serviceInterface: org.freedesktop.DBus.Properties + unit: xyz.openbmc_project.Sensor.Value.Unit.Watts diff --git a/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service b/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service index e0ee717c5..703bc3533 100644 --- a/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service +++ b/meta-bytedance/meta-g220a/recipes-phosphor/datetime/me-time-sync/me-time-sync.service @@ -3,9 +3,16 @@ Description=Sync time from ME Wants=ipmb.service After=ipmb.service +#ipmb may not ready for communication when +#me-time-sync start, add some retry [Service] -Type=oneshot +Type=simple +Restart=always +StartLimitInterval=90 +StartLimitBurst=5 ExecStart=/usr/bin/me-time-sync.sh +RemainAfterExit=yes + [Install] WantedBy=multi-user.target diff --git a/meta-bytedance/recipes-core/systemd/systemd-conf/coredump.conf b/meta-bytedance/recipes-core/systemd/systemd-conf/coredump.conf new file mode 100644 index 000000000..8c3d11274 --- /dev/null +++ b/meta-bytedance/recipes-core/systemd/systemd-conf/coredump.conf @@ -0,0 +1,8 @@ +[Coredump] +#Storage=external +#Compress=yes +#ProcessSizeMax=2G +#ExternalSizeMax=2G +#JournalSizeMax=767M +MaxUse=2M +#KeepFree= diff --git a/meta-bytedance/recipes-core/systemd/systemd-conf_%.bbappend b/meta-bytedance/recipes-core/systemd/systemd-conf_%.bbappend new file mode 100644 index 000000000..7677eee30 --- /dev/null +++ b/meta-bytedance/recipes-core/systemd/systemd-conf_%.bbappend @@ -0,0 +1,15 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append = " \ + file://coredump.conf \ +" + +do_install_append() { + install -m 0644 \ + ${WORKDIR}/coredump.conf \ + -D -t ${D}${sysconfdir}/systemd +} + +FILES_${PN}_append = " \ + ${sysconfdir}/systemd/coredump.conf \ +" diff --git a/meta-bytedance/recipes-core/systemd/systemd_%.bbappend b/meta-bytedance/recipes-core/systemd/systemd_%.bbappend new file mode 100644 index 000000000..2bdee496b --- /dev/null +++ b/meta-bytedance/recipes-core/systemd/systemd_%.bbappend @@ -0,0 +1,3 @@ +do_install_append () { + rm ${D}${sysconfdir}/systemd/coredump.conf +} diff --git a/meta-bytedance/recipes-phosphor/interfaces/bmcweb_%.bbappend b/meta-bytedance/recipes-phosphor/interfaces/bmcweb_%.bbappend index aa47f7c56..f079618b2 100644 --- a/meta-bytedance/recipes-phosphor/interfaces/bmcweb_%.bbappend +++ b/meta-bytedance/recipes-phosphor/interfaces/bmcweb_%.bbappend @@ -1 +1,4 @@ -EXTRA_OEMESON_append = " -Drest=enabled" +EXTRA_OEMESON_append = " \ + -Drest=enabled \ + -Dhttp-body-limit=65 \ + " |