From b0261eaa9e3787d0e7cde3453e62c9bcf3028d0a Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 16 Jun 2017 15:04:40 -0500 Subject: witherspoon:Enforce PAGE settings prior to vrm adjusts Worked with our power engineer on this, it fixed up all issues seen with boot on a system which consistently was hitting this fail. The error was somewhat intermittent so not 100% on this but it's good to have either way. Resolves openbmc/openbmc#1803 Change-Id: Ib6d0c5f6cf54edb8067cdeab8d269e5a0cebcb1d Signed-off-by: Andrew Geissler --- .../recipes-phosphor/chassis/avsbus-control/avsbus-disable.sh | 4 ++++ .../recipes-phosphor/chassis/avsbus-control/avsbus-enable.sh | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon') diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable.sh b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable.sh index 1d7977c31..a158f159e 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable.sh +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-disable.sh @@ -1,12 +1,16 @@ #!/bin/sh +i2cset -y 4 0x70 0x00 0x00 b # VDD 0 - PAGE set i2cset -y 4 0x70 0x01 0x80 b # VDD 0 i2cset -y 4 0x70 0x00 0x01 b # VCS 0 - PAGE set i2cset -y 4 0x70 0x01 0x80 b # VCS 0 i2cset -y 4 0x70 0x00 0x00 b # VCS 0 - PAGE reset +i2cset -y 4 0x71 0x00 0x00 b # VDN 0 - PAGE set i2cset -y 4 0x71 0x01 0x80 b # VDN 0 +i2cset -y 5 0x70 0x00 0x00 b # VDD 1 - PAGE set i2cset -y 5 0x70 0x01 0x80 b # VDD 1 i2cset -y 5 0x70 0x00 0x01 b # VCS 1 - PAGE set i2cset -y 5 0x70 0x01 0x80 b # VCS 1 i2cset -y 5 0x70 0x00 0x00 b # VCS 1 - PAGE reset +i2cset -y 5 0x71 0x00 0x00 b # VDN 1 - PAGE set i2cset -y 5 0x71 0x01 0x80 b # VDN 1 diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable.sh b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable.sh index 8e857cf1c..574f21f0b 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable.sh +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/chassis/avsbus-control/avsbus-enable.sh @@ -1,12 +1,16 @@ #!/bin/sh +i2cset -y 4 0x70 0x00 0x00 b # VDD 0 - PAGE set i2cset -y 4 0x70 0x01 0xB0 b # VDD 0 i2cset -y 4 0x70 0x00 0x01 b # VCS 0 - PAGE set i2cset -y 4 0x70 0x01 0xB0 b # VCS 0 i2cset -y 4 0x70 0x00 0x00 b # VCS 0 - PAGE reset +i2cset -y 4 0x70 0x00 0x00 b # VDN 0 - PAGE set i2cset -y 4 0x71 0x01 0xB0 b # VDN 0 +i2cset -y 5 0x70 0x00 0x00 b # VDD 1 - PAGE set i2cset -y 5 0x70 0x01 0xB0 b # VDD 1 i2cset -y 5 0x70 0x00 0x01 b # VCS 1 - PAGE set i2cset -y 5 0x70 0x01 0xB0 b # VCS 1 i2cset -y 5 0x70 0x00 0x00 b # VCS 1 - PAGE reset +i2cset -y 5 0x71 0x00 0x00 b # VDN 1 - PAGE set i2cset -y 5 0x71 0x01 0xB0 b # VDN 1 -- cgit v1.2.1