commit | 17064cb6eb2f0ae36f7eca9ebda531fe82fb86a0 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Wed Feb 08 17:50:34 2017 -0800 |
committer | Xo Wang <xow@google.com> | Fri Feb 10 16:01:06 2017 -0800 |
tree | e256ad130218c3f3ac88fb02af0708d2ac47ce61 | |
parent | 0d6d2ec7ab12fe5adb19f312efab456d478c156c [diff] |
meta-zaius: Set VIO rails voltage when BMC boots DD1.0 modules require a higher VIO for PCIE link stability. Add service to set VIO voltage setpoint when BMC boots. Add BitBake recipe to install service. Add recipe to obmc-phosphor-image dependencies. Signed-off-by: Xo Wang <xow@google.com> Change-Id: Ia43d58683d3f26ac6ca684b5e662c45c38f47824
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/set-vio.bb b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/set-vio.bb new file mode 100644 index 0000000..e8beb4d --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/set-vio.bb
@@ -0,0 +1,9 @@ +DESCRIPTION = "Zaius set VIO rails voltage" +PR = "r0" + +inherit obmc-phosphor-systemd +inherit obmc-phosphor-license + +SYSTEMD_SERVICE_${PN} += "set-vio.service" + +RDEPENDS_${PN} += "i2c-tools"
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/set-vio/set-vio.service b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/set-vio/set-vio.service new file mode 100644 index 0000000..7448f4e --- /dev/null +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/set-vio/set-vio.service
@@ -0,0 +1,11 @@ +[Unit] +Description=Set VIO rail voltages +Before={SYSTEMD_DEFAULT_TARGET} + +[Service] +ExecStart=/usr/sbin/i2cset -y 7 0x43 0x21 287 w +ExecStart=/usr/sbin/i2cset -y 8 0x42 0x21 287 w +Type=oneshot + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/image/obmc-phosphor-image.bbappend b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/image/obmc-phosphor-image.bbappend index aa57bbf..00110cc 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/image/obmc-phosphor-image.bbappend +++ b/meta-openbmc-machines/meta-openpower/meta-ingrasys/meta-zaius/recipes-phosphor/image/obmc-phosphor-image.bbappend
@@ -1 +1,2 @@ OBMC_IMAGE_EXTRA_INSTALL_append = " mboxd" +OBMC_IMAGE_EXTRA_INSTALL_append = " set-vio"