meta-ampere: mtmitchell: ipmi: support on-board sensor report
Support to report sensor information via IPMI for on-board sensors
Tested:
1. Check sensor report using IPMI sdr command:
$ ipmitool sdr list
OutletTemp | 28 degrees C | ok
Psu1InletTemp2 | 32 degrees C | ok
PcieZoneTemp1 | 30 degrees C | ok
Psu0InletTemp2 | 29 degrees C | ok
PcieZoneTemp2 | 28 degrees C | ok
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: Ia38519c79596f65f780fe105ee25e8890825a44f
diff --git a/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init.bb b/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init.bb
index 12a5c09..362b4c8 100644
--- a/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init.bb
+++ b/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init.bb
@@ -17,7 +17,7 @@
file://ampere-bmc-heartbeat.service \
file://ampere_platform_init.sh \
file://ampere_bmc_heartbeat.sh \
- file://${MACHINE}_platform_gpios_init.sh \
+ file://mtmitchell_platform_gpios_init.sh \
file://gpio-lib.sh \
file://ampere_uart_console_setup.sh \
file://ampere_uartmux_ctrl.sh \
@@ -30,7 +30,7 @@
install -m 0755 ${WORKDIR}/gpio-lib.sh ${D}${sbindir}/
install -m 0755 ${WORKDIR}/ampere_platform_init.sh ${D}${sbindir}/
install -m 0755 ${WORKDIR}/ampere_bmc_heartbeat.sh ${D}${sbindir}/
- install -m 0755 ${WORKDIR}/${MACHINE}_platform_gpios_init.sh ${D}${sbindir}/platform_gpios_init.sh
+ install -m 0755 ${WORKDIR}/mtmitchell_platform_gpios_init.sh ${D}${sbindir}/platform_gpios_init.sh
install -m 0755 ${WORKDIR}/ampere_uart_console_setup.sh ${D}${sbindir}/
install -m 0755 ${WORKDIR}/ampere_uartmux_ctrl.sh ${D}/${sbindir}/
install -d ${D}${systemd_unitdir}/system/